nmcli_dev_show command

As there are three different file paths in different sos packages, create this combiner to fix this issue.

class insights.combiners.nmcli_dev_show.AllNmcliDevShow(nmclidevshow, nmclidevshowsos)[source]

Bases: dict

Combiner to combine return values from parser NmcliDevShow into one dict

Examples

>>> allnmclidevshow['eth0']['TYPE']
'ethernet'
>>> allnmclidevshow.connected_devices
['eth0']
property connected_devices

The list of devices who’s state is connected and managed by NetworkManager

Type:

(list)

property data

Dict with the device name as the key and NmcliDevShow details as the value.

Type:

(dict)