]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: Rename networkxml2xmltest to networkxmlconftest
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 28 Jan 2026 12:10:26 +0000 (13:10 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 29 Jan 2026 12:39:23 +0000 (13:39 +0100)
Now that networkxml2xmltest does both XML -> XML and XML -> conf
tests its name became misleading. Rename it to networkxmlconftest
and move its data into networkxmlconfdata/ dir.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
187 files changed:
src/network/bridge_driver.c
tests/meson.build
tests/networkxml2confdata/dhcp6host-routed-network.xml [deleted file]
tests/networkxml2confdata/isolated-network.xml [deleted file]
tests/networkxml2confdata/nat-network-dns-forwarders.xml [deleted file]
tests/networkxml2confdata/nat-network-dns-hosts.xml [deleted file]
tests/networkxml2confdata/nat-network-mtu.xml [deleted file]
tests/networkxml2confdata/nat-network.xml [deleted file]
tests/networkxml2confdata/netboot-network.xml [deleted file]
tests/networkxml2confdata/netboot-proxy-network.xml [deleted file]
tests/networkxml2confdata/open-network.xml [deleted file]
tests/networkxml2confdata/routed-network.xml [deleted file]
tests/networkxml2xmlin/dhcp6-nat-network.xml [deleted file]
tests/networkxml2xmlin/dhcp6-network.xml [deleted file]
tests/networkxml2xmlin/dnsmasq-options.xml [deleted file]
tests/networkxml2xmlin/leasetime-hours.xml [deleted symlink]
tests/networkxml2xmlin/leasetime-infinite.xml [deleted symlink]
tests/networkxml2xmlin/leasetime-minutes.xml [deleted symlink]
tests/networkxml2xmlin/leasetime-seconds.xml [deleted symlink]
tests/networkxml2xmlin/nat-network-dns-forward-plain.xml [deleted file]
tests/networkxml2xmlin/nat-network-dns-forwarder-no-resolv.xml [deleted file]
tests/networkxml2xmlin/nat-network-dns-local-domain.xml [deleted file]
tests/networkxml2xmlin/nat-network-dns-srv-record-minimal.xml [deleted file]
tests/networkxml2xmlin/nat-network-dns-srv-record.xml [deleted file]
tests/networkxml2xmlin/nat-network-dns-txt-record.xml [deleted file]
tests/networkxml2xmlin/nat-network-name-with-quotes.xml [deleted file]
tests/networkxml2xmlin/netboot-tftp.xml [deleted symlink]
tests/networkxml2xmlin/ptr-domains-auto.xml [deleted file]
tests/networkxml2xmlout/leasetime-hours.xml [deleted symlink]
tests/networkxml2xmlout/leasetime-infinite.xml [deleted symlink]
tests/networkxml2xmlout/leasetime-minutes.xml [deleted symlink]
tests/networkxml2xmlout/leasetime-seconds.xml [deleted symlink]
tests/networkxml2xmlout/netboot-tftp.xml [deleted symlink]
tests/networkxml2xmlupdatetest.c
tests/networkxmlconfdata/8021Qbh-net.expect.xml [moved from tests/networkxml2xmlout/8021Qbh-net.xml with 100% similarity]
tests/networkxmlconfdata/8021Qbh-net.xml [moved from tests/networkxml2xmlin/8021Qbh-net.xml with 100% similarity]
tests/networkxmlconfdata/bandwidth-network.conf [moved from tests/networkxml2confdata/bandwidth-network.conf with 100% similarity]
tests/networkxmlconfdata/bandwidth-network.expect.xml [moved from tests/networkxml2xmlout/bandwidth-network.xml with 100% similarity]
tests/networkxmlconfdata/bandwidth-network.xml [moved from tests/networkxml2xmlin/bandwidth-network.xml with 100% similarity]
tests/networkxmlconfdata/dhcp6-nat-network.conf [moved from tests/networkxml2confdata/dhcp6-nat-network.conf with 100% similarity]
tests/networkxmlconfdata/dhcp6-nat-network.expect.xml [moved from tests/networkxml2xmlout/dhcp6-nat-network.xml with 100% similarity]
tests/networkxmlconfdata/dhcp6-nat-network.hostsfile [moved from tests/networkxml2confdata/dhcp6-nat-network.hostsfile with 100% similarity]
tests/networkxmlconfdata/dhcp6-nat-network.xml [moved from tests/networkxml2confdata/dhcp6-nat-network.xml with 100% similarity]
tests/networkxmlconfdata/dhcp6-network.conf [moved from tests/networkxml2confdata/dhcp6-network.conf with 100% similarity]
tests/networkxmlconfdata/dhcp6-network.expect.xml [moved from tests/networkxml2xmlout/dhcp6-network.xml with 100% similarity]
tests/networkxmlconfdata/dhcp6-network.hostsfile [moved from tests/networkxml2confdata/dhcp6-network.hostsfile with 100% similarity]
tests/networkxmlconfdata/dhcp6-network.xml [moved from tests/networkxml2confdata/dhcp6-network.xml with 100% similarity]
tests/networkxmlconfdata/dhcp6host-routed-network.conf [moved from tests/networkxml2confdata/dhcp6host-routed-network.conf with 100% similarity]
tests/networkxmlconfdata/dhcp6host-routed-network.expect.xml [moved from tests/networkxml2xmlout/dhcp6host-routed-network.xml with 100% similarity]
tests/networkxmlconfdata/dhcp6host-routed-network.hostsfile [moved from tests/networkxml2confdata/dhcp6host-routed-network.hostsfile with 100% similarity]
tests/networkxmlconfdata/dhcp6host-routed-network.xml [moved from tests/networkxml2xmlin/dhcp6host-routed-network.xml with 100% similarity]
tests/networkxmlconfdata/direct-net.expect.xml [moved from tests/networkxml2xmlout/direct-net.xml with 100% similarity]
tests/networkxmlconfdata/direct-net.xml [moved from tests/networkxml2xmlin/direct-net.xml with 100% similarity]
tests/networkxmlconfdata/dnsmasq-options.conf [moved from tests/networkxml2confdata/dnsmasq-options.conf with 100% similarity]
tests/networkxmlconfdata/dnsmasq-options.expect.xml [moved from tests/networkxml2xmlout/dnsmasq-options.xml with 100% similarity]
tests/networkxmlconfdata/dnsmasq-options.xml [moved from tests/networkxml2confdata/dnsmasq-options.xml with 100% similarity]
tests/networkxmlconfdata/empty-allow-ipv6.expect.xml [moved from tests/networkxml2xmlout/empty-allow-ipv6.xml with 100% similarity]
tests/networkxmlconfdata/empty-allow-ipv6.xml [moved from tests/networkxml2xmlin/empty-allow-ipv6.xml with 100% similarity]
tests/networkxmlconfdata/host-bridge-net.expect.xml [moved from tests/networkxml2xmlout/host-bridge-net.xml with 100% similarity]
tests/networkxmlconfdata/host-bridge-net.xml [moved from tests/networkxml2xmlin/host-bridge-net.xml with 100% similarity]
tests/networkxmlconfdata/host-bridge-no-flood.expect.xml [moved from tests/networkxml2xmlout/host-bridge-no-flood.xml with 100% similarity]
tests/networkxmlconfdata/host-bridge-no-flood.xml [moved from tests/networkxml2xmlin/host-bridge-no-flood.xml with 100% similarity]
tests/networkxmlconfdata/hostdev-duplicate.xml [moved from tests/networkxml2xmlin/hostdev-duplicate.xml with 100% similarity]
tests/networkxmlconfdata/hostdev-pf-driver-model.expect.xml [moved from tests/networkxml2xmlin/hostdev-pf-driver-model.xml with 100% similarity]
tests/networkxmlconfdata/hostdev-pf-driver-model.xml [moved from tests/networkxml2xmlout/hostdev-pf-driver-model.xml with 100% similarity]
tests/networkxmlconfdata/hostdev-pf.expect.xml [moved from tests/networkxml2xmlin/hostdev-pf.xml with 100% similarity]
tests/networkxmlconfdata/hostdev-pf.xml [moved from tests/networkxml2xmlout/hostdev-pf.xml with 100% similarity]
tests/networkxmlconfdata/hostdev.expect.xml [moved from tests/networkxml2xmlin/hostdev.xml with 100% similarity]
tests/networkxmlconfdata/hostdev.xml [moved from tests/networkxml2xmlout/hostdev.xml with 100% similarity]
tests/networkxmlconfdata/isolated-network.conf [moved from tests/networkxml2confdata/isolated-network.conf with 100% similarity]
tests/networkxmlconfdata/isolated-network.expect.xml [moved from tests/networkxml2xmlout/isolated-network.xml with 100% similarity]
tests/networkxmlconfdata/isolated-network.xml [moved from tests/networkxml2xmlin/isolated-network.xml with 100% similarity]
tests/networkxmlconfdata/isolated-ports.expect.xml [moved from tests/networkxml2xmlout/isolated-ports.xml with 100% similarity]
tests/networkxmlconfdata/isolated-ports.xml [moved from tests/networkxml2xmlin/isolated-ports.xml with 100% similarity]
tests/networkxmlconfdata/leasetime-hours.conf [moved from tests/networkxml2confdata/leasetime-hours.conf with 100% similarity]
tests/networkxmlconfdata/leasetime-hours.expect.xml [new symlink]
tests/networkxmlconfdata/leasetime-hours.hostsfile [moved from tests/networkxml2confdata/leasetime-hours.hostsfile with 100% similarity]
tests/networkxmlconfdata/leasetime-hours.xml [moved from tests/networkxml2confdata/leasetime-hours.xml with 100% similarity]
tests/networkxmlconfdata/leasetime-infinite.conf [moved from tests/networkxml2confdata/leasetime-infinite.conf with 100% similarity]
tests/networkxmlconfdata/leasetime-infinite.expect.xml [new symlink]
tests/networkxmlconfdata/leasetime-infinite.hostsfile [moved from tests/networkxml2confdata/leasetime-infinite.hostsfile with 100% similarity]
tests/networkxmlconfdata/leasetime-infinite.xml [moved from tests/networkxml2confdata/leasetime-infinite.xml with 100% similarity]
tests/networkxmlconfdata/leasetime-minutes.conf [moved from tests/networkxml2confdata/leasetime-minutes.conf with 100% similarity]
tests/networkxmlconfdata/leasetime-minutes.expect.xml [new symlink]
tests/networkxmlconfdata/leasetime-minutes.hostsfile [moved from tests/networkxml2confdata/leasetime-minutes.hostsfile with 100% similarity]
tests/networkxmlconfdata/leasetime-minutes.xml [moved from tests/networkxml2confdata/leasetime-minutes.xml with 100% similarity]
tests/networkxmlconfdata/leasetime-seconds.conf [moved from tests/networkxml2confdata/leasetime-seconds.conf with 100% similarity]
tests/networkxmlconfdata/leasetime-seconds.expect.xml [new symlink]
tests/networkxmlconfdata/leasetime-seconds.hostsfile [moved from tests/networkxml2confdata/leasetime-seconds.hostsfile with 100% similarity]
tests/networkxmlconfdata/leasetime-seconds.xml [moved from tests/networkxml2confdata/leasetime-seconds.xml with 100% similarity]
tests/networkxmlconfdata/metadata.expect.xml [moved from tests/networkxml2xmlout/metadata.xml with 100% similarity]
tests/networkxmlconfdata/metadata.xml [moved from tests/networkxml2xmlin/metadata.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-forward-plain.conf [moved from tests/networkxml2confdata/nat-network-dns-forward-plain.conf with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-forward-plain.expect.xml [moved from tests/networkxml2xmlout/nat-network-dns-forward-plain.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-forward-plain.xml [moved from tests/networkxml2confdata/nat-network-dns-forward-plain.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-forwarder-no-resolv.conf [moved from tests/networkxml2confdata/nat-network-dns-forwarder-no-resolv.conf with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-forwarder-no-resolv.expect.xml [moved from tests/networkxml2xmlout/nat-network-dns-forwarder-no-resolv.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-forwarder-no-resolv.xml [moved from tests/networkxml2confdata/nat-network-dns-forwarder-no-resolv.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-forwarders.conf [moved from tests/networkxml2confdata/nat-network-dns-forwarders.conf with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-forwarders.expect.xml [moved from tests/networkxml2xmlout/nat-network-dns-forwarders.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-forwarders.xml [moved from tests/networkxml2xmlin/nat-network-dns-forwarders.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-hosts.conf [moved from tests/networkxml2confdata/nat-network-dns-hosts.conf with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-hosts.expect.xml [moved from tests/networkxml2xmlout/nat-network-dns-hosts.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-hosts.xml [moved from tests/networkxml2xmlin/nat-network-dns-hosts.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-local-domain.conf [moved from tests/networkxml2confdata/nat-network-dns-local-domain.conf with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-local-domain.expect.xml [moved from tests/networkxml2xmlout/nat-network-dns-local-domain.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-local-domain.xml [moved from tests/networkxml2confdata/nat-network-dns-local-domain.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-srv-record-minimal.conf [moved from tests/networkxml2confdata/nat-network-dns-srv-record-minimal.conf with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-srv-record-minimal.expect.xml [moved from tests/networkxml2xmlout/nat-network-dns-srv-record-minimal.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-srv-record-minimal.hostsfile [moved from tests/networkxml2confdata/nat-network-dns-srv-record-minimal.hostsfile with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-srv-record-minimal.xml [moved from tests/networkxml2confdata/nat-network-dns-srv-record-minimal.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-srv-record.conf [moved from tests/networkxml2confdata/nat-network-dns-srv-record.conf with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-srv-record.expect.xml [moved from tests/networkxml2xmlout/nat-network-dns-srv-record.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-srv-record.hostsfile [moved from tests/networkxml2confdata/nat-network-dns-srv-record.hostsfile with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-srv-record.xml [moved from tests/networkxml2confdata/nat-network-dns-srv-record.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-srv-records.conf [moved from tests/networkxml2confdata/nat-network-dns-srv-records.conf with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-srv-records.expect.xml [moved from tests/networkxml2xmlout/nat-network-dns-srv-records.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-srv-records.hostsfile [moved from tests/networkxml2confdata/nat-network-dns-srv-records.hostsfile with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-srv-records.xml [moved from tests/networkxml2xmlin/nat-network-dns-srv-records.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-txt-record.conf [moved from tests/networkxml2confdata/nat-network-dns-txt-record.conf with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-txt-record.expect.xml [moved from tests/networkxml2xmlout/nat-network-dns-txt-record.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-txt-record.hostsfile [moved from tests/networkxml2confdata/nat-network-dns-txt-record.hostsfile with 100% similarity]
tests/networkxmlconfdata/nat-network-dns-txt-record.xml [moved from tests/networkxml2confdata/nat-network-dns-txt-record.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-explicit-flood.conf [moved from tests/networkxml2confdata/nat-network-explicit-flood.conf with 100% similarity]
tests/networkxmlconfdata/nat-network-explicit-flood.expect.xml [moved from tests/networkxml2xmlout/nat-network-explicit-flood.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-explicit-flood.hostsfile [moved from tests/networkxml2confdata/nat-network-explicit-flood.hostsfile with 100% similarity]
tests/networkxmlconfdata/nat-network-explicit-flood.xml [moved from tests/networkxml2xmlin/nat-network-explicit-flood.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-forward-nat-address.conf [moved from tests/networkxml2confdata/nat-network-forward-nat-address.conf with 100% similarity]
tests/networkxmlconfdata/nat-network-forward-nat-address.expect.xml [moved from tests/networkxml2xmlout/nat-network-forward-nat-address.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-forward-nat-address.hostsfile [moved from tests/networkxml2confdata/nat-network-forward-nat-address.hostsfile with 100% similarity]
tests/networkxmlconfdata/nat-network-forward-nat-address.xml [moved from tests/networkxml2xmlin/nat-network-forward-nat-address.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-forward-nat-ipv6.conf [moved from tests/networkxml2confdata/nat-network-forward-nat-ipv6.conf with 100% similarity]
tests/networkxmlconfdata/nat-network-forward-nat-ipv6.expect.xml [moved from tests/networkxml2xmlout/nat-network-forward-nat-ipv6.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-forward-nat-ipv6.xml [moved from tests/networkxml2xmlin/nat-network-forward-nat-ipv6.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-forward-nat-no-address.conf [moved from tests/networkxml2confdata/nat-network-forward-nat-no-address.conf with 100% similarity]
tests/networkxmlconfdata/nat-network-forward-nat-no-address.expect.xml [moved from tests/networkxml2xmlout/nat-network-forward-nat-no-address.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-forward-nat-no-address.hostsfile [moved from tests/networkxml2confdata/nat-network-forward-nat-no-address.hostsfile with 100% similarity]
tests/networkxmlconfdata/nat-network-forward-nat-no-address.xml [moved from tests/networkxml2xmlin/nat-network-forward-nat-no-address.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-mtu.conf [moved from tests/networkxml2confdata/nat-network-mtu.conf with 100% similarity]
tests/networkxmlconfdata/nat-network-mtu.expect.xml [moved from tests/networkxml2xmlout/nat-network-mtu.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-mtu.hostsfile [moved from tests/networkxml2confdata/nat-network-mtu.hostsfile with 100% similarity]
tests/networkxmlconfdata/nat-network-mtu.xml [moved from tests/networkxml2xmlin/nat-network-mtu.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-name-with-quotes.conf [moved from tests/networkxml2confdata/nat-network-name-with-quotes.conf with 100% similarity]
tests/networkxmlconfdata/nat-network-name-with-quotes.expect.xml [moved from tests/networkxml2xmlout/nat-network-name-with-quotes.xml with 100% similarity]
tests/networkxmlconfdata/nat-network-name-with-quotes.hostsfile [moved from tests/networkxml2confdata/nat-network-name-with-quotes.hostsfile with 100% similarity]
tests/networkxmlconfdata/nat-network-name-with-quotes.xml [moved from tests/networkxml2confdata/nat-network-name-with-quotes.xml with 100% similarity]
tests/networkxmlconfdata/nat-network.conf [moved from tests/networkxml2confdata/nat-network.conf with 100% similarity]
tests/networkxmlconfdata/nat-network.expect.xml [moved from tests/networkxml2xmlout/nat-network.xml with 100% similarity]
tests/networkxmlconfdata/nat-network.hostsfile [moved from tests/networkxml2confdata/nat-network.hostsfile with 100% similarity]
tests/networkxmlconfdata/nat-network.xml [moved from tests/networkxml2xmlin/nat-network.xml with 100% similarity]
tests/networkxmlconfdata/netboot-network.conf [moved from tests/networkxml2confdata/netboot-network.conf with 100% similarity]
tests/networkxmlconfdata/netboot-network.expect.xml [moved from tests/networkxml2xmlout/netboot-network.xml with 100% similarity]
tests/networkxmlconfdata/netboot-network.xml [moved from tests/networkxml2xmlin/netboot-network.xml with 100% similarity]
tests/networkxmlconfdata/netboot-proxy-network.conf [moved from tests/networkxml2confdata/netboot-proxy-network.conf with 100% similarity]
tests/networkxmlconfdata/netboot-proxy-network.expect.xml [moved from tests/networkxml2xmlout/netboot-proxy-network.xml with 100% similarity]
tests/networkxmlconfdata/netboot-proxy-network.xml [moved from tests/networkxml2xmlin/netboot-proxy-network.xml with 100% similarity]
tests/networkxmlconfdata/netboot-tftp.conf [moved from tests/networkxml2confdata/netboot-tftp.conf with 100% similarity]
tests/networkxmlconfdata/netboot-tftp.expect.xml [new symlink]
tests/networkxmlconfdata/netboot-tftp.xml [moved from tests/networkxml2confdata/netboot-tftp.xml with 100% similarity]
tests/networkxmlconfdata/open-network-with-forward-dev.xml [moved from tests/networkxml2xmlin/open-network-with-forward-dev.xml with 100% similarity]
tests/networkxmlconfdata/open-network.conf [moved from tests/networkxml2confdata/open-network.conf with 100% similarity]
tests/networkxmlconfdata/open-network.expect.xml [moved from tests/networkxml2xmlout/open-network.xml with 100% similarity]
tests/networkxmlconfdata/open-network.xml [moved from tests/networkxml2xmlin/open-network.xml with 100% similarity]
tests/networkxmlconfdata/openvswitch-net.expect.xml [moved from tests/networkxml2xmlin/openvswitch-net.xml with 100% similarity]
tests/networkxmlconfdata/openvswitch-net.xml [moved from tests/networkxml2xmlout/openvswitch-net.xml with 100% similarity]
tests/networkxmlconfdata/passthrough-address-crash.xml [moved from tests/networkxml2xmlin/passthrough-address-crash.xml with 100% similarity]
tests/networkxmlconfdata/passthrough-duplicate.xml [moved from tests/networkxml2xmlin/passthrough-duplicate.xml with 100% similarity]
tests/networkxmlconfdata/passthrough-pf.conf [moved from tests/networkxml2confdata/passthrough-pf.conf with 100% similarity]
tests/networkxmlconfdata/passthrough-pf.xml [moved from tests/networkxml2xmlin/passthrough-pf.xml with 100% similarity]
tests/networkxmlconfdata/ptr-domains-auto.conf [moved from tests/networkxml2confdata/ptr-domains-auto.conf with 100% similarity]
tests/networkxmlconfdata/ptr-domains-auto.expect.xml [moved from tests/networkxml2xmlout/ptr-domains-auto.xml with 100% similarity]
tests/networkxmlconfdata/ptr-domains-auto.hostsfile [moved from tests/networkxml2confdata/ptr-domains-auto.hostsfile with 100% similarity]
tests/networkxmlconfdata/ptr-domains-auto.xml [moved from tests/networkxml2confdata/ptr-domains-auto.xml with 100% similarity]
tests/networkxmlconfdata/routed-network-no-dns-extra-elements.xml [moved from tests/networkxml2xmlin/routed-network-no-dns-extra-elements.xml with 100% similarity]
tests/networkxmlconfdata/routed-network-no-dns.expect.xml [moved from tests/networkxml2xmlout/routed-network-no-dns.xml with 100% similarity]
tests/networkxmlconfdata/routed-network-no-dns.xml [moved from tests/networkxml2xmlin/routed-network-no-dns.xml with 100% similarity]
tests/networkxmlconfdata/routed-network.conf [moved from tests/networkxml2confdata/routed-network.conf with 100% similarity]
tests/networkxmlconfdata/routed-network.expect.xml [moved from tests/networkxml2xmlout/routed-network.xml with 100% similarity]
tests/networkxmlconfdata/routed-network.xml [moved from tests/networkxml2xmlin/routed-network.xml with 100% similarity]
tests/networkxmlconfdata/set-mtu.conf [moved from tests/networkxml2confdata/set-mtu.conf with 100% similarity]
tests/networkxmlconfdata/set-mtu.expect.xml [moved from tests/networkxml2xmlout/set-mtu.xml with 100% similarity]
tests/networkxmlconfdata/set-mtu.xml [moved from tests/networkxml2xmlin/set-mtu.xml with 100% similarity]
tests/networkxmlconfdata/vepa-net.expect.xml [moved from tests/networkxml2xmlout/vepa-net.xml with 100% similarity]
tests/networkxmlconfdata/vepa-net.xml [moved from tests/networkxml2xmlin/vepa-net.xml with 100% similarity]
tests/networkxmlconftest.c [moved from tests/networkxml2xmltest.c with 96% similarity]
tests/qemuxmlconftest.c
tests/virschematest.c

index 665eeecedbe2b4e30c44e71f9afe3811e09c825a..d50d42c98c233f9d84c323b3240f821a01b40a5a 100644 (file)
@@ -1178,7 +1178,7 @@ networkDnsmasqConfContents(virNetworkObj *obj,
 
     /* create dnsmasq config file appropriate for this network */
 
-    /* Don't forget to update networkxml2xmltest :-) */
+    /* Don't forget to update networkxmlconftest :-) */
     virBufferAsprintf(&configbuf,
                       "##WARNING:  THIS IS AN AUTO-GENERATED FILE. "
                       "CHANGES TO IT ARE LIKELY TO BE\n"
index 00c81877afa2dd3b524c7177682c737f0a52a7fd..b28ad4a65b53844ae484b558d88f27b57ababba2 100644 (file)
@@ -408,7 +408,7 @@ endif
 if conf.has('WITH_NETWORK')
   tests += [
     { 'name': 'networkxml2firewalltest', 'include': [ network_inc_dir ], 'link_with': [ network_driver_impl ] },
-    { 'name': 'networkxml2xmltest', 'include': [ network_inc_dir ], 'link_with': [ network_driver_impl ],  },
+    { 'name': 'networkxmlconftest', 'include': [ network_inc_dir ], 'link_with': [ network_driver_impl ],  },
   ]
 endif
 
diff --git a/tests/networkxml2confdata/dhcp6host-routed-network.xml b/tests/networkxml2confdata/dhcp6host-routed-network.xml
deleted file mode 100644 (file)
index 42b9d3f..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<network>
-  <name>local</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
-  <forward dev='eth1' mode='route'/>
-  <bridge name='virbr1' stp='on' delay='0'/>
-  <mac address='12:34:56:78:9A:BC'/>
-  <ip address='192.168.122.1' netmask='255.255.255.0'>
-    <dhcp>
-      <host mac='00:16:3e:77:e2:ed' name='a.example.com' ip='192.168.122.10'/>
-      <host mac='00:16:3e:3e:a9:1a' name='b.example.com' ip='192.168.122.11'/>
-    </dhcp>
-  </ip>
-  <ip family='ipv6' address='2001:db8:ac10:fd01::1' prefix='64'>
-    <dhcp>
-      <host id='0:4:7e:7d:f0:7d:a8:bc:c5:d2:13:32:11:ed:16:ea:84:63' ip='2001:db8:ac10:fd01::1:20'/>
-      <host name='paul' ip='2001:db8:ac10:fd01::1:21'/>
-      <host id='0:3:0:1:0:16:3e:11:22:33' name='peter.xyz' ip='2001:db8:ac10:fd01::1:22'/>
-      <host id='0:3:0:1:0:16:3e:44:55:33' ip='2001:db8:ac10:fd01::1:23'/>
-      <host id='0:1:0:1:18:aa:62:fe:0:16:3e:44:55:66' name='badbob' ip='2001:db8:ac10:fd01::1:24'/>
-    </dhcp>
-  </ip>
-</network>
diff --git a/tests/networkxml2confdata/isolated-network.xml b/tests/networkxml2confdata/isolated-network.xml
deleted file mode 100644 (file)
index b22d4ea..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<network>
-  <name>private</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
-  <bridge name='virbr2' stp='on' delay='0'/>
-  <mac address='52:54:00:17:3F:37'/>
-  <ip address='192.168.152.1' netmask='255.255.255.0'>
-    <dhcp>
-      <range start='192.168.152.2' end='192.168.152.254'/>
-    </dhcp>
-  </ip>
-</network>
diff --git a/tests/networkxml2confdata/nat-network-dns-forwarders.xml b/tests/networkxml2confdata/nat-network-dns-forwarders.xml
deleted file mode 100644 (file)
index d84576b..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<network>
-  <name>default</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9c</uuid>
-  <forward dev='eth0' mode='nat'/>
-  <bridge name='virbr0' stp='on' delay='0'/>
-  <dns>
-    <forwarder addr='8.8.8.8'/>
-    <forwarder addr='8.8.4.4'/>
-    <forwarder domain='example.com' addr='192.168.1.1'/>
-    <forwarder domain='example2.com' addr='192.168.2.1' port='1234'/>
-    <forwarder domain='www.example.com'/>
-  </dns>
-  <ip address='192.168.122.1' netmask='255.255.255.0'>
-  </ip>
-</network>
diff --git a/tests/networkxml2confdata/nat-network-dns-hosts.xml b/tests/networkxml2confdata/nat-network-dns-hosts.xml
deleted file mode 100644 (file)
index 9add456..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<network>
-  <name>default</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9c</uuid>
-  <forward dev='eth0' mode='nat'/>
-  <bridge name='virbr0' stp='on' delay='0'/>
-  <domain name="example.com"/>
-  <dns forwardPlainNames='no'>
-    <host ip='192.168.122.1'>
-      <hostname>host</hostname>
-      <hostname>gateway</hostname>
-    </host>
-  </dns>
-  <ip address='192.168.122.1' netmask='255.255.255.0'>
-  </ip>
-</network>
diff --git a/tests/networkxml2confdata/nat-network-mtu.xml b/tests/networkxml2confdata/nat-network-mtu.xml
deleted file mode 100644 (file)
index 87b214e..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<network>
-  <name>default</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
-  <forward dev='eth1' mode='nat'/>
-  <bridge name='virbr0' stp='on' delay='0'/>
-  <mtu size='7000'/>
-  <ip address='192.168.122.1' netmask='255.255.255.0'>
-    <dhcp>
-      <range start='192.168.122.2' end='192.168.122.254'/>
-      <host mac='00:16:3e:77:e2:ed' name='a.example.com' ip='192.168.122.10'/>
-      <host mac='00:16:3e:3e:a9:1a' name='b.example.com' ip='192.168.122.11'/>
-    </dhcp>
-  </ip>
-  <ip family='ipv4' address='192.168.123.1' netmask='255.255.255.0'>
-  </ip>
-  <ip family='ipv6' address='2001:db8:ac10:fe01::1' prefix='64'>
-  </ip>
-  <ip family='ipv6' address='2001:db8:ac10:fd01::1' prefix='64'>
-  </ip>
-  <ip family='ipv4' address='10.24.10.1'>
-  </ip>
-</network>
diff --git a/tests/networkxml2confdata/nat-network.xml b/tests/networkxml2confdata/nat-network.xml
deleted file mode 100644 (file)
index e44d35d..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<network>
-  <name>default</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
-  <forward dev='eth1' mode='nat'/>
-  <bridge name='virbr0' stp='on' delay='0'/>
-  <ip address='192.168.122.1' netmask='255.255.255.0'>
-    <dhcp>
-      <range start='192.168.122.2' end='192.168.122.254'/>
-      <host mac='00:16:3e:77:e2:ed' name='a.example.com' ip='192.168.122.10'/>
-      <host mac='00:16:3e:3e:a9:1a' name='b.example.com' ip='192.168.122.11'/>
-    </dhcp>
-  </ip>
-  <ip family='ipv4' address='192.168.123.1' netmask='255.255.255.0'>
-  </ip>
-  <ip family='ipv6' address='2001:db8:ac10:fe01::1' prefix='64'>
-  </ip>
-  <ip family='ipv6' address='2001:db8:ac10:fd01::1' prefix='64'>
-  </ip>
-  <ip family='ipv4' address='10.24.10.1'>
-  </ip>
-</network>
diff --git a/tests/networkxml2confdata/netboot-network.xml b/tests/networkxml2confdata/netboot-network.xml
deleted file mode 100644 (file)
index ec06c30..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<network>
-  <name>netboot</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
-  <forward mode='nat'/>
-  <bridge name='virbr1' stp='off' delay='1'/>
-  <domain name='example.com'/>
-  <ip address='192.168.122.1' netmask='255.255.255.0'>
-    <dhcp>
-      <range start='192.168.122.2' end='192.168.122.254'/>
-      <bootp file='pxeboot.img'/>
-    </dhcp>
-    <tftp root='/var/lib/tftproot'/>
-  </ip>
-</network>
diff --git a/tests/networkxml2confdata/netboot-proxy-network.xml b/tests/networkxml2confdata/netboot-proxy-network.xml
deleted file mode 100644 (file)
index a5b7c1e..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<network>
-  <name>netboot</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
-  <forward mode='nat'/>
-  <bridge name='virbr1' stp='off' delay='1'/>
-  <domain name='example.com'/>
-  <ip address='192.168.122.1' netmask='255.255.255.0'>
-    <dhcp>
-      <range start='192.168.122.2' end='192.168.122.254'/>
-      <bootp file='pxeboot.img' server='10.20.30.40'/>
-    </dhcp>
-  </ip>
-</network>
diff --git a/tests/networkxml2confdata/open-network.xml b/tests/networkxml2confdata/open-network.xml
deleted file mode 100644 (file)
index e0b3f03..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<network>
-  <name>open</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
-  <forward mode='open'/>
-  <bridge name='virbr1' stp='on' delay='0'/>
-  <mac address='12:34:56:78:9A:BC'/>
-  <ip address='192.168.122.1' netmask='255.255.255.0'>
-  </ip>
-</network>
diff --git a/tests/networkxml2confdata/routed-network.xml b/tests/networkxml2confdata/routed-network.xml
deleted file mode 100644 (file)
index 6b0853a..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<network>
-  <name>local</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
-  <forward dev='eth1' mode='route'/>
-  <bridge name='virbr1' stp='on' delay='0'/>
-  <mac address='12:34:56:78:9A:BC'/>
-  <ip address='192.168.122.1' netmask='255.255.255.0'>
-  </ip>
-</network>
diff --git a/tests/networkxml2xmlin/dhcp6-nat-network.xml b/tests/networkxml2xmlin/dhcp6-nat-network.xml
deleted file mode 100644 (file)
index cab0700..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<network>
-  <name>default</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
-  <forward dev='eth1' mode='nat'/>
-  <bridge name='virbr0' stp='on' delay='0'/>
-  <ip address='192.168.122.1' netmask='255.255.255.0'>
-    <dhcp>
-      <host mac='00:16:3e:77:e2:ed' name='a.example.com' ip='192.168.122.10'/>
-      <host mac='00:16:3e:3e:a9:1a' name='b.example.com' ip='192.168.122.11'/>
-      <range start='192.168.122.2' end='192.168.122.254'/>
-    </dhcp>
-  </ip>
-  <ip family='ipv4' address='192.168.123.1' netmask='255.255.255.0'>
-  </ip>
-  <ip family='ipv6' address='2001:db8:ac10:fd01::1' prefix='64'>
-    <dhcp>
-      <range start='2001:db8:ac10:fd01::1:10' end='2001:db8:ac10:fd01::1:ff'/>
-      <host id='0:4:7e:7d:f0:7d:a8:bc:c5:d2:13:32:11:ed:16:ea:84:63' ip='2001:db8:ac10:fd01::1:20'/>
-      <host name='paul' ip='2001:db8:ac10:fd01::1:21'/>
-      <host id='0:3:0:1:0:16:3e:11:22:33' name='peter.xyz' ip='2001:db8:ac10:fd01::1:22'/>
-      <host id='0:3:0:1:0:16:3e:44:55:33' ip='2001:db8:ac10:fd01::1:23'/>
-      <host id='0:1:0:1:18:aa:62:fe:0:16:3e:44:55:66' name='badbob' ip='2001:db8:ac10:fd01::1:24'/>
-    </dhcp>
-  </ip>
-  <ip family='ipv4' address='10.24.10.1'>
-  </ip>
-</network>
diff --git a/tests/networkxml2xmlin/dhcp6-network.xml b/tests/networkxml2xmlin/dhcp6-network.xml
deleted file mode 100644 (file)
index ae9ff1f..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<network>
-  <name>default</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
-  <forward dev='eth1' mode='nat'/>
-  <bridge name='virbr0' stp='on' delay='0'/>
-  <domain name='mynet'/>
-  <ip family='ipv6' address='2001:db8:ac10:fd01::1' prefix='64'>
-    <dhcp>
-      <range start='2001:db8:ac10:fd01::1:10' end='2001:db8:ac10:fd01::1:ff'/>
-      <host id='0:4:7e:7d:f0:7d:a8:bc:c5:d2:13:32:11:ed:16:ea:84:63' ip='2001:db8:ac10:fd01::1:20'/>
-      <host name='paul' ip='2001:db8:ac10:fd01::1:21'/>
-      <host id='0:3:0:1:0:16:3e:11:22:33' name='peter.xyz' ip='2001:db8:ac10:fd01::1:22'/>
-      <host id='0:3:0:1:0:16:3e:44:55:33' ip='2001:db8:ac10:fd01::1:23'/>
-      <host id='0:1:0:1:18:aa:62:fe:0:16:3e:44:55:66' name='badbob' ip='2001:db8:ac10:fd01::1:24'/>
-    </dhcp>
-  </ip>
-</network>
diff --git a/tests/networkxml2xmlin/dnsmasq-options.xml b/tests/networkxml2xmlin/dnsmasq-options.xml
deleted file mode 100644 (file)
index 35a87b8..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<network xmlns:dnsmasq="http://libvirt.org/schemas/network/dnsmasq/1.0">
-  <name>default</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
-  <bridge name="virbr0"/>
-  <forward mode="nat" dev="eth1"/>
-  <ip address="192.168.122.1" netmask="255.255.255.0">
-    <dhcp>
-      <range start="192.168.122.2" end="192.168.122.254"/>
-    </dhcp>
-  </ip>
-  <dnsmasq:options>
-    <dnsmasq:option value="foo=bar"/>
-    <dnsmasq:option value="cname=*.cloudapps.example.com,master.example.com"/>
-  </dnsmasq:options>
-</network>
diff --git a/tests/networkxml2xmlin/leasetime-hours.xml b/tests/networkxml2xmlin/leasetime-hours.xml
deleted file mode 120000 (symlink)
index 5a6bed3..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../networkxml2confdata/leasetime-hours.xml
\ No newline at end of file
diff --git a/tests/networkxml2xmlin/leasetime-infinite.xml b/tests/networkxml2xmlin/leasetime-infinite.xml
deleted file mode 120000 (symlink)
index 706e4cd..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../networkxml2confdata/leasetime-infinite.xml
\ No newline at end of file
diff --git a/tests/networkxml2xmlin/leasetime-minutes.xml b/tests/networkxml2xmlin/leasetime-minutes.xml
deleted file mode 120000 (symlink)
index 2c19b06..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../networkxml2confdata/leasetime-minutes.xml
\ No newline at end of file
diff --git a/tests/networkxml2xmlin/leasetime-seconds.xml b/tests/networkxml2xmlin/leasetime-seconds.xml
deleted file mode 120000 (symlink)
index f182cfa..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../networkxml2confdata/leasetime-seconds.xml
\ No newline at end of file
diff --git a/tests/networkxml2xmlin/nat-network-dns-forward-plain.xml b/tests/networkxml2xmlin/nat-network-dns-forward-plain.xml
deleted file mode 100644 (file)
index 10bacb5..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<network>
-  <name>default</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9c</uuid>
-  <forward dev='eth0' mode='nat'/>
-  <bridge name='virbr0' stp='on' delay='0' />
-  <dns forwardPlainNames='yes'/>
-  <ip address='192.168.122.1' netmask='255.255.255.0'>
-  </ip>
-</network>
diff --git a/tests/networkxml2xmlin/nat-network-dns-forwarder-no-resolv.xml b/tests/networkxml2xmlin/nat-network-dns-forwarder-no-resolv.xml
deleted file mode 100644 (file)
index 9661ce5..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<network>
-  <name>default</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9c</uuid>
-  <forward mode='nat'/>
-  <bridge name='virbr0' stp='on' delay='0'/>
-  <dns>
-    <forwarder domain='example.com' addr='192.168.1.1'/>
-  </dns>
-  <ip address='192.168.122.1' netmask='255.255.255.0'>
-  </ip>
-</network>
diff --git a/tests/networkxml2xmlin/nat-network-dns-local-domain.xml b/tests/networkxml2xmlin/nat-network-dns-local-domain.xml
deleted file mode 100644 (file)
index a92d71f..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<network>
-  <name>default</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9c</uuid>
-  <forward dev='eth0' mode='nat'/>
-  <bridge name='virbr0' stp='on' delay='0' />
-  <domain name='example.com' localOnly='yes'/>
-  <ip address='192.168.122.1' netmask='255.255.255.0'>
-  </ip>
-</network>
diff --git a/tests/networkxml2xmlin/nat-network-dns-srv-record-minimal.xml b/tests/networkxml2xmlin/nat-network-dns-srv-record-minimal.xml
deleted file mode 100644 (file)
index 83838d0..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<network>
-  <name>default</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
-  <forward dev='eth1' mode='nat'>
-    <interface dev='eth1'/>
-  </forward>
-  <bridge name='virbr0' stp='on' delay='0'/>
-  <dns>
-    <srv service='name' protocol='tcp'/>
-  </dns>
-  <ip address='192.168.122.1' netmask='255.255.255.0'>
-    <dhcp>
-      <range start='192.168.122.2' end='192.168.122.254'/>
-      <host mac='00:16:3e:77:e2:ed' name='a.example.com' ip='192.168.122.10'/>
-      <host mac='00:16:3e:3e:a9:1a' name='b.example.com' ip='192.168.122.11'/>
-    </dhcp>
-  </ip>
-  <ip family='ipv4' address='192.168.123.1' netmask='255.255.255.0'>
-  </ip>
-  <ip family='ipv6' address='2001:db8:ac10:fe01::1' prefix='64'>
-  </ip>
-  <ip family='ipv6' address='fc00:db8:ac10:fd01::1' prefix='64'>
-  </ip>
-  <ip family='ipv4' address='10.24.10.1'>
-  </ip>
-</network>
diff --git a/tests/networkxml2xmlin/nat-network-dns-srv-record.xml b/tests/networkxml2xmlin/nat-network-dns-srv-record.xml
deleted file mode 100644 (file)
index 0369f4c..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<network>
-  <name>default</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
-  <forward dev='eth1' mode='nat'>
-    <interface dev='eth1'/>
-  </forward>
-  <bridge name='virbr0' stp='on' delay='0'/>
-  <dns>
-    <srv service='name' protocol='tcp' domain='test-domain-name' target='.' port='1024' priority='10' weight='10'/>
-    <srv service='name2' protocol='udp' target='test2.example.com' port='2222' priority='22' weight='222'/>
-    <srv service='name3' protocol='tcp' domain='test3.com' target='test3.example.com' port='3333' priority='33'/>
-    <srv service='name4' protocol='tcp' domain='test4.com' target='test4.example.com' port='4444'/>
-    <srv service='name5' protocol='udp' target='test5.example.com' priority='55' weight='555'/>
-    <srv service='name6' protocol='tcp' domain='test6.com' target='test6.example.com' port='6666' weight='666'/>
-    <srv service='name7' protocol='tcp' domain='test7.com' target='test7.example.com' weight='777'/>
-  </dns>
-  <ip address='192.168.122.1' netmask='255.255.255.0'>
-    <dhcp>
-      <range start='192.168.122.2' end='192.168.122.254'/>
-      <host mac='00:16:3e:77:e2:ed' name='a.example.com' ip='192.168.122.10'/>
-      <host mac='00:16:3e:3e:a9:1a' name='b.example.com' ip='192.168.122.11'/>
-    </dhcp>
-  </ip>
-  <ip family='ipv4' address='192.168.123.1' netmask='255.255.255.0'>
-  </ip>
-  <ip family='ipv6' address='2001:db8:ac10:fe01::1' prefix='64'>
-  </ip>
-  <ip family='ipv6' address='2001:db8:ac10:fd01::1' prefix='64'>
-  </ip>
-  <ip family='ipv4' address='10.24.10.1'>
-  </ip>
-</network>
diff --git a/tests/networkxml2xmlin/nat-network-dns-txt-record.xml b/tests/networkxml2xmlin/nat-network-dns-txt-record.xml
deleted file mode 100644 (file)
index 0a6bd59..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<network>
-  <name>default</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
-  <forward dev='eth1' mode='nat'/>
-  <bridge name='virbr0' stp='on' delay='0'/>
-  <dns>
-    <txt name='example' value='example value'/>
-  </dns>
-  <ip address='192.168.122.1' netmask='255.255.255.0'>
-    <dhcp>
-      <range start='192.168.122.2' end='192.168.122.254'/>
-      <host mac='00:16:3e:77:e2:ed' name='a.example.com' ip='192.168.122.10'/>
-      <host mac='00:16:3e:3e:a9:1a' name='b.example.com' ip='192.168.122.11'/>
-    </dhcp>
-  </ip>
-  <ip family='ipv4' address='192.168.123.1' netmask='255.255.255.0'>
-  </ip>
-  <ip family='ipv6' address='2001:db8:ac10:fe01::1' prefix='64'>
-  </ip>
-  <ip family='ipv6' address='2001:db8:ac10:fd01::1' prefix='64'>
-  </ip>
-  <ip family='ipv4' address='10.24.10.1'>
-  </ip>
-</network>
diff --git a/tests/networkxml2xmlin/nat-network-name-with-quotes.xml b/tests/networkxml2xmlin/nat-network-name-with-quotes.xml
deleted file mode 100644 (file)
index eba75d2..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<network>
-  <name>default"with"quotes"</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
-  <forward dev='eth1' mode='nat'>
-    <interface dev='eth1'/>
-  </forward>
-  <bridge name='virbr0' stp='on' delay='0'/>
-  <dns>
-    <srv service='name' protocol='tcp'/>
-  </dns>
-  <ip address='192.168.122.1' netmask='255.255.255.0'>
-    <dhcp>
-      <range start='192.168.122.2' end='192.168.122.254'/>
-      <host mac='00:16:3e:77:e2:ed' name='a.example.com' ip='192.168.122.10'/>
-      <host mac='00:16:3e:3e:a9:1a' name='b.example.com' ip='192.168.122.11'/>
-    </dhcp>
-  </ip>
-  <ip family='ipv4' address='192.168.123.1' netmask='255.255.255.0'>
-  </ip>
-  <ip family='ipv6' address='fc00:db8:ac10:fe01::1' prefix='64'>
-  </ip>
-  <ip family='ipv6' address='fc00:db8:ac10:fd01::1' prefix='64'>
-  </ip>
-  <ip family='ipv4' address='10.24.10.1'>
-  </ip>
-</network>
diff --git a/tests/networkxml2xmlin/netboot-tftp.xml b/tests/networkxml2xmlin/netboot-tftp.xml
deleted file mode 120000 (symlink)
index 1487de5..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../networkxml2confdata/netboot-tftp.xml
\ No newline at end of file
diff --git a/tests/networkxml2xmlin/ptr-domains-auto.xml b/tests/networkxml2xmlin/ptr-domains-auto.xml
deleted file mode 100644 (file)
index 7fe12dc..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<network>
-  <name>default</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
-  <forward dev='eth1' mode='nat'/>
-  <bridge name='virbr0' stp='on' delay='0'/>
-  <ip address='192.168.122.1' netmask='255.255.255.0' localPtr='yes'>
-    <dhcp>
-      <range start='192.168.122.2' end='192.168.122.254'/>
-      <host mac='00:16:3e:77:e2:ed' name='a.example.com' ip='192.168.122.10'/>
-      <host mac='00:16:3e:3e:a9:1a' name='b.example.com' ip='192.168.122.11'/>
-    </dhcp>
-  </ip>
-  <ip family='ipv4' address='192.168.123.1' netmask='255.255.255.0' localPtr='no'>
-  </ip>
-  <ip family='ipv6' address='2001:db8:ac10:fe01::1' prefix='64' localPtr='yes'>
-  </ip>
-  <ip family='ipv6' address='2001:db8:ac10:fd01::1' prefix='64'>
-  </ip>
-  <ip family='ipv4' address='10.24.10.1'>
-  </ip>
-</network>
diff --git a/tests/networkxml2xmlout/leasetime-hours.xml b/tests/networkxml2xmlout/leasetime-hours.xml
deleted file mode 120000 (symlink)
index d3cf0fb..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../networkxml2xmlin/leasetime-hours.xml
\ No newline at end of file
diff --git a/tests/networkxml2xmlout/leasetime-infinite.xml b/tests/networkxml2xmlout/leasetime-infinite.xml
deleted file mode 120000 (symlink)
index 2390f7a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../networkxml2xmlin/leasetime-infinite.xml
\ No newline at end of file
diff --git a/tests/networkxml2xmlout/leasetime-minutes.xml b/tests/networkxml2xmlout/leasetime-minutes.xml
deleted file mode 120000 (symlink)
index 09ebdb9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../networkxml2xmlin/leasetime-minutes.xml
\ No newline at end of file
diff --git a/tests/networkxml2xmlout/leasetime-seconds.xml b/tests/networkxml2xmlout/leasetime-seconds.xml
deleted file mode 120000 (symlink)
index 7036ca6..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../networkxml2xmlin/leasetime-seconds.xml
\ No newline at end of file
diff --git a/tests/networkxml2xmlout/netboot-tftp.xml b/tests/networkxml2xmlout/netboot-tftp.xml
deleted file mode 120000 (symlink)
index 1487de5..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../networkxml2confdata/netboot-tftp.xml
\ No newline at end of file
index 60931a2eba6dea759b8e106b269a03e52df685b9..b017922d9444f04a6531503321b3a1b0e80f7890 100644 (file)
@@ -76,7 +76,7 @@ testCompareXMLToXMLHelper(const void *data)
     g_autofree char *updatexml = NULL;
     g_autofree char *outxml = NULL;
 
-    netxml = g_strdup_printf("%s/networkxml2xmlin/%s.xml",
+    netxml = g_strdup_printf("%s/networkxmlconfdata/%s.xml",
                              abs_srcdir, info->netxml);
     updatexml = g_strdup_printf("%s/networkxml2xmlupdatein/%s.xml",
                                 abs_srcdir, info->updatexml);
diff --git a/tests/networkxmlconfdata/leasetime-hours.expect.xml b/tests/networkxmlconfdata/leasetime-hours.expect.xml
new file mode 120000 (symlink)
index 0000000..9ba0abf
--- /dev/null
@@ -0,0 +1 @@
+leasetime-hours.xml
\ No newline at end of file
diff --git a/tests/networkxmlconfdata/leasetime-infinite.expect.xml b/tests/networkxmlconfdata/leasetime-infinite.expect.xml
new file mode 120000 (symlink)
index 0000000..8862319
--- /dev/null
@@ -0,0 +1 @@
+leasetime-infinite.xml
\ No newline at end of file
diff --git a/tests/networkxmlconfdata/leasetime-minutes.expect.xml b/tests/networkxmlconfdata/leasetime-minutes.expect.xml
new file mode 120000 (symlink)
index 0000000..ef86e9c
--- /dev/null
@@ -0,0 +1 @@
+leasetime-minutes.xml
\ No newline at end of file
diff --git a/tests/networkxmlconfdata/leasetime-seconds.expect.xml b/tests/networkxmlconfdata/leasetime-seconds.expect.xml
new file mode 120000 (symlink)
index 0000000..e7944dc
--- /dev/null
@@ -0,0 +1 @@
+leasetime-seconds.xml
\ No newline at end of file
diff --git a/tests/networkxmlconfdata/netboot-tftp.expect.xml b/tests/networkxmlconfdata/netboot-tftp.expect.xml
new file mode 120000 (symlink)
index 0000000..eb3b28d
--- /dev/null
@@ -0,0 +1 @@
+netboot-tftp.xml
\ No newline at end of file
similarity index 96%
rename from tests/networkxml2xmltest.c
rename to tests/networkxmlconftest.c
index 5961084c67dcd0474377b7170a0f991a62fd082b..b32a39c5532bc4f9c0a682356dd5dec3988b5db6 100644 (file)
@@ -243,11 +243,10 @@ testRun(const char *name,
     info->expectResult = expectResult;
     info->xmlopt = xmlopt;
     info->caps = caps;
-    info->inxml = g_strdup_printf("%s/networkxml2xmlin/%s.xml", abs_srcdir, name);
-    info->outxml = g_strdup_printf("%s/networkxml2xmlout/%s.xml", abs_srcdir, name);
-    /* Temporarily use conf files from networkxml2confdata/ */
-    info->outconf = g_strdup_printf("%s/networkxml2confdata/%s.conf", abs_srcdir, name);
-    info->outhostsfile = g_strdup_printf("%s/networkxml2confdata/%s.hostsfile", abs_srcdir, name);
+    info->inxml = g_strdup_printf("%s/networkxmlconfdata/%s.xml", abs_srcdir, name);
+    info->outxml = g_strdup_printf("%s/networkxmlconfdata/%s.expect.xml", abs_srcdir, name);
+    info->outconf = g_strdup_printf("%s/networkxmlconfdata/%s.conf", abs_srcdir, name);
+    info->outhostsfile = g_strdup_printf("%s/networkxmlconfdata/%s.hostsfile", abs_srcdir, name);
 
     virTestRunLog(ret, name_xml2xml, testCompareXMLToXMLFiles, info);
 
index 6f1f816cba19cfe173075a29c6f5f912cc0c0d6b..486d3d47ec75a9bbbcdbd21e73bec3deb21399f5 100644 (file)
@@ -263,7 +263,7 @@ static virNWFilterDriver fakeNWFilterDriver = {
 /* name of the fake network shall be constructed as:
  *  NETWORKXMLNAME;NETWORKPORTXMLNAME
  *  where:
- *  NETWORKXMLNAME resolves to abs_srcdir/networkxml2xmlin/NETWORKXMLNAME.xml
+ *  NETWORKXMLNAME resolves to abs_srcdir/networkxmlconfdata/NETWORKXMLNAME.xml
  *  NETWORKPORTXMLNAME resolves to abs_srcdir/virnetworkportxml2xmldata/NETWORKPORTXMLNAME.xml
  */
 static virNetworkPtr
@@ -286,7 +286,7 @@ fakeNetworkLookupByName(virConnectPtr conn,
         return NULL;
     }
 
-    path = g_strdup_printf(abs_srcdir "/networkxml2xmlin/%s.xml", netname);
+    path = g_strdup_printf(abs_srcdir "/networkxmlconfdata/%s.xml", netname);
 
     if (!virFileExists(path)) {
         virReportError(VIR_ERR_NO_NETWORK, "fake network '%s' not found", path);
@@ -307,7 +307,7 @@ fakeNetworkGetXMLDesc(virNetworkPtr network,
 
     *(strchr(netname, ';')) = '\0';
 
-    path = g_strdup_printf(abs_srcdir "/networkxml2xmlin/%s.xml", netname);
+    path = g_strdup_printf(abs_srcdir "/networkxmlconfdata/%s.xml", netname);
 
     if (virFileReadAll(path, 4 * 1024, &xml) < 0)
         return NULL;
index 57a49c270ccf7defed25b41e1f632d2ba3204239..4faac8d9768d28da7e4563f3a5ee5b55a0abc218 100644 (file)
@@ -303,9 +303,7 @@ static const struct testSchemaEntry schemaInterface[] = {
 
 static const struct testSchemaEntry schemaNetwork[] = {
     { .dir = "src/network" },
-    { .dir = "tests/networkxml2xmlin" },
-    { .dir = "tests/networkxml2xmlout" },
-    { .dir = "tests/networkxml2confdata" },
+    { .dir = "tests/networkxmlconfdata" },
     { .dir = "examples/xml/test/",
       .dirRegex = "testnet.*" },
     { .dir = "tests/networkxml2xmlupdateout" },