Advertisement
Guest User

Untitled

a guest
Jan 16th, 2013
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. ##----------------------------------------------------------------------
  3. ## DLink.DxS.get_chassis_id test
  4. ## Auto-generated by ./noc debug-script at 16.01.2013 12:54:03
  5. ##----------------------------------------------------------------------
  6. ## Copyright (C) 2007-2013 The NOC Project
  7. ## See LICENSE for details
  8. ##----------------------------------------------------------------------
  9.  
  10. ## NOC modules
  11. from noc.lib.test import ScriptTestCase
  12.  
  13.  
  14. class DLink_DxS_get_chassis_id_Test(ScriptTestCase):
  15. script = "DLink.DxS.get_chassis_id"
  16. vendor = "DLink"
  17. platform = "DES-3200-18"
  18. version = "1.81.B005"
  19. input = {}
  20. result = {'first_chassis_mac': '1C:BD:B9:9B:9A:5C',
  21. 'last_chassis_mac': '1C:BD:B9:9B:9A:5C'}
  22. motd = ''
  23. cli = {
  24. ## 'show switch'
  25. 'show switch': """show switch
  26. Command: show switch
  27.  
  28. Device Type : DES-3200-18 Fast Ethernet Switch
  29. MAC Address : 1C-BD-B9-9B-9A-5C
  30. IP Address : 10.200.9.66 (Manual)
  31. VLAN Name : 10
  32. Subnet Mask : 255.255.255.192
  33. Default Gateway : 10.200.9.65
  34. Boot PROM Version : Build 1.00.B004
  35. Firmware Version : Build 1.81.B005
  36. Hardware Version : A1
  37. Serial Number : PVB11AA000665
  38. System Name : SL_42
  39. System Location : SL_42
  40. System Uptime : 53 days, 22 hours, 14 minutes, 56 seconds
  41. System Contact : 404-00-5
  42. Spanning Tree : Disabled
  43. GVRP : Disabled
  44. IGMP Snooping : Disabled
  45. VLAN Trunk : Disabled
  46. 802.1X : Disabled
  47. Telnet : Enabled (TCP 23)
  48. Web : Enabled (TCP 80)
  49. RMON : Disabled
  50. SSH : Enabled (TCP 22)
  51. SSL : Disabled
  52. CLI Paging : Disabled
  53. Syslog Global State: Enabled
  54. Dual Image : Supported
  55. Password Encryption Status : Enabled
  56. """,
  57. }
  58. snmp_get = {}
  59. snmp_getnext = {}
  60. http_get = {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement