aboutsummaryrefslogtreecommitdiffstats
path: root/test-in.xml
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <ast@2e8.dk>2023-08-05 12:15:49 +0000
committerAsbjørn Sloth Tønnesen <ast@2e8.dk>2023-08-06 11:04:16 +0000
commitb2fe8986a66a9a130e41b8b9087458ab3e80816a (patch)
treebf2d651f144b3d0e5be22fc59a942a6123f20446 /test-in.xml
parentc60a813c855b7fbba0de88fa625cc423585ff353 (diff)
downloadlibvirt-routed-subnet-b2fe8986a66a9a130e41b8b9087458ab3e80816a.tar.gz
libvirt-routed-subnet-b2fe8986a66a9a130e41b8b9087458ab3e80816a.tar.xz
libvirt-routed-subnet-b2fe8986a66a9a130e41b8b9087458ab3e80816a.zip
initial commitHEADmaster
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
Diffstat (limited to 'test-in.xml')
-rw-r--r--test-in.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/test-in.xml b/test-in.xml
new file mode 100644
index 0000000..59af475
--- /dev/null
+++ b/test-in.xml
@@ -0,0 +1,29 @@
+<domain type='kvm'>
+ <name>testhost</name>
+ <metadata>
+ <routed-subnet xmlns="https://2e8.dk/libvirt-routed-subnet">
+ <interface mac="fa:12:34:56:78:90">
+ <gateway address="192.0.2.1/29"/>
+ <host address="192.0.2.2"/>
+ <route prefix="192.0.2.128/25" nexthop="192.0.2.2"/>
+ <gateway address="2001:db8:42::1/64"/>
+ <host address="2001:db8:42::2"/>
+ <route prefix="2001:db8:4242::/64" nexthop="2001:db8:42::2"/>
+ </interface>
+ <interface mac="fa:12:34:ab:cd:ef" mtu="9000">
+ <gateway address="192.0.2.9/29"/>
+ <host address="192.0.2.10"/>
+ </interface>
+ </routed-subnet>
+ </metadata>
+ <devices>
+ <interface type="ethernet">
+ <mac address="fa:12:34:56:78:90"/>
+ <target dev="foo0"/>
+ </interface>
+ <interface type="ethernet">
+ <mac address="fa:12:34:ab:cd:ef"/>
+ <target dev="bar0"/>
+ </interface>
+ </devices>
+</domain>