# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Huawei.VRP.get_version test
## Auto-generated by manage.py debug-script at 2010-09-24 12:38:53
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class Huawei_VRP_get_version_Test(ScriptTestCase):
    script="Huawei.VRP.get_version"
    vendor="Huawei"
    platform='MA5200G-8'
    version='5.30'
    input={}
    result={'platform': 'MA5200G-8', 'vendor': 'Huawei', 'version': '5.30'}
    motd='\nNote: The max number of VTY users is 5, and the current number\n      of VTY users on line is 1.\n'
    cli={'display version': "display version\nHuawei Versatile Routing Platform Software\nVRP (R) software, Version 5.30 (MA5200G V300R003C01B063)\nCopyright (C) 2000-2008 Huawei Technologies Co., Ltd\nQuidway MA5200G-8 uptime is 39 weeks, 2 days, 16 hours, 43 minutes\nPatch: V300R003SPH022\n  \nSMU 9(Master) : uptime is 39 weeks, 2 days, 16 hours, 43 minutes\n  1024M    bytes SDRAM\n  16M      bytes Flash Memory\n  128K     bytes NVRAM\n  38G      bytes Hard Disk\n  Pcb      Version : H521SMU REV 0\n  Logic    Version : 005\n  BootROM  Version : 006-026\n  Bas      Version : 5200-33106322\n  Software Version : VRP (R) software, Version 5.30 (MA5200G V300R003C01B063)\n  BarCode          : 037621107C000418\n  \n  Switch Fabric:\n    Logic    Version : 003\n    Software Version : V4R01D1\n  \n  Clock:\n    StartupTime   2009/12/22   18:56:01 \n                                              Pcb      Version : H521CLK REV A\n    Epld     Version : 009\n    Software version : 010\n  \nSMU 10(Slave)  : uptime is 39 weeks, 2 days, 16 hours, 43 minutes\n  1024M    bytes SDRAM\n  16M      bytes Flash Memory\n  128K     bytes NVRAM\n  38G      bytes Hard Disk\n  Pcb      Version : H521SMU REV 0\n  Logic    Version : 005\n  BootROM  Version : 006-026\n  Bas      Version : 5200-33106322\n  Software Version : VRP (R) software, Version 5.30 (MA5200G V300R003C01B063)\n  BarCode          : 0376211081000023\n  \n  Switch Fabric:\n    Logic    Version : 003\n    Software Version : V4R01D1\n  \n  Clock:\n    StartupTime   2009/12/22   18:56:39 \n    Pcb      Version : H521CLK REV A\n                                              Epld     Version : 009\n    Software version : 010\n  \nSFUF 1  : uptime is 39 weeks, 2 days, 16 hours, 37 minutes, normal boot\n  Host    Processor :\n    256M     bytes SDRAM\n    16M      bytes Flash Memory\n  Network Processor :\n    292M     bytes SDRAM\n    5M       bytes SRAM\n  NP       Version : 3.1\n  CP PCB    Version : H521CPCD VER.D\n  CP Logic  Version : 400\n  Pcb      Version : H521SFUF  REV A\n  Logic    Version : 003\n  BootROM  Version : 005-016\n  Fsu      Version : 5200-33106322\n  Efu      Version : 5200-33106322\n  BarCode          : 030AYN1081000147\n  PIC0's version information:\n    Pcb      Version : H521O2GDF  REV A\n    Single FPGA  Version : 6\n  PIC1's version information:\n                                              Pcb      Version : H521O2GDF  REV A\n    Single FPGA  Version : 6\n  \nSSUT 2  : uptime is 39 weeks, 2 days, 16 hours, 39 minutes, normal boot\n  Host    Processor :\n    512M     bytes SDRAM\n    16M      bytes Flash Memory\n  Network Processor :\n    292M     bytes SDRAM\n    5M       bytes SRAM\n  NP       Version : 3.1\n  CP PCB    Version : H521CPCE VER.D\n  CP Logic  Version : 400\n  Pcb      Version : H522SSUT  REV B\n  Logic    Version : 003\n  BootROM  Version : 005-016\n  Fsu      Version : 5200-33106322\n  Efu      Version : 5200-33106322\n  TCMA's version information:\n    Pcb      Version : H522TCMA  REV C\n    Logic    Version : 2006-10-12\n    Tcam1    Version : 1.6\n    Tcam2    Version : 1.6\n                                            BarCode          : 030EUD107C000016\n\n"}
    snmp_get={}
    snmp_getnext={}
        