# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## HP.ProCurve9xxx.get_fdp_neighbors test
## Auto-generated by manage.py debug-script at 2011-02-03 18:37:58
##----------------------------------------------------------------------
## Copyright (C) 2007-2011 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class HP_ProCurve9xxx_get_fdp_neighbors_Test(ScriptTestCase):
    script="HP.ProCurve9xxx.get_fdp_neighbors"
    vendor="HP"
    platform='9304m'
    version='07.8.03T53'
    input={}
    result={'device_id': 'hp93_2',
 'neighbors': [{'device_id': 'hp93_1',
                'local_interface': 'ethernet1/1',
                'remote_interface': 'ethernet1/2'},
               {'device_id': 'hp93_1',
                'local_interface': 'ethernet2/1',
                'remote_interface': 'ethernet2/1'},
               {'device_id': 'hp93_1',
                'local_interface': 'ethernet2/2',
                'remote_interface': 'ethernet2/2'},
               {'device_id': 'hp93_1',
                'local_interface': 'ethernet2/8',
                'remote_interface': 'ethernet2/15'}]}
    motd=' \n'
    cli={
'show running-config | include ^(hostname|ip domain-name)':  'show running-config | include ^(hostname|ip domain-name)\nhostname hp93_2\n',
'terminal length 1000':  'terminal length 1000\n',
## 'show fdp neighbors detail'
'show fdp neighbors detail': """show fdp neighbors detail
Device ID: hp93_1
           configured as tag-type8100
Entry address(es):
  IP address: 192.168.2.3
  IP address: 192.168.16.1
  IP address: 192.168.20.1
  IP address: 192.168.24.1
  IP address: 192.168.25.1
  IP address: 192.168.26.1
  IP address: 192.168.27.1
  IP address: 192.168.28.1
  IP address: 192.168.29.1
  IP address: 192.168.30.1
  IP address: 192.168.31.1
  IP address: 192.168.32.1
  IP address: 192.168.33.1
  IP address: 192.168.34.1
  IP address: 192.168.35.1
  IP address: 192.168.36.1
  IP address: 192.168.37.1
  IP address: 192.168.39.1
  IP address: 192.168.40.1
  IP address: 192.168.45.1
Platform: HP9304,  Capabilities: Router
Interface: ethernet1/1
Port ID (outgoing port): ethernet1/2 is TAGGED in following VLAN(s):
 2 16 20 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 45
Holdtime : 170 seconds
Hewlett-Packard Company J4139A HP ProCurve Routing Switch 9304M, Software Version 07.8.03T53 Compiled on Mar 01 2007 at 16:39:49 labeled as H2R07803
Device ID: hp93_1
           configured as tag-type8100
Entry address(es):
  IP address: 192.168.2.3
  IP address: 10.0.6.1
  IP address: 10.0.7.2
  IP address: 192.168.34.1
Platform: HP9304,  Capabilities: Router
Interface: ethernet2/1
Port ID (outgoing port): ethernet2/1 is TAGGED in following VLAN(s):
 2 6 7 34
Holdtime : 170 seconds
Hewlett-Packard Company J4139A HP ProCurve Routing Switch 9304M, Software Version 07.8.03T53 Compiled on Mar 01 2007 at 16:39:49 labeled as H2R07803
Device ID: hp93_1
           configured as tag-type8100
Entry address(es):
  IP address: 192.168.2.3
  IP address: 10.0.6.1
  IP address: 10.0.7.2
  IP address: 192.168.34.1
Platform: HP9304,  Capabilities: Router
Interface: ethernet2/2
Port ID (outgoing port): ethernet2/2 is TAGGED in following VLAN(s):
 2 6 7 34
Holdtime : 170 seconds
Hewlett-Packard Company J4139A HP ProCurve Routing Switch 9304M, Software Version 07.8.03T53 Compiled on Mar 01 2007 at 16:39:49 labeled as H2R07803
Device ID: hp93_1
           configured as tag-type8100
Entry address(es):
  IP address: 192.168.2.3
  IP address: 192.168.16.1
  IP address: 192.168.28.1
  IP address: 192.168.34.1
  IP address: 192.168.36.1
  IP address: 192.168.39.1
Platform: HP9304,  Capabilities: Router
Interface: ethernet2/8
Port ID (outgoing port): ethernet2/15 is TAGGED in following VLAN(s):
 2 16 28 34 36 39 100
Holdtime : 170 seconds
Hewlett-Packard Company J4139A HP ProCurve Routing Switch 9304M, Software Version 07.8.03T53 Compiled on Mar 01 2007 at 16:39:49 labeled as H2R07803""",
}
    snmp_get={}
    snmp_getnext={}
