# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## DLink.DxS.get_version test
## Auto-generated by manage.py debug-script at 2010-12-07 13:42:33
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class DLink_DxS_get_version_Test(ScriptTestCase):
    script="DLink.DxS.get_version"
    vendor="DLink"
    platform='DGS-3426G'
    version='2.70.B54'
    input={}
    result={'attributes': {'Boot PROM': '1.00-B13',
                 'HW version': 'A1',
                 'Serial Number': 'PV9G19A000085'},
'platform': 'DGS-3426G', 'vendor': 'DLink', 'version': '2.70.B54'}
    motd='******\n\n'
    cli={
## 'show switch'
'show switch': """show switch
Command: show switch

Device Type       : DGS-3426G Gigabit Ethernet Switch
MAC Address       : 00-22-B0-13-84-00
IP Address        : 192.168.0.1 (Manual)
VLAN Name         : default
Subnet Mask       : 255.255.255.0
Default Gateway   : 10.116.0.1
Boot PROM Version : Build 1.00-B13
Firmware Version  : Build 2.70.B54
Hardware Version  : A1
Serial Number     : PV9G19A000085
System Name       : 
System Location   : TRK Hermozone 1
System Contact    : 
Spanning Tree     : Disabled
GVRP              : Disabled
IGMP Snooping     : Disabled
MLD Snooping      : Disabled
RIP               : Disabled
RIPng             : Disabled
TELNET            : Enabled (TCP 23)
WEB               : Disabled
SNMP              : Disabled
RMON              : Disabled
SSL status        : Disabled
SSH status        : Disabled
802.1x            : Disabled
Jumbo Frame       : Off
Clipaging         : Disabled
MAC Notification  : Disabled
Port Mirror       : Disabled
SNTP              : Disabled
HOL Prevention State : Enabled
Syslog Global State  : Disabled
Single IP Management : Disabled
Dual Image           : Supported
Password Encryption Status : Enabled
DNS Resolver        : Disabled
""",
## 'disable clipaging'
'disable clipaging': """disable clipaging
Command: disable clipaging

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