fixing up peer ip and session uptime

This commit is contained in:
Elisa Jasinska committed 2015-05-17 23:14:35 +02:00
1 parent 62f1b635a1
commit 72fc287330
1 file changed
+3 -4
+3 -4
View File
@@ -38,21 +38,20 @@ junos_route_instance_view:
name: instance-name
junos_bgp_table:
rpc: get-bgp-neighbor-information
rpc: get-bgp-summary-information
item: bgp-peer
key: peer-address
view: junos_bgp_view
junos_bgp_view:
fields:
remote_as: { peer-as: int }
description: description
is_up: { peer-state: True=Established }
is_enabled: { shutdown: True=False }
uptime: { elapsed-time/@seconds: int }
description: description
received_prefixes: { bgp-rib/received-prefix-count: int }
accepted_prefixes: { bgp-rib/accepted-prefix-count: int }
remote_as: { peer-as: int }
####
#### LLDP table