libvirt/tests/networkxml2xmlout
Peter Krempa 4cf1c3fab1 conf: net: Correctly switch how to format address fields
When formatting the forward mode addresses or interfaces the switch was
done based on the type of the network rather than of the type of the
individual <interface>/<address> element. In case a user would specify
an incorrect network type ("passhtrough") with <address> elements,
libvirtd would crash as it would attempt to format an <interface>.

Use the type of the individual element to format the XML.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1132347
2014-08-21 15:55:07 +02:00
..
8021Qbh-net.xml conf: add <vlan> element to network and domain interface elements 2012-08-15 13:10:57 -04:00
bandwidth-network.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
dhcp6host-routed-network.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
direct-net.xml conf: support abstracted interface info in network XML 2011-07-21 14:46:53 -04:00
empty-allow-ipv6.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
host-bridge-net.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
hostdev-pf.xml network: support <driver name='vfio'/> in network definitions 2013-04-26 21:51:12 -04:00
hostdev.xml conf: parser/formatter/rng for <forward mode='hostdev'> 2012-08-17 15:43:26 -04:00
isolated-network.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
nat-network-dns-forward-plain.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
nat-network-dns-forwarders.xml Add forwarder attribute to <dns/> element 2013-09-17 17:47:33 -06:00
nat-network-dns-hosts.xml network: change default of forwardPlainNames to 'yes' 2014-02-04 12:00:26 +02:00
nat-network-dns-srv-record-minimal.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
nat-network-dns-srv-record.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
nat-network-dns-srv-records.xml Test network update XML parsing 2013-08-28 08:05:46 +02:00
nat-network-dns-txt-record.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
nat-network-forward-nat-address.xml Add '<nat>' element to '<forward>' network schemas 2013-09-05 13:45:49 +02:00
nat-network.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
netboot-network.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
netboot-proxy-network.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
openvswitch-net.xml Configure native vlan modes on Open vSwitch ports 2013-06-25 00:22:36 -04:00
passthrough-address-crash.xml conf: net: Correctly switch how to format address fields 2014-08-21 15:55:07 +02:00
passthrough-pf.xml Adding the element pf to network xml. 2012-01-11 13:10:21 -07:00
routed-network.xml Remove the space before the slash in network XML 2013-08-28 08:05:46 +02:00
vepa-net.xml conf: support partially-specified <virtualport> in parser and formatter 2012-08-14 15:47:50 -04:00