Execution module to upgrade Cisco NX-OS Switches.
New in version 3001.
salt.proxy.nxos for proxy minion setup details.| maturity: | new |
|---|---|
| platform: | nxos |
| codeauthor: | Michael G Wiebe |
Note
To use this module over remote NX-API the feature must be enabled on the
NX-OS device by executing feature nxapi in configuration mode.
This is not required for NX-API over UDS.
Configuration example:
switch# conf t
switch(config)# feature nxapi
To check that NX-API is properly enabled, execute show nxapi.
Output example:
switch# show nxapi
nxapi enabled
HTTPS Listen on port 443
salt.modules.nxos_upgrade.check_upgrade_impact(system_image, kickstart_image=None, issu=True, **kwargs)¶Display upgrade impact information without actually upgrading the device.
salt 'n9k' nxos.check_upgrade_impact system_image=nxos.9.2.1.bin
salt 'n7k' nxos.check_upgrade_impact system_image=n7000-s2-dk9.8.1.1.bin \
kickstart_image=n7000-s2-kickstart.8.1.1.bin issu=False
salt.modules.nxos_upgrade.upgrade(system_image, kickstart_image=None, issu=True, **kwargs)¶Upgrade NX-OS switch.
salt 'n9k' nxos.upgrade system_image=nxos.9.2.1.bin
salt 'n7k' nxos.upgrade system_image=n7000-s2-dk9.8.1.1.bin \
kickstart_image=n7000-s2-kickstart.8.1.1.bin issu=False
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 3004.1