# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## HP.ProCurve.get_vlans test
## Auto-generated by manage.py debug-script at 2010-11-22 11:47:33
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class HP_ProCurve_get_vlans_Test(ScriptTestCase):
    script="HP.ProCurve.get_vlans"
    vendor="HP"
    platform='2810-48G'
    version='N.11.09'
    input={}
    result=[{'name': 'DEFAULT_VLAN', 'vlan_id': 1},
 {'name': 'GVRP_2', 'vlan_id': 2},
 {'name': 'GVRP_12', 'vlan_id': 12},
 {'name': 'vl_15', 'vlan_id': 15},
 {'name': 'AgilentCC', 'vlan_id': 19},
 {'name': 'GVRP_23', 'vlan_id': 23},
 {'name': 'GVRP_39', 'vlan_id': 39},
 {'name': 'GVRP_41', 'vlan_id': 41},
 {'name': 'GVRP_200', 'vlan_id': 200},
 {'name': 'WS', 'vlan_id': 201},
 {'name': 'GVRP_202', 'vlan_id': 202},
 {'name': 'Wi-fi', 'vlan_id': 203},
 {'name': 'GVRP_204', 'vlan_id': 204},
 {'name': 'Infrastruct', 'vlan_id': 205},
 {'name': 'GVRP_206', 'vlan_id': 206},
 {'name': 'GVRP_209', 'vlan_id': 209},
 {'name': 'VLAN210', 'vlan_id': 210},
 {'name': 'WS-eBay', 'vlan_id': 211},
 {'name': 'Netinf', 'vlan_id': 215},
 {'name': 'GVRP_219', 'vlan_id': 219},
 {'name': 'GVRP_225', 'vlan_id': 225},
 {'name': 'GVRP_231', 'vlan_id': 231},
 {'name': 'GVRP_236', 'vlan_id': 236},
 {'name': 'ws-x2c', 'vlan_id': 241},
 {'name': 'GVRP_246', 'vlan_id': 246},
 {'name': 'GVRP_256', 'vlan_id': 256},
 {'name': 'GVRP_320', 'vlan_id': 320},
 {'name': 'GVRP_420', 'vlan_id': 420},
 {'name': 'GVRP_421', 'vlan_id': 421},
 {'name': 'GVRP_422', 'vlan_id': 422},
 {'name': 'GVRP_423', 'vlan_id': 423},
 {'name': 'GVRP_424', 'vlan_id': 424},
 {'name': 'GVRP_910', 'vlan_id': 910},
 {'name': 'Management', 'vlan_id': 960},
 {'name': 'GVRP_966', 'vlan_id': 966},
 {'name': 'GVRP_967', 'vlan_id': 967}]
    motd=' \nProCurve J9022A Switch 2810-48G\nSoftware revision N.11.09\n\nCopyright (C) 1991-2008 Hewlett-Packard Co.  All Rights Reserved.\n\n                           RESTRICTED RIGHTS LEGEND\n\n Use, duplication, or disclosure by the Government is subject to restrictions\n as set forth in subdivision (b) (3) (ii) of the Rights in Technical Data and\n Computer Software clause at 52.227-7013.\n\n         HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303\n\n'
    cli={
'terminal length 1000':  'terminal length ',
## 'show vlans'
'show vlans': """show vlans
 Status and Counters - VLAN Information

  Maximum VLANs to support : 256                  
  Primary VLAN : DEFAULT_VLAN
  Management VLAN :             

  802.1Q VLAN ID Name         Status       Voice Jumbo
  -------------- ------------ ------------ ----- -----
  1              DEFAULT_VLAN Port-based   No    No   
  2              GVRP_2       Dynamic                 
  12             GVRP_12      Dynamic                 
  15             vl_15        Port-based   No    No   
  19             AgilentCC    Port-based   No    No   
  23             GVRP_23      Dynamic                 
  39             GVRP_39      Dynamic                 
  41             GVRP_41      Dynamic                 
  200            GVRP_200     Dynamic                 
  201            WS           Port-based   No    No   
  202            GVRP_202     Dynamic                 
  203            Wi-fi        Port-based   No    No   
  204            GVRP_204     Dynamic                 
  205            Infrastruct  Port-based   No    No   
  206            GVRP_206     Dynamic                 
  209            GVRP_209     Dynamic                 
  210            VLAN210      Port-based   No    No   
  211            WS-eBay      Port-based   No    No   
  215            Netinf       Port-based   No    No   
  219            GVRP_219     Dynamic                 
  225            GVRP_225     Dynamic                 
  231            GVRP_231     Dynamic                 
  236            GVRP_236     Dynamic                 
  241            ws-x2c       Port-based   No    No   
  246            GVRP_246     Dynamic                 
  256            GVRP_256     Dynamic                 
  320            GVRP_320     Dynamic                 
  420            GVRP_420     Dynamic                 
  421            GVRP_421     Dynamic                 
  422            GVRP_422     Dynamic                 
  423            GVRP_423     Dynamic                 
  424            GVRP_424     Dynamic                 
  910            GVRP_910     Dynamic                 
  960            Management   Port-based   No    No   
  966            GVRP_966     Dynamic                 
  967            GVRP_967     Dynamic                 
 
""",
}
    snmp_get={}
    snmp_getnext={}
