Guest User

Untitled

a guest
Oct 2nd, 2014
14
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ./noc debug-script get_interfaces Metro_s5328-45.4
  2. 2014-10-02 14:10:34,830 SSH: Using gmpy
  3. 2014-10-02 14:10:36,675 Using JSON library: cjson
  4. 2014-10-02 14:10:37,081 Loading PeriodicRegistry
  5. 2014-10-02 14:10:37,178 Loading DownloaderRegistry
  6. 2014-10-02 14:10:37,248 Loading ProfileRegistry
  7. 2014-10-02 14:10:37,952 Loading ScriptRegistry
  8. 2014-10-02 14:10:38,745 Setting up 'select' polling method
  9. 2014-10-02 14:10:38,754 Activating 'select' poller
  10. 2014-10-02 14:10:38,754 Loading private ssh key from 'etc/ssh/id_rsa'
  11. 2014-10-02 14:10:38,762 Loading public ssh key from 'etc/ssh/id_rsa.pub'
  12. access_profile {
  13. profile: "Qtech.QSW"
  14. scheme: TELNET
  15. address: "10.21.255.194"
  16. user: "xxx"
  17. password: "xxxx"
  18. attrs {
  19. key: "Boot PROM"
  20. value: "7.2.3"
  21. }
  22. attrs {
  23. key: "HW version"
  24. value: "2.0.3"
  25. }
  26. attrs {
  27. key: "platform"
  28. value: "QSW-8200-28F-AC-DC"
  29. }
  30. attrs {
  31. key: "Serial Number"
  32. value: "00031531403010010090"
  33. }
  34. attrs {
  35. key: "vendor"
  36. value: "Qtech"
  37. }
  38. attrs {
  39. key: "version"
  40. value: "7.0.3.5(R0224.0020)"
  41. }
  42. }
  43. object_name: "Metro_s5328-45.4"
  44. script: "Qtech.QSW.get_interfaces"
  45.  
  46. 2014-10-02 14:10:38,794 Running script thread
  47. 2014-10-02 14:10:38,794 Running socket factory (SelectPoller)
  48. 2014-10-02 14:10:38,794 Creating transaction id=1506289224 method=None callback=None
  49. 2014-10-02 14:10:38,795 [Qtech.QSW.get_interfaces(Metro_s5328-45.4, 10.21.255.194)] Running
  50. 2014-10-02 14:10:38,795 [Qtech.QSW.get_interfaces(Metro_s5328-45.4, 10.21.255.194)] Running script: Qtech.QSW.get_interfaces ({})
  51. 2014-10-02 14:10:38,796 [Qtech.QSW.get_switchport(Metro_s5328-45.4, 10.21.255.194)] Running script: Qtech.QSW.get_switchport ({})
  52. 2014-10-02 14:10:38,796 [Qtech.QSW.get_interface_status(Metro_s5328-45.4, 10.21.255.194)] Running script: Qtech.QSW.get_interface_status ({})
  53. 2014-10-02 14:10:38,796 [Qtech.QSW.get_interface_status(Metro_s5328-45.4, 10.21.255.194)] cli(show interface brief)
  54. 2014-10-02 14:10:38,797 [Qtech.QSW.get_interfaces(Metro_s5328-45.4, 10.21.255.194)] Running new provider
  55. 2014-10-02 14:10:38,797 [TELNET: 10.21.255.194] ==> START
  56. 2014-10-02 14:10:38,797 [TELNET: 10.21.255.194] set_patterns([('^(Username\\(1-32 chars\\)|[Ll]ogin):', 'USERNAME'), ('^Password(\\(1-16 chars\\)|):', 'PASSWORD'), ('^\\S+>', 'UNPRIVELEGED_PROMPT'), ('^\\S+#', 'PROMPT'), ('(^\\.\\.\\.\\.press ENTER to next line, CTRL_C to break, other key to next page\\.\\.\\.\\.)|(^Startup config in flash will be updated, are you sure\\(y/n\\)\\? \\[n\\])|(^ --More-- $)|(^Confirm to overwrite current startup-config configuration)|(^Confirm to overwrite the existed destination file?)|(^Begin to receive file, please wait)|(#####)', 'PAGER')])
  57. 2014-10-02 14:10:38,799 [TELNET: 10.21.255.194] set_timeout(600)
  58. 2014-10-02 14:10:38,799 register_socket(<CLITelnetSocket(0x7fe6d4f86190, 10.21.255.194:23, )>,None)
  59. 2014-10-02 14:10:39,795 Tick
  60. 2014-10-02 14:10:39,796 3 TICKS TO EXIT
  61. 2014-10-02 14:10:39,796 [TELNET: 10.21.255.194] Initializing socket
  62. 2014-10-02 14:10:39,796 [TELNET: 10.21.255.194] Connecting 10.21.255.194:23
  63. 2014-10-02 14:10:39,816 [TELNET: 10.21.255.194] Connected
  64. 2014-10-02 14:10:39,821 [TELNET: 10.21.255.194] Received IAC WILL ECHO (251 1)
  65. 2014-10-02 14:10:39,821 [TELNET: 10.21.255.194] Sending IAC DO ECHO (253 1)
  66. 2014-10-02 14:10:39,823 [TELNET: 10.21.255.194] Received IAC WILL SGA (251 3)
RAW Paste Data