Skip to content

Commit

Permalink
junos getters work fine now
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarrosop committed Sep 22, 2015
1 parent 618ebd9 commit 41461a7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions utils/junos_views.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---

####
#### Interface table
#### Interface table
####

junos_iface_table:
Expand All @@ -18,7 +18,7 @@ junos_iface_view:
is_enabled: { admin-status: True=up }
description: description
last_flapped: { interface-flapped/@seconds: int }
mode: logical-interface/address-family/address-family-name
#mode: logical-interface/address-family/address-family-name
speed: speed
mac_address: current-physical-address

Expand All @@ -27,7 +27,7 @@ junos_iface_view:
####

junos_route_instance_table:
rpc: get-instance-information
rpc: get-instance-information
item: instance-core
key: instance-name
view: junos_route_instance_view
Expand All @@ -54,7 +54,7 @@ junos_bgp_view:
sent_prefixes: { bgp-rib/aadvertised-prefix-count: int }

####
#### LLDP table
#### LLDP table
####

junos_lldp_table:
Expand All @@ -67,5 +67,3 @@ junos_lldp_view:
fields:
hostname: lldp-remote-system-name
port: lldp-remote-port-description | lldp-remote-port-id


0 comments on commit 41461a7

Please sign in to comment.