# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Juniper.ScreenOS.get_version test
## Auto-generated by manage.py debug-script at 2010-09-30 23:37:51
##----------------------------------------------------------------------
## 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-204'
    version='5.4.0r18.0'
    input={}
    result={'platform': 'NetScreen-204', 'vendor': 'Juniper', 'version': '5.4.0r18.0'}
    motd=' \nRemote Management Console\n'
    cli={
## 'get system'
'get system': """get system
Product Name: NetScreen-204
Serial Number: 0098082006000178, Control Number: 00000000
Hardware Version: 0110(0)-(12), FPGA checksum: 00000000, VLAN1 IP (0.0.0.0)
Software Version: 5.4.0r18.0, Type: Firewall+VPN
Compiled by build_master at: Tue Aug 17 08:51:27 PDT 2010
Base Mac: 0014.f643.80fc
File Name: ns200.5.4.0r18.0, Checksum: 6c2f30ed


Date 09/30/2010 23:33:13, Daylight Saving Time enabled
The Network Time Protocol is Disabled
Up 5 hours 1 minutes 27 seconds Since 30Sept2010:18:31:46
Total Device Resets: 2, Last Device Reset at: 09/28/2010 18:11:48

System in NAT/route mode.

Use interface IP, Config Port: 80
Mng Host IP: 10.10.10.10/255.255.255.255
Mng Host IP: 10.10.10.20/255.255.255.255
User Name: root

Interface ethernet1:
  description ethernet1
  number 0, if_info 0, if_index 0, mode route
link up, phy-link up/full-duplex
  vsys Root, zone Untrust, vr trust-vr
  dhcp client disabled
  PPPoE disabled
  admin mtu 0, operating mtu 1500, default mtu 1500
  *ip 213.121.231.129/30   mac 0014.f643.80fc
  *manage ip 213.121.231.129, mac 0014.f643.80fc
  route-deny disable
  bandwidth: physical 100000kbps, configured egress [gbw 0kbps mbw 0kbps]
             configured ingress mbw 0kbps, current bw 0kbps
             total allocated gbw 0kbps
Interface ethernet2:
  description ethernet2
  number 5, if_info 10280, if_index 0, mode nat
  link up, phy-link up/full-duplex
  vsys Root, zone DMZ, vr trust-vr
  dhcp client disabled
  PPPoE disabled
  admin mtu 0, operating mtu 1500, default mtu 1500
  *ip 0.0.0.0/0   mac 0014.f643.8cf5
  *manage ip 0.0.0.0, mac 0014.f643.8cf5
  bandwidth: physical 100000kbps, configured egress [gbw 0kbps mbw 0kbps]
             configured ingress mbw 0kbps, current bw 0kbps
             total allocated gbw 0kbps
Interface ethernet3:
description ethernet3
  number 6, if_info 12336, if_index 0, mode route
  link down, phy-link down
  vsys Root, zone Untrust, vr trust-vr
  dhcp client disabled
  PPPoE disabled
  admin mtu 0, operating mtu 1500, default mtu 1500
  *ip 0.0.0.0/0   mac 0014.f643.8cf6
  *manage ip 0.0.0.0, mac 0014.f643.8cf6
  bandwidth: physical 0kbps, configured egress [gbw 0kbps mbw 0kbps]
             configured ingress mbw 0kbps, current bw 0kbps
             total allocated gbw 0kbps
Interface ethernet4:
  description ethernet4
  number 7, if_info 14392, if_index 0
  link down, phy-link down
  vsys Root, zone HA, vr trust-vr
  *ip 0.0.0.0/0   mac 0014.f643.8cf7
  bandwidth: physical 0kbps, configured egress [gbw 0kbps mbw 0kbps]
             configured ingress mbw 0kbps, current bw 0kbps
             total allocated gbw 0kbps""",
}
    snmp_get={}
    snmp_getnext={}
