Advertisement
Guest User

Untitled

a guest
Aug 28th, 2014
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.68 KB | None | 0 0
  1. root@noc:/opt/noc# ./noc debug-script get_vlans jpqfx3500-1-s10.net.billing.ru
  2. 2014-08-28 16:06:55,884 SSH: Using gmpy
  3. 2014-08-28 16:06:56,326 Using JSON library: cjson
  4. 2014-08-28 16:06:56,739 Loading PeriodicRegistry
  5. 2014-08-28 16:06:56,757 Loading DownloaderRegistry
  6. 2014-08-28 16:06:56,847 Loading ProfileRegistry
  7. 2014-08-28 16:06:58,191 Loading ScriptRegistry
  8. 2014-08-28 16:06:58,497 Setting up 'select' polling method
  9. 2014-08-28 16:06:58,498 Activating 'select' poller
  10. 2014-08-28 16:06:58,498 Loading private ssh key from 'etc/ssh/id_rsa'
  11. 2014-08-28 16:06:58,498 Loading public ssh key from 'etc/ssh/id_rsa.pub'
  12. access_profile {
  13. profile: "Juniper.JUNOS"
  14. scheme: SSH
  15. address: "172.30.2.151"
  16. user: "nimda"
  17. password: "password"
  18. attrs {
  19. key: "platform"
  20. value: "qfx3500s"
  21. }
  22. attrs {
  23. key: "vendor"
  24. value: "Juniper"
  25. }
  26. attrs {
  27. key: "version"
  28. value: "12.3X50-D10.3"
  29. }
  30. }
  31. object_name: "jpqfx3500-1-s10.net.billing.ru"
  32. script: "Juniper.JUNOS.get_vlans"
  33.  
  34. 2014-08-28 16:06:58,503 Running socket factory (SelectPoller)
  35. 2014-08-28 16:06:58,503 Running script thread
  36. 2014-08-28 16:06:58,504 Creating transaction id=1198226780 method=None callback=None
  37. 2014-08-28 16:06:58,504 [Juniper.JUNOS.get_vlans(jpqfx3500-1-s10.net.billing.ru, 172.30.2.151)] Running
  38. 2014-08-28 16:06:58,505 [Juniper.JUNOS.get_vlans(jpqfx3500-1-s10.net.billing.ru, 172.30.2.151)] Running script: Juniper.JUNOS.get_vlans ({})
  39. 2014-08-28 16:06:58,505 [Juniper.JUNOS.get_vlans(jpqfx3500-1-s10.net.billing.ru, 172.30.2.151)] cli(show vlan brief)
  40. 2014-08-28 16:06:58,505 [Juniper.JUNOS.get_vlans(jpqfx3500-1-s10.net.billing.ru, 172.30.2.151)] Running new provider
  41. 2014-08-28 16:06:58,506 [SSH: 172.30.2.151] ==> SSH_START
  42. 2014-08-28 16:06:58,506 [SSH: 172.30.2.151] set_timeout(30)
  43. 2014-08-28 16:06:58,506 register_socket(<CLISSHSocket(0x412ca10, 172.30.2.151:22, )>,None)
  44. 2014-08-28 16:06:59,504 Tick
  45. 2014-08-28 16:06:59,505 3 TICKS TO EXIT
  46. 2014-08-28 16:06:59,505 [SSH: 172.30.2.151] Initializing socket
  47. 2014-08-28 16:06:59,505 [SSH: 172.30.2.151] Connecting 172.30.2.151:22
  48. 2014-08-28 16:06:59,520 [SSH: 172.30.2.151] Connected
  49. 2014-08-28 16:06:59,710 [SSH: 172.30.2.151] event(SSH_VERSION)
  50. 2014-08-28 16:06:59,710 [SSH: 172.30.2.151] ==> SSH_VERSION
  51. 2014-08-28 16:06:59,710 [SSH: 172.30.2.151] Remote protocol version 2.0, remote software version OpenSSH_6.0
  52. 2014-08-28 16:06:59,710 [SSH: 172.30.2.151] Setting SSH transforms to: in=none none, out=none none
  53. 2014-08-28 16:06:59,710 [SSH: 172.30.2.151] Setting SSH transform keys
  54. 2014-08-28 16:06:59,711 [SSH: 172.30.2.151] Sending message type MSG_KEXINIT (20)
  55. 2014-08-28 16:06:59,711 [SSH: 172.30.2.151] event(SSH_KEY_EXCHANGE)
  56. 2014-08-28 16:06:59,711 [SSH: 172.30.2.151] ==> SSH_KEY_EXCHANGE
  57. 2014-08-28 16:06:59,777 [SSH: 172.30.2.151] Receiving message type MSG_KEXINIT (20)
  58. 2014-08-28 16:06:59,778 [SSH: 172.30.2.151] 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-sha2-256', 'hmac-sha2-256-96', 'hmac-sha2-512', 'hmac-sha2-512-96', 'hmac-ripemd160', 'hmac-ripemd160@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] mac_sc=['hmac-md5', 'hmac-sha1', 'umac-64@openssh.com', 'hmac-sha2-256', 'hmac-sha2-256-96', 'hmac-sha2-512', 'hmac-sha2-512-96', 'hmac-ripemd160', 'hmac-ripemd160@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] comp_cs=['none', 'zlib@openssh.com'] comp_sc['none', 'zlib@openssh.com']
  59. 2014-08-28 16:06:59,778 [SSH: 172.30.2.151] Setting SSH transforms to: in=aes256-ctr hmac-sha1, out=aes256-ctr hmac-sha1
  60. 2014-08-28 16:06:59,778 [SSH: 172.30.2.151] Selecting diffie-hellman-group-exchange-sha1 ssh-rsa, in=(aes256-ctr hmac-sha1 none) out=(aes256-ctr hmac-sha1 none)
  61. 2014-08-28 16:06:59,778 [SSH: 172.30.2.151] Sending message type MSG_KEX_DH_GEX_REQUEST_OLD (30)
  62. 2014-08-28 16:06:59,827 [SSH: 172.30.2.151] Receiving message type MSG_KEXDH_REPLY (31)
  63. 2014-08-28 16:06:59,829 [SSH: 172.30.2.151] Sending message type MSG_KEX_DH_GEX_INIT (32)
  64. 2014-08-28 16:07:00,593 [SSH: 172.30.2.151] Receiving message type MSG_KEX_DH_GEX_REPLY (33)
  65. 2014-08-28 16:07:00,593 [SSH: 172.30.2.151] Server PK fingerprint: 3a:21:a2:49:17:0c:4d:c5:e4:d0:58:55:33:c7:a0:ec
  66. 2014-08-28 16:07:00,596 [SSH: 172.30.2.151] Setting SSH transform keys
  67. 2014-08-28 16:07:00,597 [SSH: 172.30.2.151] Sending message type MSG_NEWKEYS (21)
  68. 2014-08-28 16:07:00,597 [SSH: 172.30.2.151] Receiving message type MSG_NEWKEYS (21)
  69. 2014-08-28 16:07:00,597 [SSH: 172.30.2.151] Using new keys
  70. 2014-08-28 16:07:00,598 [SSH: 172.30.2.151] event(SSH_AUTH)
  71. 2014-08-28 16:07:00,598 [SSH: 172.30.2.151] ==> SSH_AUTH
  72. 2014-08-28 16:07:00,598 [SSH: 172.30.2.151] Requesting service ssh-userauth
  73. 2014-08-28 16:07:00,599 [SSH: 172.30.2.151] Sending message type MSG_SERVICE_REQUEST (5)
  74. 2014-08-28 16:07:00,599 Tick
  75. 2014-08-28 16:07:00,599 Resetting wait ticks
  76. 2014-08-28 16:07:00,602 [SSH: 172.30.2.151] Receiving message type MSG_SERVICE_ACCEPT (6)
  77. 2014-08-28 16:07:00,602 [SSH: 172.30.2.151] Starting service ssh-userauth
  78. 2014-08-28 16:07:00,603 [SSH: 172.30.2.151] event(SSH_AUTH_PASSWORD)
  79. 2014-08-28 16:07:00,603 [SSH: 172.30.2.151] ==> SSH_AUTH_PASSWORD
  80. 2014-08-28 16:07:00,603 [SSH: 172.30.2.151] Authenticating with 'none' method
  81. 2014-08-28 16:07:00,603 [SSH: 172.30.2.151] Sending message type MSG_USERAUTH_REQUEST (50)
  82. 2014-08-28 16:07:00,614 [SSH: 172.30.2.151] Receiving message type MSG_USERAUTH_FAILURE (51)
  83. 2014-08-28 16:07:00,614 [SSH: 172.30.2.151] Authentication method 'none' has been failed. Trying next method (publickey,password,keyboard-interactive)
  84. 2014-08-28 16:07:00,615 [SSH: 172.30.2.151] Partially authenticated with 'none'. Trying next method
  85. 2014-08-28 16:07:00,615 [SSH: 172.30.2.151] Authenticating with 'publickey' method
  86. 2014-08-28 16:07:00,616 [SSH: 172.30.2.151] Sending message type MSG_USERAUTH_REQUEST (50)
  87. 2014-08-28 16:07:00,624 [SSH: 172.30.2.151] Receiving message type MSG_USERAUTH_FAILURE (51)
  88. 2014-08-28 16:07:00,624 [SSH: 172.30.2.151] Authentication method 'publickey' has been failed. Trying next method (publickey,password,keyboard-interactive)
  89. 2014-08-28 16:07:00,625 [SSH: 172.30.2.151] Partially authenticated with 'publickey'. Trying next method
  90. 2014-08-28 16:07:00,625 [SSH: 172.30.2.151] Authenticating with 'password' method
  91. 2014-08-28 16:07:00,625 [SSH: 172.30.2.151] Sending message type MSG_USERAUTH_REQUEST (50)
  92. 2014-08-28 16:07:00,639 [SSH: 172.30.2.151] Receiving message type MSG_USERAUTH_SUCCESS (52)
  93. 2014-08-28 16:07:00,639 [SSH: 172.30.2.151] event(SSH_CHANNEL)
  94. 2014-08-28 16:07:00,639 [SSH: 172.30.2.151] ==> SSH_CHANNEL
  95. 2014-08-28 16:07:00,639 [SSH: 172.30.2.151] Sending message type MSG_CHANNEL_OPEN (90)
  96. 2014-08-28 16:07:00,651 [SSH: 172.30.2.151] Receiving message type MSG_CHANNEL_OPEN_CONFIRMATION (91)
  97. 2014-08-28 16:07:00,651 [SSH: 172.30.2.151] Opening channel. local=0 remote=0
  98. 2014-08-28 16:07:00,651 [SSH: 172.30.2.151] event(SSH_PTY)
  99. 2014-08-28 16:07:00,652 [SSH: 172.30.2.151] ==> SSH_PTY
  100. 2014-08-28 16:07:00,652 [SSH: 172.30.2.151] Requesting PTY
  101. 2014-08-28 16:07:00,652 [SSH: 172.30.2.151] Sending message type MSG_CHANNEL_REQUEST (98)
  102. 2014-08-28 16:07:00,661 [SSH: 172.30.2.151] Receiving message type MSG_CHANNEL_SUCCESS (99)
  103. 2014-08-28 16:07:00,661 [SSH: 172.30.2.151] event(SSH_SHELL)
  104. 2014-08-28 16:07:00,661 [SSH: 172.30.2.151] ==> SSH_SHELL
  105. 2014-08-28 16:07:00,661 [SSH: 172.30.2.151] Requesting shell
  106. 2014-08-28 16:07:00,661 [SSH: 172.30.2.151] Sending message type MSG_CHANNEL_REQUEST (98)
  107. 2014-08-28 16:07:00,671 [SSH: 172.30.2.151] Receiving message type MSG_CHANNEL_WINDOW_ADJUST (93)
  108. 2014-08-28 16:07:00,671 [SSH: 172.30.2.151] Receiving message type MSG_CHANNEL_SUCCESS (99)
  109. 2014-08-28 16:07:00,671 [SSH: 172.30.2.151] event(START)
  110. 2014-08-28 16:07:00,671 [SSH: 172.30.2.151] ==> START
  111. 2014-08-28 16:07:00,671 [SSH: 172.30.2.151] set_patterns([('([Uu]sername|[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.*?\\)---)', 'PAGER')])
  112. 2014-08-28 16:07:00,761 [SSH: 172.30.2.151] on_read: '--- JUNOS 12.3X50-D10.3 built 2012-12-08 09:01:50 UTC\r\n'
  113. 2014-08-28 16:07:01,430 [SSH: 172.30.2.151] on_read: 'nimda@jpqfx3500-1-s10> '
  114. 2014-08-28 16:07:01,432 [SSH: 172.30.2.151] Starting synchronous FSM check
  115. 2014-08-28 16:07:01,433 [SSH: 172.30.2.151] match '^(({master(?::\d+)}\n)?\S+>)|(({master(?::\d+)})?\[edit.*?\]\n\S+#)|(\[Type \^D at a new line to end input\])'
  116. 2014-08-28 16:07:01,434 [SSH: 172.30.2.151] event(PROMPT)
  117. 2014-08-28 16:07:01,435 [SSH: 172.30.2.151] ==> PROMPT
  118. 2014-08-28 16:07:01,436 [SSH: 172.30.2.151] on_PROMPT_enter
  119. 2014-08-28 16:07:01,437 [SSH: 172.30.2.151] Using prompt pattern: ^(({master(?::\d+)}\n)?\S+>)|(({master(?::\d+)})?\[edit.*?\]\n\S+#)|(\[Type \^D at a new line to end input\])
  120. 2014-08-28 16:07:01,438 [SSH: 172.30.2.151] set_patterns([('^(({master(?::\\d+)}\\n)?\\S+>)|(({master(?::\\d+)})?\\[edit.*?\\]\\n\\S+#)|(\\[Type \\^D at a new line to end input\\])', 'PROMPT'), ('(^---\\(more.*?\\)---)', 'PAGER')])
  121. 2014-08-28 16:07:01,477 [Juniper.JUNOS.get_vlans(jpqfx3500-1-s10.net.billing.ru, 172.30.2.151)] CLI Provider is ready
  122. 2014-08-28 16:07:01,478 [Juniper.JUNOS.get_vlans(jpqfx3500-1-s10.net.billing.ru, 172.30.2.151)] Disable paging
  123. 2014-08-28 16:07:01,478 [Juniper.JUNOS.get_vlans(jpqfx3500-1-s10.net.billing.ru, 172.30.2.151)] cli(set cli screen-length 0)
  124. 2014-08-28 16:07:01,480 [SSH: 172.30.2.151] submit('set cli screen-length 0', bulk_lines=None, streaming=False)
  125. 2014-08-28 16:07:01,481 [SSH: 172.30.2.151] Sending message type MSG_CHANNEL_DATA (94)
  126. 2014-08-28 16:07:02,441 Tick
  127. 2014-08-28 16:07:02,441 Resetting wait ticks
  128. 2014-08-28 16:07:02,445 [SSH: 172.30.2.151] on_read: 's'
  129. 2014-08-28 16:07:02,446 [SSH: 172.30.2.151] on_read: 'et'
  130. 2014-08-28 16:07:02,450 [SSH: 172.30.2.151] on_read: ' '
  131. 2014-08-28 16:07:02,451 [SSH: 172.30.2.151] on_read: 'cl'
  132. 2014-08-28 16:07:02,453 [SSH: 172.30.2.151] on_read: 'i'
  133. 2014-08-28 16:07:02,456 [SSH: 172.30.2.151] on_read: ' '
  134. 2014-08-28 16:07:02,457 [SSH: 172.30.2.151] on_read: 'screen-length'
  135. 2014-08-28 16:07:02,459 [SSH: 172.30.2.151] on_read: ' '
  136. 2014-08-28 16:07:02,461 [SSH: 172.30.2.151] on_read: '0'
  137. 2014-08-28 16:07:02,465 [SSH: 172.30.2.151] on_read: ' '
  138. 2014-08-28 16:07:02,467 [SSH: 172.30.2.151] on_read: '\r\n'
  139. 2014-08-28 16:07:02,470 [SSH: 172.30.2.151] on_read: 'Screen length set to 0\r\n'
  140. 2014-08-28 16:07:02,471 [SSH: 172.30.2.151] on_read: '\r\n'
  141. 2014-08-28 16:07:02,472 [SSH: 172.30.2.151] on_read: 'nimda@jpqfx3500-1-s10> '
  142. 2014-08-28 16:07:02,472 [SSH: 172.30.2.151] Starting synchronous FSM check
  143. 2014-08-28 16:07:02,472 [SSH: 172.30.2.151] match '^(({master(?::\d+)}\n)?\S+>)|(({master(?::\d+)})?\[edit.*?\]\n\S+#)|(\[Type \^D at a new line to end input\])'
  144. 2014-08-28 16:07:02,473 [SSH: 172.30.2.151] Starting synchronous FSM check
  145. 2014-08-28 16:07:02,473 [SSH: 172.30.2.151] event(PROMPT)
  146. 2014-08-28 16:07:02,482 [Juniper.JUNOS.get_vlans(jpqfx3500-1-s10.net.billing.ru, 172.30.2.151)] cli(set cli screen-length 0) returns:
  147. ===[ set cli screen-length 0 ]==========================================
  148. ' \nScreen length set to 0\n\n'
  149. ========================================================================
  150. 2014-08-28 16:07:02,482 [SSH: 172.30.2.151] submit('show vlan brief', bulk_lines=None, streaming=False)
  151. 2014-08-28 16:07:02,483 [SSH: 172.30.2.151] Sending message type MSG_CHANNEL_DATA (94)
  152. 2014-08-28 16:07:03,474 Tick
  153. 2014-08-28 16:07:03,474 Resetting wait ticks
  154. 2014-08-28 16:07:03,479 [SSH: 172.30.2.151] on_read: 'show'
  155. 2014-08-28 16:07:03,482 [SSH: 172.30.2.151] on_read: ' vlan'
  156. 2014-08-28 16:07:03,491 [SSH: 172.30.2.151] on_read: 's br'
  157. 2014-08-28 16:07:03,493 [SSH: 172.30.2.151] on_read: 'ief'
  158. 2014-08-28 16:07:03,583 [SSH: 172.30.2.151] on_read: ' '
  159. 2014-08-28 16:07:03,586 [SSH: 172.30.2.151] on_read: '\r\n'
  160. 2014-08-28 16:07:03,597 [SSH: 172.30.2.151] on_read: ' Ports \r\nName Tag Primary Address Active/Total\r\nDC_AUX 323 172.30.123.253/24 2/2\r\n'
  161. 2014-08-28 16:07:03,609 [SSH: 172.30.2.151] on_read: 'DC_MNG 302 172.30.2.151/23 2/2\r\n'
  162. 2014-08-28 16:07:03,610 [SSH: 172.30.2.151] on_read: 'DC_SRV0 300 24/26\r\nDC_SRV5 305 4/4\r\n'
  163. 2014-08-28 16:07:03,613 [SSH: 172.30.2.151] on_read: 'DC_STORE 413 33/42\r\n'
  164. 2014-08-28 16:07:03,613 [SSH: 172.30.2.151] on_read: 'DC_STORE2 415 25/27\r\nDC_TVM_STOR 325 3/7\r\n'
  165. 2014-08-28 16:07:03,615 [SSH: 172.30.2.151] on_read: 'DC_VBACKUP 416 21/22\r\n'
  166. 2014-08-28 16:07:03,618 [SSH: 172.30.2.151] on_read: 'DC_VCLOUD_RELEASE 417 5/5\r\nDC_VDI_EDU 370 11/12\r\n'
  167. 2014-08-28 16:07:03,620 [SSH: 172.30.2.151] on_read: 'DC_VMWARE 424 23/25\r\n'
  168. 2014-08-28 16:07:03,623 [SSH: 172.30.2.151] on_read: 'DC_VM_TSTLAB 259 3/3\r\n'
  169. 2014-08-28 16:07:03,624 [SSH: 172.30.2.151] on_read: 'DC_vlan1 1 \r\n'
  170. 2014-08-28 16:07:03,626 [SSH: 172.30.2.151] on_read: 'MC_AE_QFX1-2 500 3.3.3.1/30 1/1\r\n'
  171. 2014-08-28 16:07:03,628 [SSH: 172.30.2.151] on_read: 'default \r\n'
  172. 2014-08-28 16:07:03,629 [SSH: 172.30.2.151] on_read: '\r\n'
  173. 2014-08-28 16:07:03,630 [SSH: 172.30.2.151] on_read: 'nimda@jpqfx3500-1-s10> '
  174. 2014-08-28 16:07:03,631 [SSH: 172.30.2.151] Starting synchronous FSM check
  175. 2014-08-28 16:07:03,631 [SSH: 172.30.2.151] match '^(({master(?::\d+)}\n)?\S+>)|(({master(?::\d+)})?\[edit.*?\]\n\S+#)|(\[Type \^D at a new line to end input\])'
  176. 2014-08-28 16:07:03,631 [SSH: 172.30.2.151] Starting synchronous FSM check
  177. 2014-08-28 16:07:03,632 [SSH: 172.30.2.151] event(PROMPT)
  178. 2014-08-28 16:07:03,648 [Juniper.JUNOS.get_vlans(jpqfx3500-1-s10.net.billing.ru, 172.30.2.151)] cli(show vlan brief) returns:
  179. ===[ show vlan brief ]==================================================
  180. [{'name': 'DC_AUX', 'vlan_id': '323'}, {'name': 'DC_MNG', 'vlan_id': '302'}, {'name': 'DC_SRV0', 'vlan_id': '300'}, {'name': 'DC_SRV5', 'vlan_id': '305'}, {'name': 'DC_STORE', 'vlan_id': '413'}, {'name': 'DC_STORE2', 'vlan_id': '415'}, {'name': 'DC_TVM_STOR', 'vlan_id': '325'}, {'name': 'DC_VBACKUP', 'vlan_id': '416'}, {'name': 'DC_VCLOUD_RELEASE', 'vlan_id': '417'}, {'name': 'DC_VDI_EDU', 'vlan_id': '370'}, {'name': 'DC_VMWARE', 'vlan_id': '424'}, {'name': 'DC_VM_TSTLAB', 'vlan_id': '259'}, {'name': 'DC_vlan1', 'vlan_id': '1'}, {'name': 'MC_AE_QFX1-2', 'vlan_id': '500'}]
  181. ========================================================================
  182. 2014-08-28 16:07:03,649 [Juniper.JUNOS.get_vlans(jpqfx3500-1-s10.net.billing.ru, 172.30.2.151)] Script returns with result: [{'name': 'DC_AUX', 'vlan_id': 323}, {'name': 'DC_MNG', 'vlan_id': 302}, {'name': 'DC_SRV0', 'vlan_id': 300}, {'name': 'DC_SRV5', 'vlan_id': 305}, {'name': 'DC_STORE', 'vlan_id': 413}, {'name': 'DC_STORE2', 'vlan_id': 415}, {'name': 'DC_TVM_STOR', 'vlan_id': 325}, {'name': 'DC_VBACKUP', 'vlan_id': 416}, {'name': 'DC_VCLOUD_RELEASE', 'vlan_id': 417}, {'name': 'DC_VDI_EDU', 'vlan_id': 370}, {'name': 'DC_VMWARE', 'vlan_id': 424}, {'name': 'DC_VM_TSTLAB', 'vlan_id': 259}, {'name': 'DC_vlan1', 'vlan_id': 1}, {'name': 'MC_AE_QFX1-2', 'vlan_id': 500}]
  183. 2014-08-28 16:07:03,649 [Juniper.JUNOS.get_vlans(jpqfx3500-1-s10.net.billing.ru, 172.30.2.151)] Closing
  184. 2014-08-28 16:07:03,649 Requesting call: <bound method CLISSHSocket.close of <CLISSHSocket(0x412ca10, 172.30.2.151:22, connected)>>(*(), **{'flush': True})
  185. 2014-08-28 16:07:04,633 Tick
  186. 2014-08-28 16:07:04,634 Calling delayed <bound method CLISSHSocket.close of <CLISSHSocket(0x412ca10, 172.30.2.151:22, connected)>>(*(), **{'flush': True})
  187. 2014-08-28 16:07:04,634 [SSH: 172.30.2.151] Closing socket
  188. 2014-08-28 16:07:04,634 unregister_socket(<CLISSHSocket(0x412ca10, 172.30.2.151:22, closing)>)
  189. 2014-08-28 16:07:04,634 3 TICKS TO EXIT
  190. 2014-08-28 16:07:05,636 Tick
  191. 2014-08-28 16:07:05,636 2 TICKS TO EXIT
  192. 2014-08-28 16:07:06,637 Tick
  193. 2014-08-28 16:07:06,637 1 TICKS TO EXIT
  194. 2014-08-28 16:07:07,638 Tick
  195. 2014-08-28 16:07:07,639 EXIT
  196. 2014-08-28 16:07:07,641 SCRIPT RESULT: Juniper.JUNOS.get_vlans(jpqfx3500-1-s10.net.billing.ru, 172.30.2.151)
  197. [{'name': 'DC_AUX', 'vlan_id': 323},
  198. {'name': 'DC_MNG', 'vlan_id': 302},
  199. {'name': 'DC_SRV0', 'vlan_id': 300},
  200. {'name': 'DC_SRV5', 'vlan_id': 305},
  201. {'name': 'DC_STORE', 'vlan_id': 413},
  202. {'name': 'DC_STORE2', 'vlan_id': 415},
  203. {'name': 'DC_TVM_STOR', 'vlan_id': 325},
  204. {'name': 'DC_VBACKUP', 'vlan_id': 416},
  205. {'name': 'DC_VCLOUD_RELEASE', 'vlan_id': 417},
  206. {'name': 'DC_VDI_EDU', 'vlan_id': 370},
  207. {'name': 'DC_VMWARE', 'vlan_id': 424},
  208. {'name': 'DC_VM_TSTLAB', 'vlan_id': 259},
  209. {'name': 'DC_vlan1', 'vlan_id': 1},
  210. {'name': 'MC_AE_QFX1-2', 'vlan_id': 500}]
  211. 2014-08-28 16:07:07,644 Shutting down the factory
  212. 2014-08-28 16:07:07,644 0 TICKS TO EXIT
  213. 2014-08-28 16:07:07,644 Stopping socket factory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement