# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## DLink.DES3xxx.get_chassis_id test
## Auto-generated by manage.py debug-script at 2010-11-23 16:46:25
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class DLink_DES3xxx_get_chassis_id_Test(ScriptTestCase):
    script="DLink.DES3xxx.get_chassis_id"
    vendor="DLink"
    platform='DES-3026'
    version='4.30.B16'
    input={}
    result='00:1E:58:49:1D:20'
    motd='********\n\n'
    cli={
## 'show switch'
'show switch': """show switch
Command: show switch

Device Type        : DES-3026 Fast Ethernet Switch
Module 1 Type      : None
Module 2 Type      : None
MAC Address        : 00-1E-58-49-1D-20
IP Address         : 10.61.200.211 (Manual)
VLAN Name          : default
Subnet Mask        : 255.255.255.0
Default Gateway    : 10.61.200.1
Boot PROM Version  : Build 1.01.009
Firmware Version   : Build 4.30.B16
Hardware Version   : A3
System Name        : sw-name
System Location    : sw-addr
System Contact     : admin@domain.ru
Spanning Tree      : Disabled
LoopBack Detection : Enabled
IGMP Snooping      : Disabled
VLAN trunk         : Disabled
802.1X             : Disabled
TELNET             : Enabled(TCP  23)
WEB                : Enabled(TCP  80)
RMON               : Disabled
SSH                : Disabled
Password Encryption: Enabled
""",
## 'disable clipaging'
'disable clipaging': """disable clipaging
Command: disable clipaging

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