Skip to content

Commit

Permalink
Export BGP-like metrics for BGP_SESSION_NOT_CONFIGURED
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceaulinic committed Apr 27, 2020
1 parent 43059bc commit bb5f739
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions napalm_logs/transport/prometheus.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,12 @@ def _parse_bgp_peer_not_configured(self, msg):
'''
self.__parse_bgp_basic(msg)

def _parse_bgp_session_not_configured(self, msg):
'''
Build metrics from BGP_SESSION_NOT_CONFIGURED notifications.
'''
self.__parse_bgp_basic(msg)

def _parse_bgp_connection_rejected(self, msg):
'''
Build metrics from BGP_CONNECTION_REJECTED notifications.
Expand Down

0 comments on commit bb5f739

Please sign in to comment.