qwelip

Untitled

Apr 29th, 2014
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.65 KB | None | 0 0
  1. root@noc:/opt/noc# ./noc debug-script get_config Kalinina35p3
  2. 2014-04-29 09:14:53,201 SSH: Using gmpy
  3. 2014-04-29 09:14:53,318 Using JSON library: cjson
  4. 2014-04-29 09:14:53,416 Loading PeriodicRegistry
  5. 2014-04-29 09:14:53,422 Loading DownloaderRegistry
  6. 2014-04-29 09:14:53,460 Loading ProfileRegistry
  7. 2014-04-29 09:14:54,128 Loading ScriptRegistry
  8. 2014-04-29 09:14:54,492 Setting up 'select' polling method
  9. 2014-04-29 09:14:54,492 Activating 'select' poller
  10. 2014-04-29 09:14:54,493 Loading private ssh key from 'etc/ssh/id_rsa'
  11. 2014-04-29 09:14:54,493 Loading public ssh key from 'etc/ssh/id_rsa.pub'
  12. access_profile {
  13. profile: "Huawei.VRP"
  14. scheme: TELNET
  15. address: "10.30.0.45"
  16. user: "noc"
  17. password: "nocyartv"
  18. super_password: "nocyartv"
  19. attrs {
  20. key: "image"
  21. value: "V100R006C03"
  22. }
  23. attrs {
  24. key: "platform"
  25. value: "NOC"
  26. }
  27. attrs {
  28. key: "vendor"
  29. value: "NOC"
  30. }
  31. attrs {
  32. key: "version"
  33. value: "0.8"
  34. }
  35. }
  36. object_name: "Kalinina35p3"
  37. script: "Huawei.VRP.get_config"
  38.  
  39. 2014-04-29 09:14:54,499 Running socket factory (SelectPoller)
  40. 2014-04-29 09:14:54,499 Running script thread
  41. 2014-04-29 09:14:54,499 Creating transaction id=657769400 method=None callback=None
  42. 2014-04-29 09:14:54,500 [Huawei.VRP.get_config(Kalinina35p3, 10.30.0.45)] Running
  43. 2014-04-29 09:14:54,500 [Huawei.VRP.get_config(Kalinina35p3, 10.30.0.45)] Running script: Huawei.VRP.get_config ({})
  44. 2014-04-29 09:14:54,501 [Huawei.VRP.get_config(Kalinina35p3, 10.30.0.45)] cli(display current-configuration)
  45. 2014-04-29 09:14:54,501 [Huawei.VRP.get_config(Kalinina35p3, 10.30.0.45)] Running new provider
  46. 2014-04-29 09:14:54,501 [TELNET: 10.30.0.45] ==> START
  47. 2014-04-29 09:14:54,501 [TELNET: 10.30.0.45] set_patterns([('([Uu]sername|[Ll]ogin):', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('^[<#\\[](?P<hostname>\\S+?)[>#\\]]', 'PROMPT'), ('(^ ---- More ----)|([Cc]ontinue?\\S+)', 'PAGER')])
  48. 2014-04-29 09:14:54,503 [TELNET: 10.30.0.45] set_timeout(600)
  49. 2014-04-29 09:14:54,503 register_socket(<CLITelnetSocket(0x3c81e10, 10.30.0.45:23, )>,None)
  50. 2014-04-29 09:14:55,500 Tick
  51. 2014-04-29 09:14:55,500 3 TICKS TO EXIT
  52. 2014-04-29 09:14:55,500 [TELNET: 10.30.0.45] Initializing socket
  53. 2014-04-29 09:14:55,501 [TELNET: 10.30.0.45] Connecting 10.30.0.45:23
  54. 2014-04-29 09:14:55,538 [TELNET: 10.30.0.45] Connected
  55. 2014-04-29 09:14:55,552 [TELNET: 10.30.0.45] Received IAC WILL ECHO (251 1)
  56. 2014-04-29 09:14:55,553 [TELNET: 10.30.0.45] Sending IAC DO ECHO (253 1)
  57. 2014-04-29 09:14:55,553 [TELNET: 10.30.0.45] Received IAC WILL ECHO (251 1)
  58. 2014-04-29 09:14:55,553 [TELNET: 10.30.0.45] Sending IAC DO ECHO (253 1)
  59. 2014-04-29 09:14:55,553 [TELNET: 10.30.0.45] Received IAC WILL ECHO (251 1)
  60. 2014-04-29 09:14:55,553 [TELNET: 10.30.0.45] Sending IAC DO ECHO (253 1)
  61. 2014-04-29 09:14:55,555 [TELNET: 10.30.0.45] Received IAC WILL SGA (251 3)
  62. 2014-04-29 09:14:55,555 [TELNET: 10.30.0.45] Sending IAC DO SGA (253 3)
  63. 2014-04-29 09:14:55,556 [TELNET: 10.30.0.45] Received IAC DO TTYPE (253 24)
  64. 2014-04-29 09:14:55,556 [TELNET: 10.30.0.45] Sending IAC WILL TTYPE (251 24)
  65. 2014-04-29 09:14:55,557 [TELNET: 10.30.0.45] Received IAC DO NAWS (253 31)
  66. 2014-04-29 09:14:55,557 [TELNET: 10.30.0.45] Sending IAC WILL NAWS (251 31)
  67. 2014-04-29 09:14:55,557 [TELNET: 10.30.0.45] Sending SB '\xff\xfa\x1f\xff\xff\xff\xff\xff\xf0'
  68. 2014-04-29 09:14:55,567 [TELNET: 10.30.0.45] on_read: '\r'
  69. 2014-04-29 09:14:55,661 [TELNET: 10.30.0.45] on_read: '\r\n\r\nLogin authentication\r\n\r\n'
  70. 2014-04-29 09:14:55,665 [TELNET: 10.30.0.45] on_read: '\r\nUsername:'
  71. 2014-04-29 09:14:55,665 [TELNET: 10.30.0.45] Starting synchronous FSM check
  72. 2014-04-29 09:14:55,666 [TELNET: 10.30.0.45] match '([Uu]sername|[Ll]ogin):'
  73. 2014-04-29 09:14:55,666 [TELNET: 10.30.0.45] event(USERNAME)
  74. 2014-04-29 09:14:55,667 [TELNET: 10.30.0.45] ==> USERNAME
  75. 2014-04-29 09:14:55,667 [TELNET: 10.30.0.45] set_patterns([('[Pp]assword:', 'PASSWORD'), ('^[<#\\[](?P<hostname>\\S+?)[>#\\]]', 'PROMPT')])
  76. 2014-04-29 09:14:55,667 [TELNET: 10.30.0.45] submit(u'noc', bulk_lines=None, streaming=False)
  77. 2014-04-29 09:14:55,671 [TELNET: 10.30.0.45] Received SB '\x18\x01'
  78. 2014-04-29 09:14:55,672 [TELNET: 10.30.0.45] Sending SB '\xff\xfa\x18\x00XTERM\xff\xf0'
  79. 2014-04-29 09:14:55,680 [TELNET: 10.30.0.45] on_read: 'no'
  80. 2014-04-29 09:14:55,684 [TELNET: 10.30.0.45] on_read: 'c'
  81. 2014-04-29 09:14:55,686 [TELNET: 10.30.0.45] on_read: '\r\nPassword:'
  82. 2014-04-29 09:14:55,687 [TELNET: 10.30.0.45] Starting synchronous FSM check
  83. 2014-04-29 09:14:55,687 [TELNET: 10.30.0.45] match '[Pp]assword:'
  84. 2014-04-29 09:14:55,687 [TELNET: 10.30.0.45] event(PASSWORD)
  85. 2014-04-29 09:14:55,687 [TELNET: 10.30.0.45] ==> PASSWORD
  86. 2014-04-29 09:14:55,687 [TELNET: 10.30.0.45] set_patterns([('^[<#\\[](?P<hostname>\\S+?)[>#\\]]', 'PROMPT'), ('([Uu]sername|[Ll]ogin):', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('(^ ---- More ----)|([Cc]ontinue?\\S+)', 'PAGER')])
  87. 2014-04-29 09:14:55,688 [TELNET: 10.30.0.45] submit(u'nocyartv', bulk_lines=None, streaming=False)
  88. 2014-04-29 09:14:56,208 [TELNET: 10.30.0.45] on_read: '\r\nInfo: The max number of VTY users is 5, and the number\r\n of current VTY users on line is 1.'
  89. 2014-04-29 09:14:56,210 [TELNET: 10.30.0.45] on_read: '\r\n<Kalinina 35p3>'
  90. 2014-04-29 09:14:57,211 Tick
  91. 2014-04-29 09:14:57,211 Resetting wait ticks
  92. 2014-04-29 09:14:58,212 Tick
  93. 2014-04-29 09:14:58,213 Resetting wait ticks
  94. 2014-04-29 09:14:59,214 Tick
  95. 2014-04-29 09:14:59,214 Resetting wait ticks
  96. 2014-04-29 09:15:00,215 Tick
  97. 2014-04-29 09:15:00,215 Resetting wait ticks
  98. 2014-04-29 09:15:01,216 Tick
  99. 2014-04-29 09:15:01,216 Resetting wait ticks
  100. 2014-04-29 09:15:02,218 Tick
  101. 2014-04-29 09:15:02,218 Resetting wait ticks
  102. ^C2014-04-29 09:15:02,949 SIGINT
Advertisement
Add Comment
Please, Sign In to add comment