Re: [libvirt] [RFC] net-dhcp-leases: Query: Reg: Leases API Script

2013-11-04 Thread Nehal J Wani
On Thu, Oct 24, 2013 at 8:31 PM, Nehal J Wani wrote: > I tried writing the helper program, didn't send v5, since I have some doubts. > The program works. Problems listed below. > > diff --git a/src/Makefile.am b/src/Makefile.am > index 21b9caf..ef88132 100644 > --- a/src/Makefile.am > +++ b/src/Ma

Re: [libvirt] [RFC] net-dhcp-leases: Query: Reg: Leases API Script

2013-10-28 Thread Nehal J Wani
ping On Thu, Oct 24, 2013 at 11:01 AM, Nehal J Wani wrote: > I tried writing the helper program, didn't send v5, since I have some doubts. > The program works. Problems listed below. > > diff --git a/src/Makefile.am b/src/Makefile.am > index 21b9caf..ef88132 100644 > --- a/src/Makefile.am > +++ b

Re: [libvirt] [RFC] net-dhcp-leases: Query: Reg: Leases API Script

2013-10-24 Thread Nehal J Wani
I tried writing the helper program, didn't send v5, since I have some doubts. The program works. Problems listed below. diff --git a/src/Makefile.am b/src/Makefile.am index 21b9caf..ef88132 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -825,6 +825,9 @@ STORAGE_HELPER_DISK_SOURCES =

Re: [libvirt] [RFC] net-dhcp-leases: Query: Reg: Leases API Script

2013-10-22 Thread Daniel P. Berrange
On Tue, Oct 22, 2013 at 09:27:53PM +0530, Nehal J Wani wrote: > On Tue, Oct 22, 2013 at 9:10 PM, Eric Blake wrote: > > On 10/22/2013 04:15 PM, Daniel P. Berrange wrote: > >> On Tue, Oct 22, 2013 at 04:15:37PM +0530, Nehal J Wani wrote: > >>> Q1. The --dhcp-script option will require libvirt to pro

Re: [libvirt] [RFC] net-dhcp-leases: Query: Reg: Leases API Script

2013-10-22 Thread Eric Blake
On 10/22/2013 04:57 PM, Nehal J Wani wrote: > On Tue, Oct 22, 2013 at 9:10 PM, Eric Blake wrote: >> On 10/22/2013 04:15 PM, Daniel P. Berrange wrote: >>> On Tue, Oct 22, 2013 at 04:15:37PM +0530, Nehal J Wani wrote: Q1. The --dhcp-script option will require libvirt to provide a script or

Re: [libvirt] [RFC] net-dhcp-leases: Query: Reg: Leases API Script

2013-10-22 Thread Nehal J Wani
On Tue, Oct 22, 2013 at 9:10 PM, Eric Blake wrote: > On 10/22/2013 04:15 PM, Daniel P. Berrange wrote: >> On Tue, Oct 22, 2013 at 04:15:37PM +0530, Nehal J Wani wrote: >>> Q1. The --dhcp-script option will require libvirt to provide a script >>> or executable file to be run. Now as the man page sa

Re: [libvirt] [RFC] net-dhcp-leases: Query: Reg: Leases API Script

2013-10-22 Thread Eric Blake
On 10/22/2013 04:15 PM, Daniel P. Berrange wrote: > On Tue, Oct 22, 2013 at 04:15:37PM +0530, Nehal J Wani wrote: >> Q1. The --dhcp-script option will require libvirt to provide a script >> or executable file to be run. Now as the man page says, this file is >> executed "Whenever a new DHCP ease i

Re: [libvirt] [RFC] net-dhcp-leases: Query: Reg: Leases API Script

2013-10-22 Thread Daniel P. Berrange
On Tue, Oct 22, 2013 at 04:15:37PM +0530, Nehal J Wani wrote: > Q1. The --dhcp-script option will require libvirt to provide a script > or executable file to be run. Now as the man page says, this file is > executed "Whenever a new DHCP ease is created, or an old one > destroyed". Life was easy wi

[libvirt] [RFC] net-dhcp-leases: Query: Reg: Leases API Script

2013-10-22 Thread Nehal J Wani
Q1. The --dhcp-script option will require libvirt to provide a script or executable file to be run. Now as the man page says, this file is executed "Whenever a new DHCP ease is created, or an old one destroyed". Life was easy with the script, as it used the command sed to remove the destroyed leas