Advertisement
Guest User

Untitled

a guest
Dec 5th, 2013
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.67 KB | None | 0 0
  1. └─[$] <> ./noc debug-script get_ip_discovery Eshpaya_163_1 -o /tmp/s2326_get_ip_discovery
  2. /opt/noc/lib/python2.6/site-packages/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.
  3. _warn("Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning)
  4. 2013-12-05 11:18:15,966 SSH: Using gmpy
  5. /opt/noc/lib/python2.6/site-packages/django/utils/translation/__init__.py:63: DeprecationWarning: Translations in the project directory aren't supported anymore. Use the LOCALE_PATHS setting instead.
  6. DeprecationWarning)
  7. 2013-12-05 11:18:16,202 Using JSON library: cjson
  8. 2013-12-05 11:18:16,507 Loading PeriodicRegistry
  9. 2013-12-05 11:18:16,514 Loading DownloaderRegistry
  10. 2013-12-05 11:18:16,568 Loading ProfileRegistry
  11. 2013-12-05 11:18:17,871 Loading ScriptRegistry
  12. 2013-12-05 11:18:18,410 Setting up 'select' polling method
  13. 2013-12-05 11:18:18,411 Activating 'select' poller
  14. 2013-12-05 11:18:18,411 Loading private ssh key from 'etc/ssh/id_rsa'
  15. 2013-12-05 11:18:18,412 Loading public ssh key from 'etc/ssh/id_rsa.pub'
  16. access_profile {
  17. profile: "Huawei.VRP"
  18. scheme: TELNET
  19. address: "10.12.70.40"
  20. user: "admin"
  21. password: "admin"
  22. super_password: "admin"
  23. attrs {
  24. key: "image"
  25. value: "V100R006C03"
  26. }
  27. attrs {
  28. key: "platform"
  29. value: "S2326TP-EI"
  30. }
  31. attrs {
  32. key: "vendor"
  33. value: "Huawei"
  34. }
  35. attrs {
  36. key: "version"
  37. value: "5.70"
  38. }
  39. }
  40. object_name: "Eshpaya_163_1"
  41. script: "Huawei.VRP.get_ip_discovery"
  42.  
  43. 2013-12-05 11:18:18,432 Running script thread
  44. 2013-12-05 11:18:18,433 Creating transaction id=1371375493 method=None callback=None
  45. 2013-12-05 11:18:18,432 Running socket factory (SelectPoller)
  46. 2013-12-05 11:18:18,434 [Generic.get_ip_discovery(Eshpaya_163_1, 10.12.70.40)] Running
  47. 2013-12-05 11:18:18,434 [Generic.get_ip_discovery(Eshpaya_163_1, 10.12.70.40)] Running script: Generic.get_ip_discovery ({})
  48. 2013-12-05 11:18:18,434 [Huawei.VRP.get_mpls_vpn(Eshpaya_163_1, 10.12.70.40)] Running script: Huawei.VRP.get_mpls_vpn ({})
  49. 2013-12-05 11:18:18,434 [Huawei.VRP.get_mpls_vpn(Eshpaya_163_1, 10.12.70.40)] cli(display ip vpn-instance verbose)
  50. 2013-12-05 11:18:18,434 [Generic.get_ip_discovery(Eshpaya_163_1, 10.12.70.40)] Running new provider
  51. 2013-12-05 11:18:18,435 [TELNET: 10.12.70.40] ==> START
  52. 2013-12-05 11:18:18,435 [TELNET: 10.12.70.40] set_patterns([('([Uu]sername|[Ll]ogin):', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('^[<#\\[](?P<hostname>[a-zA-Z0-9-\\.]+)(?:-[a-zA-Z0-9/]+)*[>#\\]]', 'PROMPT'), ('(^ ---- More ----)|([Cc]ontinue?\\S+)', 'PAGER')])
  53. 2013-12-05 11:18:18,437 [TELNET: 10.12.70.40] set_timeout(600)
  54. 2013-12-05 11:18:18,437 register_socket(<CLITelnetSocket(0x3da07d0, 10.12.70.40:23, )>,None)
  55. 2013-12-05 11:18:19,457 Tick
  56. 2013-12-05 11:18:19,457 3 TICKS TO EXIT
  57. 2013-12-05 11:18:19,457 [TELNET: 10.12.70.40] Initializing socket
  58. 2013-12-05 11:18:19,458 [TELNET: 10.12.70.40] Connecting 10.12.70.40:23
  59. 2013-12-05 11:18:19,472 [TELNET: 10.12.70.40] Connected
  60. 2013-12-05 11:18:19,489 [TELNET: 10.12.70.40] Received IAC WILL ECHO (251 1)
  61. 2013-12-05 11:18:19,489 [TELNET: 10.12.70.40] Sending IAC DO ECHO (253 1)
  62. 2013-12-05 11:18:19,489 [TELNET: 10.12.70.40] Received IAC WILL ECHO (251 1)
  63. 2013-12-05 11:18:19,489 [TELNET: 10.12.70.40] Sending IAC DO ECHO (253 1)
  64. 2013-12-05 11:18:19,490 [TELNET: 10.12.70.40] Received IAC WILL ECHO (251 1)
  65. 2013-12-05 11:18:19,490 [TELNET: 10.12.70.40] Sending IAC DO ECHO (253 1)
  66. 2013-12-05 11:18:19,494 [TELNET: 10.12.70.40] Received IAC WILL SGA (251 3)
  67. 2013-12-05 11:18:19,494 [TELNET: 10.12.70.40] Sending IAC DO SGA (253 3)
  68. 2013-12-05 11:18:19,494 [TELNET: 10.12.70.40] Received IAC DO TTYPE (253 24)
  69. 2013-12-05 11:18:19,494 [TELNET: 10.12.70.40] Sending IAC WILL TTYPE (251 24)
  70. 2013-12-05 11:18:19,494 [TELNET: 10.12.70.40] Received IAC DO NAWS (253 31)
  71. 2013-12-05 11:18:19,495 [TELNET: 10.12.70.40] Sending IAC WILL NAWS (251 31)
  72. 2013-12-05 11:18:19,495 [TELNET: 10.12.70.40] Sending SB '\xff\xfa\x1f\xff\xff\xff\xff\xff\xf0'
  73. 2013-12-05 11:18:19,510 [TELNET: 10.12.70.40] on_read: '\r'
  74. 2013-12-05 11:18:19,617 [TELNET: 10.12.70.40] on_read: '\r\n\r\nLogin authentication\r\n\r\n'
  75. 2013-12-05 11:18:19,621 [TELNET: 10.12.70.40] on_read: '\r\nUsername:'
  76. 2013-12-05 11:18:19,621 [TELNET: 10.12.70.40] Starting synchronous FSM check
  77. 2013-12-05 11:18:19,621 [TELNET: 10.12.70.40] match '([Uu]sername|[Ll]ogin):'
  78. 2013-12-05 11:18:19,621 [TELNET: 10.12.70.40] event(USERNAME)
  79. 2013-12-05 11:18:19,621 [TELNET: 10.12.70.40] ==> USERNAME
  80. 2013-12-05 11:18:19,621 [TELNET: 10.12.70.40] set_patterns([('[Pp]assword:', 'PASSWORD'), ('^[<#\\[](?P<hostname>[a-zA-Z0-9-\\.]+)(?:-[a-zA-Z0-9/]+)*[>#\\]]', 'PROMPT')])
  81. 2013-12-05 11:18:19,621 [TELNET: 10.12.70.40] submit(u'admin', bulk_lines=None, streaming=False)
  82. 2013-12-05 11:18:19,633 [TELNET: 10.12.70.40] Received SB '\x18\x01'
  83. 2013-12-05 11:18:19,633 [TELNET: 10.12.70.40] Sending SB '\xff\xfa\x18\x00XTERM\xff\xf0'
  84. 2013-12-05 11:18:19,666 [TELNET: 10.12.70.40] on_read: 'admin'
  85. 2013-12-05 11:18:19,666 [TELNET: 10.12.70.40] on_read: '\r\nPassword:'
  86. 2013-12-05 11:18:19,667 [TELNET: 10.12.70.40] Starting synchronous FSM check
  87. 2013-12-05 11:18:19,667 [TELNET: 10.12.70.40] match '[Pp]assword:'
  88. 2013-12-05 11:18:19,667 [TELNET: 10.12.70.40] event(PASSWORD)
  89. 2013-12-05 11:18:19,667 [TELNET: 10.12.70.40] ==> PASSWORD
  90. 2013-12-05 11:18:19,667 [TELNET: 10.12.70.40] set_patterns([('^[<#\\[](?P<hostname>[a-zA-Z0-9-\\.]+)(?:-[a-zA-Z0-9/]+)*[>#\\]]', 'PROMPT'), ('([Uu]sername|[Ll]ogin):', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('(^ ---- More ----)|([Cc]ontinue?\\S+)', 'PAGER')])
  91. 2013-12-05 11:18:19,667 [TELNET: 10.12.70.40] submit(u'admin', bulk_lines=None, streaming=False)
  92. 2013-12-05 11:18:19,897 [TELNET: 10.12.70.40] on_read: '\r\nInfo: The max number of VTY users is 5, and the number\r\n of current VTY users on line is 2.'
  93. 2013-12-05 11:18:19,899 [TELNET: 10.12.70.40] on_read: '\r\n<Eshpaya_163_1>'
  94. 2013-12-05 11:18:20,901 Tick
  95. 2013-12-05 11:18:20,901 Resetting wait ticks
  96. 2013-12-05 11:18:21,904 Tick
  97. 2013-12-05 11:18:21,904 Resetting wait ticks
  98. 2013-12-05 11:18:22,905 Tick
  99. 2013-12-05 11:18:22,905 Resetting wait ticks
  100. 2013-12-05 11:18:23,905 Tick
  101. 2013-12-05 11:18:23,906 Resetting wait ticks
  102. 2013-12-05 11:18:24,907 Tick
  103. 2013-12-05 11:18:24,907 Resetting wait ticks
  104. 2013-12-05 11:18:25,908 Tick
  105. 2013-12-05 11:18:25,908 Resetting wait ticks
  106. 2013-12-05 11:18:26,909 Tick
  107. 2013-12-05 11:18:26,909 Resetting wait ticks
  108. 2013-12-05 11:18:27,910 Tick
  109. 2013-12-05 11:18:27,910 Resetting wait ticks
  110. 2013-12-05 11:18:28,913 Tick
  111. 2013-12-05 11:18:28,913 Resetting wait ticks
  112. ^C2013-12-05 11:18:29,455 SIGINT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement