# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## DLink.DxS.get_version test
## Auto-generated by manage.py debug-script at 2010-12-28 10:44:57
##----------------------------------------------------------------------
## 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='DES-3326SR'
    version='4.03-B13'
    input={}
    result={'attributes': {'Boot PROM': '2.00.002', 'HW version': '6B1'},
'platform': 'DES-3326SR', 'vendor': 'DLink', 'version': '4.03-B13'}
    motd='******\n\n'
    cli={
## 'show switch'
'show switch': """show switch
Command: show switch

Device Type       : DES-3326SR Fast-Ethernet Switch
Module Type       : DES-132T   2-port 1000BASE-T Gigabit Ethernet Module
Unit ID           : 1
MAC Address       : 00-0D-88-D8-FE-40
IP Address        : 10.111.0.145 (Manual)
VLAN Name         : default
Subnet Mask       : 255.255.255.0
Default Gateway   : 0.0.0.0
Boot PROM Version : Build 2.00.002
Firmware Version  : Build 4.03-B13
Hardware Version  : 6B1
Device S/N        : 
System Name       : 
System Location   : Mira28
System Contact    : 
Spanning Tree     : Disabled
GVRP              : Disabled
IGMP Snooping     : Disabled
TELNET            : Enabled (TCP 23)
WEB               : Disabled
RMON              : Disabled
RIP               : Disabled
DVMRP             : Disabled
PIM-DM            : Disabled
OSPF              : Disabled
""",
## 'disable clipaging'
'disable clipaging': """disable clipaging
Command: disable clipaging

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