Advertisement
Guest User

Untitled

a guest
Oct 5th, 2012
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. ##----------------------------------------------------------------------
  3. ## Huawei.VRP.get_version test
  4. ## Auto-generated by ./noc debug-script at 05.10.2012 13:29:55
  5. ##----------------------------------------------------------------------
  6. ## Copyright (C) 2007-2012 The NOC Project
  7. ## See LICENSE for details
  8. ##----------------------------------------------------------------------
  9.  
  10. ## NOC modules
  11. from noc.lib.test import ScriptTestCase
  12.  
  13.  
  14. class Huawei_VRP_get_version_Test(ScriptTestCase):
  15. script = "Huawei.VRP.get_version"
  16. vendor = "Huawei"
  17. platform = "S5328C-EI-24S"
  18. version = "5.70"
  19. input = {}
  20. result = {'attributes': {'image': 'V100R005C01SPC100',
  21. 'serial': '21023516216TC1000392'},
  22. 'platform': 'S5328C-EI-24S',
  23. 'vendor': 'Huawei',
  24. 'version': '5.70'}
  25. motd = ''
  26. cli = {
  27. 'screen-length 0 temporary': 'screen-length 0 temporary\nInfo: The configuration takes effect on the current user terminal interface only.\n',
  28. ## 'display elabel'
  29. 'display elabel': """display elabel
  30. /$[System Integration Version]
  31. /$SystemIntegrationVersion=3.0
  32.  
  33.  
  34. [Slot_0]
  35. /$[Board Integration Version]
  36. /$BoardIntegrationVersion=3.0
  37.  
  38.  
  39. [Main_Board]
  40.  
  41. /$[ArchivesInfo Version]
  42. /$ArchivesInfoVersion=3.0
  43.  
  44.  
  45. [Board Properties]
  46. BoardType=CX7Z328CM
  47. BarCode=21023516216TC1000392
  48. Item=02351621
  49. 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)
  50. Manufactured=2012-01-03
  51. VendorName=Huawei
  52. IssueNumber=00
  53. CLEICode=
  54. BOM=
  55.  
  56.  
  57.  
  58.  
  59. [Port_1]
  60. /$[ArchivesInfo Version]
  61. /$ArchivesInfoVersion=3.0
  62.  
  63.  
  64. [Board Properties]
  65. BoardType=SPP-WDM-SM-0220A
  66. BarCode=1108090993
  67. Item=
  68. Description=1Gbps-1550nm--20000
  69. Manufactured=11-08-10
  70. /$VendorName=OPTONE
  71. IssueNumber=
  72. CLEICode=
  73. BOM=
  74.  
  75. """,
  76. }
  77. 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.'}
  78. snmp_getnext = {}
  79. http_get = {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement