API Guide
Table 36. download_and_install API
API Name Description
NOTE: This remote upgrade or downgrade capability is supported only for the OS10 binary
images. Firmware upgrades including ONIE, CLPD, and FPGA are not be supported.
Table 37. activate API
API Name Description
activate
Activates the newly installed OS10 image.
Activation is a two stage process. In the first stage, the boot partition is set to standby for
subsequent boot cycles. In the second stage, a system reload is issued to boot the newly installed
OS10 image from the standby partition. The activate-image operation requires a system reload. As a
result, the current services are affected.
Table 38. cancel_upgrade API
API Name Description
cancel_upgrade
Cancels an active OS10 image download process.
The cancel_upgrade process uses a best effort mechanism that attempts to cancel an active image
file download. This operation cancels the image file transfer and the upgrade operation is terminated.
The image installation process starts immediately after the image file transfer is complete. As a result,
the cancel upgrade operation cannot stop an installation that is already in progress.
Table 39. get_upgrade_status API
API Name Description
get_upgrade_stat
us
Monitors status of the image file transfer and installation operations.
This operation returns the following details to the SmartFabric Director server:
● File transfer state
● Transfer progress percentage
● Image installation state
● File transfer progress
● File size
● File transfer bytes
● File transfer rate
● Transfer task end time
● Transfer task start time
● Transfer task state download
● Transfer task detail
● Installation global state
● Install task end time
● Install task start time
● Install task state
● Install task state detail
SmartFabric Director commands
switch-operating-mode
Sets the operating mode of the switch to the SmartFabric Director mode.
Syntax
switch-operating-mode Full-Switch
150 SmartFabric Director