salt.modules.onyx module

Execution module for Onyx OS Switches Proxy minions

New in version Neon.

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

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

run commands from __proxy__ salt.proxy.onyx


function from salt.proxy.onyx to run


positional args to pass to command function


key word arguments to pass to command function

salt '*' onyx.cmd sendline 'show ver'
salt '*' onyx.cmd show_run
salt '*' onyx.cmd check_password username=admin
password='$5$lkjsdfoi$blahblahblah' encrypted=True

Return system information for grains of the Onyx OS proxy minion

salt '*' onyx.system_info