summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2009-10-09 08:47:43 -0400
committerCole Robinson <crobinso@redhat.com>2009-10-16 10:52:26 -0400
commit6d8331fd588d97fb123db470e21e2e64b7372f09 (patch)
tree7c30695828e57221feaa507454e5cb6887e5d81d /tests/networkxml2xmlin/nat-network.xml
parentschema: Update network schema. (diff)
downloadlibvirt-6d8331fd588d97fb123db470e21e2e64b7372f09.tar.gz
libvirt-6d8331fd588d97fb123db470e21e2e64b7372f09.tar.bz2
libvirt-6d8331fd588d97fb123db470e21e2e64b7372f09.zip
tests: Add network XML to XML tests.
Diffstat (limited to 'tests/networkxml2xmlin/nat-network.xml')
-rw-r--r--tests/networkxml2xmlin/nat-network.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/networkxml2xmlin/nat-network.xml b/tests/networkxml2xmlin/nat-network.xml
new file mode 100644
index 000000000..93ab18616
--- /dev/null
+++ b/tests/networkxml2xmlin/nat-network.xml
@@ -0,0 +1,13 @@
+<network>
+ <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" />
+ <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>
+</network>