Provides REST API XML examples and parameter descriptions for installing or uninstalling software maintenance upgrade patches on switches.
The following example REST API XML installs a software maintenance upgrade (SMU) patch on a switch and reboots the switch after the installation completes:
<polUni>
<fabricInst>
<maintMaintP
version="n9000-patch-CSCsysinfo12-15.2.0.151-S1.1.1.x86_64"
smuOperation="smuInstall"
smuOperationFlags="smuReloadImmediate"
name="Leaf202"
adminSt="triggered">
</maintMaintP>
<maintMaintGrp name="Leaf202">
<fabricNodeBlk name="blk202" from_="202" to_="202">
</fabricNodeBlk>
<maintRsMgrpp tnMaintMaintPName="Leaf202">
</maintRsMgrpp>
</maintMaintGrp>
</fabricInst>
</polUni>
By changing some of the parameter values as specified in the table, you can specify whether to install or uninstall a patch, and you can specify not to reboot the switches after a patch is installed or uninstalled.
SMU patch elements and parameters
The following table explains the elements and parameters that are specific to SMU patches:
| Element |
Parameter |
Descripiton |
|---|---|---|
|
|
|
Specifies the filename of the SMU patch. |
|
|
|
Specifies whether to install or uninstall the patch. The possible values are:
|
|
|
|
Specifies whether to reboot the switch after the patch is installed. The possible values are:
|
|
|
|
Specifies the name of the maintenance group. |
|
|
|
Specifies the range of switch node IDs on which to install or from which to uninstall the patch. |
|
|
|
Specifies the name of the maintenance group. The value must match the value of the |