# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Huawei.VRP.get_version test
## Auto-generated by manage.py debug-script at 2010-09-24 12:38:17
##----------------------------------------------------------------------
## 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='NetEngine'
    version='5.50'
    input={}
    result={'platform': 'NE40E', 'vendor': 'Huawei', 'version': '5.50'}
    motd='\nInfo: The max number of VTY users is 10, and the number\n      of current VTY users on line is 1.\n'
    cli={'display version': "display version\nHuawei Versatile Routing Platform Software\nVRP (R) software, Version 5.50 (V300R003C02B608)\nCopyright (C) 2000-2008 Huawei Technologies Co., Ltd.\nQuidway NetEngine 40E uptime is 547 days, 23 hours, 39 minutes\n  \nBKP 0 version information:\n  1. PCB      Version : CR52BKPB REV A\n  2. MPU Slot Quantity: 0\n  3. SRU Slot Quantity: 2\n  4. SFU Slot Quantity: 2\n  5. LPU Slot Quantity: 8\n  \nMPU  9(Master) : uptime is 547 days, 23 hours, 39 minutes\n                 StartupTime   2009/03/25   17:00:50 \n  SDRAM Memory Size   : 2048M bytes  \n  Flash Memory Size   : 32M  bytes \n  NVRAM Memory Size   : 512K bytes\n  CF Card1 Memory Size: 487M bytes \n  CF Card2 Memory Size: 489M bytes \n  MPU version information: \n  1. PCB      Version : CR52SRUA REV C\n  2. EPLD1    Version : 106\n  3. EPLD2    Version : 108\n  4. FPGA     Version : 009\n  5. BootROM  Version : 74.0\n  6. BootLoad Version : 216.0\n  7. Software Version : Version 5.50 RELEASE 0041\n  MIF version information: \n  1. PCB      Version : CR52MIFB REV C\n  2. FPGA     Version : 009\n  MonitorBUS version information: \n                                            1. PCB      Version : CR31MBSA REV A\n  2. EPLD     Version : 019\n  3. Software Version : 3.8\n  \nMPU 10(Slave)  : uptime is 547 days, 23 hours, 37 minutes\n                 StartupTime   2009/03/25   17:01:27 \n  SDRAM Memory Size   : 2048M bytes  \n  Flash Memory Size   : 32M  bytes \n  NVRAM Memory Size   : 512K bytes\n  CF Card1 Memory Size: 487M bytes \n  CF Card2 Memory Size: 489M bytes \n  MPU version information: \n  1. PCB      Version : CR52SRUA REV C\n  2. EPLD1    Version : 106\n  3. EPLD2    Version : 108\n  4. FPGA     Version : 009\n  5. BootROM  Version : 74.0\n  6. BootLoad Version : 216.0\n  7. Software Version : Version 5.50 RELEASE 0041\n  MIF version information: \n  1. PCB      Version : CR52MIFB REV C\n  2. FPGA     Version : 009\n  MonitorBUS version information: \n                                            1. PCB      Version : CR31MBSA REV A\n  2. EPLD     Version : 019\n  3. Software Version : 3.8\n  \nLPU 1  : uptime is 547 days, 23 hours, 35 minutes\n         StartupTime   2009/03/25   17:04:12 \n  Host    processor :\n  1. SDRAM Memory Size:  512M  bytes\n  2. Flash Memory Size:   32M  bytes\n  LPU version information:\n  1. PCB      Version : CR52LPUG REV E\n  2. EPLD     Version : 009\n  3. NP       Version : 010\n  4. BootROM  Version : 71.0\n  5. BootLoad Version : 223.0\n  6. FSU\t     Version : Version 2.1 RELEASE 0372\n  7. EFU\t     Version : Version 23.0 RELEASE 0372\n  TCM version information:\n  1. PCB      Version : CR52TCMH REV A\n  FAD version information:\n  1. PCB      Version : CR52FADD REV C\n  2. EPLD     Version : 005\n  3. FPGA1    Version : 5191\n                                            4. FPGA2    Version : 5191\n  5. FPGA3    Version : 181\n  LPC version information:\n  1. PCB      Version : CR52LPCA REV B\n  2. EPLD     Version : 000\n  MonitorBUS version information:\n  1. PCB      Version : CR31MBSA REV A\n  2. EPLD     Version : 019\n  3. Software Version : 3.8\n  PIC0's version information:\n  1. PCB      Version : CR52EAGF REV A\n  2. EPLD     Version : 004\n  \nLPU 2  : uptime is 455 days, 2 hours, 17 minutes\n         StartupTime   2009/06/26   10:25:38 \n  Host    processor :\n  1. SDRAM Memory Size: 1024M  bytes\n  2. Flash Memory Size:   32M  bytes\n  LPU version information:\n  1. PCB      Version : CR52LPUK REV B\n  2. EPLD     Version : 302\n  3. EPLD2    Version : 300\n  4. BootROM  Version : 11.0\n                                            5. BootLoad Version : 52.0\n  6. FSU\t     Version : Version 2.1 RELEASE 0372\n  7. ASE      Version : 103\n  8. LOAMNET  Version : 215\n  9. PE       Version : 320\n  MonitorBUS version information:\n  1. PCB      Version : CR31MBSA REV A\n  2. EPLD     Version : 019\n  3. Software Version : 3.8\n  PIC0's version information:\n  1. PCB      Version : CR52L1XX REV A\n  2. EPLD     Version : 201\n  \nSPU 8  : uptime is 442 days, 23 hours, 55 minutes\n         StartupTime   2009/07/08   12:47:33 \n  Host    processor :\n  1. SDRAM Memory Size:  512M  bytes\n  2. Flash Memory Size:   16M  bytes\n  NP-1 processor :\n  1. SDRAM Memory Size:   64M  bytes\n  2. Flash Memory Size:   16M  bytes\n  NP-1 version information:\n  1. PCB      Version : CR01SPU REV A\n                                            2. EPLD     Version : 010\n  3. BootROM  Version : 2.0\n  4. BootLoad Version : 8.0\n  5. FSU\t     Version : Version 3.0 RELEASE 0152\n  FAD version information:\n  1. PCB      Version : CR52FADA REV B\n  2. EPLD     Version : 107\n  3. BootROM  Version : 64.0\n  4. BootLoad Version : 70.0\n  5. FSU\t     Version : Version 3.0 RELEASE 0338\n  6. EFU\t     Version : Version 2.37 RELEASE 0338\n  7. RIC EPLD Version : 050\n  8. CP PCB   Version : RS01HPMB REV C\n  9. CP EPLD  Version : 006\n  MonitorBUS version information:\n  1. PCB      Version : CR31MBSA REV A\n  2. EPLD     Version : 019\n  3. Software Version : 3.8\n\nSFU 11 : uptime is 66 days, 6 hours, 50 minutes\n         StartupTime   2010/07/20   05:49:12 \n  SDRAM Memory Size   :  32M bytes\n  Flash Memory Size   :   8M bytes\n                                            PCB         Version : CR52SFUD REV C\n  EPLD        Version : 004\n  BootROM     Version : 68.0\n  BootLoad    Version : 80.0\n  Software    Version : Version 2.0 RELEASE 0033\n  MonitorBUS version information:\n  1. PCB      Version : CR31MBSA REV A\n  2. EPLD     Version : 019\n  3. Software Version : 3.8\n\nSFU 12 : uptime is 547 days, 23 hours, 37 minutes\n         StartupTime   2009/03/25   17:02:40 \n  SDRAM Memory Size   :  32M bytes\n  Flash Memory Size   :   8M bytes\n  PCB         Version : CR52SFUD REV C\n  EPLD        Version : 004\n  BootROM     Version : 68.0\n  BootLoad    Version : 80.0\n  Software    Version : Version 2.0 RELEASE 0033\n  MonitorBUS version information:\n  1. PCB      Version : CR31MBSA REV A\n  2. EPLD     Version : 019\n  3. Software Version : 3.8\n                                          \nSFU 13 : uptime is 547 days, 23 hours, 37 minutes\n         StartupTime   2009/03/25   17:02:39 \n  SDRAM Memory Size   :  32M bytes\n  Flash Memory Size   :   8M bytes\n  PCB         Version : CR52SRUA REV C\n  EPLD        Version : 103\n  BootROM     Version : 68.0\n  BootLoad    Version : 80.0\n  Software    Version : Version 2.0 RELEASE 0033\n  MonitorBUS version information:\n  1. PCB      Version : CR31MBSA REV A\n  2. EPLD     Version : 019\n  3. Software Version : 3.8\n\nSFU 14 : uptime is 547 days, 23 hours, 37 minutes\n         StartupTime   2009/03/25   17:02:39 \n  SDRAM Memory Size   :  32M bytes\n  Flash Memory Size   :   8M bytes\n  PCB         Version : CR52SRUA REV C\n  EPLD        Version : 103\n  BootROM     Version : 68.0\n  BootLoad    Version : 80.0\n                                            Software    Version : Version 2.0 RELEASE 0033\n  MonitorBUS version information:\n  1. PCB      Version : CR31MBSA REV A\n  2. EPLD     Version : 019\n  3. Software Version : 3.8\n  \nCLK 15 : uptime is 547 days, 23 hours, 39 minutes\n         StartupTime   2009/03/25   17:01:05 \n  1. PCB      Version : CR52CLKA REV B\n  2. EPLD     Version : 016\n  3. Software version : 021\n  \nCLK 16 : uptime is 547 days, 23 hours, 37 minutes\n         StartupTime   2009/03/25   17:02:25 \n  1. PCB      Version : CR52CLKA REV B\n  2. EPLD     Version : 016\n  3. Software version : 021\n  \nFan19's MonitorBUS version information:\n  PCB         Version : CR52FCBB REV B\n  Software    Version : 1.1\n\n"}
    snmp_get={}
    snmp_getnext={}
        