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
21 lines
637 B
XML
21 lines
637 B
XML
<interface type="bond" name="test-bond-arp">
|
|
<bond mode="active-backup">
|
|
<interface type="ethernet" name="eth0">
|
|
<start mode="none"/>
|
|
<mac address="00:FF:EE:FF:EE:FF"/>
|
|
</interface>
|
|
<interface type="ethernet" name="eth1">
|
|
<mac address="00:FF:EE:FF:EE:AB"/>
|
|
</interface>
|
|
<interface type="ethernet" name="eth2">
|
|
<start mode="hotplug"/>
|
|
<mac address="00:FF:EE:FF:EE:CD"/>
|
|
</interface>
|
|
<arpmon interval="234" target="1.2.3.4" validate="active"/>
|
|
</bond>
|
|
<start mode="hotplug"/>
|
|
<mac address="AA:AA:AA:11:AA:AA"/>
|
|
<mtu size="1234"/>
|
|
<protocol family="ipv4"/>
|
|
</interface>
|