# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## DLink.DxS.get_version test
## Auto-generated by manage.py debug-script at 2010-11-19 18:22:07
##----------------------------------------------------------------------
## 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-3828'
   version='4.50.B22'
   input={}
   result={'attributes': {'Boot PROM': '0.00.010', 'HW version': '1A2'},
'platform': 'DES-3828', 'vendor': 'DLink', 'version': '4.50.B22'}
   motd='******\n\n'
   cli={
## 'show switch'
'show switch': """show switch
Command: show switch

Device Type       : DES-3828 Fast-Ethernet Switch
Combo Port Type   : 1000Base-LX + 1000Base-SX
MAC Address       : 00-19-5B-F0-CD-40
IP Address        : 10.116.0.9 (Manual)
VLAN Name         : 256_upr
Subnet Mask       : 255.255.0.0
Default Gateway   : 10.110.0.50
Boot PROM Version : Build 0.00.010
Firmware Version  : Build 4.50.B22
Hardware Version  : 1A2
Serial Number     :
Power Status      : Main - Normal, Redundant - Not Present
System Name       : Damansk
System Location   : Damansk
System Contact    : tel:401-11-86
Spanning Tree     : Disabled
GVRP              : Disabled
IGMP Snooping     : Disabled
MLD Snooping      : Disabled
TELNET            : Enabled (TCP 23)
SSH               : Enabled (TCP 22)
WEB               : Disabled
RMON              : Enabled
Clipaging         : Disabled
RIP               : Disabled
DVMRP             : Disabled
PIM               : Disabled
OSPF              : Disabled
SNMP              : Enabled
""",
## 'disable clipaging'
'disable clipaging': """disable clipaging
Command: disable clipaging

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