libvirt/docs/schemas
Michal Privoznik 0311ef3d65 node_device: Expose link state & speed
While exposing the info under <interface/> in previous patch works, it
may work only in cases where interface is configured on the host.
However, orchestrating application may want to know the link state and
speed even in that case. That's why we ought to expose this in nodedev
XML too:

virsh # nodedev-dumpxml net_eth0_f0_de_f1_2b_1b_f3
<device>
  <name>net_eth0_f0_de_f1_2b_1b_f3</name>
  <path>/sys/devices/pci0000:00/0000:00:19.0/net/eth0</path>
  <parent>pci_0000_00_19_0</parent>
  <capability type='net'>
    <interface>eth0</interface>
    <address>f0🇩🇪f1:2b:1b:f3</address>
    <link speed='1000' state='up'/>
    <capability type='80203'/>
  </capability>
</device>

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2014-06-11 10:59:39 +02:00
..
basictypes.rng virInterface: Expose link state & speed 2014-06-11 09:13:32 +02:00
capability.rng virCaps: Expose distance between host NUMA nodes 2014-06-04 09:35:55 +02:00
domain.rng conf: set up for per-grammar overrides in schemas 2014-04-15 21:07:59 +02:00
domaincommon.rng conf: alter disk mirror xml output 2014-06-06 11:48:09 -06:00
domainsnapshot.rng conf: split <disk> schema into more pieces 2014-04-16 10:45:55 +02:00
interface.rng virInterface: Expose link state & speed 2014-06-11 09:13:32 +02:00
Makefile.am conf: create common storage RNG grammar file 2014-04-14 07:07:01 -06:00
network.rng
networkcommon.rng
nodedev.rng node_device: Expose link state & speed 2014-06-11 10:59:39 +02:00
nwfilter.rng
secret.rng
storagecommon.rng conf: set up for per-grammar overrides in schemas 2014-04-15 21:07:59 +02:00
storagepool.rng
storagevol.rng conf: move storage formats to common RNG file 2014-04-15 13:15:11 +02:00