efa inventory device firmware-download prepare remove

Removes the specified device from the prepared list and unprepares the device if it is already prepared.

Syntax

efa inventory device firmware-download prepare remove [ --fabric fabric-name | --ip device-ip-address| --group group-number | --help ]

Parameters

--fabric fabric-name
Specifies the name of the fabric. Using this parameter completely deletes the prepared list for the fabric, including all groups.
--ip device-ip-address
Specifies a comma-separated list of device IP addresses. Using this parameter deletes the prepared devices, even if they are prepared in separate groups.
--group group-number
Specifies a group number. Using this parameter removes all devices prepared in the given group.
--help
Displays help for the command.

Usage Guidelines

The --fabric, --group, and --ip parameters cannot be used together.

Examples

Firmware Download Prepare Add (Fabric-based)

Prepare the fabric and let EFA automatically generate the group-based prepared list for the fabric. See the following examples.

$ efa inventory device firmware-download prepare add --fabric fab_3stg --firmware-host 10.20.241.101 --firmware-directory /build/slx/slxos20.2.3a
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| Group |  IP Address  |  Host Name  | Model | Chassis Name | ASN | Role  | Current Firmware | Firmware Host |   Firmware Directory    | Target Firmware |       Last Update Time        |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| 1     | 10.20.245.1  | L1          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           | 10.20.241.101 | /build/slx/slxos20.2.3a | 20.2.3a         | 2021-03-19 20:36:21 +0000 UTC |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| 1     | 10.20.245.3  | L3          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           | 10.20.241.101 | /build/slx/slxos20.2.3a | 20.2.3a         | 2021-03-19 20:36:21 +0000 UTC |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| 1     | 10.20.245.5  | L5          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           | 10.20.241.101 | /build/slx/slxos20.2.3a | 20.2.3a         | 2021-03-19 20:36:21 +0000 UTC |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| 2     | 10.20.245.2  | L2          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           | 10.20.241.101 | /build/slx/slxos20.2.3a | 20.2.3a         | 2021-03-19 20:36:22 +0000 UTC |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| 2     | 10.20.245.4  | L4          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           | 10.20.241.101 | /build/slx/slxos20.2.3a | 20.2.3a         | 2021-03-19 20:36:22 +0000 UTC |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| 2     | 10.20.245.6  | L6          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           | 10.20.241.101 | /build/slx/slxos20.2.3a | 20.2.3a         | 2021-03-19 20:36:22 +0000 UTC |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| 3     | 10.20.245.9  | S1          | 3012  | SLX9250-32C  | 0   | Spine | 20.2.3           | 10.20.241.101 | /build/slx/slxos20.2.3a | 20.2.3a         | 2021-03-19 20:36:23 +0000 UTC |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| 4     | 10.20.245.10 | S2          | 3012  | SLX9250-32C  | 0   | Spine | 20.2.3           | 10.20.241.101 | /build/slx/slxos20.2.3a | 20.2.3a         | 2021-03-19 20:36:24 +0000 UTC |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
Firmware Download Prepare Add Details
Validate Firmware Download Prepare Add [success]

Firmware Download Prepare Delete (IP-based)

Given the prepared list from the previous example, delete an MCT leaf pair prepared across groups.

$ efa inventory device firmware-download prepare remove --ip 10.20.245.5,10.20.245.6
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| Group |  IP Address  |  Host Name  | Model | Chassis Name | ASN | Role  | Current Firmware | Firmware Host |   Firmware Directory    | Target Firmware |       Last Update Time        |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| 1     | 10.20.245.5  | L5          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           | 10.20.241.101 | /build/slx/slxos20.2.3a | 20.2.3a         | 2021-03-19 20:36:21 +0000 UTC |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| 2     | 10.20.245.6  | L6          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           | 10.20.241.101 | /build/slx/slxos20.2.3a | 20.2.3a         | 2021-03-19 20:36:22 +0000 UTC |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
Firmware Download Prepare Remove Details
Validate Firmware Download Prepare Remove [success]

Firmware Download Prepare Delete (Group-based)

Continuing from the previous example, delete devices prepared in Group 2.

$ efa inventory device firmware-download prepare remove --group 2
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| Group |  IP Address  |  Host Name  | Model | Chassis Name | ASN | Role  | Current Firmware | Firmware Host |   Firmware Directory    | Target Firmware |       Last Update Time        |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| 2     | 10.20.245.2  | L2          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           | 10.20.241.101 | /build/slx/slxos20.2.3a | 20.2.3a         | 2021-03-19 20:36:22 +0000 UTC |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| 2     | 10.20.245.4  | L4          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           | 10.20.241.101 | /build/slx/slxos20.2.3a | 20.2.3a         | 2021-03-19 20:36:22 +0000 UTC |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
Firmware Download Prepare Remove Details
Validate Firmware Download Prepare Remove [success]

Firmware Download Prepare Delete (Fabric-based)

Continuing from the previous example, delete the remaining devices in the fabric.

$ efa inventory device firmware-download prepare remove --fabric fab_3stg
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| Group |  IP Address  |  Host Name  | Model | Chassis Name | ASN | Role  | Current Firmware | Firmware Host |   Firmware Directory    | Target Firmware |       Last Update Time        |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| 1     | 10.20.245.1  | L1          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           | 10.20.241.101 | /build/slx/slxos20.2.3a | 20.2.3a         | 2021-03-19 20:36:21 +0000 UTC |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| 1     | 10.20.245.3  | L3          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           | 10.20.241.101 | /build/slx/slxos20.2.3a | 20.2.3a         | 2021-03-19 20:36:21 +0000 UTC |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| 3     | 10.20.245.9  | S1          | 3012  | SLX9250-32C  | 0   | Spine | 20.2.3           | 10.20.241.101 | /build/slx/slxos20.2.3a | 20.2.3a         | 2021-03-19 20:36:23 +0000 UTC |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
| 4     | 10.20.245.10 | S2          | 3012  | SLX9250-32C  | 0   | Spine | 20.2.3           | 10.20.241.101 | /build/slx/slxos20.2.3a | 20.2.3a         | 2021-03-19 20:36:24 +0000 UTC |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+---------------+-------------------------+-----------------+-------------------------------+
Firmware Download Prepare Remove Details
Validate Firmware Download Prepare Remove [success]