# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## HP.ProCurve.get_vlans test
## Auto-generated by manage.py debug-script at 2010-11-22 12:13:30
##----------------------------------------------------------------------
## 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='2510G-48'
    version='Y.11.16'
    input={}
    result=[{'name': 'DEFAULT_VLAN', 'vlan_id': 1},
 {'name': 'GVRP_2', 'vlan_id': 2},
 {'name': 'GVRP_7', 'vlan_id': 7},
 {'name': 'GVRP_8', 'vlan_id': 8},
 {'name': 'GVRP_9', 'vlan_id': 9},
 {'name': 'GVRP_10', 'vlan_id': 10},
 {'name': 'GVRP_11', 'vlan_id': 11},
 {'name': 'cisco', 'vlan_id': 12},
 {'name': 'GVRP_13', 'vlan_id': 13},
 {'name': 'GVRP_14', 'vlan_id': 14},
 {'name': 'GVRP_15', 'vlan_id': 15},
 {'name': 'GVRP_16', 'vlan_id': 16},
 {'name': 'GVRP_17', 'vlan_id': 17},
 {'name': 'GVRP_18', 'vlan_id': 18},
 {'name': 'GVRP_19', 'vlan_id': 19},
 {'name': 'GVRP_20', 'vlan_id': 20},
 {'name': 'Guest', 'vlan_id': 21},
 {'name': 'GVRP_22', 'vlan_id': 22},
 {'name': 'GVRP_23', 'vlan_id': 23},
 {'name': 'GVRP_24', 'vlan_id': 24},
 {'name': 'GVRP_30', 'vlan_id': 30},
 {'name': 'GVRP_32', 'vlan_id': 32},
 {'name': 'GVRP_33', 'vlan_id': 33},
 {'name': 'GVRP_34', 'vlan_id': 34},
 {'name': 'GVRP_35', 'vlan_id': 35},
 {'name': 'GVRP_36', 'vlan_id': 36},
 {'name': 'GVRP_37', 'vlan_id': 37},
 {'name': 'GVRP_38', 'vlan_id': 38},
 {'name': 'GVRP_39', 'vlan_id': 39},
 {'name': 'GVRP_40', 'vlan_id': 40},
 {'name': 'GVRP_41', 'vlan_id': 41},
 {'name': 'GVRP_42', 'vlan_id': 42},
 {'name': 'GVRP_111', 'vlan_id': 111},
 {'name': 'GVRP_113', 'vlan_id': 113},
 {'name': 'GVRP_118', 'vlan_id': 118},
 {'name': 'GVRP_143', 'vlan_id': 143},
 {'name': 'GVRP_174', 'vlan_id': 174},
 {'name': 'GVRP_180', 'vlan_id': 180},
 {'name': 'GVRP_200', 'vlan_id': 200},
 {'name': 'GVRP_201', 'vlan_id': 201},
 {'name': 'GVRP_202', 'vlan_id': 202},
 {'name': 'GVRP_203', 'vlan_id': 203},
 {'name': 'GVRP_204', 'vlan_id': 204},
 {'name': 'GVRP_205', 'vlan_id': 205},
 {'name': 'GVRP_206', 'vlan_id': 206},
 {'name': 'GVRP_209', 'vlan_id': 209},
 {'name': 'GVRP_211', 'vlan_id': 211},
 {'name': 'GVRP_215', 'vlan_id': 215},
 {'name': 'GVRP_219', 'vlan_id': 219},
 {'name': 'GVRP_340', 'vlan_id': 340},
 {'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_440', 'vlan_id': 440},
 {'name': 'GVRP_906', 'vlan_id': 906},
 {'name': 'Eng.class', 'vlan_id': 910},
 {'name': 'GVRP_911', 'vlan_id': 911},
 {'name': 'Management', 'vlan_id': 960},
 {'name': 'GVRP_961', 'vlan_id': 961},
 {'name': 'GVRP_965', 'vlan_id': 965},
 {'name': 'GVRP_1000', 'vlan_id': 1000},
 {'name': 'GVRP_1120', 'vlan_id': 1120}]
    motd=' \nProCurve J9280A Switch 2510G-48\nSoftware revision Y.11.16\n\nCopyright (C) 1991-2009 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 : 64                   
  Primary VLAN : DEFAULT_VLAN
  Management VLAN :             

  VLAN ID Name                 Status       Voice Jumbo
  ------- -------------------- ------------ ----- -----
  1       DEFAULT_VLAN         Port-based   No    No   
  2       GVRP_2               Dynamic                 
  7       GVRP_7               Dynamic                 
  8       GVRP_8               Dynamic                 
  9       GVRP_9               Dynamic                 
  10      GVRP_10              Dynamic                 
  11      GVRP_11              Dynamic                 
  12      cisco                Port-based   No    No   
  13      GVRP_13              Dynamic                 
  14      GVRP_14              Dynamic                 
  15      GVRP_15              Dynamic                 
  16      GVRP_16              Dynamic                 
  17      GVRP_17              Dynamic                 
  18      GVRP_18              Dynamic                 
  19      GVRP_19              Dynamic                 
  20      GVRP_20              Dynamic                 
  21      Guest                Port-based   No    No   
  22      GVRP_22              Dynamic                 
  23      GVRP_23              Dynamic                 
  24      GVRP_24              Dynamic                 
  30      GVRP_30              Dynamic                 
  32      GVRP_32              Dynamic                 
  33      GVRP_33              Dynamic                 
  34      GVRP_34              Dynamic                 
  35      GVRP_35              Dynamic                 
  36      GVRP_36              Dynamic                 
  37      GVRP_37              Dynamic                 
  38      GVRP_38              Dynamic                 
  39      GVRP_39              Dynamic                 
  40      GVRP_40              Dynamic                 
  41      GVRP_41              Dynamic                 
  42      GVRP_42              Dynamic                 
  111     GVRP_111             Dynamic                 
  113     GVRP_113             Dynamic                 
  118     GVRP_118             Dynamic                 
  143     GVRP_143             Dynamic                 
  174     GVRP_174             Dynamic                 
  180     GVRP_180             Dynamic                 
  200     GVRP_200             Dynamic                 
  201     GVRP_201             Dynamic                 
  202     GVRP_202             Dynamic                 
  203     GVRP_203             Dynamic                 
  204     GVRP_204             Dynamic                 
  205     GVRP_205             Dynamic                 
  206     GVRP_206             Dynamic                 
  209     GVRP_209             Dynamic                 
  211     GVRP_211             Dynamic                 
  215     GVRP_215             Dynamic                 
  219     GVRP_219             Dynamic                 
  340     GVRP_340             Dynamic                 
  420     GVRP_420             Dynamic                 
  421     GVRP_421             Dynamic                 
  422     GVRP_422             Dynamic                 
  423     GVRP_423             Dynamic                 
  424     GVRP_424             Dynamic                 
  440     GVRP_440             Dynamic                 
  906     GVRP_906             Dynamic                 
  910     Eng.class            Port-based   No    No   
  911     GVRP_911             Dynamic                 
  960     Management           Port-based   No    No   
  961     GVRP_961             Dynamic                 
  965     GVRP_965             Dynamic                 
  1000    GVRP_1000            Dynamic                 
  1120    GVRP_1120            Dynamic                 
 
""",
}
    snmp_get={}
    snmp_getnext={}
