Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- └─[$] <> ./noc debug-script get_ip_discovery Eshpaya_163_1 -o /tmp/s2326_get_ip_discovery
- /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.
- _warn("Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning)
- 2013-12-05 11:18:15,966 SSH: Using gmpy
- /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.
- DeprecationWarning)
- 2013-12-05 11:18:16,202 Using JSON library: cjson
- 2013-12-05 11:18:16,507 Loading PeriodicRegistry
- 2013-12-05 11:18:16,514 Loading DownloaderRegistry
- 2013-12-05 11:18:16,568 Loading ProfileRegistry
- 2013-12-05 11:18:17,871 Loading ScriptRegistry
- 2013-12-05 11:18:18,410 Setting up 'select' polling method
- 2013-12-05 11:18:18,411 Activating 'select' poller
- 2013-12-05 11:18:18,411 Loading private ssh key from 'etc/ssh/id_rsa'
- 2013-12-05 11:18:18,412 Loading public ssh key from 'etc/ssh/id_rsa.pub'
- access_profile {
- profile: "Huawei.VRP"
- scheme: TELNET
- address: "10.12.70.40"
- user: "admin"
- password: "admin"
- super_password: "admin"
- attrs {
- key: "image"
- value: "V100R006C03"
- }
- attrs {
- key: "platform"
- value: "S2326TP-EI"
- }
- attrs {
- key: "vendor"
- value: "Huawei"
- }
- attrs {
- key: "version"
- value: "5.70"
- }
- }
- object_name: "Eshpaya_163_1"
- script: "Huawei.VRP.get_ip_discovery"
- 2013-12-05 11:18:18,432 Running script thread
- 2013-12-05 11:18:18,433 Creating transaction id=1371375493 method=None callback=None
- 2013-12-05 11:18:18,432 Running socket factory (SelectPoller)
- 2013-12-05 11:18:18,434 [Generic.get_ip_discovery(Eshpaya_163_1, 10.12.70.40)] Running
- 2013-12-05 11:18:18,434 [Generic.get_ip_discovery(Eshpaya_163_1, 10.12.70.40)] Running script: Generic.get_ip_discovery ({})
- 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 ({})
- 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)
- 2013-12-05 11:18:18,434 [Generic.get_ip_discovery(Eshpaya_163_1, 10.12.70.40)] Running new provider
- 2013-12-05 11:18:18,435 [TELNET: 10.12.70.40] ==> START
- 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')])
- 2013-12-05 11:18:18,437 [TELNET: 10.12.70.40] set_timeout(600)
- 2013-12-05 11:18:18,437 register_socket(<CLITelnetSocket(0x3da07d0, 10.12.70.40:23, )>,None)
- 2013-12-05 11:18:19,457 Tick
- 2013-12-05 11:18:19,457 3 TICKS TO EXIT
- 2013-12-05 11:18:19,457 [TELNET: 10.12.70.40] Initializing socket
- 2013-12-05 11:18:19,458 [TELNET: 10.12.70.40] Connecting 10.12.70.40:23
- 2013-12-05 11:18:19,472 [TELNET: 10.12.70.40] Connected
- 2013-12-05 11:18:19,489 [TELNET: 10.12.70.40] Received IAC WILL ECHO (251 1)
- 2013-12-05 11:18:19,489 [TELNET: 10.12.70.40] Sending IAC DO ECHO (253 1)
- 2013-12-05 11:18:19,489 [TELNET: 10.12.70.40] Received IAC WILL ECHO (251 1)
- 2013-12-05 11:18:19,489 [TELNET: 10.12.70.40] Sending IAC DO ECHO (253 1)
- 2013-12-05 11:18:19,490 [TELNET: 10.12.70.40] Received IAC WILL ECHO (251 1)
- 2013-12-05 11:18:19,490 [TELNET: 10.12.70.40] Sending IAC DO ECHO (253 1)
- 2013-12-05 11:18:19,494 [TELNET: 10.12.70.40] Received IAC WILL SGA (251 3)
- 2013-12-05 11:18:19,494 [TELNET: 10.12.70.40] Sending IAC DO SGA (253 3)
- 2013-12-05 11:18:19,494 [TELNET: 10.12.70.40] Received IAC DO TTYPE (253 24)
- 2013-12-05 11:18:19,494 [TELNET: 10.12.70.40] Sending IAC WILL TTYPE (251 24)
- 2013-12-05 11:18:19,494 [TELNET: 10.12.70.40] Received IAC DO NAWS (253 31)
- 2013-12-05 11:18:19,495 [TELNET: 10.12.70.40] Sending IAC WILL NAWS (251 31)
- 2013-12-05 11:18:19,495 [TELNET: 10.12.70.40] Sending SB '\xff\xfa\x1f\xff\xff\xff\xff\xff\xf0'
- 2013-12-05 11:18:19,510 [TELNET: 10.12.70.40] on_read: '\r'
- 2013-12-05 11:18:19,617 [TELNET: 10.12.70.40] on_read: '\r\n\r\nLogin authentication\r\n\r\n'
- 2013-12-05 11:18:19,621 [TELNET: 10.12.70.40] on_read: '\r\nUsername:'
- 2013-12-05 11:18:19,621 [TELNET: 10.12.70.40] Starting synchronous FSM check
- 2013-12-05 11:18:19,621 [TELNET: 10.12.70.40] match '([Uu]sername|[Ll]ogin):'
- 2013-12-05 11:18:19,621 [TELNET: 10.12.70.40] event(USERNAME)
- 2013-12-05 11:18:19,621 [TELNET: 10.12.70.40] ==> USERNAME
- 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')])
- 2013-12-05 11:18:19,621 [TELNET: 10.12.70.40] submit(u'admin', bulk_lines=None, streaming=False)
- 2013-12-05 11:18:19,633 [TELNET: 10.12.70.40] Received SB '\x18\x01'
- 2013-12-05 11:18:19,633 [TELNET: 10.12.70.40] Sending SB '\xff\xfa\x18\x00XTERM\xff\xf0'
- 2013-12-05 11:18:19,666 [TELNET: 10.12.70.40] on_read: 'admin'
- 2013-12-05 11:18:19,666 [TELNET: 10.12.70.40] on_read: '\r\nPassword:'
- 2013-12-05 11:18:19,667 [TELNET: 10.12.70.40] Starting synchronous FSM check
- 2013-12-05 11:18:19,667 [TELNET: 10.12.70.40] match '[Pp]assword:'
- 2013-12-05 11:18:19,667 [TELNET: 10.12.70.40] event(PASSWORD)
- 2013-12-05 11:18:19,667 [TELNET: 10.12.70.40] ==> PASSWORD
- 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')])
- 2013-12-05 11:18:19,667 [TELNET: 10.12.70.40] submit(u'admin', bulk_lines=None, streaming=False)
- 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.'
- 2013-12-05 11:18:19,899 [TELNET: 10.12.70.40] on_read: '\r\n<Eshpaya_163_1>'
- 2013-12-05 11:18:20,901 Tick
- 2013-12-05 11:18:20,901 Resetting wait ticks
- 2013-12-05 11:18:21,904 Tick
- 2013-12-05 11:18:21,904 Resetting wait ticks
- 2013-12-05 11:18:22,905 Tick
- 2013-12-05 11:18:22,905 Resetting wait ticks
- 2013-12-05 11:18:23,905 Tick
- 2013-12-05 11:18:23,906 Resetting wait ticks
- 2013-12-05 11:18:24,907 Tick
- 2013-12-05 11:18:24,907 Resetting wait ticks
- 2013-12-05 11:18:25,908 Tick
- 2013-12-05 11:18:25,908 Resetting wait ticks
- 2013-12-05 11:18:26,909 Tick
- 2013-12-05 11:18:26,909 Resetting wait ticks
- 2013-12-05 11:18:27,910 Tick
- 2013-12-05 11:18:27,910 Resetting wait ticks
- 2013-12-05 11:18:28,913 Tick
- 2013-12-05 11:18:28,913 Resetting wait ticks
- ^C2013-12-05 11:18:29,455 SIGINT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement