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

2013-12-12 Thread Daniel P. Berrange
On Tue, Nov 26, 2013 at 02:35:58AM +0530, Nehal J Wani wrote: diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in index 5aad75c..20ea40a 100644 --- a/include/libvirt/libvirt.h.in +++ b/include/libvirt/libvirt.h.in + +typedef struct _virNetworkDHCPLeases

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

2013-12-12 Thread Nehal J Wani
On Thu, Dec 12, 2013 at 5:14 PM, Daniel P. Berrange berra...@redhat.com wrote: On Tue, Nov 26, 2013 at 02:35:58AM +0530, Nehal J Wani wrote: diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in index 5aad75c..20ea40a 100644 --- a/include/libvirt/libvirt.h.in +++

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

2013-12-12 Thread Daniel P. Berrange
On Thu, Dec 12, 2013 at 06:00:17PM +0530, Nehal J Wani wrote: On Thu, Dec 12, 2013 at 5:14 PM, Daniel P. Berrange berra...@redhat.com wrote: On Tue, Nov 26, 2013 at 02:35:58AM +0530, Nehal J Wani wrote: diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in index

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

2013-11-25 Thread Nehal J Wani
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

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

2013-11-25 Thread Nehal J Wani
On Tue, Nov 26, 2013 at 2:35 AM, Nehal J Wani nehaljw.k...@gmail.com wrote: Introduce 3 new APIs, virNetworkGetDHCPLeases, virNetworkGetDHCPLeasesForMAC and virNetworkDHCPLeaseFree. * virNetworkGetDHCPLeases: returns the dhcp leases information for a given virtual network. For