Advertisement
Guest User

Untitled

a guest
Jul 11th, 2014
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.55 KB | None | 0 0
  1. root@noc:/opt/noc# ./noc debug-script get_config extreme
  2. 2014-07-11 13:19:19,828 SSH: Using gmpy
  3. 2014-07-11 13:19:20,134 Using JSON library: cjson
  4. 2014-07-11 13:19:20,302 Loading PeriodicRegistry
  5. 2014-07-11 13:19:20,309 Loading DownloaderRegistry
  6. 2014-07-11 13:19:20,399 Loading ProfileRegistry
  7. 2014-07-11 13:19:20,929 Loading ScriptRegistry
  8. 2014-07-11 13:19:21,267 Setting up 'select' polling method
  9. 2014-07-11 13:19:21,269 Activating 'select' poller
  10. 2014-07-11 13:19:21,269 Loading private ssh key from 'etc/ssh/id_rsa'
  11. 2014-07-11 13:19:21,269 Loading public ssh key from 'etc/ssh/id_rsa.pub'
  12. access_profile {
  13. profile: "Extreme.XOS"
  14. scheme: TELNET
  15. address: "192.168.101.2"
  16. user: "noc"
  17. password: "NcYNQK8CLv4PmsRG"
  18. }
  19. object_name: "extreme"
  20. script: "Extreme.XOS.get_config"
  21.  
  22. 2014-07-11 13:19:21,274 Running script thread
  23. 2014-07-11 13:19:21,275 Running socket factory (SelectPoller)
  24. 2014-07-11 13:19:21,276 Creating transaction id=836522287 method=None callback=None
  25. 2014-07-11 13:19:21,279 [Extreme.XOS.get_config(extreme, 192.168.101.2)] Running
  26. 2014-07-11 13:19:21,280 [Extreme.XOS.get_config(extreme, 192.168.101.2)] Running script: Extreme.XOS.get_config ({})
  27. 2014-07-11 13:19:21,280 [Extreme.XOS.get_config(extreme, 192.168.101.2)] cli(show config)
  28. 2014-07-11 13:19:21,280 [Extreme.XOS.get_config(extreme, 192.168.101.2)] Running new provider
  29. 2014-07-11 13:19:21,280 [TELNET: 192.168.101.2] ==> START
  30. 2014-07-11 13:19:21,281 [TELNET: 192.168.101.2] set_patterns([('([Uu]sername|[Ll]ogin):', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('^(\\*\\s)?\\S+? #', 'PROMPT'), ('(^Press <SPACE> to continue or <Q> to quit:)', 'PAGER')])
  31. 2014-07-11 13:19:21,282 [TELNET: 192.168.101.2] set_timeout(600)
  32. 2014-07-11 13:19:21,282 register_socket(<CLITelnetSocket(0x4225fd0, 192.168.101.2:23, )>,None)
  33. 2014-07-11 13:19:22,278 Tick
  34. 2014-07-11 13:19:22,278 3 TICKS TO EXIT
  35. 2014-07-11 13:19:22,279 [TELNET: 192.168.101.2] Initializing socket
  36. 2014-07-11 13:19:22,279 [TELNET: 192.168.101.2] Connecting 192.168.101.2:23
  37. 2014-07-11 13:19:22,290 [TELNET: 192.168.101.2] Connected
  38. 2014-07-11 13:19:22,310 [TELNET: 192.168.101.2] Received IAC WILL SGA (251 3)
  39. 2014-07-11 13:19:22,310 [TELNET: 192.168.101.2] Sending IAC DO SGA (253 3)
  40. 2014-07-11 13:19:22,310 [TELNET: 192.168.101.2] Received IAC WILL ECHO (251 1)
  41. 2014-07-11 13:19:22,310 [TELNET: 192.168.101.2] Sending IAC DO ECHO (253 1)
  42. 2014-07-11 13:19:22,310 [TELNET: 192.168.101.2] Received IAC DO NAWS (253 31)
  43. 2014-07-11 13:19:22,310 [TELNET: 192.168.101.2] Sending IAC WILL NAWS (251 31)
  44. 2014-07-11 13:19:22,311 [TELNET: 192.168.101.2] Sending SB '\xff\xfa\x1f\xff\xff\xff\xff\xff\xf0'
  45. 2014-07-11 13:19:22,311 [TELNET: 192.168.101.2] Received IAC DO TTYPE (253 24)
  46. 2014-07-11 13:19:22,311 [TELNET: 192.168.101.2] Sending IAC WILL TTYPE (251 24)
  47. 2014-07-11 13:19:22,311 [TELNET: 192.168.101.2] on_read: '\r\ntelnet session telnet1 on /dev/ptyb3\r\n\r\n'
  48. 2014-07-11 13:19:22,313 [TELNET: 192.168.101.2] Received IAC WILL SGA (251 3)
  49. 2014-07-11 13:19:22,313 [TELNET: 192.168.101.2] Sending IAC DO SGA (253 3)
  50. 2014-07-11 13:19:22,313 [TELNET: 192.168.101.2] Received IAC WILL ECHO (251 1)
  51. 2014-07-11 13:19:22,313 [TELNET: 192.168.101.2] Sending IAC DO ECHO (253 1)
  52. 2014-07-11 13:19:22,314 [TELNET: 192.168.101.2] Received IAC DO NAWS (253 31)
  53. 2014-07-11 13:19:22,314 [TELNET: 192.168.101.2] Sending IAC WILL NAWS (251 31)
  54. 2014-07-11 13:19:22,314 [TELNET: 192.168.101.2] Sending SB '\xff\xfa\x1f\xff\xff\xff\xff\xff\xf0'
  55. 2014-07-11 13:19:22,314 [TELNET: 192.168.101.2] Received IAC DO TTYPE (253 24)
  56. 2014-07-11 13:19:22,314 [TELNET: 192.168.101.2] Sending IAC WILL TTYPE (251 24)
  57. 2014-07-11 13:19:22,425 [TELNET: 192.168.101.2] on_read: '+-------------------------------+\r\n| No trespassing. |\r\n| Violators will be shot. |\r\n| Survivors will be shot again. |\r\n+-------------------------------+\r\n\r\n'
  58. 2014-07-11 13:19:22,463 [TELNET: 192.168.101.2] on_read: 'login: '
  59. 2014-07-11 13:19:22,463 [TELNET: 192.168.101.2] Starting synchronous FSM check
  60. 2014-07-11 13:19:22,463 [TELNET: 192.168.101.2] match '([Uu]sername|[Ll]ogin):'
  61. 2014-07-11 13:19:22,464 [TELNET: 192.168.101.2] event(USERNAME)
  62. 2014-07-11 13:19:22,464 [TELNET: 192.168.101.2] ==> USERNAME
  63. 2014-07-11 13:19:22,464 [TELNET: 192.168.101.2] set_patterns([('[Pp]assword:', 'PASSWORD'), ('^(\\*\\s)?\\S+? #', 'PROMPT')])
  64. 2014-07-11 13:19:22,464 [TELNET: 192.168.101.2] submit(u'noc', bulk_lines=None, streaming=False)
  65. 2014-07-11 13:19:22,467 [TELNET: 192.168.101.2] on_read: 'noc\r\n\r'
  66. 2014-07-11 13:19:22,507 [TELNET: 192.168.101.2] on_read: 'password: '
  67. 2014-07-11 13:19:22,507 [TELNET: 192.168.101.2] Starting synchronous FSM check
  68. 2014-07-11 13:19:22,507 [TELNET: 192.168.101.2] match '[Pp]assword:'
  69. 2014-07-11 13:19:22,507 [TELNET: 192.168.101.2] event(PASSWORD)
  70. 2014-07-11 13:19:22,507 [TELNET: 192.168.101.2] ==> PASSWORD
  71. 2014-07-11 13:19:22,508 [TELNET: 192.168.101.2] set_patterns([('^(\\*\\s)?\\S+? #', 'PROMPT'), ('([Uu]sername|[Ll]ogin):', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('(^Press <SPACE> to continue or <Q> to quit:)', 'PAGER')])
  72. 2014-07-11 13:19:22,508 [TELNET: 192.168.101.2] submit(u'NcYNQK8CLv4PmsRG', bulk_lines=None, streaming=False)
  73. 2014-07-11 13:19:22,511 [TELNET: 192.168.101.2] on_read: '\r\n\r\r\n'
  74. 2014-07-11 13:19:22,536 [TELNET: 192.168.101.2] on_read: '\rExtremeXOS\r\nCopyright (C) 1996-2013 Extreme Networks. All rights reserved.\r\nProtected by US Patent Nos: 6,678,248; 6,104,700; 6,766,482; 6,618,388; 6,034,957; 6,859,438; 6,912,592; 6,954,436; 6,977,891; 6,980,550; 6,981,174; 7,003,705; 7,017,082; 7,046,665; 7,126,923; 7,142,509; 7,149,217; 7,152,124; 7,154,861; 7,245,619; 7,245,629; 7,269,135; 7,448,045; 7,447,777; 7,453,874; 7,463,628; 7,483,370; 7,499,679; 7,502,374; 7,539,750; 7,522,516; 7,546,480; 7,552,275; 7,554,978; 7,558,273; 7,568,107; 7,577,996; 7,581,024; 7,580,409; 7,580,350; 7,584,262; 7,599,292; 7,602,721; 7,606,249; 7,606,240; 7,606,263; 7,613,209; 7,619,971; 7,646,773; 7,646,770; 7,649,879; 7,657,619; 7,657,635; 7,660,259; 7,660,894; 7,668,969; 7,672,228; 7,675,915; 7,689,678; 7,693,158; 7,710,993; 7,719,968; 7,724,734; 7,724,669; 7,733,899; 7,752,338; 7,773,507; 7,783,733; 7,792,058; 7,813,348; 7,814,204; 7,817,549; 7,817,633; 7,822,038; 7,822,032; 7,821,931; 7,823,199; 7,822,033; 7,835,348; 7,843,927; 7,856,019; 7,860,006; 7,889,750; 7,889,658; 7,894,451; 7,903,666; 7,908,431; 7,912,091; 7,936,764; 7,936,687; 7,944,942; 7,983,192; 7,990,850; 8,000,344; 8,055,800; 8,059,658; 8,072,887; 8,085,779; 8,107,383; 8,117,336; 8,117,657; 8,135,007; 8,139,583; 8,159,936; 8,160,074; 8,161,270; 8,174,980; 8,204,070; 8,208,418; 8,233,474; 8,255,996; 8,274,974; 8,279,874; 8,295,188; 8,331,373; 8,369,344; 8,412,838; 8,437,359; 8,442,030.\r\n================================='
  75. 2014-07-11 13:19:22,539 [TELNET: 192.168.101.2] on_read: "=============================================\r\n\r\nPress the <tab> or '?' key at any time for completions.\r\nRemember to save your configuration changes.\r\n\r\n\r\n"
  76. 2014-07-11 13:19:22,865 [TELNET: 192.168.101.2] on_read: 'Slot-1 X450a.1 # '
  77. 2014-07-11 13:19:23,867 Tick
  78. 2014-07-11 13:19:23,867 Resetting wait ticks
  79. 2014-07-11 13:19:24,868 Tick
  80. 2014-07-11 13:19:24,868 Resetting wait ticks
  81. 2014-07-11 13:19:25,870 Tick
  82. 2014-07-11 13:19:25,870 Resetting wait ticks
  83. 2014-07-11 13:19:26,871 Tick
  84. 2014-07-11 13:19:26,872 Resetting wait ticks
  85. 2014-07-11 13:19:27,873 Tick
  86. 2014-07-11 13:19:27,873 Resetting wait ticks
  87. 2014-07-11 13:19:28,875 Tick
  88. 2014-07-11 13:19:28,875 Resetting wait ticks
  89. 2014-07-11 13:19:29,876 Tick
  90. 2014-07-11 13:19:29,877 Resetting wait ticks
  91. ^C2014-07-11 13:19:30,355 SIGINT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement