# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Huawei.VRP.get_version test
## Auto-generated by manage.py debug-script at 2010-09-24 12:39:14
##----------------------------------------------------------------------
## 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='S9306'
    version='5.50'
    input={}
    result={'platform': 'S9306', '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 (S9300 V100R002C00SPC200)\nCopyright (C) 2003-2010 HUAWEI TECH CO., LTD\nQuidway S9306 Terabit Routing Switch uptime is 22 weeks, 3 days, 2 hours, 59 minutes\nBKP 0 version information:\n1. PCB      Version  : LE01BAKH VER.A\n2. If Supporting PoE : No\n3. Board Type        : BAKH\n4. MPU Slot Quantity : 2\n5. LPU Slot Quantity : 6\n\nSlot 7(Slave) : uptime is 22 weeks, 3 days, 2 hours, 58 minutes\n                StartupTime 2010/04/20   13:39:13 \nSDRAM Memory Size    :1024    M bytes\nFlash Memory Size    :64      M bytes\nNVRAM Memory Size    :512     K bytes\nCF Card1 Memory Size :488     M bytes\nMPU version information : \n1. PCB      Version  :LE02SRUA   VER.B\n2. MAB      Version  :0\n3. Board    Type     :SRUA      \n4. CPLD1    Version  :100\n5. BootROM  Version  :102\n6. BootLoad Version  :102\n\nSlot 8(Master) : uptime is 22 weeks, 3 days, 2 hours, 59 minutes\n                StartupTime 2010/04/20   13:38:19 \nSDRAM Memory Size    :1024    M bytes\nFlash Memory Size    :64      M bytes\nNVRAM Memory Size    :512     K bytes\nCF Card1 Memory Size :497     M bytes\nMPU version information : \n1. PCB      Version  :LE02SRUA   VER.B\n2. MAB      Version  :0\n3. Board    Type     :SRUA      \n4. CPLD1    Version  :100\n5. BootROM  Version  :106\n6. BootLoad Version  :102\n\nSlot 1 : uptime is 22 weeks, 3 days, 2 hours, 55 minutes\n        StartupTime 2010/04/20   13:41:38 \nSDRAM Memory Size    :256     M bytes\nFlash Memory Size    :16      M bytes\nLPU version information :\n1. PCB      Version  :LE02X4UX   VER.B\n2. MAB      Version  :0\n3. Board    Type     :X2UXA     \n4. CPLD1    Version  :102\n5. BootROM  Version  :102\n6. BootLoad Version  :102\n\nSlot 2 : uptime is 22 weeks, 3 days, 2 hours, 55 minutes\n        StartupTime 2010/04/20   13:42:03 \nSDRAM Memory Size    :256     M bytes\nFlash Memory Size    :16      M bytes\n                                          LPU version information :\n1. PCB      Version  :LE02G48S   VER.B\n2. MAB      Version  :0\n3. Board    Type     :G24SD     \n4. CPLD1    Version  :102\n5. CPLD2    Version  :102\n6. BootROM  Version  :256\n7. BootLoad Version  :102\nTcam version information :\n1. Tcam size         :36      M bytes\n\nSlot CMU1(Master) : uptime is 22 weeks, 3 days, 2 hours, 58 minutes\n                StartupTime 2010/04/20   13:38:58 \nCMU version information :\n1. PCB      Version  :LE02CMUA   VER.B\n2. MAB      Version  :0\n3. Board    Type     :CMUA      \n\n'}
    snmp_get={}
    snmp_getnext={}
        