# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Force10.FTOS.get_lldp_neighbors test
## Auto-generated by manage.py debug-script at 2010-09-25 11:47:47
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class Force10_FTOS_get_lldp_neighbors_Test(ScriptTestCase):
    script="Force10.FTOS.get_lldp_neighbors"
    vendor="Force10"
    platform='S50N'
    version='8.2.1.0'
    input={}
    result=[{'local_interface': 'Gi 0/47',
  'neighbors': [{'remote_capabilities': 0,
                 'remote_chassis_id': '00:01:E8:6D:1C:5C',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': 'GigabitEthernet 0/82',
                 'remote_port_subtype': 5}]},
 {'local_interface': 'Gi 0/48',
  'neighbors': [{'remote_capabilities': 0,
                 'remote_chassis_id': '00:01:E8:6D:1C:5C',
                 'remote_chassis_id_subtype': 4,
                 'remote_port': 'GigabitEthernet 0/83',
                 'remote_port_subtype': 5}]}]
    motd=' \n'
    cli={
## 'show lldp neighbors detail'
'show lldp neighbors detail': """show lldp neighbors detail
========================================================================
 Local Interface Gi 0/47 has 1 neighbor 
  Total Frames Out: 907623 
  Total Frames In: 883129 
  Total Neighbor information Age outs: 16 
  Total Frames Discarded: 0 
  Total In Error Frames: 0 
  Total Unrecognized TLVs: 0 
  Total TLVs Discarded: 0 
  Next packet will be sent after 28 seconds
  The neighbors are given below:
  -----------------------------------------------------------------------
 
    Remote Chassis ID Subtype: Mac address (4)
    Remote Chassis ID:  00:01:e8:6d:1c:5c
    Remote Port Subtype:  Interface name (5)
    Remote Port ID:  GigabitEthernet 0/82
    Local Port ID: GigabitEthernet 0/47
    Locally assigned remote Neighbor Index: 17
    Remote TTL:  120
    Information valid for next 104 seconds 
    Time since last information change of this neighbor:  1w4d9h
   ---------------------------------------------------------------------------
 
========================================================================
 Local Interface Gi 0/48 has 1 neighbor 
  Total Frames Out: 907623 
  Total Frames In: 883127 
  Total Neighbor information Age outs: 16 
  Total Frames Discarded: 0 
  Total In Error Frames: 0 
  Total Unrecognized TLVs: 0 
  Total TLVs Discarded: 0 
  Next packet will be sent after 29 seconds
  The neighbors are given below:
  -----------------------------------------------------------------------
 
    Remote Chassis ID Subtype: Mac address (4)
    Remote Chassis ID:  00:01:e8:6d:1c:5c
    Remote Port Subtype:  Interface name (5)
    Remote Port ID:  GigabitEthernet 0/83
    Local Port ID: GigabitEthernet 0/48
    Locally assigned remote Neighbor Index: 17
    Remote TTL:  120
    Information valid for next 105 seconds 
    Time since last information change of this neighbor:  1w4d9h
   ---------------------------------------------------------------------------
 """,
'terminal length 0':  'terminal length 0\n',
}
    snmp_get={}
    snmp_getnext={}
