Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- ##----------------------------------------------------------------------
- ## DLink.DxS.get_chassis_id test
- ## Auto-generated by ./noc debug-script at 16.01.2013 12:54:03
- ##----------------------------------------------------------------------
- ## Copyright (C) 2007-2013 The NOC Project
- ## See LICENSE for details
- ##----------------------------------------------------------------------
- ## NOC modules
- from noc.lib.test import ScriptTestCase
- class DLink_DxS_get_chassis_id_Test(ScriptTestCase):
- script = "DLink.DxS.get_chassis_id"
- vendor = "DLink"
- platform = "DES-3200-18"
- version = "1.81.B005"
- input = {}
- result = {'first_chassis_mac': '1C:BD:B9:9B:9A:5C',
- 'last_chassis_mac': '1C:BD:B9:9B:9A:5C'}
- motd = ''
- cli = {
- ## 'show switch'
- 'show switch': """show switch
- Command: show switch
- Device Type : DES-3200-18 Fast Ethernet Switch
- MAC Address : 1C-BD-B9-9B-9A-5C
- IP Address : 10.200.9.66 (Manual)
- VLAN Name : 10
- Subnet Mask : 255.255.255.192
- Default Gateway : 10.200.9.65
- Boot PROM Version : Build 1.00.B004
- Firmware Version : Build 1.81.B005
- Hardware Version : A1
- Serial Number : PVB11AA000665
- System Name : SL_42
- System Location : SL_42
- System Uptime : 53 days, 22 hours, 14 minutes, 56 seconds
- System Contact : 404-00-5
- Spanning Tree : Disabled
- GVRP : Disabled
- IGMP Snooping : Disabled
- VLAN Trunk : Disabled
- 802.1X : Disabled
- Telnet : Enabled (TCP 23)
- Web : Enabled (TCP 80)
- RMON : Disabled
- SSH : Enabled (TCP 22)
- SSL : Disabled
- CLI Paging : Disabled
- Syslog Global State: Enabled
- Dual Image : Supported
- Password Encryption Status : Enabled
- """,
- }
- snmp_get = {}
- snmp_getnext = {}
- http_get = {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement