Re: [PATCHv5 1/4] net-dhcp-leases: Implement the public APIs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 26, 2013 at 2:35 AM, Nehal J Wani <nehaljw.kkd1@xxxxxxxxx> wrote:
> Introduce 3 new APIs, virNetworkGetDHCPLeases, virNetworkGetDHCPLeasesForMAC
> and virNetworkDHCPLeaseFree.
>
> * virNetworkGetDHCPLeases: returns the dhcp leases information for a given
>      virtual network.
>
>   For DHCPv4, the information returned:
>   - Network Interface Name
>   - Expiry Time
>   - MAC address (can be NULL, only in rare cases)
>   - IAID (NULL)
>   - IPv4 address (with type and prefix)
>   - Hostname (can be NULL)
>   - Client ID (can be NULL)
>
>   For DHCPv6, the information returned:
>   - Network Interface Name
>   - Expiry Time
>   - MAC address (can be NULL, only in rare cases)

Maybe worth adding:
MAC address in case of DHCPv6 will work only if the version of dnsmasq
includes the change introduced by v2.67test15
(http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=89500e31f199e9ae1eadc86213b911ff44d30d6f).
Which means, the version should be greater than or equal to v2.67
(available in Fedora 20 and not in 19 or 18)

>   - IAID (can be NULL, only in rare cases)
>   - IPv6 address (with type and prefix)
>   - Hostname (can be NULL)
>   - Client DUID
>

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]