Okay. Thanks. Do we have any facility APIs to set the DHCP Options via XML ? Default gateway ? Dns-server ? domain-name ?
Thanks & Regards Santhosh Kumar Gunturu On Tue, Apr 28, 2020 at 8:47 AM Daniel P. Berrangé <berra...@redhat.com> wrote: > 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 :| > >