# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## DLink.DxS.get_version test
## Auto-generated by manage.py debug-script at 2010-12-07 13:37:43
##----------------------------------------------------------------------
## 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-3526'
    version='6.00.B23'
    input={}
    result={'attributes': {'Boot PROM': '5.00.009', 'HW version': 'A4G'},
'platform': 'DES-3526', 'vendor': 'DLink', 'version': '6.00.B23'}
    motd=' \n\n\n**********\n* Logout *\n**********D           \n              DES-3526 Fast Ethernet Switch Command Line Interface\n\n                            Firmware: Build 6.00.B23\n            Copyright(C) 2008 D-Link Corporation. All rights reserved.\n\n'
    cli={
## 'show switch'
'show switch': """show switch
Command: show switch

Device Type       : DES-3526 Fast-Ethernet Switch
Combo Port Type   : 1000Base-LX + 1000Base-LX
MAC Address       : 00-1E-58-9E-80-23
IP Address        : 10.116.0.64 (Manual)
VLAN Name         : upr
Subnet Mask       : 255.255.0.0
Default Gateway   : 10.116.0.1
Boot PROM Version : Build 5.00.009
Firmware Version  : Build 6.00.B23
Hardware Version  : A4G
Serial Number     : 
Power Status      : Main - Normal, Redundant - Not Present
System Name       : D-Link
System Location   : Otto Broz 40
System Contact    : 
Spanning Tree     : Disabled
GVRP              : Disabled
IGMP Snooping     : Disabled
TELNET            : Disabled
SSH               : Enabled (TCP 22)
WEB               : Disabled
RMON              : Disabled
Clipaging         : Disabled
Asymmetric VLAN   : Disabled
Password Encryption Status : Enabled
""",
## 'disable clipaging'
'disable clipaging': """disable clipaging
Command: disable clipaging

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