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> | --firmware-host <firmware download host ip address> | --firmware-directory <path to the target firmware build> ]

Command Default

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

This command will only accept one device ip address and allow only one outstanding prepared device.

Parameters

--ip
Device IP address
firmware-host
Firmware download host IP address
--firmware-directory
Path to the target firmware build

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 –-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 

efa inventory device firmware-download prepare –-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]