summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaine Stump <laine@laine.org>2010-12-16 12:36:19 -0500
committerLaine Stump <laine@laine.org>2010-12-23 15:53:44 -0500
commit008abeeeb9ffb0008433eb9933c0dc2263b75ac5 (patch)
treeaed1c6315950874f5a82d824f40271977f354995 /tests/networkxml2xmlin/routed-network.xml
parentReplace brSetInetAddress/brSetInetNetmask with brAddInetAddress (diff)
downloadlibvirt-008abeeeb9ffb0008433eb9933c0dc2263b75ac5.tar.gz
libvirt-008abeeeb9ffb0008433eb9933c0dc2263b75ac5.tar.bz2
libvirt-008abeeeb9ffb0008433eb9933c0dc2263b75ac5.zip
make the <dhcp> element optional in network.rng
In practice this has always been optional, but the RNG has shown it as mandatory, and since all the examples for make check had it, it was never noticed. One of the existing test cases has been changed to check for this. I also noticed that the dhcp/host/ip was still defined as <text/>, but should really be <ref name='ipv4-addr'/>
Diffstat (limited to 'tests/networkxml2xmlin/routed-network.xml')
-rw-r--r--tests/networkxml2xmlin/routed-network.xml3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/networkxml2xmlin/routed-network.xml b/tests/networkxml2xmlin/routed-network.xml
index 824ad75ed..6634ee87e 100644
--- a/tests/networkxml2xmlin/routed-network.xml
+++ b/tests/networkxml2xmlin/routed-network.xml
@@ -4,8 +4,5 @@
<bridge name="virbr1" />
<forward mode="route" 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>
</network>