# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Huawei.VRP.get_version test
## Auto-generated by manage.py debug-script at 2010-09-24 12:37:37
##----------------------------------------------------------------------
## 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='S8512'
    version='3.10'
    input={}
    result={'platform': 'S8512', 'vendor': 'Huawei', 'version': '3.10'}
    motd='\n'
    cli={'display version': 'display version\nHuawei Versatile Routing Platform Software\nVRP software, Version 3.10, Release 1648P01\nCopyright(c) 1998-2008 Huawei Technologies Co., Ltd. All rights reserved.\nQuidway S8512 uptime is 10 weeks, 0 day, 9 hours, 38 minutes\n\n\nLSB1SRP1N0 6:  uptime is 10 weeks,0 day,9 hours,38 minutes\nQuidway S8500 with 1 MPC755 Processor\n512M    bytes SDRAM\n16384K  bytes Flash Memory\n512K    bytes NVRAM Memory\nPCB Version      :   Ver.B\nBootROM Version  :   206\nCPLD Version     :   001\nSoftware Version :   S8500-VRP310-R1648P01\n\nLSB1SRP1N0 7:  uptime is 10 weeks,0 day,9 hours,36 minutes\nQuidway S8500 with 1 MPC755 Processor\n512M    bytes SDRAM\n16384K  bytes Flash Memory\n512K    bytes NVRAM Memory\nPCB Version      :   Ver.B\n                                          BootROM Version  :   206\nCPLD Version     :   001\nSoftware Version :   S8500-VRP310-R1648P01\n\nLSB1GP24CA0 0:  uptime is 10 weeks,0 day,9 hours,36 minutes\nQuidway S8500 LPU with 1 MPC8245 Processor\n256M    bytes SDRAM\n0K      bytes NVRAM Memory\nPCB Version      :   Ver.C\nBootROM Version  :   109\nCPLD Version     :   005\nSoftware Version :   S8500-VRP310-R1648P01\n  CPUCard   1\n  PCB Ver        :   Ver.C\n  CPLD Ver       :   001\n\nLSB1GP24CA0 2:  uptime is 10 weeks,0 day,9 hours,36 minutes\nQuidway S8500 LPU with 1 MPC8245 Processor\n256M    bytes SDRAM\n0K      bytes NVRAM Memory\nPCB Version      :   Ver.C\nBootROM Version  :   109\nCPLD Version     :   005\n                                          Software Version :   S8500-VRP310-R1648P01\n  CPUCard   1\n  PCB Ver        :   Ver.C\n  CPLD Ver       :   001\n\nLSB1XP4CA0 5:  uptime is 10 weeks,0 day,9 hours,35 minutes\nQuidway S8500 LPU with 1 MPC8245 Processor\n256M    bytes SDRAM\n0K      bytes NVRAM Memory\nPCB Version      :   Ver.E\nBootROM Version  :   109\nCPLD Version     :   003\nSoftware Version :   S8500-VRP310-R1648P01\n  CPUCard   1\n  PCB Ver        :   Ver.C\n  CPLD Ver       :   001\n  SubCard   1\n  PCB Ver        :   Ver.B\n  CPLD Ver       :   NONE\n\nLSB1XP2CA0 8:  uptime is 10 weeks,0 day,9 hours,36 minutes\nQuidway S8500 LPU with 1 MPC8245 Processor\n256M    bytes SDRAM\n                                          0K      bytes NVRAM Memory\nPCB Version      :   Ver.E\nBootROM Version  :   109\nCPLD Version     :   003\nSoftware Version :   S8500-VRP310-R1648P01\n  CPUCard   1\n  PCB Ver        :   Ver.C\n  CPLD Ver       :   001\n\n'}
    snmp_get={}
    snmp_getnext={}
        