mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-22 22:13:18 +00:00
69db5f921a
The interface state for bonds and vlans does seem to reflect the state of the underlying physical devices, at least in some cases, so it makes sense to allow reporting it (netcf now does). The link state/speed for bridge devices is meaningless though, so we don't even look for it.
16 lines
445 B
XML
16 lines
445 B
XML
<interface type='bond' name='bond0'>
|
|
<start mode='none'/>
|
|
<link speed='1000' state='up'/>
|
|
<protocol family='ipv4'>
|
|
<ip address='192.168.50.7' prefix='24'/>
|
|
<route gateway='192.168.50.1'/>
|
|
</protocol>
|
|
<bond mode='active-backup'>
|
|
<miimon freq='100' updelay='10' carrier='ioctl'/>
|
|
<interface type='ethernet' name='eth1'>
|
|
</interface>
|
|
<interface type='ethernet' name='eth0'>
|
|
</interface>
|
|
</bond>
|
|
</interface>
|