Skip to content

Commit

Permalink
fix #9 - bgp peer no state
Browse files Browse the repository at this point in the history
  • Loading branch information
lampwins committed Apr 3, 2018
1 parent a8f00bb commit 3a1ae17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ def get_bgp_metrics(registry, dev):
# Based on the order in which states are defined in the
# BGP FSA in RFC4271 section 8.2.2
_peer_state_values = {
'NoState': 0
'Idle': 1,
'Connect': 2,
'Active': 3,
Expand Down

0 comments on commit 3a1ae17

Please sign in to comment.