# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## DLink.DxS.get_chassis_id test
## Auto-generated by manage.py debug-script at 2010-11-24 12:21:45
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class DLink_DxS_get_chassis_id_Test(ScriptTestCase):
    script="DLink.DxS.get_chassis_id"
    vendor="DLink"
    platform='DGS-3627G'
    version='2.55.B10'
    input={}
    result='00:1C:F0:1E:5A:C0'
    motd=' \n\n                      DGS-3627G Gigabit Ethernet Switch\n                            Command Line Interface\n\n                           Firmware: Build 2.55.B10\n           Copyright(C) 2010 D-Link Corporation. All rights reserved.\n\n'
    cli={
## 'show switch'
'show switch': """show switch
Command: show switch

Device Type       : DGS-3627G Gigabit Ethernet Switch
MAC Address       : 00-1C-F0-1E-5A-C0
IP Address        : 10.254.10.18 (Manual)
VLAN Name         : vlan3000
Subnet Mask       : 255.255.255.248
Default Gateway   : 10.254.172.1
Boot PROM Version : Build 1.10-B09
Firmware Version  : Build 2.55.B10
Hardware Version  : 1A1G
System Name       : sw-name
System Location   : sw-location
System Contact    : admin@mydomain.com
Spanning Tree     : Disabled
GVRP              : Disabled
IGMP Snooping     : Disabled
MLD Snooping      : Disabled
RIP               : Disabled
DVMRP             : Disabled
PIM               : Disabled
OSPF              : Enabled
OSPFv3            : Disabled
BGP               : Disabled
RIPng             : Disabled
TELNET            : Disabled
WEB               : Enabled (TCP 80)
SNMP              : Enabled
RMON              : Disabled
SSL status        : Disabled
SSH status        : Enabled
802.1x            : Disabled
Jumbo Frame       : Off
Clipaging         : Disabled
MAC Notification  : Disabled
Port Mirror       : Disabled
SNTP              : Enabled
DHCP Relay        : Enabled
DNSR Status       : Disabled 
VRRP              : Disabled
HOL Prevention State : Enabled
Syslog Global State  : Enabled
Single IP Management : Disabled
Password Encryption Status : Enabled
DNS Resolver        : Disabled
""",
## 'disable clipaging'
'disable clipaging': """disable clipaging
Command: disable clipaging

Success.                                                          
""",
}
    snmp_get={}
    snmp_getnext={}
