efa inventory device firmware-download prepare add

Prepares a device for a firmware download. Firmware host sanity validations will be done at this time. If the validations are successful, then the device will be prepared.

Syntax

efa inventory device firmware-download prepare add [ --ip device ip address | --fabric fabric name | --firmware-host firmware download host ip address | --firmware-directory path to the target firmware build | --help ]

Command Default

Traffic loss expected for non-redundant devices (single non-MCT leaf, spine, or super spine).

This command accepts only one device IP address and allows only one outstanding prepared device.

Parameters

--fabric
Name of the fabric
--firmware-host
Firmware download host IP address
--firmware-directory
Path to the target firmware build
--help
Help for add
--ip
IP address of the device

Usage Guidelines

Firmware host must be registered.

Device IPs belong to the same fabric (for Clos topologies).

Do not allow devices to be prepared if a firmware-download is in progress.

Allow a device to be prepared after a firmware-download has completed or in an unprepared state.

Do not allow for both MCT leaf pairs to be prepared together.

Do not allow for all spines in the same pod of the same fabric to be prepared together.

Do not allow for all super-spines in the fabric to be prepared together.

Firmware sanity check performed for the registered firmware-host and firmware-directory on the given device.

Examples

efa inventory device firmware-download prepare add –-ip 10.24.12.122 --firmware-host 10.31.2.101 --firmware-directory /proj/buildsjc/sre/SQA/slxos/20.1.1/20.1.1_bld60 

Fabric Name: stage5 

+--------------+-----------+-------+--------------+-------+------+------------------+---------------+--------------------------------------------------+-------------------------------+ 

|  IP Address  | Host Name | Model | Chassis Name |  ASN  | Role | Current Firmware | Firmware Host |                Firmware Directory                |       Last Update Time        | 

+--------------+-----------+-------+--------------+-------+------+------------------+---------------+--------------------------------------------------+-------------------------------+ 

| 10.24.12.122 | SLX       |  3010 | SLX9150-48XT | 65001 | Leaf | 20.1.1_bld59     |   10.31.2.101 | /proj/buildsjc/sre/SQA/slxos/20.1.1/20.1.1_bld60 | 2019-10-21 06:30:15.736483-07 | 

+--------------+-----------+-------+--------------+-------+------+------------------+---------------+--------------------------------------------------+-------------------------------+ 

Firmware Download Prepare Details 

Prepare Device Firmware Download [Success] 

10.24.12.122 [Succeeded]