Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@noc:/opt/noc# ./noc debug-script get_config extreme
- 2014-07-11 13:19:19,828 SSH: Using gmpy
- 2014-07-11 13:19:20,134 Using JSON library: cjson
- 2014-07-11 13:19:20,302 Loading PeriodicRegistry
- 2014-07-11 13:19:20,309 Loading DownloaderRegistry
- 2014-07-11 13:19:20,399 Loading ProfileRegistry
- 2014-07-11 13:19:20,929 Loading ScriptRegistry
- 2014-07-11 13:19:21,267 Setting up 'select' polling method
- 2014-07-11 13:19:21,269 Activating 'select' poller
- 2014-07-11 13:19:21,269 Loading private ssh key from 'etc/ssh/id_rsa'
- 2014-07-11 13:19:21,269 Loading public ssh key from 'etc/ssh/id_rsa.pub'
- access_profile {
- profile: "Extreme.XOS"
- scheme: TELNET
- address: "192.168.101.2"
- user: "noc"
- password: "NcYNQK8CLv4PmsRG"
- }
- object_name: "extreme"
- script: "Extreme.XOS.get_config"
- 2014-07-11 13:19:21,274 Running script thread
- 2014-07-11 13:19:21,275 Running socket factory (SelectPoller)
- 2014-07-11 13:19:21,276 Creating transaction id=836522287 method=None callback=None
- 2014-07-11 13:19:21,279 [Extreme.XOS.get_config(extreme, 192.168.101.2)] Running
- 2014-07-11 13:19:21,280 [Extreme.XOS.get_config(extreme, 192.168.101.2)] Running script: Extreme.XOS.get_config ({})
- 2014-07-11 13:19:21,280 [Extreme.XOS.get_config(extreme, 192.168.101.2)] cli(show config)
- 2014-07-11 13:19:21,280 [Extreme.XOS.get_config(extreme, 192.168.101.2)] Running new provider
- 2014-07-11 13:19:21,280 [TELNET: 192.168.101.2] ==> START
- 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')])
- 2014-07-11 13:19:21,282 [TELNET: 192.168.101.2] set_timeout(600)
- 2014-07-11 13:19:21,282 register_socket(<CLITelnetSocket(0x4225fd0, 192.168.101.2:23, )>,None)
- 2014-07-11 13:19:22,278 Tick
- 2014-07-11 13:19:22,278 3 TICKS TO EXIT
- 2014-07-11 13:19:22,279 [TELNET: 192.168.101.2] Initializing socket
- 2014-07-11 13:19:22,279 [TELNET: 192.168.101.2] Connecting 192.168.101.2:23
- 2014-07-11 13:19:22,290 [TELNET: 192.168.101.2] Connected
- 2014-07-11 13:19:22,310 [TELNET: 192.168.101.2] Received IAC WILL SGA (251 3)
- 2014-07-11 13:19:22,310 [TELNET: 192.168.101.2] Sending IAC DO SGA (253 3)
- 2014-07-11 13:19:22,310 [TELNET: 192.168.101.2] Received IAC WILL ECHO (251 1)
- 2014-07-11 13:19:22,310 [TELNET: 192.168.101.2] Sending IAC DO ECHO (253 1)
- 2014-07-11 13:19:22,310 [TELNET: 192.168.101.2] Received IAC DO NAWS (253 31)
- 2014-07-11 13:19:22,310 [TELNET: 192.168.101.2] Sending IAC WILL NAWS (251 31)
- 2014-07-11 13:19:22,311 [TELNET: 192.168.101.2] Sending SB '\xff\xfa\x1f\xff\xff\xff\xff\xff\xf0'
- 2014-07-11 13:19:22,311 [TELNET: 192.168.101.2] Received IAC DO TTYPE (253 24)
- 2014-07-11 13:19:22,311 [TELNET: 192.168.101.2] Sending IAC WILL TTYPE (251 24)
- 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'
- 2014-07-11 13:19:22,313 [TELNET: 192.168.101.2] Received IAC WILL SGA (251 3)
- 2014-07-11 13:19:22,313 [TELNET: 192.168.101.2] Sending IAC DO SGA (253 3)
- 2014-07-11 13:19:22,313 [TELNET: 192.168.101.2] Received IAC WILL ECHO (251 1)
- 2014-07-11 13:19:22,313 [TELNET: 192.168.101.2] Sending IAC DO ECHO (253 1)
- 2014-07-11 13:19:22,314 [TELNET: 192.168.101.2] Received IAC DO NAWS (253 31)
- 2014-07-11 13:19:22,314 [TELNET: 192.168.101.2] Sending IAC WILL NAWS (251 31)
- 2014-07-11 13:19:22,314 [TELNET: 192.168.101.2] Sending SB '\xff\xfa\x1f\xff\xff\xff\xff\xff\xf0'
- 2014-07-11 13:19:22,314 [TELNET: 192.168.101.2] Received IAC DO TTYPE (253 24)
- 2014-07-11 13:19:22,314 [TELNET: 192.168.101.2] Sending IAC WILL TTYPE (251 24)
- 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'
- 2014-07-11 13:19:22,463 [TELNET: 192.168.101.2] on_read: 'login: '
- 2014-07-11 13:19:22,463 [TELNET: 192.168.101.2] Starting synchronous FSM check
- 2014-07-11 13:19:22,463 [TELNET: 192.168.101.2] match '([Uu]sername|[Ll]ogin):'
- 2014-07-11 13:19:22,464 [TELNET: 192.168.101.2] event(USERNAME)
- 2014-07-11 13:19:22,464 [TELNET: 192.168.101.2] ==> USERNAME
- 2014-07-11 13:19:22,464 [TELNET: 192.168.101.2] set_patterns([('[Pp]assword:', 'PASSWORD'), ('^(\\*\\s)?\\S+? #', 'PROMPT')])
- 2014-07-11 13:19:22,464 [TELNET: 192.168.101.2] submit(u'noc', bulk_lines=None, streaming=False)
- 2014-07-11 13:19:22,467 [TELNET: 192.168.101.2] on_read: 'noc\r\n\r'
- 2014-07-11 13:19:22,507 [TELNET: 192.168.101.2] on_read: 'password: '
- 2014-07-11 13:19:22,507 [TELNET: 192.168.101.2] Starting synchronous FSM check
- 2014-07-11 13:19:22,507 [TELNET: 192.168.101.2] match '[Pp]assword:'
- 2014-07-11 13:19:22,507 [TELNET: 192.168.101.2] event(PASSWORD)
- 2014-07-11 13:19:22,507 [TELNET: 192.168.101.2] ==> PASSWORD
- 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')])
- 2014-07-11 13:19:22,508 [TELNET: 192.168.101.2] submit(u'NcYNQK8CLv4PmsRG', bulk_lines=None, streaming=False)
- 2014-07-11 13:19:22,511 [TELNET: 192.168.101.2] on_read: '\r\n\r\r\n'
- 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================================='
- 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"
- 2014-07-11 13:19:22,865 [TELNET: 192.168.101.2] on_read: 'Slot-1 X450a.1 # '
- 2014-07-11 13:19:23,867 Tick
- 2014-07-11 13:19:23,867 Resetting wait ticks
- 2014-07-11 13:19:24,868 Tick
- 2014-07-11 13:19:24,868 Resetting wait ticks
- 2014-07-11 13:19:25,870 Tick
- 2014-07-11 13:19:25,870 Resetting wait ticks
- 2014-07-11 13:19:26,871 Tick
- 2014-07-11 13:19:26,872 Resetting wait ticks
- 2014-07-11 13:19:27,873 Tick
- 2014-07-11 13:19:27,873 Resetting wait ticks
- 2014-07-11 13:19:28,875 Tick
- 2014-07-11 13:19:28,875 Resetting wait ticks
- 2014-07-11 13:19:29,876 Tick
- 2014-07-11 13:19:29,877 Resetting wait ticks
- ^C2014-07-11 13:19:30,355 SIGINT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement