[libvirt] [PATCH] bridge_driver: use conffile for dnsmasq if it exists

Eric Blake eblake at redhat.com
Thu Dec 23 16:53:57 UTC 2010


On 12/23/2010 06:50 AM, Paweł Krześniak wrote:
> On Wed, Dec 22, 2010 at 16:50, Laine Stump <laine at laine.org> wrote:
>> I agree with Eric that this should be discussed with Dan Berrange and/or
>> Daniel Veillard before comitting anything to the tree (definitely it needs
>> doing in some manner, though).
> 
> Another idea came to my mind:
> Following logic behind <emulator> tag for domain definition, we could
> introduce XML tag in network definition which would override default
> location of dnsmasq (and radvd).
> 
> For example:
> <network>
>   <name>xxxnet</name>
>   <dnsmasq>/usr/local/bin/my-dnsmasq</dnsmasq>
>   <radvd>/usr/local/bin/my-radvd</radvd>

Rather than tying the element name to our current choice of program, can
we come up with something more generic?

<network>
  <name>xxxnet</name>
  <ipv4routing>/usr/local/bin/my-dnsmasq</ipv4routing>
  <ipv6routing>/usr/local/bin/my-radvd</ipv6routing>
</network>

But the idea of allowing the XML to specify an override for the program
to run seems like it might be worthwhile.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101223/16208f46/attachment-0001.sig>


More information about the libvir-list mailing list