Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- ##----------------------------------------------------------------------
- ## Huawei.VRP.get_version test
- ## Auto-generated by ./noc debug-script at 05.10.2012 13:29:55
- ##----------------------------------------------------------------------
- ## Copyright (C) 2007-2012 The NOC Project
- ## See LICENSE for details
- ##----------------------------------------------------------------------
- ## NOC modules
- from noc.lib.test import ScriptTestCase
- class Huawei_VRP_get_version_Test(ScriptTestCase):
- script = "Huawei.VRP.get_version"
- vendor = "Huawei"
- platform = "S5328C-EI-24S"
- version = "5.70"
- input = {}
- result = {'attributes': {'image': 'V100R005C01SPC100',
- 'serial': '21023516216TC1000392'},
- 'platform': 'S5328C-EI-24S',
- 'vendor': 'Huawei',
- 'version': '5.70'}
- motd = ''
- cli = {
- 'screen-length 0 temporary': 'screen-length 0 temporary\nInfo: The configuration takes effect on the current user terminal interface only.\n',
- ## 'display elabel'
- 'display elabel': """display elabel
- /$[System Integration Version]
- /$SystemIntegrationVersion=3.0
- [Slot_0]
- /$[Board Integration Version]
- /$BoardIntegrationVersion=3.0
- [Main_Board]
- /$[ArchivesInfo Version]
- /$ArchivesInfoVersion=3.0
- [Board Properties]
- BoardType=CX7Z328CM
- BarCode=21023516216TC1000392
- Item=02351621
- Description=Quidway S5328C-EI-24S,CX7Z328CM,S5328C-EI-24S Mainframe(24 100/1000Base-X,4 Combo GE(10/100/1000 BASE-T),Chassis,Dual Slots of power,Without Flexible Card and Power Module)
- Manufactured=2012-01-03
- VendorName=Huawei
- IssueNumber=00
- CLEICode=
- BOM=
- [Port_1]
- /$[ArchivesInfo Version]
- /$ArchivesInfoVersion=3.0
- [Board Properties]
- BoardType=SPP-WDM-SM-0220A
- BarCode=1108090993
- Item=
- Description=1Gbps-1550nm--20000
- Manufactured=11-08-10
- /$VendorName=OPTONE
- IssueNumber=
- CLEICode=
- BOM=
- """,
- }
- snmp_get = {'1.3.6.1.2.1.1.1.0': 'S5328C-EI-24S \r\nHuawei Versatile Routing Platform Software \r\n VRP (R) software,Version 5.70 (S5300 V100R005C01SPC100) \r\n Copyright (C) 2000-2006 Huawei Technologies Co., Ltd.'}
- snmp_getnext = {}
- http_get = {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement