From 67c371ca512a41c290ccccc23f3eff3ea611a0dc Mon Sep 17 00:00:00 2001 From: David Barroso Date: Thu, 28 May 2015 16:07:33 -0400 Subject: [PATCH] Fixed get_lldp_neighbors --- napalm/fortios.py | 3 +++ utils/junos_views.yml | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/napalm/fortios.py b/napalm/fortios.py index f21807a..d112b6d 100644 --- a/napalm/fortios.py +++ b/napalm/fortios.py @@ -209,3 +209,6 @@ class FortiOSDriver(NetworkDriver): 'peers': peers } } + + def get_lldp_neighbors(self): + return {} \ No newline at end of file diff --git a/utils/junos_views.yml b/utils/junos_views.yml index c744706..4477a9d 100644 --- a/utils/junos_views.yml +++ b/utils/junos_views.yml @@ -60,12 +60,12 @@ junos_bgp_view: junos_lldp_table: rpc: get-lldp-neighbors-information item: lldp-neighbor-information - key: lldp-local-interface | lldp-local-port-id + key: lldp-local-port-id | lldp-local-interface view: junos_lldp_view junos_lldp_view: fields: hostname: lldp-remote-system-name - port: lldp-remote-port-description + port: lldp-remote-port-description | lldp-remote-port-id