summaryrefslogtreecommitdiff
path: root/tests/networkxml2xmlout
diff options
context:
space:
mode:
authorBrandon Bennett <bbennett@fb.com>2016-06-22 16:05:50 -0600
committerLaine Stump <laine@laine.org>2016-07-01 13:05:25 -0400
commit47a0866bce7fdb1287ad451b6fec5ae6d27affbc (patch)
tree2aae43da233a52dd02b97b18bd22c59ce8ed529d /tests/networkxml2xmlout
parentb874f26b8b253c823c29a4d9ccba2c20fb41b014 (diff)
downloadlibvirt-47a0866bce7fdb1287ad451b6fec5ae6d27affbc.tar.gz
Allow custom metadata in network configuration XML
This replicates the metadata field found in the domain configuration and adds it to the network configuration XML.
Diffstat (limited to 'tests/networkxml2xmlout')
-rw-r--r--tests/networkxml2xmlout/metadata.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/networkxml2xmlout/metadata.xml b/tests/networkxml2xmlout/metadata.xml
new file mode 100644
index 0000000000..a9364ab54d
--- /dev/null
+++ b/tests/networkxml2xmlout/metadata.xml
@@ -0,0 +1,10 @@
+<network>
+ <name>host-bridge-net</name>
+ <uuid>81ff0d90-c91e-6742-64da-4a736edb9a8e</uuid>
+ <metadata>
+ <app1:foo xmlns:app1="http://foo.org/">fooish</app1:foo>
+ <app2:bar xmlns:app2="http://bar.com/" maman="baz">barish</app2:bar>
+ </metadata>
+ <forward mode='bridge'/>
+ <bridge name='br0'/>
+</network>