# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## 3Com.SuperStack.get_vlans test
## Auto-generated by manage.py debug-script at 2010-11-29 13:17:21
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class _3Com_SuperStack_get_vlans_Test(ScriptTestCase):
    script="3Com.SuperStack.get_vlans"
    vendor="3Com"
    platform='SuperStack 3 Switch 3300XM'
    version='2.72'
    input={}
    result=[{'name': 'Default VLAN', 'vlan_id': 1},
 {'name': 'vlan18', 'vlan_id': 18},
 {'name': 'vlan202', 'vlan_id': 202},
 {'name': 'vlan2116', 'vlan_id': 2116},
 {'name': 'vlan3980', 'vlan_id': 3980}]
    motd=' \n\nMenu options: -------------3Com SuperStack 3 Switch 3300XM--------------\n bridge             - Administer bridging/VLANS\n ethernet           - Administer Ethernet ports\n feature            - Administer system features\n ip                 - Administer IP\n logout             - Logout of the Command Line Interface\n snmp               - Administer SNMP\n system             - Administer system-level functions\n\nType ? for help.\n-----------------------------------sw-name(1)---------------------\n'
    cli={
## 'bridge vlan summary all'
'bridge vlan summary all': """ bridge vlan summary all

VLAN ID\t\tLocal ID\tName
  1\t\t   1\t\tDefault VLAN
  18\t\t   9\t\tvlan18
  202\t\t   2\t\tvlan202
  2116\t\t   4\t\tvlan2116
  3980\t\t   11\t\tvlan3980
""",
}
    snmp_get={}
    snmp_getnext={}
