Libvirt APIs for creating virtual networks

Santhosh Kumar Gunturu santhosh.978.462 at gmail.com
Tue Apr 28 15:51:45 UTC 2020


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é <berrange at 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 :|
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20200428/9ffc8884/attachment.htm>


More information about the libvirt-users mailing list