Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script: "DLink.DxS.get_interfaces"
- 2012-09-06 14:03:29,010 Running script thread
- 2012-09-06 14:03:29,010 Creating transaction id=1046629573 method=None callback=None
- 2012-09-06 14:03:29,011 Running socket factory
- 2012-09-06 14:03:29,012 [script-10.116.1.19-DLink.DxS.get_interfaces] Running
- 2012-09-06 14:03:29,013 [script-10.116.1.19-DLink.DxS.get_interfaces] Running script: DLink.DxS.get_interfaces ({})
- 2012-09-06 14:03:29,013 [script-10.116.1.19-DLink.DxS.get_interfaces] cli_stream(show ports description)
- 2012-09-06 14:03:29,013 [script-10.116.1.19-DLink.DxS.get_interfaces] Running new provider
- 2012-09-06 14:03:29,014 [SSH: 10.116.1.19] ==> SSH_START
- 2012-09-06 14:03:29,014 [SSH: 10.116.1.19] set_timeout(30)
- 2012-09-06 14:03:29,014 register_socket(<CLISSHSocket(0x8072076d0, 10.116.1.19:22, )>,None)
- 2012-09-06 14:03:30,021 Tick
- 2012-09-06 14:03:30,021 3 TICKS TO EXIT
- 2012-09-06 14:03:30,021 [SSH: 10.116.1.19] Initializing socket
- 2012-09-06 14:03:30,022 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, )> set_status: +READ
- 2012-09-06 14:03:30,022 [SSH: 10.116.1.19] Connecting 10.116.1.19:22
- 2012-09-06 14:03:30,022 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, )> set_status: -READ +WRITE
- 2012-09-06 14:03:30,024 [SSH: 10.116.1.19] Connected
- 2012-09-06 14:03:30,025 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +READ -WRITE
- 2012-09-06 14:03:30,027 [SSH: 10.116.1.19] event(SSH_VERSION)
- 2012-09-06 14:03:30,027 [SSH: 10.116.1.19] ==> SSH_VERSION
- 2012-09-06 14:03:30,027 [SSH: 10.116.1.19] Remote protocol version 2.0, remote software version DLINK Corp. SSH server ver 1.00.000
- 2012-09-06 14:03:30,028 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:30,028 [SSH: 10.116.1.19] Setting SSH transforms to: in=none none, out=none none
- 2012-09-06 14:03:30,028 [SSH: 10.116.1.19] Setting SSH transform keys
- 2012-09-06 14:03:30,028 [SSH: 10.116.1.19] Sending message type MSG_KEXINIT (20)
- 2012-09-06 14:03:30,029 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:30,029 [SSH: 10.116.1.19] event(SSH_KEY_EXCHANGE)
- 2012-09-06 14:03:30,029 [SSH: 10.116.1.19] ==> SSH_KEY_EXCHANGE
- 2012-09-06 14:03:30,029 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: -WRITE
- 2012-09-06 14:03:30,035 [SSH: 10.116.1.19] Receiving message type MSG_KEXINIT (20)
- 2012-09-06 14:03:30,035 [SSH: 10.116.1.19] Receiving server proposals: kex=['diffie-hellman-group1-sha1'] key=['ssh-dss', 'ssh-rsa'] enc_cs=['3des-cbc', 'blowfish-cbc', 'twofish-cbc', 'twofish256-cbc', 'twofish192-cbc', 'twofish128-cbc', 'aes256-cbc', 'aes192-cbc', 'aes128-cbc', 'arcfour', 'cast128-cbc'] enc_sc=['3des-cbc', 'blowfish-cbc', 'twofish-cbc', 'twofish256-cbc', 'twofish192-cbc', 'twofish128-cbc', 'aes256-cbc', 'aes192-cbc', 'aes128-cbc', 'arcfour', 'cast128-cbc'] mac_cs=['hmac-sha1', 'hmac-sha1-96', 'hmac-md5', 'hmac-md5-96'] mac_sc=['hmac-sha1', 'hmac-sha1-96', 'hmac-md5', 'hmac-md5-96'] comp_cs=['none'] comp_sc['none']
- 2012-09-06 14:03:30,036 [SSH: 10.116.1.19] Setting SSH transforms to: in=aes256-cbc hmac-sha1, out=aes256-cbc hmac-sha1
- 2012-09-06 14:03:30,036 [SSH: 10.116.1.19] Selecting diffie-hellman-group1-sha1 ssh-rsa, in=(aes256-cbc hmac-sha1 none) out=(aes256-cbc hmac-sha1 none)
- 2012-09-06 14:03:30,038 [SSH: 10.116.1.19] Sending message type MSG_KEX_DH_GEX_REQUEST_OLD (30)
- 2012-09-06 14:03:30,039 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:30,039 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: -WRITE
- 2012-09-06 14:03:30,633 [SSH: 10.116.1.19] Receiving message type MSG_KEXDH_REPLY (31)
- 2012-09-06 14:03:30,633 [SSH: 10.116.1.19] Server PK fingerprint: 0c:2d:8f:fb:b7:d6:eb:f8:12:82:c1:81:be:8b:53:e9
- 2012-09-06 14:03:30,635 [SSH: 10.116.1.19] Setting SSH transform keys
- 2012-09-06 14:03:30,636 [SSH: 10.116.1.19] Sending message type MSG_NEWKEYS (21)
- 2012-09-06 14:03:30,636 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:30,637 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: -WRITE
- 2012-09-06 14:03:30,637 [SSH: 10.116.1.19] Receiving message type MSG_NEWKEYS (21)
- 2012-09-06 14:03:30,638 [SSH: 10.116.1.19] Using new keys
- 2012-09-06 14:03:30,638 [SSH: 10.116.1.19] event(SSH_AUTH)
- 2012-09-06 14:03:30,638 [SSH: 10.116.1.19] ==> SSH_AUTH
- 2012-09-06 14:03:30,639 [SSH: 10.116.1.19] Requesting service ssh-userauth
- 2012-09-06 14:03:30,639 [SSH: 10.116.1.19] Sending message type MSG_SERVICE_REQUEST (5)
- 2012-09-06 14:03:30,639 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:30,640 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: -WRITE
- 2012-09-06 14:03:30,687 [SSH: 10.116.1.19] Receiving message type MSG_SERVICE_ACCEPT (6)
- 2012-09-06 14:03:30,687 [SSH: 10.116.1.19] Starting service ssh-userauth
- 2012-09-06 14:03:30,687 [SSH: 10.116.1.19] event(SSH_AUTH_PASSWORD)
- 2012-09-06 14:03:30,688 [SSH: 10.116.1.19] ==> SSH_AUTH_PASSWORD
- 2012-09-06 14:03:30,688 [SSH: 10.116.1.19] Authenticating with 'none' method
- 2012-09-06 14:03:30,688 [SSH: 10.116.1.19] Sending message type MSG_USERAUTH_REQUEST (50)
- 2012-09-06 14:03:30,688 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:30,689 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: -WRITE
- 2012-09-06 14:03:30,691 [SSH: 10.116.1.19] Receiving message type MSG_USERAUTH_FAILURE (51)
- 2012-09-06 14:03:30,692 [SSH: 10.116.1.19] Authentication method 'none' has been failed. Trying next method (password)
- 2012-09-06 14:03:30,692 [SSH: 10.116.1.19] Partially authenticated with 'none'. Trying next method
- 2012-09-06 14:03:30,692 [SSH: 10.116.1.19] Authenticating with 'password' method
- 2012-09-06 14:03:30,692 [SSH: 10.116.1.19] Sending message type MSG_USERAUTH_REQUEST (50)
- 2012-09-06 14:03:30,692 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:30,693 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: -WRITE
- 2012-09-06 14:03:30,696 [SSH: 10.116.1.19] Receiving message type MSG_USERAUTH_SUCCESS (52)
- 2012-09-06 14:03:30,696 [SSH: 10.116.1.19] event(SSH_CHANNEL)
- 2012-09-06 14:03:30,696 [SSH: 10.116.1.19] ==> SSH_CHANNEL
- 2012-09-06 14:03:30,696 [SSH: 10.116.1.19] Sending message type MSG_CHANNEL_OPEN (90)
- 2012-09-06 14:03:30,696 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:30,697 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: -WRITE
- 2012-09-06 14:03:30,699 [SSH: 10.116.1.19] Receiving message type MSG_CHANNEL_OPEN_CONFIRMATION (91)
- 2012-09-06 14:03:30,700 [SSH: 10.116.1.19] Opening channel. local=0 remote=0
- 2012-09-06 14:03:30,700 [SSH: 10.116.1.19] event(SSH_PTY)
- 2012-09-06 14:03:30,700 [SSH: 10.116.1.19] ==> SSH_PTY
- 2012-09-06 14:03:30,700 [SSH: 10.116.1.19] Requesting PTY
- 2012-09-06 14:03:30,701 [SSH: 10.116.1.19] Sending message type MSG_CHANNEL_REQUEST (98)
- 2012-09-06 14:03:30,701 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:30,701 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: -WRITE
- 2012-09-06 14:03:30,704 [SSH: 10.116.1.19] Receiving message type MSG_CHANNEL_SUCCESS (99)
- 2012-09-06 14:03:30,704 [SSH: 10.116.1.19] event(SSH_SHELL)
- 2012-09-06 14:03:30,704 [SSH: 10.116.1.19] ==> SSH_SHELL
- 2012-09-06 14:03:30,704 [SSH: 10.116.1.19] Requesting shell
- 2012-09-06 14:03:30,704 [SSH: 10.116.1.19] Sending message type MSG_CHANNEL_REQUEST (98)
- 2012-09-06 14:03:30,705 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:30,705 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: -WRITE
- 2012-09-06 14:03:30,711 [SSH: 10.116.1.19] Receiving message type MSG_CHANNEL_SUCCESS (99)
- 2012-09-06 14:03:30,712 [SSH: 10.116.1.19] event(START)
- 2012-09-06 14:03:30,712 [SSH: 10.116.1.19] ==> START
- 2012-09-06 14:03:30,712 [SSH: 10.116.1.19] set_patterns([('([Uu]ser ?[Nn]ame|[Ll]ogin):', 'USERNAME'), ('[Pp]ass[Ww]ord:', 'PASSWORD'), ('^\\S+:(3|6|user|operator)#', 'UNPRIVELEGED_PROMPT'), ('^(?P<hostname>\\S+(:\\S+)*)#', 'PROMPT'), ('(CTRL\\+C.+?a All)', 'PAGER')])
- 2012-09-06 14:03:30,813 [SSH: 10.116.1.19] on_read: '\x1b[0m\x1b[1;1H\x1b[2J\x1b[1;1H\x1b[2J\rD\r \n\r DES-3010G Fast Ethernet Switch Command Line Interface\n\r\n\r Firmware: Build 4.30.B23\n\r Copyright(C) 2009 D-Link Corporation. All rights reserved.\n\rDES-3010G:4#'
- 2012-09-06 14:03:30,813 [SSH: 10.116.1.19] Starting synchronous FSM check
- 2012-09-06 14:03:30,813 [SSH: 10.116.1.19] match '^(?P<hostname>\S+(:\S+)*)#'
- 2012-09-06 14:03:30,813 [SSH: 10.116.1.19] event(PROMPT)
- 2012-09-06 14:03:30,814 [SSH: 10.116.1.19] ==> PROMPT
- 2012-09-06 14:03:30,814 [SSH: 10.116.1.19] on_PROMPT_enter
- 2012-09-06 14:03:30,814 [SSH: 10.116.1.19] Using prompt pattern: ^DES\-3010G\:4#
- 2012-09-06 14:03:30,814 [SSH: 10.116.1.19] set_patterns([('^DES\\-3010G\\:4#', 'PROMPT'), ('(CTRL\\+C.+?a All)', 'PAGER')])
- 2012-09-06 14:03:30,854 [script-10.116.1.19-DLink.DxS.get_interfaces] CLI Provider is ready
- 2012-09-06 14:03:30,855 [script-10.116.1.19-DLink.DxS.get_interfaces] Setting up session
- 2012-09-06 14:03:30,855 [script-10.116.1.19-DLink.DxS.get_interfaces] cli(show switch)
- 2012-09-06 14:03:30,856 [SSH: 10.116.1.19] submit('show switch', bulk_lines=None, streaming=False)
- 2012-09-06 14:03:30,856 [SSH: 10.116.1.19] Sending message type MSG_CHANNEL_DATA (94)
- 2012-09-06 14:03:30,856 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:31,823 Tick
- 2012-09-06 14:03:31,823 Resetting wait ticks
- 2012-09-06 14:03:31,824 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: -WRITE
- 2012-09-06 14:03:31,837 [SSH: 10.116.1.19] on_read: 's'
- 2012-09-06 14:03:31,939 [SSH: 10.116.1.19] on_read: 'how switch\n\rCommand: show switch\n\r\n\rDevice Type : DES-3010G Fast Ethernet Switch\n\rMAC Address : 00-22-B0-0D-A0-10\n\rIP Address : 10.116.1.19 (Manual)\n\rVLAN Name : upr\n\rSubnet Mask : 255.255.0.0\n\rDefault Gateway : 10.116.0.1\n\rBoot PROM Version : Build 1.01.009\n\rFirmware Version : Build 4.30.B23\n\rHardware Version : A3\n\rSystem Name : \n\rSystem Location : Ilichevskaya5\n\rSystem Contact : \n\rSpanning Tree : Disabled\n\rLoopBack Detection : Disabled'
- 2012-09-06 14:03:31,940 [SSH: 10.116.1.19] on_read: '\n\rIGMP Snooping : Disabled'
- 2012-09-06 14:03:31,940 [SSH: 10.116.1.19] on_read: '\n\rVLAN trunk : Disabled\n\r802.1X : Disabled\n\rTELNET : Disabled\n\rWEB : Enabled(TCP 80)\n\rRMON : Disabled\n\rSSH : Enabled(TCP 22)\n\rPassword Encryption: Enabled\n\r\n\rDES-3010G:4#'
- 2012-09-06 14:03:31,941 [SSH: 10.116.1.19] Starting synchronous FSM check
- 2012-09-06 14:03:31,941 [SSH: 10.116.1.19] match '^DES\-3010G\:4#'
- 2012-09-06 14:03:31,941 [SSH: 10.116.1.19] Starting synchronous FSM check
- 2012-09-06 14:03:31,942 [SSH: 10.116.1.19] event(PROMPT)
- 2012-09-06 14:03:31,980 [script-10.116.1.19-DLink.DxS.get_interfaces] cli(show switch) returns:
- ===[ show switch ]======================================================
- 'Command: show switch\n\nDevice Type : DES-3010G Fast Ethernet Switch\nMAC Address : 00-22-B0-0D-A0-10\nIP Address : 10.116.1.19 (Manual)\nVLAN Name : upr\nSubnet Mask : 255.255.0.0\nDefault Gateway : 10.116.0.1\nBoot PROM Version : Build 1.01.009\nFirmware Version : Build 4.30.B23\nHardware Version : A3\nSystem Name : \nSystem Location : Ilichevskaya5\nSystem Contact : \nSpanning Tree : Disabled\nLoopBack Detection : Disabled\nIGMP Snooping : Disabled\nVLAN trunk : Disabled\n802.1X : Disabled\nTELNET : Disabled\nWEB : Enabled(TCP 80)\nRMON : Disabled\nSSH : Enabled(TCP 22)\nPassword Encryption: Enabled\n\n'
- ========================================================================
- 2012-09-06 14:03:31,980 [script-10.116.1.19-DLink.DxS.get_interfaces] Disable paging
- 2012-09-06 14:03:31,980 [script-10.116.1.19-DLink.DxS.get_interfaces] cli(disable clipaging)
- 2012-09-06 14:03:31,981 [SSH: 10.116.1.19] submit('disable clipaging', bulk_lines=None, streaming=False)
- 2012-09-06 14:03:31,981 [SSH: 10.116.1.19] Sending message type MSG_CHANNEL_DATA (94)
- 2012-09-06 14:03:31,981 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:32,951 Tick
- 2012-09-06 14:03:32,951 Resetting wait ticks
- 2012-09-06 14:03:32,952 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: -WRITE
- 2012-09-06 14:03:32,966 [SSH: 10.116.1.19] on_read: 'd'
- 2012-09-06 14:03:33,095 [SSH: 10.116.1.19] on_read: 'isable clipaging\n\rCommand: disable clipaging\n\r\n\rSuccess \n\r\n\rDES-3010G:4#'
- 2012-09-06 14:03:33,095 [SSH: 10.116.1.19] Starting synchronous FSM check
- 2012-09-06 14:03:33,095 [SSH: 10.116.1.19] match '^DES\-3010G\:4#'
- 2012-09-06 14:03:33,095 [SSH: 10.116.1.19] Starting synchronous FSM check
- 2012-09-06 14:03:33,096 [SSH: 10.116.1.19] event(PROMPT)
- 2012-09-06 14:03:33,103 [script-10.116.1.19-DLink.DxS.get_interfaces] cli(disable clipaging) returns:
- ===[ disable clipaging ]================================================
- 'Command: disable clipaging\n\nSuccess \n\n'
- ========================================================================
- 2012-09-06 14:03:33,103 [SSH: 10.116.1.19] submit('show ports description', bulk_lines=None, streaming=True)
- 2012-09-06 14:03:33,103 [SSH: 10.116.1.19] Sending message type MSG_CHANNEL_DATA (94)
- 2012-09-06 14:03:33,103 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:34,104 Tick
- 2012-09-06 14:03:34,104 Resetting wait ticks
- 2012-09-06 14:03:34,105 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: -WRITE
- 2012-09-06 14:03:34,117 [SSH: 10.116.1.19] on_read: 's'
- 2012-09-06 14:03:34,166 [SSH: 10.116.1.19] on_read: 'how ports description\n\rCommand: show ports description\n\r\n\r Port State/ Settings Connection Address \n\r MDIX Speed/Duplex/FlowCtrl Speed/Duplex/FlowCtrl Learning\n\r ----- -------- --------------------- --------------------- --------\n\r 1 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: '
- 2012-09-06 14:03:34,166 [SSH: 10.116.1.19] on_read: '\n\r '
- 2012-09-06 14:03:34,166 [SSH: 10.116.1.19] on_read: '\n\r 2 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: \n\r \n\r 3 Enabled Auto/Disabled 100M/Full/None Enabled \n\r Auto \n\r Desc: '
- 2012-09-06 14:03:34,167 [SSH: 10.116.1.19] on_read: '\n\r '
- 2012-09-06 14:03:34,167 [SSH: 10.116.1.19] on_read: '\n\r 4 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: \n\r \n\r 5 Enabled Auto/Disabled 100M/Full/None Enabled \n\r Auto \n\r Desc: '
- 2012-09-06 14:03:34,268 [SSH: 10.116.1.19] on_read: '\n\r '
- 2012-09-06 14:03:34,370 [SSH: 10.116.1.19] on_read: '\n\r \x1b[7mCTRL+C\x1b[0m \x1b[7mESC\x1b[0m \x1b[7mq\x1b[0m Quit \x1b[7mSPACE\x1b[0m \x1b[7mn\x1b[0m Next Page \x1b[7mp\x1b[0m Previous Page \x1b[7mr\x1b[0m Refresh '
- 2012-09-06 14:03:35,378 Tick
- 2012-09-06 14:03:35,379 Resetting wait ticks
- 2012-09-06 14:03:36,387 Tick
- 2012-09-06 14:03:36,388 Resetting wait ticks
- 2012-09-06 14:03:36,695 [SSH: 10.116.1.19] on_read: '\x1b[80D\x1b[21A\n\r 1 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: \n\r \n\r 2 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: '
- 2012-09-06 14:03:36,715 [script-10.116.1.19-DLink.DxS.get_interfaces] Next screen. Sending 'n'
- 2012-09-06 14:03:36,715 [SSH: 10.116.1.19] Sending message type MSG_CHANNEL_DATA (94)
- 2012-09-06 14:03:36,716 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:36,796 [SSH: 10.116.1.19] on_read: '\n\r '
- 2012-09-06 14:03:36,797 [SSH: 10.116.1.19] on_read: '\n\r 3 Enabled Auto/Disabled 100M/Full/None Enabled \n\r Auto \n\r Desc: \n\r \n\r 4 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: '
- 2012-09-06 14:03:36,797 [SSH: 10.116.1.19] on_read: '\n\r '
- 2012-09-06 14:03:36,798 [SSH: 10.116.1.19] on_read: '\n\r 5 Enabled Auto/Disabled 100M/Full/None Enabled \n\r Auto \n\r Desc: \n\r '
- 2012-09-06 14:03:36,798 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: -WRITE
- 2012-09-06 14:03:36,805 [SSH: 10.116.1.19] on_read: '\x1b[80D\x1b[20A\n\r 6 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: \n\r \n\r 7 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: '
- 2012-09-06 14:03:36,907 [SSH: 10.116.1.19] on_read: '\n\r '
- 2012-09-06 14:03:36,908 [SSH: 10.116.1.19] on_read: '\n\r 8 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: \n\r \n\r 9 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: '
- 2012-09-06 14:03:36,908 [SSH: 10.116.1.19] on_read: '\n\r '
- 2012-09-06 14:03:36,909 [SSH: 10.116.1.19] on_read: '\n\r 10 Enabled Auto/Disabled 1000M/Full/None Enabled \n\r - \n\r Desc: \n\r '
- 2012-09-06 14:03:37,918 Tick
- 2012-09-06 14:03:37,918 Resetting wait ticks
- 2012-09-06 14:03:38,895 [SSH: 10.116.1.19] on_read: '\x1b[80D\x1b[20A\n\r 6 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: \n\r \n\r 7 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: '
- 2012-09-06 14:03:38,900 [script-10.116.1.19-DLink.DxS.get_interfaces] Next screen. Sending 'n'
- 2012-09-06 14:03:38,900 [SSH: 10.116.1.19] Sending message type MSG_CHANNEL_DATA (94)
- 2012-09-06 14:03:38,900 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:38,997 [SSH: 10.116.1.19] on_read: '\n\r '
- 2012-09-06 14:03:38,997 [SSH: 10.116.1.19] on_read: '\n\r 8 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: \n\r \n\r 9 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: '
- 2012-09-06 14:03:38,998 [SSH: 10.116.1.19] on_read: '\n\r '
- 2012-09-06 14:03:38,998 [SSH: 10.116.1.19] on_read: '\n\r 10 Enabled Auto/Disabled 1000M/Full/None Enabled \n\r - \n\r Desc: \n\r '
- 2012-09-06 14:03:38,998 Tick
- 2012-09-06 14:03:38,998 Resetting wait ticks
- 2012-09-06 14:03:38,999 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: -WRITE
- 2012-09-06 14:03:39,005 [SSH: 10.116.1.19] on_read: '\x1b[80D\x1b[20A\n\r 6 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: \n\r \n\r 7 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: '
- 2012-09-06 14:03:39,107 [SSH: 10.116.1.19] on_read: '\n\r '
- 2012-09-06 14:03:39,107 [SSH: 10.116.1.19] on_read: '\n\r 8 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: \n\r \n\r 9 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: '
- 2012-09-06 14:03:39,108 [SSH: 10.116.1.19] on_read: '\n\r '
- 2012-09-06 14:03:39,108 [SSH: 10.116.1.19] on_read: '\n\r 10 Enabled Auto/Disabled 1000M/Full/None Enabled \n\r - \n\r Desc: \n\r '
- 2012-09-06 14:03:40,117 Tick
- 2012-09-06 14:03:40,117 Resetting wait ticks
- 2012-09-06 14:03:41,095 [SSH: 10.116.1.19] on_read: '\x1b[80D\x1b[20A\n\r 6 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: \n\r \n\r 7 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: '
- 2012-09-06 14:03:41,196 [SSH: 10.116.1.19] on_read: '\n\r '
- 2012-09-06 14:03:41,197 [SSH: 10.116.1.19] on_read: '\n\r 8 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: \n\r \n\r 9 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: '
- 2012-09-06 14:03:41,197 [SSH: 10.116.1.19] on_read: '\n\r '
- 2012-09-06 14:03:41,198 [SSH: 10.116.1.19] on_read: '\n\r 10 Enabled Auto/Disabled 1000M/Full/None Enabled \n\r - \n\r Desc: \n\r '
- 2012-09-06 14:03:41,198 Tick
- 2012-09-06 14:03:41,198 Resetting wait ticks
- 2012-09-06 14:03:42,207 Tick
- 2012-09-06 14:03:42,208 Resetting wait ticks
- 2012-09-06 14:03:43,216 Tick
- 2012-09-06 14:03:43,217 Resetting wait ticks
- 2012-09-06 14:03:43,295 [SSH: 10.116.1.19] on_read: '\x1b[80D\x1b[20A\n\r 6 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: \n\r \n\r 7 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: '
- 2012-09-06 14:03:43,342 [script-10.116.1.19-DLink.DxS.get_interfaces] Stopping stream. Sending 'q'
- 2012-09-06 14:03:43,342 [SSH: 10.116.1.19] Sending message type MSG_CHANNEL_DATA (94)
- 2012-09-06 14:03:43,343 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:43,397 [SSH: 10.116.1.19] on_read: '\n\r '
- 2012-09-06 14:03:43,398 [SSH: 10.116.1.19] on_read: '\n\r 8 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: \n\r \n\r 9 Enabled Auto/Disabled LinkDown Enabled \n\r Auto \n\r Desc: '
- 2012-09-06 14:03:43,398 [SSH: 10.116.1.19] on_read: '\n\r '
- 2012-09-06 14:03:43,399 [SSH: 10.116.1.19] on_read: '\n\r 10 Enabled Auto/Disabled 1000M/Full/None Enabled \n\r - \n\r Desc: \n\r '
- 2012-09-06 14:03:43,400 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: -WRITE
- 2012-09-06 14:03:43,415 [SSH: 10.116.1.19] on_read: '\x1b[80D\x1b[1B\r \x1b[1A\n\r\n\rDES-3010G:4#'
- 2012-09-06 14:03:43,415 [SSH: 10.116.1.19] Starting synchronous FSM check
- 2012-09-06 14:03:43,415 [SSH: 10.116.1.19] match '^DES\-3010G\:4#'
- 2012-09-06 14:03:43,416 [SSH: 10.116.1.19] Starting synchronous FSM check
- 2012-09-06 14:03:43,416 [SSH: 10.116.1.19] event(PROMPT)
- 2012-09-06 14:03:44,424 Tick
- 2012-09-06 14:03:44,425 Resetting wait ticks
- 2012-09-06 14:03:45,433 Tick
- 2012-09-06 14:03:45,434 Resetting wait ticks
- 2012-09-06 14:03:46,442 Tick
- 2012-09-06 14:03:46,443 Resetting wait ticks
- 2012-09-06 14:03:47,452 Tick
- 2012-09-06 14:03:47,452 Resetting wait ticks
- 2012-09-06 14:03:48,459 [script-10.116.1.19-DLink.DxS.get_interfaces] cli(show vlan)
- 2012-09-06 14:03:48,460 [SSH: 10.116.1.19] submit('show vlan', bulk_lines=None, streaming=False)
- 2012-09-06 14:03:48,460 [SSH: 10.116.1.19] Sending message type MSG_CHANNEL_DATA (94)
- 2012-09-06 14:03:48,460 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:48,460 [script-10.116.1.19-DLink.DxS.get_interfaces] cli(show vlan) returns:
- ===[ show vlan ]========================================================
- ''
- ========================================================================
- 2012-09-06 14:03:48,461 Tick
- 2012-09-06 14:03:48,461 Resetting wait ticks
- 2012-09-06 14:03:48,462 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: -WRITE
- [{'oper_status': False, 'admin_status': True, 'type': 'physical', 'name': '1', 'subinterfaces': [{'oper_status': False, 'is_bridge': True, 'admin_status': True, 'name': '1'}]}, {'oper_status': False, 'admin_status': True, 'type': 'physical', 'name': '2', 'subinterfaces': [{'oper_status': False, 'is_bridge': True, 'admin_status': True, 'name': '2'}]}, {'oper_status': True, 'admin_status': True, 'type': 'physical', 'name': '3', 'subinterfaces': [{'oper_status': True, 'is_bridge': True, 'admin_status': True, 'name': '3'}]}, {'oper_status': False, 'admin_status': True, 'type': 'physical', 'name': '4', 'subinterfaces': [{'oper_status': False, 'is_bridge': True, 'admin_status': True, 'name': '4'}]}, {'oper_status': True, 'admin_status': True, 'type': 'physical', 'name': '5', 'subinterfaces': [{'oper_status': True, 'is_bridge': True, 'admin_status': True, 'name': '5'}]}, {'oper_status': False, 'admin_status': True, 'type': 'physical', 'name': '6', 'subinterfaces': [{'oper_status': False, 'is_bridge': True, 'admin_status': True, 'name': '6'}]}, {'oper_status': False, 'admin_status': True, 'type': 'physical', 'name': '7', 'subinterfaces': [{'oper_status': False, 'is_bridge': True, 'admin_status': True, 'name': '7'}]}, {'oper_status': False, 'admin_status': True, 'type': 'physical', 'name': '8', 'subinterfaces': [{'oper_status': False, 'is_bridge': True, 'admin_status': True, 'name': '8'}]}, {'oper_status': False, 'admin_status': True, 'type': 'physical', 'name': '9', 'subinterfaces': [{'oper_status': False, 'is_bridge': True, 'admin_status': True, 'name': '9'}]}]
- 2012-09-06 14:03:48,465 [script-10.116.1.19-DLink.DxS.get_interfaces] Script returns with result: [{'interfaces': [{'oper_status': False, 'admin_status': True, 'type': 'physical', 'name': '1', 'subinterfaces': [{'is_bridge': True, 'admin_status': True, 'oper_status': False, 'name': '1'}]}, {'oper_status': False, 'admin_status': True, 'type': 'physical', 'name': '2', 'subinterfaces': [{'is_bridge': True, 'admin_status': True, 'oper_status': False, 'name': '2'}]}, {'oper_status': True, 'admin_status': True, 'type': 'physical', 'name': '3', 'subinterfaces': [{'is_bridge': True, 'admin_status': True, 'oper_status': True, 'name': '3'}]}, {'oper_status': False, 'admin_status': True, 'type': 'physical', 'name': '4', 'subinterfaces': [{'is_bridge': True, 'admin_status': True, 'oper_status': False, 'name': '4'}]}, {'oper_status': True, 'admin_status': True, 'type': 'physical', 'name': '5', 'subinterfaces': [{'is_bridge': True, 'admin_status': True, 'oper_status': True, 'name': '5'}]}, {'oper_status': False, 'admin_status': True, 'type': 'physical', 'name': '6', 'subinterfaces': [{'is_bridge': True, 'admin_status': True, 'oper_status': False, 'name': '6'}]}, {'oper_status': False, 'admin_status': True, 'type': 'physical', 'name': '7', 'subinterfaces': [{'is_bridge': True, 'admin_status': True, 'oper_status': False, 'name': '7'}]}, {'oper_status': False, 'admin_status': True, 'type': 'physical', 'name': '8', 'subinterfaces': [{'is_bridge': True, 'admin_status': True, 'oper_status': False, 'name': '8'}]}, {'oper_status': False, 'admin_status': True, 'type': 'physical', 'name': '9', 'subinterfaces': [{'is_bridge': True, 'admin_status': True, 'oper_status': False, 'name': '9'}]}], 'type': 'ip', 'forwarding_instance': 'default'}]
- 2012-09-06 14:03:48,465 [script-10.116.1.19-DLink.DxS.get_interfaces] Shutting down session
- 2012-09-06 14:03:48,466 [script-10.116.1.19-DLink.DxS.get_interfaces] cli(disable clipaging)
- 2012-09-06 14:03:48,466 [SSH: 10.116.1.19] submit('disable clipaging', bulk_lines=None, streaming=False)
- 2012-09-06 14:03:48,466 [SSH: 10.116.1.19] Sending message type MSG_CHANNEL_DATA (94)
- 2012-09-06 14:03:48,466 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:48,467 [script-10.116.1.19-DLink.DxS.get_interfaces] cli(disable clipaging) returns:
- ===[ disable clipaging ]================================================
- ''
- ========================================================================
- 2012-09-06 14:03:48,467 [script-10.116.1.19-DLink.DxS.get_interfaces] Exiting
- 2012-09-06 14:03:48,467 [SSH: 10.116.1.19] submit('logout', bulk_lines=None, streaming=False)
- 2012-09-06 14:03:48,468 [SSH: 10.116.1.19] Sending message type MSG_CHANNEL_DATA (94)
- 2012-09-06 14:03:48,468 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: +WRITE
- 2012-09-06 14:03:48,468 [script-10.116.1.19-DLink.DxS.get_interfaces] Closing
- 2012-09-06 14:03:48,468 Requesting call: <bound method CLISSHSocket.close of <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)>>(*(), **{'flush': True})
- 2012-09-06 14:03:48,476 [SSH: 10.116.1.19] on_read: 's'
- 2012-09-06 14:03:48,476 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, connected)> set_status: -WRITE
- 2012-09-06 14:03:48,485 [SSH: 10.116.1.19] on_read: 'how vlan\n\rCommand: show vlan\n\r\n\r\n\rVID : 1 VLAN Name : default\n\rVLAN Type : static \n\rMember ports : \n\rStatic ports : \n\rTagged ports : \n\rUntagged ports : '
- 2012-09-06 14:03:48,554 [SSH: 10.116.1.19] on_read: '\n\r\n\rVID : 121 VLAN Name : user\n\rVLAN Type : static \n\rMember ports : 1-10 \n\rStatic ports : 1-10 \n\rTagged ports : 10 \n\rUntagged ports : 1-9 '
- 2012-09-06 14:03:48,555 [SSH: 10.116.1.19] on_read: '\n\r\n\rVID : 256 VLAN Name : upr\n\rVLAN Type : static \n\rMember ports : 10 \n\rStatic ports : 10 \n\rTagged ports : 10 \n\rUntagged ports : \n\r\n\r\n\rTotal Entries : 3\n\r\n\rDES-3010G:4#able clipaging\n\r\n\rAvailable commands: \n\r.. ? cable_diag clear \n\rconfig create delete dir \n\rdisable '
- 2012-09-06 14:03:48,555 [SSH: 10.116.1.19] Starting synchronous FSM check
- 2012-09-06 14:03:48,555 [SSH: 10.116.1.19] match '^DES\-3010G\:4#'
- 2012-09-06 14:03:48,556 [SSH: 10.116.1.19] Starting synchronous FSM check
- 2012-09-06 14:03:48,556 [SSH: 10.116.1.19] event(PROMPT)
- 2012-09-06 14:03:48,556 [SSH: 10.116.1.19] on_read: 'download '
- 2012-09-06 14:03:48,556 [SSH: 10.116.1.19] on_read: 'enable login \n\rlogout ping reboot reconfig \n\rreset save show smtp \n\rupload \n\r\n\rDES-3010G:4#l'
- 2012-09-06 14:03:48,557 [SSH: 10.116.1.19] Starting synchronous FSM check
- 2012-09-06 14:03:48,557 [SSH: 10.116.1.19] match '^DES\-3010G\:4#'
- 2012-09-06 14:03:48,557 [SSH: 10.116.1.19] Starting synchronous FSM check
- 2012-09-06 14:03:48,557 [SSH: 10.116.1.19] event(PROMPT)
- 2012-09-06 14:03:48,557 unregister_socket(<CLISSHSocket(0x8072076d0, 10.116.1.19:22, closing)>)
- 2012-09-06 14:03:48,558 <CLISSHSocket(0x8072076d0, 10.116.1.19:22, closing)> set_status: -READ -WRITE
- 2012-09-06 14:03:49,567 Tick
- 2012-09-06 14:03:49,567 Calling delayed <bound method CLISSHSocket.close of <CLISSHSocket(0x8072076d0, 10.116.1.19:22, closing)>>(*(), **{'flush': True})
- 2012-09-06 14:03:49,567 3 TICKS TO EXIT
- 2012-09-06 14:03:50,576 Tick
- 2012-09-06 14:03:50,576 2 TICKS TO EXIT
- 2012-09-06 14:03:51,585 Tick
- 2012-09-06 14:03:51,585 1 TICKS TO EXIT
- 2012-09-06 14:03:52,594 Tick
- 2012-09-06 14:03:52,594 EXIT
- 2012-09-06 14:03:52,595 Writing session test to output.txt
- 2012-09-06 14:03:52,704 SCRIPT RESULT: script-10.116.1.19-DLink.DxS.get_interfaces
- [{'forwarding_instance': 'default',
- 'interfaces': [{'admin_status': True,
- 'name': '1',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': True,
- 'is_bridge': True,
- 'name': '1',
- 'oper_status': False}],
- 'type': 'physical'},
- {'admin_status': True,
- 'name': '2',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': True,
- 'is_bridge': True,
- 'name': '2',
- 'oper_status': False}],
- 'type': 'physical'},
- {'admin_status': True,
- 'name': '3',
- 'oper_status': True,
- 'subinterfaces': [{'admin_status': True,
- 'is_bridge': True,
- 'name': '3',
- 'oper_status': True}],
- 'type': 'physical'},
- {'admin_status': True,
- 'name': '4',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': True,
- 'is_bridge': True,
- 'name': '4',
- 'oper_status': False}],
- 'type': 'physical'},
- {'admin_status': True,
- 'name': '5',
- 'oper_status': True,
- 'subinterfaces': [{'admin_status': True,
- 'is_bridge': True,
- 'name': '5',
- 'oper_status': True}],
- 'type': 'physical'},
- {'admin_status': True,
- 'name': '6',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': True,
- 'is_bridge': True,
- 'name': '6',
- 'oper_status': False}],
- 'type': 'physical'},
- {'admin_status': True,
- 'name': '7',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': True,
- 'is_bridge': True,
- 'name': '7',
- 'oper_status': False}],
- 'type': 'physical'},
- {'admin_status': True,
- 'name': '8',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': True,
- 'is_bridge': True,
- 'name': '8',
- 'oper_status': False}],
- 'type': 'physical'},
- {'admin_status': True,
- 'name': '9',
- 'oper_status': False,
- 'subinterfaces': [{'admin_status': True,
- 'is_bridge': True,
- 'name': '9',
- 'oper_status': False}],
- 'type': 'physical'}],
- 'type': 'ip'}]
- 2012-09-06 14:03:52,705 Shutting down the factory
- 2012-09-06 14:03:52,705 0 TICKS TO EXIT
- 2012-09-06 14:03:52,705 Stopping socket factory
- %
Add Comment
Please, Sign In to add comment