# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## DLink.DxS.get_version test
## Auto-generated by manage.py debug-script at 2010-12-24 11:01:44
##----------------------------------------------------------------------
## 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-3226S'
    version='4.03-B04'
    input={}
    result={'attributes': {'Boot PROM': '2.00.002', 'HW version': '2C1'},
'platform': 'DES-3226S', 'vendor': 'DLink', 'version': '4.03-B04'}
    motd='******\n\n'
    cli={
## 'show switch'
'show switch': """show switch
Command: show switch

Device Type       : DES-3226S Fast-Ethernet Switch
Module Type       : DES-132GB  2-port GBIC-based Gigabit Ethernet Module
Unit ID           : 1
MAC Address       : 00-11-95-80-68-7D
IP Address        : 10.116.0.56 (Manual)
VLAN Name         : upr
Subnet Mask       : 255.255.0.0
Default Gateway   : 10.116.0.1
Boot PROM Version : Build 2.00.002
Firmware Version  : Build 4.03-B04
Hardware Version  : 2C1
Device S/N        : 
System Name       : 
System Location   : HermozoneTRK
System Contact    : support@cabletv.dp.ua
Spanning Tree     : Disabled
GVRP              : Disabled
IGMP Snooping     : Disabled
TELNET            : Enabled (TCP 23)
RMON              : Disabled
Asymmetric VLAN   : Disabled
""",
## 'disable clipaging'
'disable clipaging': """disable clipaging
Command: disable clipaging

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