# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## H3C.VRP.get_version test
## Auto-generated by manage.py debug-script at 2011-03-11 09:14:22
##----------------------------------------------------------------------
## Copyright (C) 2007-2011 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class H3C_VRP_get_version_Test(ScriptTestCase):
    script="H3C.VRP.get_version"
    vendor="H3C"
    platform='5500-EI'
    version='3.03.02s56ep05'
    input={}
    result={'platform': '5500-EI', 'vendor': 'H3C', 'version': '3.03.02s56ep05'}
    motd='\n'
    cli={
## 'display version'
'display version': """
%Mar 11 09:14:17:665 2011 5500-EI-TEC3 SHELL/5/LOGIN:- 1 - admin(172.20.0.181) in unit1 logindisplay version
3Com Corporation
Switch 5500-EI Software Version 3Com OS V3.03.02s56ep05
Copyright (c) 2004-2009 3Com Corporation and its licensors, All rights reserved.
Switch 5500-EI uptime is 33 weeks, 3 days, 22 hours, 1 minute

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

CPLD Version is CPLD 001
Bootrom Version is 4.02
[Subslot 0] 24 FE + 4 GE Hardware Version is 00.00.00 
""",
}
    snmp_get={}
    snmp_getnext={}
