libvirt/src/conf
Michal Privoznik 3db89662c2 virInterface: Expose link state & speed
Currently it is not possible to determine the speed of an interface
and whether a link is actually detected from the API. Orchestrating
platforms want to be able to determine when the link has failed and
where multiple speeds may be available which one the interface is
actually connected at. This commit introduces an extension to our
interface XML (without implementation to interface driver backends):

  <interface type='ethernet' name='eth0'>
    <start mode='none'/>
    <mac address='aa:bb:cc:dd:ee:ff'/>
    <link speed='1000' state='up'/>
    <mtu size='1492'/>
    ...
  </interface>

Where @speed is negotiated link speed in Mbits per second, and state
is the current NIC state (can be one of the following:  "unknown",
"notpresent", "down", "lowerlayerdown","testing", "dormant", "up").

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2014-06-11 09:13:32 +02:00
..
capabilities.c Always report an error if virBitmapFormat fails 2014-06-06 14:35:19 +02:00
capabilities.h virCaps: Expose distance between host NUMA nodes 2014-06-04 09:35:55 +02:00
cpu_conf.c conf: use typedefs for enums in "src/conf/cpu_conf.h" 2014-05-05 15:52:36 -06:00
cpu_conf.h conf: use typedefs for enums in "src/conf/cpu_conf.h" 2014-05-05 15:52:36 -06:00
device_conf.c virInterface: Expose link state & speed 2014-06-11 09:13:32 +02:00
device_conf.h virInterface: Expose link state & speed 2014-06-11 09:13:32 +02:00
domain_addr.c qemu: extract common PCI handling functions 2014-05-13 20:17:54 +04:00
domain_addr.h qemu: extract common PCI handling functions 2014-05-13 20:17:54 +04:00
domain_audit.c conf: more enum cleanups in "src/conf/domain_conf.h" 2014-06-02 15:32:58 -06:00
domain_audit.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
domain_conf.c conf: alter disk mirror xml output 2014-06-06 11:48:09 -06:00
domain_conf.h conf: store mirroring information in virStorageSource 2014-06-06 09:56:28 -06:00
domain_event.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
domain_event.h qemu: create object for qemu monitor events 2014-03-20 11:25:37 -06:00
domain_nwfilter.c Use K&R style for curly braces in src/conf/ 2014-03-20 17:16:38 +01:00
domain_nwfilter.h
interface_conf.c virInterface: Expose link state & speed 2014-06-11 09:13:32 +02:00
interface_conf.h virInterface: Expose link state & speed 2014-06-11 09:13:32 +02:00
netdev_bandwidth_conf.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
netdev_bandwidth_conf.h
netdev_vlan_conf.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
netdev_vlan_conf.h maint: avoid 'const fooPtr' in conf 2013-10-14 14:34:38 -06:00
netdev_vport_profile_conf.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
netdev_vport_profile_conf.h
network_conf.c Always report an error if virBitmapFormat fails 2014-06-06 14:35:19 +02:00
network_conf.h conf: use typedefs for enums in "src/conf/{network,interface}_conf.h" 2014-05-05 16:04:53 -06:00
network_event.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
network_event.h event: move event filtering to daemon (regression fix) 2014-02-05 08:03:31 -07:00
node_device_conf.c nodedev: Export NUMA node locality for PCI devices 2014-06-06 15:10:57 +02:00
node_device_conf.h nodedev: Export NUMA node locality for PCI devices 2014-06-06 15:10:57 +02:00
nwfilter_conf.c conf: use typedefs for enums in "src/conf/nwfilter_conf.h" 2014-05-14 09:49:57 -06:00
nwfilter_conf.h conf: use typedefs for enums in "src/conf/nwfilter_conf.h" 2014-05-14 09:49:57 -06:00
nwfilter_ipaddrmap.c Remove pointless storage of var names in virNWFilterHashTable 2014-04-25 15:44:09 +01:00
nwfilter_ipaddrmap.h
nwfilter_params.c conf: use typedefs for enums in node_device_conf, nwfilter_params 2014-05-12 16:49:43 -06:00
nwfilter_params.h conf: use typedefs for enums in node_device_conf, nwfilter_params 2014-05-12 16:49:43 -06:00
object_event_private.h event: prepare client to track domain callbackID 2014-02-12 10:48:15 -07:00
object_event.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
object_event.h event: add notion of remoteID for filtering client network events 2014-01-15 13:55:21 -07:00
secret_conf.c maint: shorten 'TypeType' function names 2014-05-16 00:22:18 -06:00
secret_conf.h maint: shorten 'TypeType' function names 2014-05-16 00:22:18 -06:00
snapshot_conf.c conf: store snapshot source as pointer, for easier manipulation 2014-06-06 09:56:27 -06:00
snapshot_conf.h conf: store snapshot source as pointer, for easier manipulation 2014-06-06 09:56:27 -06:00
storage_conf.c maint: shorten 'TypeType' function names 2014-05-16 00:22:18 -06:00
storage_conf.h maint: shorten 'TypeType' function names 2014-05-16 00:22:18 -06:00
virchrdev.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
virchrdev.h