Cole Robinson 88603e4fad Merge code from python-virtinst.git
As outlined here:

https://www.redhat.com/archives/virt-tools-list/2012-February/msg00040.html

For now this is just a direct import of the code from virtinst commit
dca5a4d6245f21d554f8853197a6a234bfc8e52c. History is not merged, so
please refer to original git for detailed commit histor:

http://git.fedorahosted.org/cgit/python-virtinst.git/
2013-04-03 18:22:05 -04:00

21 lines
560 B
XML

<interface type='bond' name='test-bond'>
<start mode='onboot'/>
<mac address='AA:AA:AA:AA:AA:AA'/>
<mtu size='1501'/>
<protocol family='ipv4'>
</protocol>
<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>
</bond>
</interface>