# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## H3C.VRP.get_version test
## Auto-generated by manage.py debug-script at 2011-03-11 09:32:27
##----------------------------------------------------------------------
## 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='4500'
    version='3.01.00s56p01'
    input={}
    result={'platform': '4500 50-Port', 'vendor': 'H3C', 'version': '3.01.00s56p01'}
    motd='\n'
    cli={
## 'display version'
'display version': """
%Dec  8 15:31:21:05 2000 4500 SHELL/5/LOGIN:- 1 - admin(172.20.0.181) in unit1 logindisplay version
3Com Corporation
SuperStack 3 Switch 4500 50-Port Software Version 3Com OS V3.01.00s56p01
Copyright(C) 2003-2005 3Com Corporation.  All Rights Reserved.
SuperStack 3 Switch 4500 50-Port uptime is 35 weeks, 5 days, 15 hours, 36 minutes
SuperStack 3 Switch 4500 50-Port with 1 MIPS Processor
64M     bytes DRAM
8196K   bytes Flash Memory
Config Register points to FLASH

CPLD Version is CPLD 001
Bootrom Version is 1.01
[Subslot 0] 48 FE + 4 GE Hardware Version is 00.00.00 

""",
}
    snmp_get={}
    snmp_getnext={}
