...
Code Block | ||
---|---|---|
| ||
sudo apt-get install python3-pip
sudo pip3 install junos-eznc
sudo python3 -m easy_install --upgrade pyOpenSSL
sudo pip3 install jxmlease
|
configuration | sudo vi /etc/salt/proxy master: 172.30.95.91 | |||||
/srv/pillar/top.sls |
| |||||
/srv/pillar/mx.sls |
| |||||
start the salt proxy | in debug mode to check that everything is ok: sudo salt-proxy --proxyid=fw1_proxy -l debug then in deamon mode | |||||
Accept the salt-key | sudo salt-key -L sudo salt-key -a fw1_proxy | |||||
test | sudo salt 'fw1_proxy' test.ping | |||||
get facts | sudo salt 'fw1_proxy' junos.facts | |||||
grains | sudo salt 'fw1_proxy' grains. | |||||