...
4- Then the rest ….. https://github.com/Juniper/docker-saltstack-junos
7- Basic junos ping and junos facts
[root@centos7 ~]# cd /home/githubdir/docker-saltstack-junos/
...
[root@centos7 docker-saltstack-junos]# make master-shell
root@saltmaster-engine:/# ps -ef | grep proxy01
root 19 1 0 16:58 ? 00:00:00 /usr/bin/python /usr/bin/salt-proxy --proxyid=proxy01 -l debug -d
root 330 236 0 16:59 ? 00:00:00 grep --color=auto proxy01
7- Basic junos ping and junos facts
root@saltmaster-engine:/# salt '*' junos.ping
proxy01:
----------
message:
True
out:
True
root@saltmaster-engine:/# salt '*' junos.facts
proxy01:
----------
message:
{"domain": null, "hostname": "vSRX1", "ifd_style": "CLASSIC", "version_info": {"major": [15, 1], "type": "X", "build": 3, "minor": [49, "D", 70]}, "2RE": false, "serialnumber": "AF7691DC331F", "fqdn": "vSRX1", "switch_style": "NONE", "version": "15.1X49-D70.3", "HOME": "/cf/root", "srx_cluster": false, "model": "VSRX", "RE0": {"status": "OK", "last_reboot_reason": "0x4000:VJUNOS reboot ", "model": "VSRX-S", "up_time": "3 hours, 27 minutes, 34 seconds"}, "vc_capable": false, "personality": "UNKNOWN"}
out:
True