efa inventory device list

Lists all devices known to the inventory.

Syntax

efa inventory device list [ --orphan | --fabric name | --role leaf | border-leaf | spine | super-spine | --ips device-ips ]

Parameters

--orphan
Fetches all devices that are not associated to a fabric.
--fabric name
Specifies fabric name. If this modifier is used, the command shows only those devices in the specified fabric.
--role leaf | border-leaf | spine | super-spine
Specifies device role.
--ips device-ips
Specifies comma separated device IPs.

Examples

These examples show a portion of all possible output.
$ efa inventory device list 
+---------------+-----------+-------+--------------+-------------------------------+
|  IP Address   | Host Name | Model | Chassis Name |           Firmware            |
+---------------+-----------+-------+--------------+-------------------------------+
| 10.139.44.156 | SLX       | 4000  | BR-SLX9540   | 20.2.2slxos20.2.2_200914_1800 |
+---------------+-----------+-------+--------------+-------------------------------+
| 10.139.44.155 | SLX       | 4000  | BR-SLX9540   | 20.2.2slxos20.2.2_200914_1800 |              
+---------------+-----------+-------+--------------+-------------------------------+
$ efa inventory device register --ip 10.139.44.154 
--username=admin --password=password

+----+---------------+-----------+-------+--------------+-------------------------------+
| ID |  IP Address   | Host Name | Model | Chassis Name |           Firmware            
+----+---------------+-----------+-------+--------------+-------------------------------+
| 5  | 10.139.44.154 | SLX       | 4000  | BR-SLX9540   | 20.2.2slxos20.2.2_200914_1800 |
+----+---------------+-----------+-------+--------------+-------------------------------+
$ efa inventory device list
+---------------+-----------+-------+--------------+-------------------------------+
|  IP Address   | Host Name | Model | Chassis Name |           Firmware            |
+---------------+-----------+-------+--------------+-------------------------------+
| 10.139.44.156 | SLX       | 4000  | BR-SLX9540   | 20.2.2slxos20.2.2_200914_1800 |
+---------------+-----------+-------+--------------+-------------------------------+
| 10.139.44.155 | SLX       | 4000  | BR-SLX9540   | 20.2.2slxos20.2.2_200914_1800 |
+---------------+-----------+-------+--------------+-------------------------------+
| 10.139.44.154 | SLX       | 4000  | BR-SLX9540   | 20.2.2slxos20.2.2_200914_1800