mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-05 05:45:46 +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.
11 lines
233 B
XML
11 lines
233 B
XML
<interface type='vlan' name='eth0.42'>
|
|
<start mode='onboot'/>
|
|
<link state='lowerlayerdown'/>
|
|
<protocol family='ipv4'>
|
|
<dhcp peerdns='no'/>
|
|
</protocol>
|
|
<vlan tag='42'>
|
|
<interface name='eth0'/>
|
|
</vlan>
|
|
</interface>
|