Re: Libvirt APIs for creating virtual networks

2020-04-28 Thread Daniel P . Berrangé
On Tue, Apr 28, 2020 at 08:51:45AM -0700, Santhosh Kumar Gunturu wrote: > Okay. Thanks. > > Do we have any facility APIs to set the DHCP Options via XML ? > Default gateway ? > Dns-server ? > domain-name ? Everything is controlled through the XML document described here:

Re: Libvirt APIs for creating virtual networks

2020-04-28 Thread Santhosh Kumar Gunturu
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é wrote: > On Tue, Apr 28, 2020 at 08:39:06AM -0700, Santhosh Kumar Gunturu

Re: Libvirt APIs for creating virtual networks

2020-04-28 Thread Daniel P . Berrangé
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

Libvirt APIs for creating virtual networks

2020-04-28 Thread Santhosh Kumar Gunturu
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. Also, I need some DHCP statistics on the virtual network. Is there any API available to fetch the