Proxy minion for managing network devices via NAPALM library.
codeauthor: | Mircea Ulinic <mircea@cloudflare.com> & Jerome Fleury <jf@cloudflare.com> |
---|---|
maturity: | new |
depends: | napalm |
platform: | linux |
The napalm proxy configuration requires four mandatory parameters in order to connect to the network device:
Example:
proxy:
proxytype: napalm
driver: junos
host: core05.nrt02
username: my_username
passwd: my_password
For futher documentation and usage examples, please check the dedicated NAPALM Salt reference in NAPALM Automation community.
salt.proxy.napalm.
call
(method, **params)¶Calls a specific method from the network driver instance. Please check the readthedocs page for the updated list of getters.
Parameters: |
|
---|---|
Returns: | A dictionary with three keys:
|
Example:
__proxy__['napalm.call']('cli'
**{
'commands': [
'show version',
'show chassis fan'
]
})
salt.proxy.napalm.
init
(opts)¶Opens the connection with the network device.
salt.proxy.napalm.
ping
()¶Connection open successfully?
salt.proxy.napalm.
shutdown
(opts)¶Closes connection with the device.