salt.modules.nxos module

Execution module for Cisco NX OS Switches Proxy minions

New in version 2016.11.0.

For documentation on setting up the nxos proxy minion look in the documentation for salt.proxy.nxos.

salt.modules.nxos.cmd(command, *args, **kwargs)

run commands from __proxy__ salt.proxy.nxos

command

function from salt.proxy.nxos to run

args

positional args to pass to command function

kwargs

key word arguments to pass to command function

salt '*' nxos.cmd sendline 'show ver'
salt '*' nxos.cmd show_run
salt '*' nxos.cmd check_password username=admin password='$5$lkjsdfoi$blahblahblah' encrypted=True
salt.modules.nxos.system_info()

Return system information for grains of the NX OS proxy minion

salt '*' nxos.system_info