# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## H3C.VRP.get_chassis_id test
## Auto-generated by manage.py debug-script at 2011-03-11 09:18:25
##----------------------------------------------------------------------
## Copyright (C) 2007-2011 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class H3C_VRP_get_chassis_id_Test(ScriptTestCase):
    script="H3C.VRP.get_chassis_id"
    vendor="H3C"
    platform='5500-EI'
    version='3.02.03s56'
    input={}
    result='40:01:C6:51:CA:00'
    motd='\n'
    cli={
## 'display version'
'display version': """
%Oct 23 01:08:40:587 2000 5500-EI-TC SHELL/5/LOGIN:- 1 - admin(172.20.0.181) in unit1 logindisplay version
3Com Corporation
SuperStack 4 Switch 5500-EI 28-Port Software Version 3Com OS V3.02.03s56
Copyright (c) 2004-2007 3Com Corporation and its licensors, All rights reserved.
SuperStack 4 Switch 5500-EI 28-Port uptime is 29 weeks, 1 day, 1 hour, 13 minutes

SuperStack 4 Switch 5500-EI 28-Port with 1 MIPS Processor
64M     bytes DRAM
16384K  bytes Flash Memory
Config Register points to FLASH

CPLD Version is CPLD 001
Bootrom Version is 2.02
[Subslot 0] 24 FE + 4 GE Hardware Version is 00.00.00 
""",
## 'display stp'
'display stp': """display stp
 Protocol Status    :disabled
 Protocol Std.      :IEEE 802.1s
 Version            :3
 CIST Bridge-Prio.  :32768
 MAC address        :4001-c651-ca00
 Max age(s)         :20
 Forward delay(s)   :15
 Hello time(s)      :2
 Max hops           :20""",
}
    snmp_get={}
    snmp_getnext={}
