Fixed get_lldp_neighbors
This commit is contained in:
1 parent
54a72b08c2
commit
67c371ca51
2 files changed
+5
-2
No files matched your search
@@ -209,3 +209,6 @@ class FortiOSDriver(NetworkDriver):
|
|||||||
'peers': peers
|
'peers': peers
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def get_lldp_neighbors(self):
|
||||||
|
return {}
|
||||||
@@ -60,12 +60,12 @@ junos_bgp_view:
|
|||||||
junos_lldp_table:
|
junos_lldp_table:
|
||||||
rpc: get-lldp-neighbors-information
|
rpc: get-lldp-neighbors-information
|
||||||
item: lldp-neighbor-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
|
view: junos_lldp_view
|
||||||
|
|
||||||
junos_lldp_view:
|
junos_lldp_view:
|
||||||
fields:
|
fields:
|
||||||
hostname: lldp-remote-system-name
|
hostname: lldp-remote-system-name
|
||||||
port: lldp-remote-port-description
|
port: lldp-remote-port-description | lldp-remote-port-id
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user