diff options
| author | G. Paul Ziemba <paulz@labn.net> | 2018-03-09 15:52:55 -0500 | 
|---|---|---|
| committer | Lou Berger <lberger@labn.net> | 2018-03-09 16:42:40 -0500 | 
| commit | ddb5b4880ba8b6ed79da25f8fddf81f67f376cdd (patch) | |
| tree | ba1e5cf6296a16bd39c7628d80a84349ab806c3c /bgpd/bgp_debug.h | |
| parent | c44bd447cd82695b3ba68437641bdb233c7397ef (diff) | |
bgpd: vpn-vrf route leaking
    - add "debug bgp vpn label" CLI
    - improved debug messages for "debug bgp bestpath"
    - send vrf label to zebra after zebra informs bgpd of vrf_id
    - withdraw vrf_label from zebra if zebra informs bgpd that vrf_id is disabled
Signed-off-by: G. Paul Ziemba <paulz@labn.net>
Diffstat (limited to 'bgpd/bgp_debug.h')
| -rw-r--r-- | bgpd/bgp_debug.h | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/bgpd/bgp_debug.h b/bgpd/bgp_debug.h index 765e43f5b4..57f8fef5f2 100644 --- a/bgpd/bgp_debug.h +++ b/bgpd/bgp_debug.h @@ -72,6 +72,7 @@ extern unsigned long conf_bgp_debug_zebra;  extern unsigned long conf_bgp_debug_allow_martians;  extern unsigned long conf_bgp_debug_nht;  extern unsigned long conf_bgp_debug_update_groups; +extern unsigned long conf_bgp_debug_vpn;  extern unsigned long term_bgp_debug_as4;  extern unsigned long term_bgp_debug_neighbor_events; @@ -83,6 +84,7 @@ extern unsigned long term_bgp_debug_zebra;  extern unsigned long term_bgp_debug_allow_martians;  extern unsigned long term_bgp_debug_nht;  extern unsigned long term_bgp_debug_update_groups; +extern unsigned long term_bgp_debug_vpn;  extern struct list *bgp_debug_neighbor_events_peers;  extern struct list *bgp_debug_keepalive_peers; @@ -111,6 +113,10 @@ struct bgp_debug_filter {  #define BGP_DEBUG_ALLOW_MARTIANS      0x01  #define BGP_DEBUG_NHT                 0x01  #define BGP_DEBUG_UPDATE_GROUPS       0x01 +#define BGP_DEBUG_VPN_LEAK_FROM_VRF   0x01 +#define BGP_DEBUG_VPN_LEAK_TO_VRF     0x02 +#define BGP_DEBUG_VPN_LEAK_RMAP_EVENT 0x04 +#define BGP_DEBUG_VPN_LEAK_LABEL      0x08  #define BGP_DEBUG_PACKET_SEND         0x01  #define BGP_DEBUG_PACKET_SEND_DETAIL  0x02  | 
