# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Cisco.IOS.get_lldp_neighbors test
## Auto-generated by manage.py debug-script at 2010-09-24 18:17:20
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class Cisco_IOS_get_lldp_neighbors_Test(ScriptTestCase):
    script="Cisco.IOS.get_lldp_neighbors"
    vendor="Cisco"
    platform='C3560'
    version='12.2(46)SE'
    input={}
    result=[{'local_interface': 'Gi 0/1',
  'neighbors': [{'remote_capabilities': 0,
                 'remote_chassis_id': '00:12:CF:A3:CA:C9',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': 'Ethernet1/9',
                 'remote_port_subtype': 5}]},
 {'local_interface': 'Fa 0/5',
  'neighbors': [{'remote_capabilities': 4,
                 'remote_chassis_id': '00:12:CF:87:D0:40',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': '00:12:CF:87:D0:59',
                 'remote_port_subtype': 3,
                 'remote_system_name': 'Palkina131-1'}]},
 {'local_interface': 'Fa 0/10',
  'neighbors': [{'remote_capabilities': 4,
                 'remote_chassis_id': '00:12:CF:DC:CE:C0',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': '00:12:CF:DC:CE:D9',
                 'remote_port_subtype': 3,
                 'remote_system_name': 'Leninskaya23-2'}]},
 {'local_interface': 'Fa 0/15',
  'neighbors': [{'remote_capabilities': 4,
                 'remote_chassis_id': '00:12:CF:C8:2B:20',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': '00:12:CF:C8:2B:39',
                 'remote_port_subtype': 3,
                 'remote_system_name': 'Palkina180-1'}]},
 {'local_interface': 'Fa 0/16',
  'neighbors': [{'remote_capabilities': 4,
                 'remote_chassis_id': '00:12:CF:C7:FA:40',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': '00:12:CF:C7:FA:59',
                 'remote_port_subtype': 3,
                 'remote_system_name': 'Al-Aleksand3-1'}]},
 {'local_interface': 'Fa 0/14',
  'neighbors': [{'remote_capabilities': 4,
                 'remote_chassis_id': '00:12:CF:F8:29:00',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': '00:12:CF:F8:29:19',
                 'remote_port_subtype': 3,
                 'remote_system_name': 'Elkina163-1'}]},
 {'local_interface': 'Fa 0/12',
  'neighbors': [{'remote_capabilities': 4,
                 'remote_chassis_id': '00:12:CF:F7:E3:40',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': '00:12:CF:F7:E3:59',
                 'remote_port_subtype': 3,
                 'remote_system_name': 'Rossiyskaya4'}]},
 {'local_interface': 'Fa 0/9',
  'neighbors': [{'remote_capabilities': 4,
                 'remote_chassis_id': '00:12:CF:F7:E1:80',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': '00:12:CF:F7:E1:99',
                 'remote_port_subtype': 3,
                 'remote_system_name': 'Leninskaya23-1'}]},
 {'local_interface': 'Fa 0/1',
  'neighbors': [{'remote_capabilities': 4,
                 'remote_chassis_id': '00:12:CF:F7:DE:E0',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': '00:12:CF:F7:DE:F9',
                 'remote_port_subtype': 3,
                 'remote_system_name': 'Leninskaya15'}]},
 {'local_interface': 'Fa 0/13',
  'neighbors': [{'remote_capabilities': 4,
                 'remote_chassis_id': '00:12:CF:C8:09:00',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': '00:12:CF:C8:09:19',
                 'remote_port_subtype': 3,
                 'remote_system_name': 'Palkina153-1'}]},
 {'local_interface': 'Fa 0/18',
  'neighbors': [{'remote_capabilities': 4,
                 'remote_chassis_id': '00:12:CF:90:8E:A0',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': '00:12:CF:90:8E:B9',
                 'remote_port_subtype': 3,
                 'remote_system_name': 'Palkina147'}]},
 {'local_interface': 'Fa 0/11',
  'neighbors': [{'remote_capabilities': 4,
                 'remote_chassis_id': '00:12:CF:88:03:80',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': '00:12:CF:88:03:99',
                 'remote_port_subtype': 3,
                 'remote_system_name': 'Leninskaya26-1'}]},
 {'local_interface': 'Fa 0/4',
  'neighbors': [{'remote_capabilities': 4,
                 'remote_chassis_id': '00:12:CF:99:6B:E0',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': '00:12:CF:99:6B:F9',
                 'remote_port_subtype': 3,
                 'remote_system_name': 'Leninskaya6-1'}]},
 {'local_interface': 'Fa 0/17',
  'neighbors': [{'remote_capabilities': 4,
                 'remote_chassis_id': '00:12:CF:87:C7:20',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': '00:12:CF:87:C7:39',
                 'remote_port_subtype': 3,
                 'remote_system_name': 'Palkina151-1'}]},
 {'local_interface': 'Fa 0/7',
  'neighbors': [{'remote_capabilities': 4,
                 'remote_chassis_id': '00:12:CF:88:09:60',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': '00:12:CF:88:09:79',
                 'remote_port_subtype': 3,
                 'remote_system_name': 'Palkina127-1'}]},
 {'local_interface': 'Fa 0/2',
  'neighbors': [{'remote_capabilities': 4,
                 'remote_chassis_id': '00:12:CF:99:96:80',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': '00:12:CF:99:96:99',
                 'remote_port_subtype': 3,
                 'remote_system_name': 'Leninskaya13-1'}]},
 {'local_interface': 'Fa 0/3',
  'neighbors': [{'remote_capabilities': 4,
                 'remote_chassis_id': '00:12:CF:87:BC:20',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': '00:12:CF:87:BC:39',
                 'remote_port_subtype': 3,
                 'remote_system_name': 'Leninskaya14-1'}]}]
    motd=' \n\n'
    cli={
## 'show lldp neighbors Fa0/18 detail'
'show lldp neighbors Fa0/18 detail': """show lldp neighbors Fa0/18 detail


Chassis id: 0012.cf90.8ea0
Port id: 0012.cf90.8eb9
Port Description: Ethernet Port on unit 1, port 25
System Name: Palkina147

System Description: 
Layer2+ Fast Ethernet Standalone Switch ES3526XA

Time remaining: 116 seconds
System Capabilities: B
Enabled Capabilities: B
Management Addresses:
    IP: 172.19.4.154
Auto Negotiation - not supported
Physical media capabilities - not advertised
Media Attachment Unit type - not advertised
---------------------------------------------


Total entries displayed: 1
""",
## 'show lldp neighbors Fa0/11 detail'
'show lldp neighbors Fa0/11 detail': """show lldp neighbors Fa0/11 detail


Chassis id: 0012.cf88.0380
Port id: 0012.cf88.0399
Port Description: Ethernet Port on unit 1, port 25
System Name: Leninskaya26-1

System Description: 
Layer2+ Fast Ethernet Standalone Switch ES3526XA

Time remaining: 100 seconds
System Capabilities: B
Enabled Capabilities: B
Management Addresses:
    IP: 172.19.4.151
Auto Negotiation - not supported
Physical media capabilities - not advertised
Media Attachment Unit type - not advertised
---------------------------------------------


Total entries displayed: 1
""",
## 'show lldp neighbors Fa0/16 detail'
'show lldp neighbors Fa0/16 detail': """show lldp neighbors Fa0/16 detail


Chassis id: 0012.cfc7.fa40
Port id: 0012.cfc7.fa59
Port Description: Ethernet Port on unit 1, port 25
System Name: Al-Aleksand3-1

System Description: 
Layer2+ Fast Ethernet Standalone Switch ES3526XA

Time remaining: 106 seconds
System Capabilities: B
Enabled Capabilities: B
Management Addresses:
    IP: 172.19.4.136
Auto Negotiation - not supported
Physical media capabilities - not advertised
Media Attachment Unit type - not advertised
---------------------------------------------


Total entries displayed: 1
""",
## 'show lldp neighbors Fa0/5 detail'
'show lldp neighbors Fa0/5 detail': """show lldp neighbors Fa0/5 detail


Chassis id: 0012.cf87.d040
Port id: 0012.cf87.d059
Port Description: Ethernet Port on unit 1, port 25
System Name: Palkina131-1

System Description: 
Layer2+ Fast Ethernet Standalone Switch ES3526XA

Time remaining: 115 seconds
System Capabilities: B
Enabled Capabilities: B
Management Addresses:
    IP: 172.19.4.147
Auto Negotiation - not supported
Physical media capabilities - not advertised
Media Attachment Unit type - not advertised
---------------------------------------------


Total entries displayed: 1
""",
## 'show lldp neighbors Fa0/3 detail'
'show lldp neighbors Fa0/3 detail': """show lldp neighbors Fa0/3 detail


Chassis id: 0012.cf87.bc20
Port id: 0012.cf87.bc39
Port Description: Ethernet Port on unit 1, port 25
System Name: Leninskaya14-1

System Description: 
Layer2+ Fast Ethernet Standalone Switch ES3526XA

Time remaining: 118 seconds
System Capabilities: B
Enabled Capabilities: B
Management Addresses:
    IP: 172.19.4.140
Auto Negotiation - not supported
Physical media capabilities - not advertised
Media Attachment Unit type - not advertised
---------------------------------------------


Total entries displayed: 1
""",
## 'show lldp neighbors Gi0/1 detail'
'show lldp neighbors Gi0/1 detail': """show lldp neighbors Gi0/1 detail


Chassis id: 0012.cfa3.cac9
Port id: Ethernet1/9
Port Description - not advertised
System Name - not advertised
System Description - not advertised

Time remaining: 105 seconds
System Capabilities - not advertised
Enabled Capabilities - not advertised
Management Addresses - not advertised
Auto Negotiation - not supported
Physical media capabilities - not advertised
Media Attachment Unit type - not advertised
---------------------------------------------


Total entries displayed: 1
""",
## 'show lldp neighbors Fa0/9 detail'
'show lldp neighbors Fa0/9 detail': """show lldp neighbors Fa0/9 detail


Chassis id: 0012.cff7.e180
Port id: 0012.cff7.e199
Port Description: Ethernet Port on unit 1, port 25
System Name: Leninskaya23-1

System Description: 
Layer2+ Fast Ethernet Standalone Switch ES3526XA

Time remaining: 105 seconds
System Capabilities: B
Enabled Capabilities: B
Management Addresses:
    IP: 172.19.4.149
Auto Negotiation - not supported
Physical media capabilities - not advertised
Media Attachment Unit type - not advertised
---------------------------------------------


Total entries displayed: 1
""",
'terminal length 0':  'terminal length 0\n',
## 'show lldp neighbors Fa0/13 detail'
'show lldp neighbors Fa0/13 detail': """show lldp neighbors Fa0/13 detail


Chassis id: 0012.cfc8.0900
Port id: 0012.cfc8.0919
Port Description: Ethernet Port on unit 1, port 25
System Name: Palkina153-1

System Description: 
Layer2+ Fast Ethernet Standalone Switch ES3526XA

Time remaining: 90 seconds
System Capabilities: B
Enabled Capabilities: B
Management Addresses:
    IP: 172.19.4.131
Auto Negotiation - not supported
Physical media capabilities - not advertised
Media Attachment Unit type - not advertised
---------------------------------------------


Total entries displayed: 1
""",
## 'show lldp neighbors Fa0/2 detail'
'show lldp neighbors Fa0/2 detail': """show lldp neighbors Fa0/2 detail


Chassis id: 0012.cf99.9680
Port id: 0012.cf99.9699
Port Description: Ethernet Port on unit 1, port 25
System Name: Leninskaya13-1

System Description: 
Layer2+ Fast Ethernet Standalone Switch ES3526XA

Time remaining: 98 seconds
System Capabilities: B
Enabled Capabilities: B
Management Addresses:
    IP: 172.19.4.138
Auto Negotiation - not supported
Physical media capabilities - not advertised
Media Attachment Unit type - not advertised
---------------------------------------------


Total entries displayed: 1
""",
## 'show lldp neighbors Fa0/15 detail'
'show lldp neighbors Fa0/15 detail': """show lldp neighbors Fa0/15 detail


Chassis id: 0012.cfc8.2b20
Port id: 0012.cfc8.2b39
Port Description: Ethernet Port on unit 1, port 25
System Name: Palkina180-1

System Description: 
Layer2+ Fast Ethernet Standalone Switch ES3526XA

Time remaining: 112 seconds
System Capabilities: B
Enabled Capabilities: B
Management Addresses:
    IP: 172.19.4.134
Auto Negotiation - not supported
Physical media capabilities - not advertised
Media Attachment Unit type - not advertised
---------------------------------------------


Total entries displayed: 1
""",
## 'show lldp neighbors Fa0/17 detail'
'show lldp neighbors Fa0/17 detail': """show lldp neighbors Fa0/17 detail


Chassis id: 0012.cf87.c720
Port id: 0012.cf87.c739
Port Description: Ethernet Port on unit 1, port 25
System Name: Palkina151-1

System Description: 
Layer2+ Fast Ethernet Standalone Switch ES3526XA

Time remaining: 101 seconds
System Capabilities: B
Enabled Capabilities: B
Management Addresses:
    IP: 172.19.4.137
Auto Negotiation - not supported
Physical media capabilities - not advertised
Media Attachment Unit type - not advertised
---------------------------------------------


Total entries displayed: 1
""",
## 'show lldp neighbors Fa0/10 detail'
'show lldp neighbors Fa0/10 detail': """show lldp neighbors Fa0/10 detail


Chassis id: 0012.cfdc.cec0
Port id: 0012.cfdc.ced9
Port Description: Ethernet Port on unit 1, port 25
System Name: Leninskaya23-2

System Description: 
Layer2+ Fast Ethernet Standalone Switch ES3526XA

Time remaining: 93 seconds
System Capabilities: B
Enabled Capabilities: B
Management Addresses:
    IP: 172.19.4.150
Auto Negotiation - not supported
Physical media capabilities - not advertised
Media Attachment Unit type - not advertised
---------------------------------------------


Total entries displayed: 1
""",
## 'show lldp neighbors Fa0/1 detail'
'show lldp neighbors Fa0/1 detail': """show lldp neighbors Fa0/1 detail


Chassis id: 0012.cff7.dee0
Port id: 0012.cff7.def9
Port Description: Ethernet Port on unit 1, port 25
System Name: Leninskaya15

System Description: 
Layer2+ Fast Ethernet Standalone Switch ES3526XA

Time remaining: 113 seconds
System Capabilities: B
Enabled Capabilities: B
Management Addresses:
    IP: 172.19.4.146
Auto Negotiation - not supported
Physical media capabilities - not advertised
Media Attachment Unit type - not advertised
---------------------------------------------


Total entries displayed: 1
""",
## 'show lldp neighbors Fa0/7 detail'
'show lldp neighbors Fa0/7 detail': """show lldp neighbors Fa0/7 detail


Chassis id: 0012.cf88.0960
Port id: 0012.cf88.0979
Port Description: Ethernet Port on unit 1, port 25
System Name: Palkina127-1

System Description: 
Layer2+ Fast Ethernet Standalone Switch ES3526XA

Time remaining: 95 seconds
System Capabilities: B
Enabled Capabilities: B
Management Addresses:
    IP: 172.19.4.148
Auto Negotiation - not supported
Physical media capabilities - not advertised
Media Attachment Unit type - not advertised
---------------------------------------------


Total entries displayed: 1
""",
## 'show lldp neighbors Fa0/14 detail'
'show lldp neighbors Fa0/14 detail': """show lldp neighbors Fa0/14 detail


Chassis id: 0012.cff8.2900
Port id: 0012.cff8.2919
Port Description: Ethernet Port on unit 1, port 25
System Name: Elkina163-1

System Description: 
Layer2+ Fast Ethernet Standalone Switch ES3526XA

Time remaining: 95 seconds
System Capabilities: B
Enabled Capabilities: B
Management Addresses:
    IP: 172.19.4.133
Auto Negotiation - not supported
Physical media capabilities - not advertised
Media Attachment Unit type - not advertised
---------------------------------------------


Total entries displayed: 1
""",
## 'show lldp neighbors'
'show lldp neighbors': """show lldp neighbors

Capability codes:
    (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
    (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other

Device ID           Local Intf     Hold-time  Capability      Port ID
0012.cfa3.cac9      Gi0/1          120                        Ethernet1/9
Palkina131-1        Fa0/5          120        B               0012.cf87.d059
Leninskaya23-2      Fa0/10         120        B               0012.cfdc.ced9
Palkina180-1        Fa0/15         120        B               0012.cfc8.2b39
Al-Aleksand3-1      Fa0/16         120        B               0012.cfc7.fa59
Elkina163-1         Fa0/14         120        B               0012.cff8.2919
Rossiyskaya4        Fa0/12         120        B               0012.cff7.e359
Leninskaya23-1      Fa0/9          120        B               0012.cff7.e199
Leninskaya15        Fa0/1          120        B               0012.cff7.def9
Palkina153-1        Fa0/13         120        B               0012.cfc8.0919
Palkina147          Fa0/18         120        B               0012.cf90.8eb9
Leninskaya26-1      Fa0/11         120        B               0012.cf88.0399
Leninskaya6-1       Fa0/4          120        B               0012.cf99.6bf9
Palkina151-1        Fa0/17         120        B               0012.cf87.c739
Palkina127-1        Fa0/7          120        B               0012.cf88.0979
Leninskaya13-1      Fa0/2          120        B               0012.cf99.9699
Leninskaya14-1      Fa0/3          120        B               0012.cf87.bc39

Total entries displayed: 17
""",
## 'show lldp neighbors Fa0/12 detail'
'show lldp neighbors Fa0/12 detail': """show lldp neighbors Fa0/12 detail


Chassis id: 0012.cff7.e340
Port id: 0012.cff7.e359
Port Description: Ethernet Port on unit 1, port 25
System Name: Rossiyskaya4

System Description: 
Layer2+ Fast Ethernet Standalone Switch ES3526XA

Time remaining: 93 seconds
System Capabilities: B
Enabled Capabilities: B
Management Addresses:
    IP: 172.19.4.130
Auto Negotiation - not supported
Physical media capabilities - not advertised
Media Attachment Unit type - not advertised
---------------------------------------------


Total entries displayed: 1
""",
## 'show lldp neighbors Fa0/4 detail'
'show lldp neighbors Fa0/4 detail': """show lldp neighbors Fa0/4 detail


Chassis id: 0012.cf99.6be0
Port id: 0012.cf99.6bf9
Port Description: Ethernet Port on unit 1, port 25
System Name: Leninskaya6-1

System Description: 
Layer2+ Fast Ethernet Standalone Switch ES3526XA

Time remaining: 114 seconds
System Capabilities: B
Enabled Capabilities: B
Management Addresses:
    IP: 172.19.4.142
Auto Negotiation - not supported
Physical media capabilities - not advertised
Media Attachment Unit type - not advertised
---------------------------------------------


Total entries displayed: 1
""",
}
    snmp_get={}
    snmp_getnext={}
