Libvirt APIs for creating virtual networks

Daniel P. Berrangé berrange at redhat.com
Tue Apr 28 15:47:03 UTC 2020


On Tue, Apr 28, 2020 at 08:39:06AM -0700, Santhosh Kumar Gunturu wrote:
> I am using the Libvirt APIs to create the virtual networks to use the
> dnsmasq capabilities.
> I want to understand the APIs how to set the lease time in XML to control
> the dnsmasq lease time.

Support for controlling lease time in the XML was only added last week,
and so won't be available until the 6.3.0 release due out next week.

> Also, I need some DHCP statistics on the virtual network.
> 
> Is there any API available to fetch the statistics ?

No, we don't report any kind of statisticcs

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvirt-users mailing list