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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/23/2010 06:50 AM, PaweÅ KrzeÅniak wrote:
> On Wed, Dec 22, 2010 at 16:50, Laine Stump <laine@xxxxxxxxx> 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@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]