# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## HP.ProCurve.get_vlans test
## Auto-generated by manage.py debug-script at 2010-11-20 00:06:46
##----------------------------------------------------------------------
## 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='6120G/XG'
    version='Z.14.08'
    input={}
    result=[{'name': 'DEFAULT_VLAN', 'vlan_id': 1},
 {'name': 'Second', 'vlan_id': 2},
 {'name': 'Seventh', 'vlan_id': 7},
 {'name': 'Eighth', 'vlan_id': 8},
 {'name': 'Nineth', 'vlan_id': 9}]
    motd=' \nProCurve 498358-B21 6120G/XG Blade Switch\nSoftware revision Z.14.08\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 : 256                  
  Primary VLAN : DEFAULT_VLAN 
  Management VLAN :              

  VLAN ID Name                 | Status     Voice Jumbo
  ------- -------------------- + ---------- ----- -----
  1       DEFAULT_VLAN         | Port-based No    No   
  2       Second               | Port-based No    No   
  7       Seventh              | Port-based No    No   
  8       Eighth               | Port-based No    No   
  9       Nineth               | Port-based No    No   
 
""",
}
    snmp_get={}
    snmp_getnext={}

