# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## DLink.DES2108.get_version test
## Auto-generated by manage.py debug-script at 2010-12-24 14:55:47
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class DLink_DES2108_get_version_Test(ScriptTestCase):
    script="DLink.DES2108.get_version"
    vendor="DLink"
    platform='DES-2108'
    version='5.02.T05'
    input={}
    result={'platform': 'DES-2108', 'vendor': 'DLink', 'version': '5.02.T05'}
    motd=' \n'
    cli={
## 'show switch'
'show switch': """show switch
Command:  show switch

Product Name:DES-2108                                
Firmware Version:5.02.T05
Protocol Version:2.001.003
DHCP:Disable
IP Address:10.111.0.144
Subnet mask:255.255.255.0
Default gateway:10.111.0.1
Trap IP:0.0.0.0
MAC address:00-1b-11-6f-e8-4f
System Name:
Location Name:
System Contact:
System Aging Time:300
VLAN Type:802.1Q BASE
Login Timeout (minutes):5
Group Interval (seconds):120
System UpTime:0 days 4 hours 42 mins 3 seconds
Web Server Port:80
""",
}
    snmp_get={}
    snmp_getnext={}
