aboutsummaryrefslogtreecommitdiffstats
path: root/test-in.xml
blob: 59af4757e00d3718053e1d0d364937f67eb8a9bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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>