Re: [libvirt] [PATCH] Implement DNS SRV record into the bridge driver

2011-08-11 Thread Michal Novotny
Thanks for your review, Daniel. I already sent v2 of the patch now ;-) Michal On 08/11/2011 04:42 AM, Daniel Veillard wrote: > On Thu, Aug 11, 2011 at 10:13:34AM +0800, Daniel Veillard wrote: >> On Tue, Aug 09, 2011 at 05:50:55PM +0200, Michal Novotny wrote: >>> Hi, >>> this is the patch to the b

Re: [libvirt] [PATCH] Implement DNS SRV record into the bridge driver

2011-08-10 Thread Laine Stump
On 08/09/2011 11:50 AM, Michal Novotny wrote: Hi, this is the patch to the bridge driver and libvirt XML file to include support for the SRV records in the DNS. The syntax is based on DNSMasq man page and tests for both xml2xml and xml2argv were added as well. Signed-off-by: Michal Novotny ---

Re: [libvirt] [PATCH] Implement DNS SRV record into the bridge driver

2011-08-10 Thread Laine Stump
On 08/10/2011 10:13 PM, Daniel Veillard wrote: On Tue, Aug 09, 2011 at 05:50:55PM +0200, Michal Novotny wrote: +char *portString = NULL; +char *priorityString = NULL; +char *weightString = NULL; +int port; +int priority; +int weight; +int ret = 0; + +if (!(service

Re: [libvirt] [PATCH] Implement DNS SRV record into the bridge driver

2011-08-10 Thread Daniel Veillard
On Thu, Aug 11, 2011 at 10:13:34AM +0800, Daniel Veillard wrote: > On Tue, Aug 09, 2011 at 05:50:55PM +0200, Michal Novotny wrote: > > Hi, > > this is the patch to the bridge driver and libvirt XML > > file to include support for the SRV records in the DNS. > > The syntax is based on DNSMasq man pa

Re: [libvirt] [PATCH] Implement DNS SRV record into the bridge driver

2011-08-10 Thread Daniel Veillard
On Tue, Aug 09, 2011 at 05:50:55PM +0200, Michal Novotny wrote: > Hi, > this is the patch to the bridge driver and libvirt XML > file to include support for the SRV records in the DNS. > The syntax is based on DNSMasq man page and tests for > both xml2xml and xml2argv were added as well. > > Signe

[libvirt] [PATCH] Implement DNS SRV record into the bridge driver

2011-08-09 Thread Michal Novotny
Hi, this is the patch to the bridge driver and libvirt XML file to include support for the SRV records in the DNS. The syntax is based on DNSMasq man page and tests for both xml2xml and xml2argv were added as well. Signed-off-by: Michal Novotny --- docs/formatnetwork.html.in