mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-27 03:21:44 +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
620 B
XML
21 lines
620 B
XML
<interface type="bond" name="test-bond-mii">
|
|
<bond>
|
|
<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>
|
|
<miimon freq="111" downdelay="22" updelay="33" carrier="ioctl"/>
|
|
</bond>
|
|
<start mode="onboot"/>
|
|
<mac address="AA:AA:AA:AA:AA:AA"/>
|
|
<mtu size="1501"/>
|
|
<protocol family="ipv4"/>
|
|
</interface>
|