# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## DLink.DxS.get_version test
## Auto-generated by manage.py debug-script at 2010-11-19 18:17:57
##----------------------------------------------------------------------
## 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='DGS-3100-24TG'
   version='3.00.43'
   input={}
   result={'attributes': {'Boot PROM': '1.0.1.04',
                 'HW version': '04',
                 'Serial Number': 'F3Q318C000636(unit'},
'platform': 'DGS-3100-24TG', 'vendor': 'DLink', 'version':
'3.00.43'}
   motd='******\n\n'
   cli={
## 'show switch'
'show switch': """ show switch

Device Type         : DGS-3100-24TG  Gigabit stackable L2 Managed Switch
MAC Address         : 00:24:01:30:d3:5d
IP Address          : 10.116.0.91
VLAN Name           : upr
Subnet Mask         : 255.255.0.0
Default Gateway     : 10.116.0.1
Boot PROM Version   : 1.0.1.04
Firmware Version    : 3.00.43
Hardware Version    : 04
Serial Number       : F3Q318C000636(unit 1)
                     F3Q3299000059(unit 2)
System Name         : SV
System Location     : SV
System Contact      :
Spanning Tree       : Disabled
GVRP                : Disabled
IGMP Snooping       : Disabled
TELNET              : Enabled
WEB                 : Disabled
""",
## 'disable clipaging'
'disable clipaging': """ disable clipaging


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