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
..
2014-03-27 06:58:46 -06:00
2014-06-11 10:59:39 +02:00
2013-05-03 15:56:15 +01:00
2013-08-09 17:13:02 +01:00
2013-10-04 13:38:57 -04:00
2014-01-06 21:41:02 -07:00
2013-12-02 10:21:26 +08:00
2014-05-13 08:51:11 +02:00
2014-05-12 15:50:59 -06:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-12-02 11:59:18 -07:00
2013-08-09 17:13:02 +01:00
2013-05-03 15:56:15 +01:00
2013-12-02 10:21:26 +08:00
2014-03-27 06:52:20 -06:00
2013-07-09 16:15:29 -06:00
2013-07-01 11:08:58 +08:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2014-01-15 09:12:25 -07:00
2014-03-01 23:44:58 +04:00
2014-06-01 20:36:13 +04:00
2014-05-05 11:49:36 +02:00
2013-05-03 15:56:15 +01:00
2014-02-12 17:52:47 +00:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 16:58:46 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2014-03-03 17:41:26 +04:00
2013-05-16 16:28:53 +01:00
2013-09-29 18:40:36 +08:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-12-02 10:21:26 +08:00
2013-05-03 15:56:15 +01:00
2014-06-05 13:58:19 +02:00
2014-06-06 11:48:09 -06:00
2014-04-18 16:42:04 +03:00
2014-06-11 10:59:39 +02:00
2014-03-13 18:30:09 -04:00
2014-02-14 16:47:14 +01:00
2014-02-14 11:07:29 +01:00
2014-03-05 09:51:24 +01:00
2013-05-03 15:56:15 +01:00
2013-08-09 17:13:02 +01:00
2014-06-06 10:52:05 +02:00
2013-05-03 15:56:15 +01:00
2014-02-04 10:43:15 -07:00
2013-07-09 11:49:20 -06:00
2013-07-09 11:49:20 -06:00
2014-06-10 08:53:03 -06:00
2014-02-18 14:46:49 +01:00
2013-06-25 01:13:16 +02:00
2014-03-01 23:44:58 +04:00
2013-08-23 08:12:26 +02:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2012-07-23 16:07:13 -06:00
2012-07-23 16:07:13 -06:00
2012-07-23 16:07:13 -06:00
2012-07-23 16:07:13 -06:00
2012-07-23 16:07:13 -06:00
2013-03-04 17:36:03 -05:00
2013-03-04 17:36:03 -05:00
2014-06-06 10:52:05 +02:00
2012-06-18 20:10:29 +01:00
2013-05-03 15:56:15 +01:00
2014-03-18 14:29:22 +00:00
2013-09-23 14:16:45 +02:00
2013-07-30 07:07:33 -06:00
2013-10-30 17:30:12 +01:00
2014-06-02 09:47:05 +08:00
2014-01-30 15:37:38 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-12-02 10:21:26 +08:00
2012-08-10 10:58:38 +02:00
2013-09-12 17:18:32 +08:00
2013-10-15 11:33:01 +01:00
2013-11-26 18:37:09 +08:00
2013-05-03 16:58:46 +01:00
2014-03-01 23:44:58 +04:00
2014-04-01 08:44:34 +02:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-07 11:19:04 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-07 15:29:37 +01:00