On 09/15/2013 11:49 PM, Nehal J Wani wrote:
> Introduce 3 new APIs, virNetworkGetDHCPLeases, virNetworkGetDHCPLeasesForMAC
> and virNetworkDHCPLeaseFree.
>
> +
> +typedef struct _virNetworkDHCPLeases virNetworkDHCPLeases;
> +typedef virNetworkDHCPLeases *virNetworkDHCPLeasesPtr;
> +struct _virNet
On Mon, Sep 16, 2013 at 8:55 PM, Daniel P. Berrange wrote:
>
> On Mon, Sep 16, 2013 at 08:45:09PM +0530, Nehal J Wani wrote:
> > PFA: Diff
> >
> > On Mon, Sep 16, 2013 at 8:44 PM, Nehal J Wani
> > wrote:
> > > On Mon, Sep 16, 2013 at 3:22 PM, Daniel P. Berrange
> > > wrote:
> > >>
> > >> On Mo
On Mon, Sep 16, 2013 at 08:45:09PM +0530, Nehal J Wani wrote:
> PFA: Diff
>
> On Mon, Sep 16, 2013 at 8:44 PM, Nehal J Wani wrote:
> > On Mon, Sep 16, 2013 at 3:22 PM, Daniel P. Berrange
> > wrote:
> >>
> >> On Mon, Sep 16, 2013 at 11:19:13AM +0530, Nehal J Wani wrote:
> >> > +int
> >> > +virNe
PFA: Diff
On Mon, Sep 16, 2013 at 8:44 PM, Nehal J Wani wrote:
> On Mon, Sep 16, 2013 at 3:22 PM, Daniel P. Berrange
> wrote:
>>
>> On Mon, Sep 16, 2013 at 11:19:13AM +0530, Nehal J Wani wrote:
>> > +int
>> > +virNetworkGetDHCPLeasesForMAC(virNetworkPtr network,
>> > +
On Mon, Sep 16, 2013 at 3:22 PM, Daniel P. Berrange wrote:
>
> On Mon, Sep 16, 2013 at 11:19:13AM +0530, Nehal J Wani wrote:
> > +int
> > +virNetworkGetDHCPLeasesForMAC(virNetworkPtr network,
> > + const char *mac,
> > + virNetworkDHCPLease
On Mon, Sep 16, 2013 at 11:19:13AM +0530, Nehal J Wani wrote:
> +int
> +virNetworkGetDHCPLeasesForMAC(virNetworkPtr network,
> + const char *mac,
> + virNetworkDHCPLeasesPtr **leases,
> + unsigned int flags)
> +{
Introduce 3 new APIs, virNetworkGetDHCPLeases, virNetworkGetDHCPLeasesForMAC
and virNetworkDHCPLeaseFree.
* virNetworkGetDHCPLeases: returns the dhcp leases information for a given
virtual network. The information includes lease expirytime, MAC Address,
IP Address (with type and prefix),