Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- noc@ftp /opt/noc $ ./noc debug-script EdgeCore.ES.get_vlans GOR_35
- 2012-09-04 17:11:57,498 SSH: Using gmpy
- 2012-09-04 17:11:57,892 Using JSON library: django_simplejson
- 2012-09-04 17:11:57,920 Loading PeriodicRegistry
- 2012-09-04 17:11:57,930 Loading DownloaderRegistry
- 2012-09-04 17:11:57,979 Loading ProfileRegistry
- 2012-09-04 17:11:58,732 Loading ScriptRegistry
- 2012-09-04 17:11:59,135 Setting up 'kevent' polling method
- 2012-09-04 17:11:59,136 Activating 'select' poller
- 2012-09-04 17:11:59,136 Loading private ssh key from 'etc/ssh/id_rsa'
- 2012-09-04 17:11:59,136 Loading public ssh key from 'etc/ssh/id_rsa.pub'
- access_profile {
- profile: "EdgeCore.ES"
- scheme: TELNET
- address: "10.200.10.130"
- user: "noc"
- password: "noc"
- attrs {
- key: "Boot PROM"
- value: "0.0.0.1"
- }
- attrs {
- key: "HW version"
- value: "R01"
- }
- attrs {
- key: "Serial Number"
- value: "142002156"
- }
- attrs {
- key: "platform"
- value: "ES3510MA"
- }
- attrs {
- key: "vendor"
- value: "EdgeCore"
- }
- attrs {
- key: "version"
- value: "1.3.0.8"
- }
- }
- script: "EdgeCore.ES.get_vlans"
- 2012-09-04 17:11:59,139 Running script thread
- 2012-09-04 17:11:59,140 Creating transaction id=498348872 method=None callback=None
- 2012-09-04 17:11:59,140 Running socket factory
- 2012-09-04 17:11:59,141 [script-10.200.10.130-EdgeCore.ES.get_vlans] Running
- 2012-09-04 17:11:59,141 [script-10.200.10.130-EdgeCore.ES.get_vlans] Running script: EdgeCore.ES.get_vlans ({})
- 2012-09-04 17:11:59,141 [script-10.200.10.130-EdgeCore.ES.get_version] Running script: EdgeCore.ES.get_version ({})
- 2012-09-04 17:11:59,142 [script-10.200.10.130-EdgeCore.ES.get_version] Not in call cache: 'EdgeCore.ES.get_version', {}
- 2012-09-04 17:11:59,142 [script-10.200.10.130-EdgeCore.ES.get_version] cli(show system)
- 2012-09-04 17:11:59,142 [script-10.200.10.130-EdgeCore.ES.get_vlans] Running new provider
- 2012-09-04 17:11:59,142 [TELNET: 10.200.10.130] ==> START
- 2012-09-04 17:11:59,142 [TELNET: 10.200.10.130] set_patterns([('([Uu]sername|[Ll]ogin):', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('^(?P<hostname>[^\\n]+)>', 'UNPRIVELEGED_PROMPT'), ('^(?P<hostname>[^\\n]+)(?:\\(config[^)]*\\))?#', 'PROMPT'), ('(---?More---?)|(--- \\[Space\\] Next page, \\[Enter\\] Next line, \\[A\\] All, Others to exit ---)|(Startup configuration file name)', 'PAGER')])
- 2012-09-04 17:11:59,146 [TELNET: 10.200.10.130] set_timeout(30)
- 2012-09-04 17:11:59,146 register_socket(<CLITelnetSocket(0x7febafa42890, 10.200.10.130:23)>,None)
- 2012-09-04 17:12:00,142 Tick
- 2012-09-04 17:12:00,142 3 TICKS TO EXIT
- 2012-09-04 17:12:00,142 [TELNET: 10.200.10.130] Initializing socket
- 2012-09-04 17:12:00,142 set_status(<CLITelnetSocket(0x7febafa42890, 10.200.10.130:23)>, r=True, w=None)
- 2012-09-04 17:12:00,142 [TELNET: 10.200.10.130] Connecting 10.200.10.130:23
- 2012-09-04 17:12:00,156 set_status(<CLITelnetSocket(0x7febafa42890, 10.200.10.130:23)>, r=False, w=True)
- 2012-09-04 17:12:00,159 [TELNET: 10.200.10.130] Connected
- 2012-09-04 17:12:00,160 set_status(<CLITelnetSocket(0x7febafa42890, 10.200.10.130:23)>, r=True, w=False)
- 2012-09-04 17:12:00,165 [TELNET: 10.200.10.130] Received IAC DO TTYPE (253 24)
- 2012-09-04 17:12:00,165 [TELNET: 10.200.10.130] Sending IAC WILL TTYPE (251 24)
- 2012-09-04 17:12:01,166 Tick
- 2012-09-04 17:12:01,166 Resetting wait ticks
- 2012-09-04 17:12:02,168 Tick
- 2012-09-04 17:12:02,168 Resetting wait ticks
- 2012-09-04 17:12:03,169 Tick
- 2012-09-04 17:12:03,169 Resetting wait ticks
- 2012-09-04 17:12:04,170 Tick
- 2012-09-04 17:12:04,170 Resetting wait ticks
- 2012-09-04 17:12:05,172 Tick
- 2012-09-04 17:12:05,172 Resetting wait ticks
- 2012-09-04 17:12:06,173 Tick
- 2012-09-04 17:12:06,173 Resetting wait ticks
- 2012-09-04 17:12:07,174 Tick
- 2012-09-04 17:12:07,175 Resetting wait ticks
- 2012-09-04 17:12:08,175 Tick
- 2012-09-04 17:12:08,175 Resetting wait ticks
- 2012-09-04 17:12:09,176 Tick
- 2012-09-04 17:12:09,176 Resetting wait ticks
- 2012-09-04 17:12:10,178 Tick
- 2012-09-04 17:12:10,178 Resetting wait ticks
- 2012-09-04 17:12:11,179 Tick
- 2012-09-04 17:12:11,179 Resetting wait ticks
- 2012-09-04 17:12:12,181 Tick
- 2012-09-04 17:12:12,181 Resetting wait ticks
- 2012-09-04 17:12:13,182 Tick
- 2012-09-04 17:12:13,182 Resetting wait ticks
- 2012-09-04 17:12:14,183 Tick
- 2012-09-04 17:12:14,184 Resetting wait ticks
- 2012-09-04 17:12:15,185 Tick
- 2012-09-04 17:12:15,185 Resetting wait ticks
- 2012-09-04 17:12:16,186 Tick
- 2012-09-04 17:12:16,186 Resetting wait ticks
- 2012-09-04 17:12:17,188 Tick
- 2012-09-04 17:12:17,188 Resetting wait ticks
- 2012-09-04 17:12:18,189 Tick
- 2012-09-04 17:12:18,189 Resetting wait ticks
- 2012-09-04 17:12:19,191 Tick
- 2012-09-04 17:12:19,191 Resetting wait ticks
- 2012-09-04 17:12:20,192 Tick
- 2012-09-04 17:12:20,192 Resetting wait ticks
- 2012-09-04 17:12:21,193 Tick
- 2012-09-04 17:12:21,193 Resetting wait ticks
- 2012-09-04 17:12:22,195 Tick
- 2012-09-04 17:12:22,195 Resetting wait ticks
- 2012-09-04 17:12:23,196 Tick
- 2012-09-04 17:12:23,196 Resetting wait ticks
- 2012-09-04 17:12:24,197 Tick
- 2012-09-04 17:12:24,197 Resetting wait ticks
- 2012-09-04 17:12:25,198 Tick
- 2012-09-04 17:12:25,198 Resetting wait ticks
- 2012-09-04 17:12:26,200 Tick
- 2012-09-04 17:12:26,200 Resetting wait ticks
- 2012-09-04 17:12:27,201 Tick
- 2012-09-04 17:12:27,201 Resetting wait ticks
- 2012-09-04 17:12:28,202 Tick
- 2012-09-04 17:12:28,202 Resetting wait ticks
- 2012-09-04 17:12:29,203 Tick
- 2012-09-04 17:12:29,203 Resetting wait ticks
- 2012-09-04 17:12:30,204 Tick
- 2012-09-04 17:12:30,204 Resetting wait ticks
- 2012-09-04 17:12:30,204 Closing stale socket <CLITelnetSocket(0x7febafa42890, 10.200.10.130:23)>
- 2012-09-04 17:12:30,204 set_status(<CLITelnetSocket(0x7febafa42890, 10.200.10.130:23)>, r=False, w=False)
- 2012-09-04 17:12:30,205 unregister_socket(<CLITelnetSocket(0x7febafa42890, 10.200.10.130:23)>)
- 2012-09-04 17:12:30,205 set_status(<CLITelnetSocket(0x7febafa42890, 10.200.10.130:23)>, r=False, w=False)
- 2012-09-04 17:12:30,216 [script-10.200.10.130-EdgeCore.ES.get_vlans] Timed out
- 2012-09-04 17:12:30,216 [script-10.200.10.130-EdgeCore.ES.get_vlans] Closing
- 2012-09-04 17:12:30,216 Requesting call: <bound method CLITelnetSocket.close of <CLITelnetSocket(0x7febafa42890, 10.200.10.130:23)>>(*(), **{'flush': True})
- 2012-09-04 17:12:31,205 Tick
- 2012-09-04 17:12:31,206 Calling delayed <bound method CLITelnetSocket.close of <CLITelnetSocket(0x7febafa42890, 10.200.10.130:23)>>(*(), **{'flush': True})
- 2012-09-04 17:12:31,206 3 TICKS TO EXIT
- 2012-09-04 17:12:32,207 Tick
- 2012-09-04 17:12:32,207 2 TICKS TO EXIT
- 2012-09-04 17:12:33,208 Tick
- 2012-09-04 17:12:33,208 1 TICKS TO EXIT
- 2012-09-04 17:12:34,209 Tick
- 2012-09-04 17:12:34,209 EXIT
- 2012-09-04 17:12:34,209 Shutting down the factory
- 2012-09-04 17:12:34,209 0 TICKS TO EXIT
- 2012-09-04 17:12:34,209 Stopping socket factory
Add Comment
Please, Sign In to add comment