Interface with a Junos device via proxy-minion. To connect to a junos device via junos proxy, specify the host information in the pillar in '/srv/pillar/details.sls'
proxy: proxytype: junos host: <ip or dns name of host> username: <username> port: 830 password: <secret>
In '/srv/pillar/top.sls' map the device details with the proxy name.
base: 'vmx': - details
After storing the device information in the pillar, configure the proxy in '/etc/salt/proxy'
master: <ip or hostname of salt-master>
Run the salt proxy via the following command:
salt-proxy --proxyid=vmx
Validate and return the connection status with the remote device.
New in version 2018.3.0.
Open the connection to the Junos device, login, and bind to the Resource class
Ping? Pong!
Returns the name of this proxy
This is called when the proxy-minion is exiting to make sure the connection to the device is closed cleanly.
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/proxy/all/salt.proxy.junos.html