diff options
Diffstat (limited to 'test-in.xml')
-rw-r--r-- | test-in.xml | 29 |
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> |