# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## DLink.DxS.get_version test
## Auto-generated by manage.py debug-script at 2010-12-28 11:33:17
##----------------------------------------------------------------------
## 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-3200-10'
    version='1.62.B017'
    input={}
    result={'attributes': {'Boot PROM': '1.00.B012', 'HW version': 'A1'},
'platform': 'DGS-3200-10', 'vendor': 'DLink', 'version': '1.62.B017'}
    motd='******\n\n'
    cli={
## 'show switch'
'show switch': """show switch
Command: show switch

Device Type       : DGS-3200-10 Gigabit Ethernet Switch
MAC Address       : 00-1C-F0-D3-D2-9E
IP Address        : 10.111.0.145 (Manual)
VLAN Name         : default
Subnet Mask       : 255.255.255.0
Default Gateway\t  : 0.0.0.0
Boot PROM Version : Build 1.00.B012
Firmware Version  : Build 1.62.B017
Hardware Version  : A1
System Name       : 
System Location   : 
System Contact    : 
Device Uptime     : 0 days, 0 hours, 6 minutes, 54 seconds
Spanning Tree     : Disabled
GVRP              : Disabled
IGMP Snooping     : Disabled
MLD Snooping      : Disabled
VLAN Trunk        : Disabled
Telnet            : Enabled (TCP 23)
Web               : Enabled (TCP 80)
SNMP              : Disabled
RMON              : Disabled
Safeguard Engine  : Disabled
SSL Status        : Disabled
SSH Status        : Disabled
802.1x            : Disabled
Jumbo Frame       : Off
CLI Paging        : Disabled
MAC Notification  : Disabled
Port Mirror       : Disabled
SNTP              : Disabled
DHCP Local Relay  : Disabled
Syslog Global State  : Disabled
Single IP Management : Disabled
Dual Image           : Supported
Password Encryption Status : Disabled
""",
## 'disable clipaging'
'disable clipaging': """disable clipaging
Command: disable clipaging

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