libvirt/tests/networkxml2xmlin
Laine Stump 9065cfaa88 network: allow disabling dnsmasq's DNS server
If you define a libvirt virtual network with one or more IP addresses,
it starts up an instance of dnsmasq. It's always been possible to
avoid dnsmasq's dhcp server (simply don't include a <dhcp> element),
but until now it wasn't possible to avoid having the DNS server
listening; even if the network has no <dns> element, it is started
using default settings.

This patch adds a new attribute to <dns>: enable='yes|no'. For
backward compatibility, it defaults to 'yes', but if you don't want a
DNS server created for the network, you can simply add:

   <dns enable='no'/>

to the network configuration, and next time the network is started
there will be no dns server created (if there is dhcp configuration,
dnsmasq will be started with "port=0" which disables the DNS server;
if there is no dhcp configuration, dnsmasq won't be started at all).
2016-08-19 21:10:34 -04:00
..
8021Qbh-net.xml
bandwidth-network.xml
dhcp6host-routed-network.xml
direct-net.xml
empty-allow-ipv6.xml
host-bridge-net.xml
host-bridge-no-flood.xml conf: new network bridge device attribute macTableManager 2014-12-08 14:41:37 -05:00
hostdev-duplicate.xml network: prevent duplicate entries in network device pools 2016-04-19 12:39:13 -04:00
hostdev-pf.xml
hostdev.xml
isolated-network.xml
metadata.xml Allow custom metadata in network configuration XML 2016-07-01 13:05:25 -04:00
nat-network-dns-forward-plain.xml
nat-network-dns-forwarders.xml
nat-network-dns-hosts.xml
nat-network-dns-srv-record-minimal.xml
nat-network-dns-srv-record.xml
nat-network-dns-srv-records.xml
nat-network-dns-txt-record.xml
nat-network-explicit-flood.xml conf: new network bridge device attribute macTableManager 2014-12-08 14:41:37 -05:00
nat-network-forward-nat-address.xml
nat-network-forward-nat-no-address.xml conf: Don't try formating non-existing addresses 2015-08-11 16:07:41 +02:00
nat-network.xml
netboot-network.xml
netboot-proxy-network.xml
open-network-with-forward-dev.xml network: new network forward mode 'open' 2016-08-19 21:05:15 -04:00
open-network.xml network: new network forward mode 'open' 2016-08-19 21:05:15 -04:00
openvswitch-net.xml
passthrough-address-crash.xml
passthrough-duplicate.xml network: prevent duplicate entries in network device pools 2016-04-19 12:39:13 -04:00
passthrough-pf.xml
routed-network-no-dns-extra-elements.xml network: allow disabling dnsmasq's DNS server 2016-08-19 21:10:34 -04:00
routed-network-no-dns.xml network: allow disabling dnsmasq's DNS server 2016-08-19 21:10:34 -04:00
routed-network.xml
vepa-net.xml