# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## EdgeCore.ES.get_chassis_id test
## Auto-generated by manage.py debug-script at 2010-11-26 18:38:42
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class EdgeCore_ES_get_chassis_id_Test(ScriptTestCase):
    script="EdgeCore.ES.get_chassis_id"
    vendor="EdgeCore"
    platform='ES4612'
    version='1.0.6.9'
    input={}
    result='00:12:CF:7E:0F:30'
    motd=' \n\n      CLI session with the 8 SFP ports + 4 Gigabit Combo ports L2/L3/L4 managed standalone switch is opened.\n      To end the CLI session, enter [Exit].\n\n'
    cli={
## 'show version'
'show version': """show version
Unit1
 Serial number          : A751035038
 Hardware version       : R01A
 Number of ports        :12
 Main power status      :up
 Redundant power status :not present

Agent (master)
 Unit ID                : 1
 Loader version         : 2.3.0.2
 Boot ROM version       : 2.2.0.1
 Operation code version : 1.0.6.9
""",
## 'show system'
'show system': """show system
System description: 8 SFP ports + 4 Gigabit Combo ports L2/L3/L4 managed standalone switch
System OID string: 1.3.6.1.4.1.259.6.10.57
System information
 System Up time: 38 days, 6 hours, 7 minutes, and 4.9 seconds
 System Name            : Robespiera4_4612
 System Location        : [NONE]
 System Contact         : [NONE]
 MAC address            : 00-12-CF-7E-0F-30
 Web server             : enable
 Web server port        : 80
 Web secure server      : enable
 Web secure server port : 443
 Telnet server          : enable
 Telnet port            : 23
 Authentication login   :  TACACS local none
 Jumbo Frame :            Disabled 
 POST result              
DUMMY Test 1.................PASS
UART LOOP BACK Test..........PASS
DRAM Test....................PASS
Timer Test...................PASS
PCI Device 1 Test............PASS
I2C bus Initialization.......PASS
RTC Initialization...........PASS
Switch Int Loopback test.....PASS

Done All Pass.""",
}
    snmp_get={}
    snmp_getnext={}
