summaryrefslogtreecommitdiff
path: root/tests/networkxml2xmlout
diff options
context:
space:
mode:
authorShradha Shah <sshah@solarflare.com>2011-12-14 10:50:23 +0000
committerEric Blake <eblake@redhat.com>2012-01-11 13:10:21 -0700
commitb01b53de3f0694c1fe3038c89fd173dcdb188549 (patch)
tree1cf5c792ee79edbb5838e4d1bac3d37009c72402 /tests/networkxml2xmlout
parent3a0c717b9eb4c1f4071eede43db4a83fab761b22 (diff)
downloadlibvirt-b01b53de3f0694c1fe3038c89fd173dcdb188549.tar.gz
Adding the element pf to network xml.
This element will help the user to just specify the SR-IOV physical function in order to access all the Virtual functions attached to it.
Diffstat (limited to 'tests/networkxml2xmlout')
-rw-r--r--tests/networkxml2xmlout/passthrough-pf.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/networkxml2xmlout/passthrough-pf.xml b/tests/networkxml2xmlout/passthrough-pf.xml
new file mode 100644
index 0000000000..1a7e71ea88
--- /dev/null
+++ b/tests/networkxml2xmlout/passthrough-pf.xml
@@ -0,0 +1,9 @@
+<network>
+ <name>local</name>
+ <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
+ <forward mode='passthrough'>
+ <pf dev='eth0'/>
+ </forward>
+ <ip address='192.168.122.1' netmask='255.255.255.0'>
+ </ip>
+</network>