mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-25 23:21:45 +03:00
3db5cb5f06
So we unify parsing and building the XML. Since we already do this for vmmDomain, take the opportunity to move the shared infrastructure into vmmLibvirtObject
39 lines
1.2 KiB
XML
39 lines
1.2 KiB
XML
<interface type="bridge" name="test-bridge-ip">
|
|
<bridge>
|
|
<interface type="ethernet" name="vlaneth1">
|
|
</interface>
|
|
<interface type="bond" name="bond-brbond">
|
|
<start mode="none"/>
|
|
<protocol family="ipv6">
|
|
<ip address="3ffe:ffff:0:5::1" prefix="128"/>
|
|
<ip address="3ffe:ffff:0:5::3" prefix="128"/>
|
|
<ip address="3ffe:ffff:0:5::5" prefix="128"/>
|
|
</protocol>
|
|
<bond mode="active-backup">
|
|
<miimon freq="100" updelay="10" carrier="ioctl"/>
|
|
<interface type="ethernet" name="brbond-eth0">
|
|
</interface>
|
|
<interface type="ethernet" name="brbond-eth1">
|
|
</interface>
|
|
</bond>
|
|
</interface>
|
|
<interface type="ethernet" name="eth0">
|
|
<start mode="none"/>
|
|
<mac address="00:FF:EE:FF:EE:FF"/>
|
|
</interface>
|
|
</bridge>
|
|
<protocol family="ipv4">
|
|
<dhcp peerdns="yes"/>
|
|
<ip address="129.63.1.2"/>
|
|
<ip address="255.255.255.0"/>
|
|
<route gateway="1.2.3.4"/>
|
|
</protocol>
|
|
<protocol family="ipv6">
|
|
<autoconf/>
|
|
<dhcp peerdns="yes"/>
|
|
<ip address="fe99::215:58ff:fe6e:5" prefix="32"/>
|
|
<ip address="fe80::215:58ff:fe6e:5" prefix="64"/>
|
|
<route gateway="1.2.3.4"/>
|
|
</protocol>
|
|
</interface>
|