Advertisement
Guest User

Untitled

a guest
May 24th, 2017
547
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. root@jessie:/home/vagrant# salt -l debug xrv net.arp
  2. [DEBUG ] Reading configuration from /etc/salt/master
  3. [DEBUG ] Using cached minion ID from /etc/salt/minion_id: jessie.raw
  4. [DEBUG ] Missing configuration file: /root/.saltrc
  5. [DEBUG ] Configuration file path: /etc/salt/master
  6. [WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
  7. [DEBUG ] Reading configuration from /etc/salt/master
  8. [DEBUG ] Using cached minion ID from /etc/salt/minion_id: jessie.raw
  9. [DEBUG ] Missing configuration file: /root/.saltrc
  10. [DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
  11. [DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
  12. [DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/master', 'jessie.raw_master', 'tcp://127.0.0.1:4506', 'clear')
  13. [DEBUG ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pub.ipc
  14. [DEBUG ] LazyLoaded local_cache.get_load
  15. [DEBUG ] Reading minion list from /var/cache/salt/master/jobs/1b/795d0899eab58f0b8c564df4bba181fee93a62619eb5303b22fd5633929f16/.minions.p
  16. [DEBUG ] get_iter_returns for jid 20170524092815891776 sent to set(['xrv']) will timeout at 09:28:20.904670
  17. [DEBUG ] jid 20170524092815891776 return from xrv
  18. [DEBUG ] LazyLoaded nested.output
  19. xrv:
  20. ----------
  21. comment:
  22. Cannot execute "get_arp_table" on 192.168.0.222 as ccie. Reason: not connected!
  23. out:
  24. ----------
  25. result:
  26. False
  27. traceback:
  28. Traceback (most recent call last):
  29. File "/usr/lib/python2.7/dist-packages/salt/proxy/napalm.py", line 284, in call
  30. raise Exception('not connected')
  31. Exception: not connected
  32. [DEBUG ] jid 20170524092815891776 found all minions set(['xrv'])
  33.  
  34.  
  35. root@jessie:/home/vagrant# cat /etc/salt/pillar/xrv.sls
  36. proxy:
  37. proxytype: napalm
  38. driver: iosxr
  39. host: 192.168.0.222
  40. username: ccie
  41. passwd: ccie
  42.  
  43.  
  44. root@jessie:/home/vagrant# ping -c 2 192.168.0.222
  45. PING 192.168.0.222 (192.168.0.222) 56(84) bytes of data.
  46. 64 bytes from 192.168.0.222: icmp_seq=1 ttl=63 time=6.18 ms
  47. 64 bytes from 192.168.0.222: icmp_seq=2 ttl=63 time=6.32 ms
  48.  
  49. --- 192.168.0.222 ping statistics ---
  50. 2 packets transmitted, 2 received, 0% packet loss, time 999ms
  51. rtt min/avg/max/mdev = 6.185/6.254/6.323/0.069 ms
  52. root@jessie:/home/vagrant#
  53. root@jessie:/home/vagrant#
  54. root@jessie:/home/vagrant#
  55. root@jessie:/home/vagrant# ssh ccie@192.168.0.222
  56. ccie@192.168.0.222's password:
  57. Permission denied, please try again.
  58. ccie@192.168.0.222's password:
  59.  
  60.  
  61. RP/0/RP0/CPU0:xrv9k#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement