# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Juniper.ScreenOS.get_version test
## Auto-generated by manage.py debug-script at 2010-09-23 15:42:06
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class Juniper_ScreenOS_get_version_Test(ScriptTestCase):
    script="Juniper.ScreenOS.get_version"
    vendor="Juniper"
    platform='NetScreen-2000'
    version='6.3.0r4.0'
    input={}
    result={'platform': 'NetScreen-2000', 'vendor': 'Juniper', 'version': '6.3.0r4.0'}
    motd=' \nRemote Management Console\n'
    cli={'get system': 'get system\nProduct Name: NetScreen-2000\nSerial Number: 0079072008001111, Control Number: 00000000\nHardware Version: 3010(0)-(04), FPGA checksum: 00000000, VLAN1 IP (0.0.0.0)\nSoftware Version: 6.3.0r4.0, Type: Firewall+VPN\nBOOT ROM Version: 1.1.0\nOS Loader Version: 1.1.5\nCompiled by build_master at: Thu Jul 1 19:55:24 PDT 2010\nBase Mac: 001b.c06d.4680\nFile Name: default (nsISG2000.6.3.0r4.0), Checksum: 04196a9f\n, Total Memory: 2048MB\n\nDate 09/23/2010 15:40:18, Daylight Saving Time enabled\nThe Network Time Protocol is Disabled\nUp 22 hours 22 minutes 47 seconds Since 22Sept2010:17:17:31\nTotal Device Resets: 4, Last Device Reset at: 08/30/2010 18:09:36\n\nSystem in NAT/route mode.\n\nUse interface IP, Config Port: 80\nManager IP enforced: False\nManager IPs: 0\n\nAddress                                  Mask                                     Vsys                \n---------------------------------------- ---------------------------------------- --------------------\nUser Name: netscreen\n\nInterface mgt:\n  description mgt\n  number 0, if_info 0, if_index 0\n  link down, phy-link down, admin status up\n  status change:0\n  vsys Root, zone MGT, vr trust-vr\n  *ip 0.0.0.0/0   mac 001b.c06d.4680\nInterface ethernet1/1:\n  description ethernet1/1\n  number 7, if_info 229320, if_index 0\n  link down, phy-link down, admin status up\n  status change:0\n  vsys Root, zone Null, vr untrust-vr\n  *ip 0.0.0.0/0   mac 001b.c06d.4687\n  bandwidth: physical 0Mbps, configured 0Mbps\nInterface ethernet1/2:\n  description ethernet1/2\n  number 8, if_info 262080, if_index 0\n  link down, phy-link down, admin status up\n  status change:0\n  vsys Root, zone Null, vr untrust-vr\n  *ip 0.0.0.0/0   mac 001b.c06d.4688\n  bandwidth: physical 0Mbps, configured 0Mbps\nInterface ethernet1/3:\n  description ethernet1/3\n  number 9, if_info 294840, if_index 0\n  link down, phy-link down, admin status up\n  status change:0\n  vsys Root, zone Null, vr untrust-vr\n  *ip 0.0.0.0/0   mac 001b.c06d.4689\n  bandwidth: physical 0Mbps, configured 0Mbps\nInterface ethernet1/4:\n  description ethernet1/4\n  number 10, if_info 327600, if_index 0\n  link down, phy-link down, admin status up\n  status change:0\n  vsys Root, zone Null, vr untrust-vr\n  *ip 0.0.0.0/0   mac 001b.c06d.468a\n  bandwidth: physical 0Mbps, configured 0Mbps\nInterface ethernet1/5:\n  description ethernet1/5\n  number 11, if_info 360360, if_index 0\n  link down, phy-link down, admin status up\n  status change:0\n  vsys Root, zone Null, vr untrust-vr\n  *ip 0.0.0.0/0   mac 001b.c06d.468b\n  bandwidth: physical 0Mbps, configured 0Mbps\nInterface ethernet1/6:\n  description ethernet1/6\n  number 12, if_info 393120, if_index 0\n  link down, phy-link down, admin status up\n  status change:0\n  vsys Root, zone Null, vr untrust-vr\n  *ip 0.0.0.0/0   mac 001b.c06d.468c\n  bandwidth: physical 0Mbps, configured 0Mbps\nInterface ethernet1/7:\n  description ethernet1/7\n  number 13, if_info 425880, if_index 0\n  link down, phy-link down, admin status up\n  status change:0\n  vsys Root, zone Null, vr untrust-vr\n  *ip 0.0.0.0/0   mac 001b.c06d.468d\n  bandwidth: physical 0Mbps, configured 0Mbps\nInterface ethernet1/8:\n  description ethernet1/8\n  number 14, if_info 458640, if_index 0\n  link down, phy-link down, admin status up\n  status change:0\n  vsys Root, zone Null, vr untrust-vr\n  *ip 0.0.0.0/0   mac 001b.c06d.468e\n  bandwidth: physical 0Mbps, configured 0Mbps\nInterface ethernet3/1:\n sfp GE SX \n  description ethernet3/1\n  number 29, if_info 950040, if_index 0\n  link up, phy-link up/full-duplex/auto, admin status up\n  status change:1, last change:09/22/2010 17:17:31\n  member of aggregate1\n  vsys Root, zone Null, vr untrust-vr\n  *ip 0.0.0.0/0   mac 001b.c06d.469d\n  bandwidth: physical 1000Mbps, configured 0Mbps\nInterface ethernet3/2:\n sfp GE SX \n  description ethernet3/2\n  number 30, if_info 982800, if_index 0\n  link up, phy-link up/full-duplex/auto, admin status up\n  status change:1, last change:09/22/2010 17:17:31\n  member of aggregate1\n  vsys Root, zone Null, vr untrust-vr\n  *ip 0.0.0.0/0   mac 001b.c06d.469e\n  bandwidth: physical 1000Mbps, configured 0Mbps\nInterface ethernet3/3:\n sfp GE SX \n  description ethernet3/3\n  number 31, if_info 1015560, if_index 0\n  link down, phy-link down/auto, admin status up\n  status change:0\n  vsys Root, zone Null, vr untrust-vr\n  *ip 0.0.0.0/0   mac 001b.c06d.469f\n  bandwidth: physical 0Mbps, configured 0Mbps\nInterface ethernet3/4:\n sfp GE SX \n  description ethernet3/4\n  number 32, if_info 1048320, if_index 0\n  link down, phy-link down/auto, admin status up\n  status change:0\n  vsys Root, zone Null, vr untrust-vr\n  *ip 0.0.0.0/0   mac 001b.c06d.46a0\n  bandwidth: physical 0Mbps, configured 0Mbps\nInterface ethernet4/1:\n sfp GE SX \n  description ethernet4/1\n  number 37, if_info 1212120, if_index 0\n  link up, phy-link up/full-duplex/auto, admin status up\n  status change:1, last change:09/22/2010 19:09:03\n  member of aggregate2\n  vsys Root, zone Null, vr untrust-vr\n  *ip 0.0.0.0/0   mac 001b.c06d.46a5\n  bandwidth: physical 1000Mbps, configured 0Mbps\nInterface ethernet4/2:\n sfp GE SX \n  description ethernet4/2\n  number 38, if_info 1244880, if_index 0\n  link up, phy-link up/full-duplex/auto, admin status up\n  status change:1, last change:09/22/2010 19:09:03\n  member of aggregate2\n  vsys Root, zone Null, vr untrust-vr\n  *ip 0.0.0.0/0   mac 001b.c06d.46a6\n  bandwidth: physical 1000Mbps, configured 0Mbps\nInterface ethernet4/3:\n sfp GE SX \n  description ethernet4/3\n  number 39, if_info 1277640, if_index 0\n  link down, phy-link down/auto, admin status up\n  status change:0\n  vsys Root, zone Null, vr untrust-vr\n  *ip 0.0.0.0/0   mac 001b.c06d.46a7\n  bandwidth: physical 0Mbps, configured 0Mbps\nInterface ethernet4/4:\n sfp GE SX \n  description ethernet4/4\n  number 40, if_info 1310400, if_index 0\n  link down, phy-link down/auto, admin status up\n  status change:0\n  vsys Root, zone Null, vr untrust-vr\n  *ip 0.0.0.0/0   mac 001b.c06d.46a8\n  bandwidth: physical 0Mbps, configured 0Mbps\n',
 'set console page 0': 'set console page 0\n'}
    snmp_get={}
    snmp_getnext={}
        