Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@jessie:/home/vagrant# salt -l debug xrv net.arp
- [DEBUG ] Reading configuration from /etc/salt/master
- [DEBUG ] Using cached minion ID from /etc/salt/minion_id: jessie.raw
- [DEBUG ] Missing configuration file: /root/.saltrc
- [DEBUG ] Configuration file path: /etc/salt/master
- [WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
- [DEBUG ] Reading configuration from /etc/salt/master
- [DEBUG ] Using cached minion ID from /etc/salt/minion_id: jessie.raw
- [DEBUG ] Missing configuration file: /root/.saltrc
- [DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
- [DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
- [DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/master', 'jessie.raw_master', 'tcp://127.0.0.1:4506', 'clear')
- [DEBUG ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pub.ipc
- [DEBUG ] LazyLoaded local_cache.get_load
- [DEBUG ] Reading minion list from /var/cache/salt/master/jobs/1b/795d0899eab58f0b8c564df4bba181fee93a62619eb5303b22fd5633929f16/.minions.p
- [DEBUG ] get_iter_returns for jid 20170524092815891776 sent to set(['xrv']) will timeout at 09:28:20.904670
- [DEBUG ] jid 20170524092815891776 return from xrv
- [DEBUG ] LazyLoaded nested.output
- xrv:
- ----------
- comment:
- Cannot execute "get_arp_table" on 192.168.0.222 as ccie. Reason: not connected!
- out:
- ----------
- result:
- False
- traceback:
- Traceback (most recent call last):
- File "/usr/lib/python2.7/dist-packages/salt/proxy/napalm.py", line 284, in call
- raise Exception('not connected')
- Exception: not connected
- [DEBUG ] jid 20170524092815891776 found all minions set(['xrv'])
- root@jessie:/home/vagrant# cat /etc/salt/pillar/xrv.sls
- proxy:
- proxytype: napalm
- driver: iosxr
- host: 192.168.0.222
- username: ccie
- passwd: ccie
- root@jessie:/home/vagrant# ping -c 2 192.168.0.222
- PING 192.168.0.222 (192.168.0.222) 56(84) bytes of data.
- 64 bytes from 192.168.0.222: icmp_seq=1 ttl=63 time=6.18 ms
- 64 bytes from 192.168.0.222: icmp_seq=2 ttl=63 time=6.32 ms
- --- 192.168.0.222 ping statistics ---
- 2 packets transmitted, 2 received, 0% packet loss, time 999ms
- rtt min/avg/max/mdev = 6.185/6.254/6.323/0.069 ms
- root@jessie:/home/vagrant#
- root@jessie:/home/vagrant#
- root@jessie:/home/vagrant#
- root@jessie:/home/vagrant# ssh ccie@192.168.0.222
- ccie@192.168.0.222's password:
- Permission denied, please try again.
- ccie@192.168.0.222's password:
- RP/0/RP0/CPU0:xrv9k#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement