# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## DLink.DxS.get_version test
## Auto-generated by manage.py debug-script at 2011-01-13 14:03:51
##----------------------------------------------------------------------
## Copyright (C) 2007-2011 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-3200-10'
    version='1.33.B007'
    input={}
    result={'attributes': {'Boot PROM': '1.00.B004',
                 'HW version': 'A1',
                 'Serial Number': 'PVI31A8006348'},
'platform': 'DES-3200-10', 'vendor': 'DLink', 'version': '1.33.B007'}
    motd=' \nD           \n                        DES-3200-10 Fast Ethernet Switch\n                             Command Line Interface\n\n                           Firmware: Build 1.33.B007\n           Copyright(C) 2010 D-Link Corporation. All rights reserved.\n'
    cli={
## 'show switch'
'show switch': """show switch
Command: show switch

Device Type        : DES-3200-10 Fast Ethernet Switch
MAC Address        : F0-7D-68-A4-45-F0
IP Address         : 10.116.0.227 (Manual)
VLAN Name          : upr
Subnet Mask        : 255.255.0.0
Default Gateway    : 10.116.0.1
Boot PROM Version  : Build 1.00.B004
Firmware Version   : Build 1.33.B007
Hardware Version   : A1
Serial Number      : PVI31A8006348
System Name        : 
System Location    : Gagarina5
System Uptime      : 0 days, 2 hours, 6 minutes, 44 seconds
System Contact     : 
Spanning Tree      : Disabled
GVRP               : Disabled
IGMP Snooping      : Disabled
VLAN Trunk         : Disabled
802.1X             : Disabled
Telnet             : Disabled
Web                : Disabled
RMON               : Disabled
SSH                : Enabled (TCP 22)
SSL                : Disabled
CLI Paging         : Disabled
Syslog Global State: Disabled
Dual Image         : Supported
Password Encryption Status : Enabled
""",
## 'disable clipaging'
'disable clipaging': """disable clipaging
Command: disable clipaging

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