# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## DLink.DES2108.get_vlans test
## Auto-generated by manage.py debug-script at 2010-12-27 14:32:06
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class DLink_DES2108_get_vlans_Test(ScriptTestCase):
    script="DLink.DES2108.get_vlans"
    vendor="DLink"
    platform='DES-2108'
    version='5.02.T05'
    input={}
    result=[{'name': 'default', 'vlan_id': 1}, {'name': 'vlan_2', 'vlan_id': 2}]
    motd=' \n'
    cli={
## 'show vlan'
'show vlan': """show vlan
Command:  show vlan

VLAN TYPE: 802.1Q BASEAsymmetric VLAN: Disable
Management VLAN: Disable

VLAN_ID:1
VLAN name:default
MEMBER:01 02 03 04 05 06 07 08 
TAG PORT:
UNTAG PORT:01 02 03 04 05 06 07 08 


VLAN_ID:2
VLAN name:vlan_2
MEMBER:
TAG PORT:
UNTAG PORT:


""",
}
    snmp_get={}
    snmp_getnext={}
