Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@noc:/opt/noc# ./noc debug-script get_lldp_neighbors jex2200-svao-sv-fl-0-A-1
- 2015-07-24 16:50:15,551 Using JSON library: cjson
- 2015-07-24 16:50:15,559 SSH: Using gmpy
- 2015-07-24 16:50:15,651 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
- 2015-07-24 16:50:15,736 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
- 2015-07-24 16:50:15,744 Loading PeriodicRegistry
- 2015-07-24 16:50:15,757 Registering MetricType
- 2015-07-24 16:50:15,762 Loading compiled MIBs
- 2015-07-24 16:50:15,762 Loading compiled MIBs from 'cmibs'
- 2015-07-24 16:50:15,763 Loading MIB: CISCO-VPDN-MGMT-MIB
- 2015-07-24 16:50:15,763 Loading MIB: RFC1213-MIB
- 2015-07-24 16:50:15,763 Loading MIB: SNMPv2-MIB
- 2015-07-24 16:50:15,763 Loading MIB: IF-MIB
- 2015-07-24 16:50:15,763 Loading MIB: CISCO-PPPOE-MIB
- 2015-07-24 16:50:15,764 Loading MIB: IP-MIB
- 2015-07-24 16:50:15,770 Configuring metric mappings sa.managedobject -> object.{{object.name|qm}}.{{metric_type|qm}}
- 2015-07-24 16:50:15,770 Configuring metric mappings inv.interface -> object.{{object.managed_object.name|qm}}.interface.{{object.name|qm}}.{{metric_type|qm}}
- 2015-07-24 16:50:15,772 Loading DownloaderRegistry
- 2015-07-24 16:50:15,798 Loading ProfileRegistry
- 2015-07-24 16:50:16,919 Loading ScriptRegistry
- 2015-07-24 16:50:16,994 Adding FTS index for sa.managedobject
- 2015-07-24 16:50:17,004 Registering ConnectionType
- 2015-07-24 16:50:17,008 Registering ObjectModel
- 2015-07-24 16:50:17,009 Registering Capability
- 2015-07-24 16:50:17,014 Adding FTS index for vc.vc
- 2015-07-24 16:50:17,026 Adding FTS index for ip.vrf
- 2015-07-24 16:50:17,028 Adding FTS index for ip.prefix
- 2015-07-24 16:50:17,029 Adding FTS index for ip.address
- 2015-07-24 16:50:17,182 Setting up 'select' polling method
- 2015-07-24 16:50:17,182 Activating 'select' poller
- 2015-07-24 16:50:17,182 Loading private ssh key from 'etc/ssh/id_rsa'
- 2015-07-24 16:50:17,183 Loading public ssh key from 'etc/ssh/id_rsa.pub'
- access_profile {
- profile: "Juniper.JUNOS"
- scheme: SSH
- address: "10.36.157.63"
- user: "admin"
- password: "f8aNhGYv"
- attrs {
- key: "platform"
- value: "ex2200-24p-4g"
- }
- attrs {
- key: "vendor"
- value: "Juniper"
- }
- attrs {
- key: "version"
- value: "11.4R7.5"
- }
- caps {
- capability: "SNMP"
- bool_value: true
- }
- caps {
- capability: "SNMP | Bulk"
- bool_value: true
- }
- caps {
- capability: "SNMP | IF-MIB"
- bool_value: true
- }
- caps {
- capability: "SNMP | IF-MIB | HC"
- bool_value: true
- }
- }
- object_name: "jex2200-svao-sv-fl-0-A-1"
- script: "Juniper.JUNOS.get_lldp_neighbors"
- timeout: 120
- 2015-07-24 16:50:17,184 Running script thread
- 2015-07-24 16:50:17,184 Creating transaction id=1131617347 method=None callback=None
- 2015-07-24 16:50:17,185 Running socket factory (SelectPoller)
- 2015-07-24 16:50:17,185 Capabilities: {u'SNMP | IF-MIB': True, u'SNMP | Bulk': True, u'SNMP': True, u'SNMP | IF-MIB | HC': True}
- 2015-07-24 16:50:17,186 Running
- 2015-07-24 16:50:17,186 Running script: Juniper.JUNOS.get_lldp_neighbors ({}), timeout 120s
- 2015-07-24 16:50:17,186 Capabilities: {u'SNMP | IF-MIB': True, u'SNMP | Bulk': True, u'SNMP': True, u'SNMP | IF-MIB | HC': True}
- 2015-07-24 16:50:17,186 Running script: Juniper.JUNOS.get_version ({}), timeout 120s
- 2015-07-24 16:50:17,186 Not in call cache: 'Juniper.JUNOS.get_version', {}
- 2015-07-24 16:50:17,186 cli(show version)
- 2015-07-24 16:50:17,187 Running new provider
- 2015-07-24 16:50:17,187 [CLISSHSocket(0x7f71031bfe50)]<None> ==> SSH_START
- 2015-07-24 16:50:17,187 [CLISSHSocket(0x7f71031bfe50)]<SSH_START> Set FSM timeout to 30
- 2015-07-24 16:50:17,187 Register socket CLISSHSocket 10.36.157.63:22 (None)
- 2015-07-24 16:50:18,186 Tick
- 2015-07-24 16:50:18,186 3 TICKS TO EXIT
- 2015-07-24 16:50:18,186 [CLISSHSocket(0x7f71031bfe50)]<SSH_START> Initializing socket
- 2015-07-24 16:50:18,186 [CLISSHSocket 10.36.157.63:22] Connecting 10.36.157.63:22
- 2015-07-24 16:50:18,188 [CLISSHSocket 10.36.157.63:22] create_socket returns non-zero code 115[EINPROGRESS]
- 2015-07-24 16:50:18,275 [CLISSHSocket 10.36.157.63:22] Connected
- 2015-07-24 16:50:18,978 [CLISSHSocket(0x7f71031bfe50)]<SSH_START> event(SSH_VERSION)
- 2015-07-24 16:50:18,978 [CLISSHSocket(0x7f71031bfe50)]<SSH_START> ==> SSH_VERSION
- 2015-07-24 16:50:18,978 [CLISSHSocket 10.36.157.63:22] Remote protocol version 2.0, remote software version OpenSSH_5.8
- 2015-07-24 16:50:18,978 [CLISSHSocket(0x7f71031bfe50)]<SSH_VERSION> Setting SSH transforms to: in=none none, out=none none
- 2015-07-24 16:50:18,979 [CLISSHSocket(0x7f71031bfe50)]<SSH_VERSION> Setting SSH transform keys
- 2015-07-24 16:50:18,979 [CLISSHSocket 10.36.157.63:22] Sending message type MSG_KEXINIT (20)
- 2015-07-24 16:50:18,979 [CLISSHSocket(0x7f71031bfe50)]<SSH_VERSION> event(SSH_KEY_EXCHANGE)
- 2015-07-24 16:50:18,979 [CLISSHSocket(0x7f71031bfe50)]<SSH_VERSION> ==> SSH_KEY_EXCHANGE
- 2015-07-24 16:50:19,055 [CLISSHSocket 10.36.157.63:22] Receiving message type MSG_KEXINIT (20)
- 2015-07-24 16:50:19,056 [CLISSHSocket 10.36.157.63:22] Receiving server proposals: kex=['ecdh-sha2-nistp256', 'ecdh-sha2-nistp384', 'ecdh-sha2-nistp521', 'diffie-hellman-group-exchange-sha256', 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] key=['ssh-rsa', 'ssh-dss', 'ecdsa-sha2-nistp256'] enc_cs=['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijndael-cbc@lysator.liu.se'] enc_sc=['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijndael-cbc@lysator.liu.se'] mac_cs=['hmac-md5', 'hmac-sha1', 'umac-64@openssh.com', 'hmac-ripemd160', 'hmac-ripemd160@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] mac_sc=['hmac-md5', 'hmac-sha1', 'umac-64@openssh.com', 'hmac-ripemd160', 'hmac-ripemd160@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] comp_cs=['none', 'zlib@openssh.com'] comp_sc['none', 'zlib@openssh.com']
- 2015-07-24 16:50:19,056 [CLISSHSocket(0x7f71031bfe50)]<SSH_KEY_EXCHANGE> Setting SSH transforms to: in=aes256-ctr hmac-sha1, out=aes256-ctr hmac-sha1
- 2015-07-24 16:50:19,056 [CLISSHSocket 10.36.157.63:22] Selecting diffie-hellman-group14-sha1 ecdsa-sha2-nistp256, in=(aes256-ctr hmac-sha1 zlib@openssh.com) out=(aes256-ctr hmac-sha1 zlib@openssh.com)
- 2015-07-24 16:50:19,059 [CLISSHSocket 10.36.157.63:22] Sending message type MSG_KEX_DH_GEX_REQUEST_OLD (30)
- 2015-07-24 16:50:19,990 [CLISSHSocket 10.36.157.63:22] Receiving message type MSG_KEXDH_REPLY (31)
- 2015-07-24 16:50:19,990 [CLISSHSocket 10.36.157.63:22] Server PK fingerprint: cf:dd:5d:e1:29:80:e4:cc:50:a8:e2:08:80:28:87:54
- 2015-07-24 16:50:20,195 [CLISSHSocket(0x7f71031bfe50)]<SSH_KEY_EXCHANGE> Setting SSH transform keys
- 2015-07-24 16:50:20,195 [CLISSHSocket 10.36.157.63:22] Sending message type MSG_NEWKEYS (21)
- 2015-07-24 16:50:20,195 [CLISSHSocket 10.36.157.63:22] Receiving message type MSG_NEWKEYS (21)
- 2015-07-24 16:50:20,196 [CLISSHSocket 10.36.157.63:22] Using new keys
- 2015-07-24 16:50:20,196 [CLISSHSocket(0x7f71031bfe50)]<SSH_KEY_EXCHANGE> event(SSH_AUTH)
- 2015-07-24 16:50:20,197 [CLISSHSocket(0x7f71031bfe50)]<SSH_KEY_EXCHANGE> ==> SSH_AUTH
- 2015-07-24 16:50:20,197 [CLISSHSocket 10.36.157.63:22] Requesting service ssh-userauth
- 2015-07-24 16:50:20,197 [CLISSHSocket 10.36.157.63:22] Sending message type MSG_SERVICE_REQUEST (5)
- 2015-07-24 16:50:20,198 Tick
- 2015-07-24 16:50:20,198 Resetting wait ticks
- 2015-07-24 16:50:20,303 [CLISSHSocket 10.36.157.63:22] Receiving message type MSG_SERVICE_ACCEPT (6)
- 2015-07-24 16:50:20,303 [CLISSHSocket 10.36.157.63:22] Starting service ssh-userauth
- 2015-07-24 16:50:20,303 [CLISSHSocket(0x7f71031bfe50)]<SSH_AUTH> event(SSH_AUTH_PASSWORD)
- 2015-07-24 16:50:20,304 [CLISSHSocket(0x7f71031bfe50)]<SSH_AUTH> ==> SSH_AUTH_PASSWORD
- 2015-07-24 16:50:20,304 [CLISSHSocket 10.36.157.63:22] Authenticating with 'none' method
- 2015-07-24 16:50:20,305 [CLISSHSocket 10.36.157.63:22] Sending message type MSG_USERAUTH_REQUEST (50)
- 2015-07-24 16:50:20,370 [CLISSHSocket 10.36.157.63:22] Receiving message type MSG_USERAUTH_FAILURE (51)
- 2015-07-24 16:50:20,370 [CLISSHSocket 10.36.157.63:22] Authentication method 'none' has been failed. Trying next method (publickey,password,keyboard-interactive)
- 2015-07-24 16:50:20,371 [CLISSHSocket 10.36.157.63:22] Partially authenticated with 'none'. Trying next method
- 2015-07-24 16:50:20,371 [CLISSHSocket 10.36.157.63:22] Authenticating with 'publickey' method
- 2015-07-24 16:50:20,373 [CLISSHSocket 10.36.157.63:22] Sending message type MSG_USERAUTH_REQUEST (50)
- 2015-07-24 16:50:20,392 [CLISSHSocket 10.36.157.63:22] Receiving message type MSG_USERAUTH_FAILURE (51)
- 2015-07-24 16:50:20,392 [CLISSHSocket 10.36.157.63:22] Authentication method 'publickey' has been failed. Trying next method (publickey,password,keyboard-interactive)
- 2015-07-24 16:50:20,393 [CLISSHSocket 10.36.157.63:22] Partially authenticated with 'publickey'. Trying next method
- 2015-07-24 16:50:20,393 [CLISSHSocket 10.36.157.63:22] Authenticating with 'password' method
- 2015-07-24 16:50:20,394 [CLISSHSocket 10.36.157.63:22] Sending message type MSG_USERAUTH_REQUEST (50)
- 2015-07-24 16:50:20,490 [CLISSHSocket 10.36.157.63:22] Receiving message type MSG_USERAUTH_SUCCESS (52)
- 2015-07-24 16:50:20,490 [CLISSHSocket 10.36.157.63:22] Enabling delayed out compression zlib@openssh.com
- 2015-07-24 16:50:20,490 [CLISSHSocket 10.36.157.63:22] Enabling delayed in compression zlib@openssh.com
- 2015-07-24 16:50:20,491 [CLISSHSocket(0x7f71031bfe50)]<SSH_AUTH_PASSWORD> event(SSH_CHANNEL)
- 2015-07-24 16:50:20,491 [CLISSHSocket(0x7f71031bfe50)]<SSH_AUTH_PASSWORD> ==> SSH_CHANNEL
- 2015-07-24 16:50:20,492 [CLISSHSocket 10.36.157.63:22] Sending message type MSG_CHANNEL_OPEN (90)
- 2015-07-24 16:50:20,541 [CLISSHSocket 10.36.157.63:22] Receiving message type MSG_CHANNEL_OPEN_CONFIRMATION (91)
- 2015-07-24 16:50:20,541 [CLISSHSocket 10.36.157.63:22] Opening channel. local=0 remote=0
- 2015-07-24 16:50:20,542 [CLISSHSocket(0x7f71031bfe50)]<SSH_CHANNEL> event(SSH_PTY)
- 2015-07-24 16:50:20,542 [CLISSHSocket(0x7f71031bfe50)]<SSH_CHANNEL> ==> SSH_PTY
- 2015-07-24 16:50:20,542 [CLISSHSocket 10.36.157.63:22] Requesting PTY
- 2015-07-24 16:50:20,543 [CLISSHSocket 10.36.157.63:22] Sending message type MSG_CHANNEL_REQUEST (98)
- 2015-07-24 16:50:20,587 [CLISSHSocket 10.36.157.63:22] Receiving message type MSG_CHANNEL_SUCCESS (99)
- 2015-07-24 16:50:20,587 [CLISSHSocket(0x7f71031bfe50)]<SSH_PTY> event(SSH_SHELL)
- 2015-07-24 16:50:20,588 [CLISSHSocket(0x7f71031bfe50)]<SSH_PTY> ==> SSH_SHELL
- 2015-07-24 16:50:20,589 [CLISSHSocket 10.36.157.63:22] Requesting shell
- 2015-07-24 16:50:20,589 [CLISSHSocket 10.36.157.63:22] Sending message type MSG_CHANNEL_REQUEST (98)
- 2015-07-24 16:50:20,610 [CLISSHSocket 10.36.157.63:22] Receiving message type MSG_CHANNEL_WINDOW_ADJUST (93)
- 2015-07-24 16:50:20,610 [CLISSHSocket 10.36.157.63:22] Receiving message type MSG_CHANNEL_SUCCESS (99)
- 2015-07-24 16:50:20,611 [CLISSHSocket(0x7f71031bfe50)]<SSH_SHELL> event(START)
- 2015-07-24 16:50:20,612 [CLISSHSocket(0x7f71031bfe50)]<SSH_SHELL> ==> START
- 2015-07-24 16:50:20,612 [CLISSHSocket(0x7f71031bfe50)]<START> set_patterns([('^((?!Last)\\S+ login|[Ll]ogin):', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('^(({master(?::\\d+)}\\n)?\\S+>)|(({master(?::\\d+)})?\\[edit.*?\\]\\n\\S+#)|(\\[Type \\^D at a new line to end input\\])', 'PROMPT'), ('(^---\\(more.*?\\)---)|(\\? \\[yes,no\\] .*?)', 'PAGER')])
- 2015-07-24 16:50:20,655 [CLISSHSocket(0x7f71031bfe50)]<START> on_read: '--- JUNOS 11.4R7.5 built 2013-03-01 09:14:35 UTC\r\n'
- 2015-07-24 16:50:21,657 Tick
- 2015-07-24 16:50:21,657 Resetting wait ticks
- 2015-07-24 16:50:22,658 Tick
- 2015-07-24 16:50:22,658 Resetting wait ticks
- 2015-07-24 16:50:23,658 Tick
- 2015-07-24 16:50:23,659 Resetting wait ticks
- 2015-07-24 16:50:24,660 Tick
- 2015-07-24 16:50:24,660 Resetting wait ticks
- 2015-07-24 16:50:24,756 [CLISSHSocket(0x7f71031bfe50)]<START> on_read: 'admin@jex2200-svao-sv-fl-0-A-1> '
- 2015-07-24 16:50:24,756 [CLISSHSocket(0x7f71031bfe50)]<START> Starting synchronous FSM check
- 2015-07-24 16:50:24,756 [CLISSHSocket(0x7f71031bfe50)]<START> match '^(({master(?::\d+)}\n)?\S+>)|(({master(?::\d+)})?\[edit.*?\]\n\S+#)|(\[Type \^D at a new line to end input\])'
- 2015-07-24 16:50:24,758 [CLISSHSocket(0x7f71031bfe50)]<START> event(PROMPT)
- 2015-07-24 16:50:24,758 [CLISSHSocket(0x7f71031bfe50)]<START> ==> PROMPT
- 2015-07-24 16:50:24,758 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_PROMPT_enter
- 2015-07-24 16:50:24,758 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> Using prompt pattern: ^(({master(?::\d+)}\n)?\S+>)|(({master(?::\d+)})?\[edit.*?\]\n\S+#)|(\[Type \^D at a new line to end input\])
- 2015-07-24 16:50:24,758 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> set_patterns([('^(({master(?::\\d+)}\\n)?\\S+>)|(({master(?::\\d+)})?\\[edit.*?\\]\\n\\S+#)|(\\[Type \\^D at a new line to end input\\])', 'PROMPT'), ('(^---\\(more.*?\\)---)|(\\? \\[yes,no\\] .*?)', 'PAGER')])
- 2015-07-24 16:50:24,805 CLI Provider is ready
- 2015-07-24 16:50:24,805 Disable paging
- 2015-07-24 16:50:24,805 cli(set cli screen-length 0)
- 2015-07-24 16:50:24,805 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> submit('set cli screen-length 0', bulk_lines=None, streaming=False)
- 2015-07-24 16:50:24,805 [CLISSHSocket 10.36.157.63:22] Sending message type MSG_CHANNEL_DATA (94)
- 2015-07-24 16:50:24,823 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 's'
- 2015-07-24 16:50:24,834 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'e'
- 2015-07-24 16:50:24,835 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 't'
- 2015-07-24 16:50:24,863 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' '
- 2015-07-24 16:50:24,863 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'c'
- 2015-07-24 16:50:24,864 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'l'
- 2015-07-24 16:50:24,864 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'i'
- 2015-07-24 16:50:24,880 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' '
- 2015-07-24 16:50:24,883 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 's'
- 2015-07-24 16:50:24,890 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'c'
- 2015-07-24 16:50:24,891 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'r'
- 2015-07-24 16:50:24,903 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'e'
- 2015-07-24 16:50:24,903 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'e'
- 2015-07-24 16:50:24,904 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'n'
- 2015-07-24 16:50:24,910 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '-'
- 2015-07-24 16:50:24,916 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'l'
- 2015-07-24 16:50:24,917 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'e'
- 2015-07-24 16:50:24,918 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'n'
- 2015-07-24 16:50:24,921 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'g'
- 2015-07-24 16:50:24,926 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 't'
- 2015-07-24 16:50:24,927 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'h'
- 2015-07-24 16:50:24,950 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' '
- 2015-07-24 16:50:24,951 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '0'
- 2015-07-24 16:50:24,975 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' '
- 2015-07-24 16:50:25,001 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\n'
- 2015-07-24 16:50:25,010 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'Screen length set to 0\r\n'
- 2015-07-24 16:50:25,011 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\n'
- 2015-07-24 16:50:25,012 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'admin@jex2200-svao-sv-fl-0-A-1> '
- 2015-07-24 16:50:25,012 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> Starting synchronous FSM check
- 2015-07-24 16:50:25,012 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> match '^(({master(?::\d+)}\n)?\S+>)|(({master(?::\d+)})?\[edit.*?\]\n\S+#)|(\[Type \^D at a new line to end input\])'
- 2015-07-24 16:50:25,013 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> Starting synchronous FSM check
- 2015-07-24 16:50:25,013 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> event(PROMPT)
- 2015-07-24 16:50:25,020 cli(set cli screen-length 0) returns:
- ===[ set cli screen-length 0 ]==========================================
- ' \nScreen length set to 0\n\n'
- ========================================================================
- 2015-07-24 16:50:25,020 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> submit('show version', bulk_lines=None, streaming=False)
- 2015-07-24 16:50:25,020 [CLISSHSocket 10.36.157.63:22] Sending message type MSG_CHANNEL_DATA (94)
- 2015-07-24 16:50:25,029 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 's'
- 2015-07-24 16:50:25,034 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'h'
- 2015-07-24 16:50:25,034 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'o'
- 2015-07-24 16:50:25,038 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'w'
- 2015-07-24 16:50:25,061 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' '
- 2015-07-24 16:50:25,061 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'v'
- 2015-07-24 16:50:25,062 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'e'
- 2015-07-24 16:50:25,065 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'r'
- 2015-07-24 16:50:25,068 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 's'
- 2015-07-24 16:50:25,073 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'i'
- 2015-07-24 16:50:25,073 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'o'
- 2015-07-24 16:50:25,080 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'n'
- 2015-07-24 16:50:25,110 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' '
- 2015-07-24 16:50:25,174 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\n'
- 2015-07-24 16:50:25,214 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'Hostname: jex2200-svao-sv-fl-0-A-1\r\n'
- 2015-07-24 16:50:25,221 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'Model: ex2200-24p-4g\r\n'
- 2015-07-24 16:50:25,222 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'JUNOS Base OS boot [11.4R7.5]\r\n'
- 2015-07-24 16:50:25,228 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'JUNOS Base OS Software Suite [11.4R7.5]\r\n'
- 2015-07-24 16:50:25,236 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'JUNOS Kernel Software Suite [11.4R7.5]\r\n'
- 2015-07-24 16:50:25,249 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'JUNOS Crypto Software Suite [11.4R7.5]\r\n'
- 2015-07-24 16:50:25,259 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'JUNOS Online Documentation [11.4R7.5]\r\n'
- 2015-07-24 16:50:25,270 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'JUNOS Enterprise Software Suite [11.4R7.5]\r\n'
- 2015-07-24 16:50:25,282 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'JUNOS Packet Forwarding Engine Enterprise Software Suite [11.4R7.5]\r\n'
- 2015-07-24 16:50:25,295 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'JUNOS Routing Software Suite [11.4R7.5]\r\n'
- 2015-07-24 16:50:25,308 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'JUNOS Web Management [11.4R7.5]\r\n'
- 2015-07-24 16:50:25,308 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'JUNOS FIPS mode utilities [11.4R7.5]\r\n'
- 2015-07-24 16:50:25,320 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\n'
- 2015-07-24 16:50:25,323 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'admin@jex2200-svao-sv-fl-0-A-1> '
- 2015-07-24 16:50:25,324 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> Starting synchronous FSM check
- 2015-07-24 16:50:25,324 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> match '^(({master(?::\d+)}\n)?\S+>)|(({master(?::\d+)})?\[edit.*?\]\n\S+#)|(\[Type \^D at a new line to end input\])'
- 2015-07-24 16:50:25,324 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> Starting synchronous FSM check
- 2015-07-24 16:50:25,324 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> event(PROMPT)
- 2015-07-24 16:50:25,334 cli(show version) returns:
- ===[ show version ]=====================================================
- ' \nHostname: jex2200-svao-sv-fl-0-A-1\nModel: ex2200-24p-4g\nJUNOS Base OS boot [11.4R7.5]\nJUNOS Base OS Software Suite [11.4R7.5]\nJUNOS Kernel Software Suite [11.4R7.5]\nJUNOS Crypto Software Suite [11.4R7.5]\nJUNOS Online Documentation [11.4R7.5]\nJUNOS Enterprise Software Suite [11.4R7.5]\nJUNOS Packet Forwarding Engine Enterprise Software Suite [11.4R7.5]\nJUNOS Routing Software Suite [11.4R7.5]\nJUNOS Web Management [11.4R7.5]\nJUNOS FIPS mode utilities [11.4R7.5]\n\n'
- ========================================================================
- 2015-07-24 16:50:25,334 Write to call cache: Juniper.JUNOS.get_version, {}, {'platform': 'ex2200-24p-4g', 'version': '11.4R7.5', 'vendor': 'Juniper'}
- 2015-07-24 16:50:25,334 Script returns with result: {'platform': 'ex2200-24p-4g', 'version': '11.4R7.5', 'vendor': 'Juniper'} (8148.14ms)
- 2015-07-24 16:50:25,335 cli(show lldp local-information)
- 2015-07-24 16:50:25,335 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> submit('show lldp local-information', bulk_lines=None, streaming=False)
- 2015-07-24 16:50:25,335 [CLISSHSocket 10.36.157.63:22] Sending message type MSG_CHANNEL_DATA (94)
- 2015-07-24 16:50:25,353 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 's'
- 2015-07-24 16:50:25,355 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'h'
- 2015-07-24 16:50:25,366 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'o'
- 2015-07-24 16:50:25,371 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'w'
- 2015-07-24 16:50:25,385 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' '
- 2015-07-24 16:50:25,385 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'l'
- 2015-07-24 16:50:25,409 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'l'
- 2015-07-24 16:50:25,410 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'd'
- 2015-07-24 16:50:25,410 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'p'
- 2015-07-24 16:50:25,431 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' '
- 2015-07-24 16:50:25,439 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'l'
- 2015-07-24 16:50:25,441 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'o'
- 2015-07-24 16:50:25,446 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'c'
- 2015-07-24 16:50:25,450 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'a'
- 2015-07-24 16:50:25,451 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'l'
- 2015-07-24 16:50:25,461 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '-'
- 2015-07-24 16:50:25,461 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'i'
- 2015-07-24 16:50:25,468 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'n'
- 2015-07-24 16:50:25,477 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'f'
- 2015-07-24 16:50:25,484 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'o'
- 2015-07-24 16:50:25,485 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'r'
- 2015-07-24 16:50:25,486 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'm'
- 2015-07-24 16:50:25,489 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'a'
- 2015-07-24 16:50:25,491 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 't'
- 2015-07-24 16:50:25,497 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'i'
- 2015-07-24 16:50:25,497 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'o'
- 2015-07-24 16:50:25,509 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'n'
- 2015-07-24 16:50:25,536 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' '
- 2015-07-24 16:50:25,553 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\n'
- 2015-07-24 16:50:25,643 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\n'
- 2015-07-24 16:50:25,643 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'LLDP Local Information details\r\n'
- 2015-07-24 16:50:25,649 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\n'
- 2015-07-24 16:50:25,655 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'Chassis ID : 3c:61:04:5e:fe:00\r\n'
- 2015-07-24 16:50:25,655 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'System name : jex2200-svao-sv-fl-0-A-1\r\n'
- 2015-07-24 16:50:25,670 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'System descr : Juniper Networks, Inc. ex2200-24p-4g , version 11.4R7.5 Build\r\n'
- 2015-07-24 16:50:25,671 Tick
- 2015-07-24 16:50:25,671 Resetting wait ticks
- 2015-07-24 16:50:25,671 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' date: 2013-03-01 09:18:42 UTC \r\n'
- 2015-07-24 16:50:25,672 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\n'
- 2015-07-24 16:50:25,676 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'System Capabilities\r\n'
- 2015-07-24 16:50:25,681 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' Supported : Bridge Router \r\n'
- 2015-07-24 16:50:25,685 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' Enabled : Bridge Router \r\n'
- 2015-07-24 16:50:25,700 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\n'
- 2015-07-24 16:50:25,709 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'Interface name Parent Interface SNMP Index Interface description Status Tunneling\r\n'
- 2015-07-24 16:50:25,710 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/0.0 - 503 ge-0/0/0.0 Up Disabled \r\n'
- 2015-07-24 16:50:25,710 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/1.0 - 505 ge-0/0/1.0 Up Disabled \r\n'
- 2015-07-24 16:50:25,766 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/2.0 - 507 ge-0/0/2.0 Up Disabled \r\n'
- 2015-07-24 16:50:25,777 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/3.0 - 509 ge-0/0/3.0 Up Disabled \r\n'
- 2015-07-24 16:50:25,781 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/4.0 - 511 - Down Disabled \r\n'
- 2015-07-24 16:50:25,789 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/5.0 - 513 - Down Disabled \r\n'
- 2015-07-24 16:50:25,847 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/6.0 - 515 - Down Disabled \r\n'
- 2015-07-24 16:50:25,870 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/7.0 - 517 ge-0/0/7.0 Up Disabled \r\n'
- 2015-07-24 16:50:25,881 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/8.0 - 519 - Down Disabled \r\n'
- 2015-07-24 16:50:25,898 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/9.0 - 521 - Down Disabled \r\n'
- 2015-07-24 16:50:25,906 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/10.0 - 523 - Down Disabled \r\n'
- 2015-07-24 16:50:25,943 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/11.0 - 525 - Down Disabled \r\n'
- 2015-07-24 16:50:25,978 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/12.0 - 528 - Down Disabled \r\n'
- 2015-07-24 16:50:25,979 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/13.0 - 529 - Down Disabled \r\n'
- 2015-07-24 16:50:25,980 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/14.0 - 531 - Down Disabled \r\n'
- 2015-07-24 16:50:26,072 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/15.0 - 535 - Down Disabled \r\n'
- 2015-07-24 16:50:26,073 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/16.0 - 539 - Down Disabled \r\n'
- 2015-07-24 16:50:26,083 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/17.0 - 541 - Down Disabled \r\n'
- 2015-07-24 16:50:26,087 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/18.0 - 544 - Down Disabled \r\n'
- 2015-07-24 16:50:26,097 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/19.0 - 545 - Down Disabled \r\n'
- 2015-07-24 16:50:26,103 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/20.0 - 546 - Down Disabled \r\n'
- 2015-07-24 16:50:26,106 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/21.0 - 547 - Down Disabled \r\n'
- 2015-07-24 16:50:26,123 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/22.0 - 548 - Down Disabled \r\n'
- 2015-07-24 16:50:26,131 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/0/23.0 - 549 - Down Disabled \r\n'
- 2015-07-24 16:50:26,151 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/1/0.0 ae0.0 555 ge-0/1/0.0 Up Disabled \r\n'
- 2015-07-24 16:50:26,160 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/1/1.0 ae0.0 556 - Down Disabled \r\n'
- 2015-07-24 16:50:26,169 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\n'
- 2015-07-24 16:50:26,181 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'admin@jex2200-svao-sv-fl-0-A-1> '
- 2015-07-24 16:50:26,182 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> Starting synchronous FSM check
- 2015-07-24 16:50:26,182 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> match '^(({master(?::\d+)}\n)?\S+>)|(({master(?::\d+)})?\[edit.*?\]\n\S+#)|(\[Type \^D at a new line to end input\])'
- 2015-07-24 16:50:26,182 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> Starting synchronous FSM check
- 2015-07-24 16:50:26,183 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> event(PROMPT)
- 2015-07-24 16:50:26,200 cli(show lldp local-information) returns:
- ===[ show lldp local-information ]======================================
- ' \n\nLLDP Local Information details\n\nChassis ID : 3c:61:04:5e:fe:00\nSystem name : jex2200-svao-sv-fl-0-A-1\nSystem descr : Juniper Networks, Inc. ex2200-24p-4g , version 11.4R7.5 Build\n date: 2013-03-01 09:18:42 UTC \n\nSystem Capabilities\n Supported : Bridge Router \n Enabled : Bridge Router \n\nInterface name Parent Interface SNMP Index Interface description Status Tunneling\nge-0/0/0.0 - 503 ge-0/0/0.0 Up Disabled \nge-0/0/1.0 - 505 ge-0/0/1.0 Up Disabled \nge-0/0/2.0 - 507 ge-0/0/2.0 Up Disabled \nge-0/0/3.0 - 509 ge-0/0/3.0 Up Disabled \nge-0/0/4.0 - 511 - Down Disabled \nge-0/0/5.0 - 513 - Down Disabled \nge-0/0/6.0 - 515 - Down Disabled \nge-0/0/7.0 - 517 ge-0/0/7.0 Up Disabled \nge-0/0/8.0 - 519 - Down Disabled \nge-0/0/9.0 - 521 - Down Disabled \nge-0/0/10.0 - 523 - Down Disabled \nge-0/0/11.0 - 525 - Down Disabled \nge-0/0/12.0 - 528 - Down Disabled \nge-0/0/13.0 - 529 - Down Disabled \nge-0/0/14.0 - 531 - Down Disabled \nge-0/0/15.0 - 535 - Down Disabled \nge-0/0/16.0 - 539 - Down Disabled \nge-0/0/17.0 - 541 - Down Disabled \nge-0/0/18.0 - 544 - Down Disabled \nge-0/0/19.0 - 545 - Down Disabled \nge-0/0/20.0 - 546 - Down Disabled \nge-0/0/21.0 - 547 - Down Disabled \nge-0/0/22.0 - 548 - Down Disabled \nge-0/0/23.0 - 549 - Down Disabled \nge-0/1/0.0 ae0.0 555 ge-0/1/0.0 Up Disabled \nge-0/1/1.0 ae0.0 556 - Down Disabled \n\n'
- ========================================================================
- 2015-07-24 16:50:26,200 cli(show lldp neighbors)
- 2015-07-24 16:50:26,200 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> submit('show lldp neighbors', bulk_lines=None, streaming=False)
- 2015-07-24 16:50:26,200 [CLISSHSocket 10.36.157.63:22] Sending message type MSG_CHANNEL_DATA (94)
- 2015-07-24 16:50:26,208 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 's'
- 2015-07-24 16:50:26,214 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'h'
- 2015-07-24 16:50:26,215 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'o'
- 2015-07-24 16:50:26,225 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'w'
- 2015-07-24 16:50:26,256 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' '
- 2015-07-24 16:50:26,257 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'l'
- 2015-07-24 16:50:26,257 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'l'
- 2015-07-24 16:50:26,266 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'd'
- 2015-07-24 16:50:26,278 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'p'
- 2015-07-24 16:50:26,291 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' '
- 2015-07-24 16:50:26,291 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'n'
- 2015-07-24 16:50:26,319 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'e'
- 2015-07-24 16:50:26,320 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'i'
- 2015-07-24 16:50:26,321 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'g'
- 2015-07-24 16:50:26,323 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'h'
- 2015-07-24 16:50:26,323 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'b'
- 2015-07-24 16:50:26,324 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'o'
- 2015-07-24 16:50:26,324 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'r'
- 2015-07-24 16:50:26,329 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 's'
- 2015-07-24 16:50:26,341 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' '
- 2015-07-24 16:50:26,373 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\n'
- 2015-07-24 16:50:26,421 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'Local Interface Parent Interface Chassis Id Port info System Name\r\n'
- 2015-07-24 16:50:26,421 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'ge-0/1/0.0 ae0.0 40:b4:f0:c3:34:40 ge-1/0/10.0 jex4200-svao-sv-fl-5-514b-VirtChass\r\n'
- 2015-07-24 16:50:26,426 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\n'
- 2015-07-24 16:50:26,432 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'admin@jex2200-svao-sv-fl-0-A-1> '
- 2015-07-24 16:50:26,432 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> Starting synchronous FSM check
- 2015-07-24 16:50:26,432 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> match '^(({master(?::\d+)}\n)?\S+>)|(({master(?::\d+)})?\[edit.*?\]\n\S+#)|(\[Type \^D at a new line to end input\])'
- 2015-07-24 16:50:26,432 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> Starting synchronous FSM check
- 2015-07-24 16:50:26,433 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> event(PROMPT)
- 2015-07-24 16:50:26,465 cli(show lldp neighbors) returns:
- ===[ show lldp neighbors ]==============================================
- ' \nLocal Interface Parent Interface Chassis Id Port info System Name\nge-0/1/0.0 ae0.0 40:b4:f0:c3:34:40 ge-1/0/10.0 jex4200-svao-sv-fl-5-514b-VirtChass\n\n'
- ========================================================================
- 2015-07-24 16:50:26,465 cli(show lldp neighbors interface ge-0/1/0.0)
- 2015-07-24 16:50:26,465 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> submit('show lldp neighbors interface ge-0/1/0.0', bulk_lines=None, streaming=False)
- 2015-07-24 16:50:26,465 [CLISSHSocket 10.36.157.63:22] Sending message type MSG_CHANNEL_DATA (94)
- 2015-07-24 16:50:26,490 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 's'
- 2015-07-24 16:50:26,491 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'h'
- 2015-07-24 16:50:26,495 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'o'
- 2015-07-24 16:50:26,495 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'w'
- 2015-07-24 16:50:26,509 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' '
- 2015-07-24 16:50:26,515 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'l'
- 2015-07-24 16:50:26,522 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'l'
- 2015-07-24 16:50:26,523 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'd'
- 2015-07-24 16:50:26,523 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'p'
- 2015-07-24 16:50:26,533 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' '
- 2015-07-24 16:50:26,556 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'n'
- 2015-07-24 16:50:26,557 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'e'
- 2015-07-24 16:50:26,557 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'i'
- 2015-07-24 16:50:26,558 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'g'
- 2015-07-24 16:50:26,577 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'h'
- 2015-07-24 16:50:26,578 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'b'
- 2015-07-24 16:50:26,579 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'o'
- 2015-07-24 16:50:26,579 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'r'
- 2015-07-24 16:50:26,598 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 's'
- 2015-07-24 16:50:26,599 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' '
- 2015-07-24 16:50:26,604 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'i'
- 2015-07-24 16:50:26,609 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'n'
- 2015-07-24 16:50:26,609 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 't'
- 2015-07-24 16:50:26,610 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'e'
- 2015-07-24 16:50:26,614 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'r'
- 2015-07-24 16:50:26,620 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'f'
- 2015-07-24 16:50:26,621 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'a'
- 2015-07-24 16:50:26,621 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'c'
- 2015-07-24 16:50:26,626 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'e'
- 2015-07-24 16:50:26,635 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' '
- 2015-07-24 16:50:26,640 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'g'
- 2015-07-24 16:50:26,646 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'e'
- 2015-07-24 16:50:26,647 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '-'
- 2015-07-24 16:50:26,647 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '0'
- 2015-07-24 16:50:26,667 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '/'
- 2015-07-24 16:50:26,667 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '1'
- 2015-07-24 16:50:26,668 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '/'
- 2015-07-24 16:50:26,668 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '0'
- 2015-07-24 16:50:26,850 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '.0'
- 2015-07-24 16:50:26,851 Tick
- 2015-07-24 16:50:26,851 Resetting wait ticks
- 2015-07-24 16:50:27,804 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' '
- 2015-07-24 16:50:27,903 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\n'
- 2015-07-24 16:50:27,904 Tick
- 2015-07-24 16:50:27,904 Resetting wait ticks
- 2015-07-24 16:50:27,923 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'LLDP Neighbor Information:\r\n'
- 2015-07-24 16:50:27,924 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'Local Information:\r\nIndex: 2 Time to live: 120 Time mark: Fri Jul 24 13:50:08 2015 Age: 20 secs \r\nLocal Interface : ge-0/1/0.0\r\nParent Interface : ae0.0\r\n'
- 2015-07-24 16:50:27,924 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'Local Port ID : 555\r\n'
- 2015-07-24 16:50:27,925 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'Ageout Count : 0\r\n\r\nNeighbour Information:\r\nChassis type : Mac address\r\nChassis ID : 40:b4:f0:c3:34:40\r\nPort type : Locally assigned\r\nPort ID : 661\r\nPort description : ge-1/0/10.0\r\n'
- 2015-07-24 16:50:27,949 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'System name : jex4200-svao-sv-fl-5-514b-VirtChass\r\n'
- 2015-07-24 16:50:27,949 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' \r\n'
- 2015-07-24 16:50:27,950 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'System Description : Juniper Networks, Inc. ex4200-24f , version 12.3R3.4 Build date: 2013-06-14 01:38:46 UTC \r\n'
- 2015-07-24 16:50:27,981 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\n'
- 2015-07-24 16:50:27,982 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'System capabilities \r\n Supported : Bridge Router \r\n Enabled : Bridge Router \r\n\r\nOrganization Info\r\n'
- 2015-07-24 16:50:27,982 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' OUI : 0.12.f\r\n'
- 2015-07-24 16:50:27,983 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' Subtype : 1\r\n Index : 1\r\n Info : 0300040000 \r\n'
- 2015-07-24 16:50:27,983 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\nOrganization Info\r\n OUI : 0.12.f\r\n Subtype : 3\r\n'
- 2015-07-24 16:50:28,016 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' Index : 2\r\n Info : 0300000294 \r\n'
- 2015-07-24 16:50:28,017 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\nOrganization Info\r\n OUI : 0.12.f\r\n Subtype : 4\r\n Index : 3\r\n'
- 2015-07-24 16:50:28,018 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' Info : 05EA \r\n'
- 2015-07-24 16:50:28,018 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\n'
- 2015-07-24 16:50:28,019 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'Organization Info\r\n'
- 2015-07-24 16:50:28,019 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' OUI : 0.90.69\r\n'
- 2015-07-24 16:50:28,020 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' Subtype : 1\r\n'
- 2015-07-24 16:50:28,031 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' Index : 4\r\n'
- 2015-07-24 16:50:28,032 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' Info : 425230323132343533333434 \r\n'
- 2015-07-24 16:50:28,033 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\n'
- 2015-07-24 16:50:28,039 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'Organization Info\r\n OUI : 0.80.c2\r\n Subtype : 3\r\n'
- 2015-07-24 16:50:28,077 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' Index : 5\r\n Info : 009D124C414E2D535953542D31302E33362E313537 \r\n\r\nOrganization Info\r\n OUI : 0.80.c2\r\n Subtype : 3\r\n Index : 6\r\n Info : 0017114C414E2D555345522D31302E33362E3233 \r\n\r\nOrganization Info\r\n OUI : 0.80.c2\r\n'
- 2015-07-24 16:50:28,079 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' Subtype : 3\r\n Index : 7\r\n Info : 00A6164C414E2D555345522D464C322D31302E38372E313636 \r\n\r\nOrganization Info\r\n OUI : 0.80.c2\r\n Subtype : 3\r\n'
- 2015-07-24 16:50:28,080 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' Index : 8\r\n Info : 00A5164C414E2D555345522D464C332D31302E38372E313635 \r\n'
- 2015-07-24 16:50:28,081 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\n'
- 2015-07-24 16:50:28,082 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'Organization Info\r\n'
- 2015-07-24 16:50:28,084 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' OUI : 0.80.c2\r\n'
- 2015-07-24 16:50:28,090 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' Subtype : 3\r\n'
- 2015-07-24 16:50:28,091 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' Index : 9\r\n'
- 2015-07-24 16:50:28,092 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: ' Info : 00A4164C414E2D555345522D464C342D31302E38372E313634 \r\n'
- 2015-07-24 16:50:28,092 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: '\r\n'
- 2015-07-24 16:50:28,093 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> on_read: 'admin@jex2200-svao-sv-fl-0-A-1> '
- 2015-07-24 16:50:28,093 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> Starting synchronous FSM check
- 2015-07-24 16:50:28,094 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> match '^(({master(?::\d+)}\n)?\S+>)|(({master(?::\d+)})?\[edit.*?\]\n\S+#)|(\[Type \^D at a new line to end input\])'
- 2015-07-24 16:50:28,094 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> Starting synchronous FSM check
- 2015-07-24 16:50:28,094 [CLISSHSocket(0x7f71031bfe50)]<PROMPT> event(PROMPT)
- 2015-07-24 16:50:28,130 cli(show lldp neighbors interface ge-0/1/0.0) returns:
- ===[ show lldp neighbors interface ge-0/1/0.0 ]=========================
- ' \nLLDP Neighbor Information:\nLocal Information:\nIndex: 2 Time to live: 120 Time mark: Fri Jul 24 13:50:08 2015 Age: 20 secs \nLocal Interface : ge-0/1/0.0\nParent Interface : ae0.0\nLocal Port ID : 555\nAgeout Count : 0\n\nNeighbour Information:\nChassis type : Mac address\nChassis ID : 40:b4:f0:c3:34:40\nPort type : Locally assigned\nPort ID : 661\nPort description : ge-1/0/10.0\nSystem name : jex4200-svao-sv-fl-5-514b-VirtChass\n \nSystem Description : Juniper Networks, Inc. ex4200-24f , version 12.3R3.4 Build date: 2013-06-14 01:38:46 UTC \n\nSystem capabilities \n Supported : Bridge Router \n Enabled : Bridge Router \n\nOrganization Info\n OUI : 0.12.f\n Subtype : 1\n Index : 1\n Info : 0300040000 \n\nOrganization Info\n OUI : 0.12.f\n Subtype : 3\n Index : 2\n Info : 0300000294 \n\nOrganization Info\n OUI : 0.12.f\n Subtype : 4\n Index : 3\n Info : 05EA \n\nOrganization Info\n OUI : 0.90.69\n Subtype : 1\n Index : 4\n Info : 425230323132343533333434 \n\nOrganization Info\n OUI : 0.80.c2\n Subtype : 3\n Index : 5\n Info : 009D124C414E2D535953542D31302E33362E313537 \n\nOrganization Info\n OUI : 0.80.c2\n Subtype : 3\n Index : 6\n Info : 0017114C414E2D555345522D31302E33362E3233 \n\nOrganization Info\n OUI : 0.80.c2\n Subtype : 3\n Index : 7\n Info : 00A6164C414E2D555345522D464C322D31302E38372E313636 \n\nOrganization Info\n OUI : 0.80.c2\n Subtype : 3\n Index : 8\n Info : 00A5164C414E2D555345522D464C332D31302E38372E313635 \n\nOrganization Info\n OUI : 0.80.c2\n Subtype : 3\n Index : 9\n Info : 00A4164C414E2D555345522D464C342D31302E38372E313634 \n\n'
- ========================================================================
- 2015-07-24 16:50:28,132 Unhandled exception
- 2015-07-24 16:50:28,161 Script traceback:
- <type 'exceptions.TypeError'>
- object of type 'int' has no len()
- START OF TRACEBACK
- ------------------------------------------------------------------------
- File: sa/interfaces/base.py (Line: 796)
- Function: clean
- 789 Traceback (most recent call last):
- 790 ...
- 791 InterfaceTypeError: IPvParameter: '192.168.0.256'
- 792 """
- 793 def clean(self, value):
- 794 if value is None and self.default is not None:
- 795 return self.default
- 796 ==> if len(value) == 4:
- 797 # IP address in binary form
- 798 value = ".".join(["%02X" % ord(c) for c in value])
- 799 v = super(IPv4Parameter, self).clean(value)
- 800 X = v.split(".")
- 801 if len(X) != 4:
- 802 self.raise_error(value)
- Variables:
- self = <noc.sa.interfaces.base.IPv4Parameter object at 0x7f7109888fd0>
- value = 661
- ------------------------------------------------------------------------
- File: sa/interfaces/base.py (Line: 153)
- Function: clean
- 146
- 147 def clean(self, value):
- 148 if value is None and self.required == False:
- 149 return None
- 150 try:
- 151 return self.left.clean(value)
- 152 except InterfaceTypeError:
- 153 ==> return self.right.clean(value)
- 154
- 155 def script_clean_input(self, profile, value):
- 156 try:
- 157 return self.left.script_clean_input(profile, value)
- 158 except InterfaceTypeError:
- 159 return self.right.script_clean_input(profile, value)
- Variables:
- self = <noc.sa.interfaces.base.ORParameter object at 0x7f710988f050>
- value = 661
- ------------------------------------------------------------------------
- File: sa/interfaces/base.py (Line: 151)
- Function: clean
- 144 self.right = right
- 145 self.required = self.left.required or self.right.required
- 146
- 147 def clean(self, value):
- 148 if value is None and self.required == False:
- 149 return None
- 150 try:
- 151 ==> return self.left.clean(value)
- 152 except InterfaceTypeError:
- 153 return self.right.clean(value)
- 154
- 155 def script_clean_input(self, profile, value):
- 156 try:
- 157 return self.left.script_clean_input(profile, value)
- Variables:
- self = <noc.sa.interfaces.base.ORParameter object at 0x7f710988f0d0>
- value = 661
- ------------------------------------------------------------------------
- File: sa/interfaces/base.py (Line: 674)
- Function: clean
- 667 if attr.default is not None:
- 668 out_value[a_name] = attr.default
- 669 else:
- 670 self.raise_error(value,
- 671 "Attribute '%s' is required in %s" % (a_name, value))
- 672 if a_name in in_value:
- 673 try:
- 674 ==> out_value[a_name] = attr.clean(in_value[a_name])
- 675 except InterfaceTypeError, why:
- 676 if not in_value[a_name] and not attr.required:
- 677 if attr.default:
- 678 out_value[a_name] = attr.default
- 679 else:
- 680 pass
- Variables:
- a_name = 'remote_port'
- attr = <noc.sa.interfaces.base.ORParameter object at 0x7f710988f0d0>
- self = <noc.sa.interfaces.base.DictParameter object at 0x7f710988f190>
- in_value =
- {'remote_capabilities': 20,
- 'remote_chassis_id': '40:b4:f0:c3:34:40',
- 'remote_chassis_id_subtype': 4,
- 'remote_port': 661,
- 'remote_system_name': 'jex4200-svao-sv-fl-5-514b-VirtChass'}
- value =
- {'remote_capabilities': 20,
- 'remote_chassis_id': '40:b4:f0:c3:34:40',
- 'remote_chassis_id_subtype': 4,
- 'remote_port': 661,
- 'remote_port_subtype': 7,
- 'remote_system_name': 'jex4200-svao-sv-fl-5-514b-VirtChass'}
- out_value = {'remote_port_subtype': 7}
- ------------------------------------------------------------------------
- File: sa/interfaces/base.py (Line: 609)
- Function: clean
- 602 return self.default
- 603 if self.convert and not isinstance(value, (list, tuple)):
- 604 value = [value]
- 605 v = super(ListOfParameter, self).clean(value)
- 606 if self.is_list:
- 607 return [[e.clean(vv) for e, vv in zip(self.element, v)] for v in value]
- 608 else:
- 609 ==> return [self.element.clean(x) for x in v]
- 610
- 611 def script_clean_input(self, profile, value):
- 612 if value is None and self.default is not None:
- 613 return self.default
- 614 v = super(ListOfParameter, self).script_clean_input(profile, value)
- 615 if self.is_list:
- Variables:
- x =
- {'remote_capabilities': 20,
- 'remote_chassis_id': '40:b4:f0:c3:34:40',
- 'remote_chassis_id_subtype': 4,
- 'remote_port': 661,
- 'remote_port_subtype': 7,
- 'remote_system_name': 'jex4200-svao-sv-fl-5-514b-VirtChass'}
- self = <noc.sa.interfaces.base.ListOfParameter object at 0x7f710988f1d0>
- value =
- [{'remote_capabilities': 20,
- 'remote_chassis_id': '40:b4:f0:c3:34:40',
- 'remote_chassis_id_subtype': 4,
- 'remote_port': 661,
- 'remote_port_subtype': 7,
- 'remote_system_name': 'jex4200-svao-sv-fl-5-514b-VirtChass'}]
- v =
- [{'remote_capabilities': 20,
- 'remote_chassis_id': '40:b4:f0:c3:34:40',
- 'remote_chassis_id_subtype': 4,
- 'remote_port': 661,
- 'remote_port_subtype': 7,
- 'remote_system_name': 'jex4200-svao-sv-fl-5-514b-VirtChass'}]
- ------------------------------------------------------------------------
- File: sa/interfaces/base.py (Line: 674)
- Function: clean
- 667 if attr.default is not None:
- 668 out_value[a_name] = attr.default
- 669 else:
- 670 self.raise_error(value,
- 671 "Attribute '%s' is required in %s" % (a_name, value))
- 672 if a_name in in_value:
- 673 try:
- 674 ==> out_value[a_name] = attr.clean(in_value[a_name])
- 675 except InterfaceTypeError, why:
- 676 if not in_value[a_name] and not attr.required:
- 677 if attr.default:
- 678 out_value[a_name] = attr.default
- 679 else:
- 680 pass
- Variables:
- a_name = 'neighbors'
- attr = <noc.sa.interfaces.base.ListOfParameter object at 0x7f710988f1d0>
- self = <noc.sa.interfaces.base.DictParameter object at 0x7f710988f210>
- in_value =
- {'local_interface': 'ge-0/1/0.0',
- 'neighbors': [{'remote_capabilities': 20,
- 'remote_chassis_id': '40:b4:f0:c3:34:40',
- 'remote_chassis_id_subtype': 4,
- 'remote_port': 661,
- 'remote_port_subtype': 7,
- 'remote_system_name': 'jex4200-svao-sv-fl-5-514b-VirtChass'}]}
- value =
- {'local_interface': 'ge-0/1/0.0',
- 'neighbors': [{'remote_capabilities': 20,
- 'remote_chassis_id': '40:b4:f0:c3:34:40',
- 'remote_chassis_id_subtype': 4,
- 'remote_port': 661,
- 'remote_port_subtype': 7,
- 'remote_system_name': 'jex4200-svao-sv-fl-5-514b-VirtChass'}]}
- out_value = {}
- ------------------------------------------------------------------------
- File: sa/interfaces/base.py (Line: 609)
- Function: clean
- 602 return self.default
- 603 if self.convert and not isinstance(value, (list, tuple)):
- 604 value = [value]
- 605 v = super(ListOfParameter, self).clean(value)
- 606 if self.is_list:
- 607 return [[e.clean(vv) for e, vv in zip(self.element, v)] for v in value]
- 608 else:
- 609 ==> return [self.element.clean(x) for x in v]
- 610
- 611 def script_clean_input(self, profile, value):
- 612 if value is None and self.default is not None:
- 613 return self.default
- 614 v = super(ListOfParameter, self).script_clean_input(profile, value)
- 615 if self.is_list:
- Variables:
- x =
- {'local_interface': 'ge-0/1/0.0',
- 'neighbors': [{'remote_capabilities': 20,
- 'remote_chassis_id': '40:b4:f0:c3:34:40',
- 'remote_chassis_id_subtype': 4,
- 'remote_port': 661,
- 'remote_port_subtype': 7,
- 'remote_system_name': 'jex4200-svao-sv-fl-5-514b-VirtChass'}]}
- self = <noc.sa.interfaces.base.ListOfParameter object at 0x7f710988f250>
- value =
- [{'local_interface': 'ge-0/1/0.0',
- 'neighbors': [{'remote_capabilities': 20,
- 'remote_chassis_id': '40:b4:f0:c3:34:40',
- 'remote_chassis_id_subtype': 4,
- 'remote_port': 661,
- 'remote_port_subtype': 7,
- 'remote_system_name': 'jex4200-svao-sv-fl-5-514b-VirtChass'}]}]
- v =
- [{'local_interface': 'ge-0/1/0.0',
- 'neighbors': [{'remote_capabilities': 20,
- 'remote_chassis_id': '40:b4:f0:c3:34:40',
- 'remote_chassis_id_subtype': 4,
- 'remote_port': 661,
- 'remote_port_subtype': 7,
- 'remote_system_name': 'jex4200-svao-sv-fl-5-514b-VirtChass'}]}]
- ------------------------------------------------------------------------
- File: sa/interfaces/base.py (Line: 84)
- Function: script_clean_result
- 77
- 78 :param profile: Profile
- 79 :type profile: Profile instance
- 80 :param value: Input parameter
- 81 :type value: Arbitrary python type
- 82 :return: Normalized value
- 83 """
- 84 ==> return self.clean(value)
- 85
- 86 def form_clean(self, value):
- 87 """
- 88 Clean up form field
- 89
- 90 :param value: Input parameter
- Variables:
- profile = <noc.local.sa.profiles.Juniper.JUNOS.Profile object at 0x7f71031bf990>
- self = <noc.sa.interfaces.base.ListOfParameter object at 0x7f710988f250>
- value =
- [{'local_interface': 'ge-0/1/0.0',
- 'neighbors': [{'remote_capabilities': 20,
- 'remote_chassis_id': '40:b4:f0:c3:34:40',
- 'remote_chassis_id_subtype': 4,
- 'remote_port': 661,
- 'remote_port_subtype': 7,
- 'remote_system_name': 'jex4200-svao-sv-fl-5-514b-VirtChass'}]}]
- ------------------------------------------------------------------------
- File: sa/interfaces/base.py (Line: 623)
- Function: script_clean_result
- 616 return [[e.script_clean_input(profile, vv) for e, vv in zip(self.element, v)] for v in value]
- 617 else:
- 618 return [self.element.script_clean_input(profile, x) for x in v]
- 619
- 620 def script_clean_result(self, profile, value):
- 621 if value is None and self.default is not None:
- 622 return self.default
- 623 ==> v = super(ListOfParameter, self).script_clean_result(profile, value)
- 624 if self.is_list:
- 625 return [[e.script_clean_result(profile, vv) for e, vv in zip(self.element, v)] for v in value]
- 626 else:
- 627 return [self.element.script_clean_result(profile, x) for x in v]
- 628
- 629
- Variables:
- profile = <noc.local.sa.profiles.Juniper.JUNOS.Profile object at 0x7f71031bf990>
- self = <noc.sa.interfaces.base.ListOfParameter object at 0x7f710988f250>
- value =
- [{'local_interface': 'ge-0/1/0.0',
- 'neighbors': [{'remote_capabilities': 20,
- 'remote_chassis_id': '40:b4:f0:c3:34:40',
- 'remote_chassis_id_subtype': 4,
- 'remote_port': 661,
- 'remote_port_subtype': 7,
- 'remote_system_name': 'jex4200-svao-sv-fl-5-514b-VirtChass'}]}]
- ------------------------------------------------------------------------
- File: sa/interfaces/base.py (Line: 1405)
- Function: script_clean_result
- 1398 return self.clean(__profile, **kwargs)
- 1399
- 1400 def script_clean_result(self, __profile, result):
- 1401 try:
- 1402 rp = self.returns
- 1403 except AttributeError:
- 1404 return result
- 1405 ==> return rp.script_clean_result(__profile, result)
- 1406
- 1407 def template_clean_result(self, __profile, result):
- 1408 return result
- 1409
- 1410 def requires_input(self):
- 1411 for n, p in self.gen_parameters():
- Variables:
- _Interface__profile = <noc.local.sa.profiles.Juniper.JUNOS.Profile object at 0x7f71031bf990>
- rp = <noc.sa.interfaces.base.ListOfParameter object at 0x7f710988f250>
- result =
- [{'local_interface': 'ge-0/1/0.0',
- 'neighbors': [{'remote_capabilities': 20,
- 'remote_chassis_id': '40:b4:f0:c3:34:40',
- 'remote_chassis_id_subtype': 4,
- 'remote_port': 661,
- 'remote_port_subtype': 7,
- 'remote_system_name': 'jex4200-svao-sv-fl-5-514b-VirtChass'}]}]
- self =
- <noc.sa.interfaces.igetlldpneighbors.IGetLLDPNeighbors object at 0x7f7104500110>
- ------------------------------------------------------------------------
- File: sa/script/script.py (Line: 466)
- Function: guarded_run
- 459 self.name, self.kwargs)
- 460 pass
- 461 # Calling script body
- 462 self._thread_id = thread.get_ident()
- 463 result = self.execute(**self.kwargs)
- 464 # Enforce interface result checking
- 465 for i in self.implements:
- 466 ==> result = i.script_clean_result(self.profile, result)
- 467 # Cache result when required
- 468 if self.cache and self.parent is not None:
- 469 self.logger.debug(
- 470 "Write to call cache: %s, %s, %r",
- 471 self.name, self.kwargs, result
- 472 )
- Variables:
- i =
- <noc.sa.interfaces.igetlldpneighbors.IGetLLDPNeighbors object at 0x7f7104500110>
- self = <Script(Thread-2, started 140123344836352)>
- result =
- [{'local_interface': 'ge-0/1/0.0',
- 'neighbors': [{'remote_capabilities': 20,
- 'remote_chassis_id': '40:b4:f0:c3:34:40',
- 'remote_chassis_id_subtype': 4,
- 'remote_port': 661,
- 'remote_port_subtype': 7,
- 'remote_system_name': 'jex4200-svao-sv-fl-5-514b-VirtChass'}]}]
- t0 = 1437745817.186553
- ------------------------------------------------------------------------
- File: sa/script/script.py (Line: 490)
- Function: run
- 483
- 484 def run(self):
- 485 """Script thread worker method"""
- 486 self.logger.debug("Running")
- 487 result = None
- 488 try:
- 489 with self.cancelable():
- 490 ==> result = self.guarded_run()
- 491 except self.TimeOutError:
- 492 self.logger.error("Timed out")
- 493 self.e_timeout = True
- 494 except CancelledError:
- 495 self.logger.error("Cancelled")
- 496 self.e_cancel = True
- Variables:
- self = <Script(Thread-2, started 140123344836352)>
- r = ["<type 'exceptions.TypeError'>", "object of type 'int' has no len()"]
- result = None
- v = TypeError("object of type 'int' has no len()",)
- tb = <traceback object at 0x7f7102b40b90>
- t = <type 'exceptions.TypeError'>
- ------------------------------------------------------------------------
- END OF TRACEBACK
- 2015-07-24 16:50:28,171 Closing
- 2015-07-24 16:50:28,171 Requesting call: <bound method CLISSHSocket.close of <CLISSHSocket(0x7f71031bfe50, 10.36.157.63:22, connected)>>(*(), **{'flush': True})
- 2015-07-24 16:50:29,095 Tick
- 2015-07-24 16:50:29,096 Calling delayed <bound method CLISSHSocket.close of <CLISSHSocket(0x7f71031bfe50, 10.36.157.63:22, connected)>>(*(), **{'flush': True})
- 2015-07-24 16:50:29,096 [CLISSHSocket 10.36.157.63:22] Closing socket
- 2015-07-24 16:50:29,096 Unregister socket CLISSHSocket 10.36.157.63:22
- 2015-07-24 16:50:29,096 3 TICKS TO EXIT
- 2015-07-24 16:50:30,097 Tick
- 2015-07-24 16:50:30,098 2 TICKS TO EXIT
- 2015-07-24 16:50:31,099 Tick
- 2015-07-24 16:50:31,099 1 TICKS TO EXIT
- 2015-07-24 16:50:32,100 Tick
- 2015-07-24 16:50:32,100 EXIT
- 2015-07-24 16:50:32,100 Shutting down the factory
- 2015-07-24 16:50:32,101 Metrics:
- noc.socketfactory.handle.closed_reads: 0
- noc.socketfactory.handle.reads: 187
- noc.socketfactory.handle.writes: 1
- noc.socketfactory.loops: 197
- noc.socketfactory.sockets.count: 0
- noc.socketfactory.sockets.register: 1
- noc.socketfactory.sockets.unregister: 0
- noc.socketfactory.ticks: 13
- 2015-07-24 16:50:32,101 0 TICKS TO EXIT
- 2015-07-24 16:50:32,101 Stopping socket factory
- root@noc:/opt/noc#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement