mirror_frr/bgpd
Donald Sharp 8c1a4c1041 bgpd: use bgp->name_pretty in debugs and add vrf to some output
Recently had a case where I was attempting to debug a nexthop tracking
issue across multiple bgp vrf's and since the setup vrf's in it with
overlapping address ranges, it became real fun real fast to track
vrf data associated.  Add a bit of code to allow us to figure out
what vrf we are in when we print out debug messages.

Look through the rest of the code and find debugs where we are
not using bgp->name_pretty and switch it over.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-11-07 07:20:41 -05:00
..
rfapi *: Convert prefix_free to double pointer 2019-11-02 16:13:44 -04:00
rfp-example Treewide: use ANSI function definitions 2019-01-24 11:21:59 +01:00
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
bgp_addpath_types.h bgpd: Re-use TX Addpath IDs where possible 2018-11-10 00:16:36 +00:00
bgp_addpath.c *: config.h or zebra.h is the first #include 2019-06-13 13:35:33 +02:00
bgp_addpath.h bgpd: Re-use TX Addpath IDs where possible 2018-11-10 00:16:36 +00:00
bgp_advertise.c bgpd: add timestamp to bgp_adj_in 2019-08-30 19:00:45 +02:00
bgp_advertise.h bgpd: add timestamp to bgp_adj_in 2019-08-30 19:00:45 +02:00
bgp_aspath.c bgpd: AS paths are uint32_t instead of integers 2019-10-09 16:10:44 -04:00
bgp_aspath.h bgpd : route agg. with aspath attribute is consuming lot of cycles. 2019-09-24 02:54:19 -07:00
bgp_attr_evpn.c Merge pull request #3869 from qlyoung/cocci-fixes 2019-03-06 15:54:44 +01:00
bgp_attr_evpn.h bgpd: parse and comapre rmac attr against self mac 2019-03-04 09:56:05 -08:00
bgp_attr.c bgpd: ability to export prefixes entries to a kernel table identifier 2019-10-10 16:06:51 +02:00
bgp_attr.h bgpd: ability to export prefixes entries to a kernel table identifier 2019-10-10 16:06:51 +02:00
bgp_bfd.c bfdd: Handling local and remote admin-down 2019-10-28 21:38:20 -07:00
bgp_bfd.h bgpd/ospfd: make bgp and ospf json response a bit more consistent 2018-08-30 12:40:18 +00:00
bgp_bmp.c bgpd: Check setsockopt return codes 2019-10-16 13:38:29 -04:00
bgp_bmp.h bgpd/bmp: BMP implementation 2019-08-30 19:22:23 +02:00
bgp_btoa.c bgpd: Untrusted argument (Coverity 1399380) 2018-06-19 15:00:25 +02:00
bgp_clist.c *: fix ctype (isalpha & co.) casts 2019-08-06 16:54:52 +02:00
bgp_clist.h bgpd : Support for exact-match in match clause for lcommunity 2019-06-19 04:37:51 -07:00
bgp_community.c bgpd : route agg. with comm attr is consuming lot of cycles. 2019-09-24 02:54:19 -07:00
bgp_community.h bgpd : route agg. with comm attr is consuming lot of cycles. 2019-09-24 02:54:19 -07:00
bgp_damp.c *: spelchek 2018-10-25 20:10:57 +02:00
bgp_damp.h bgpd: Convert binfo to path 2018-10-09 14:26:30 -04:00
bgp_debug.c *: Convert prefix_free to double pointer 2019-11-02 16:13:44 -04:00
bgp_debug.h bgpd: Remove unused bgp_debug_count function 2019-02-09 18:22:01 -05:00
bgp_dump.c bgpd: use bgp->name_pretty in debugs and add vrf to some output 2019-11-07 07:20:41 -05:00
bgp_dump.h bgpd: hook for bgp peer status change events 2019-08-13 11:59:27 -07:00
bgp_ecommunity.c bgpd : route agg. with ecomm attribute is consuming lot of cycles. 2019-09-24 02:54:19 -07:00
bgp_ecommunity.h bgpd : route agg. with ecomm attribute is consuming lot of cycles. 2019-09-24 02:54:19 -07:00
bgp_encap_tlv.c *: remove null check before XFREE 2019-02-25 23:00:46 +00:00
bgp_encap_tlv.h
bgp_encap_types.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_errors.c bgpd: BGP_ERR_MULTIPLE_INSTANCE_NOT_SET is an impossible condition 2019-06-18 09:26:00 -04:00
bgp_errors.h bgpd: BGP_ERR_MULTIPLE_INSTANCE_NOT_SET is an impossible condition 2019-06-18 09:26:00 -04:00
bgp_evpn_private.h bgpd: Ensure correct checks for EVPN route import 2019-08-18 23:07:59 -07:00
bgp_evpn_vty.c Merge pull request #5118 from lkrishnamoor/routes_json 2019-10-16 15:01:13 -04:00
bgp_evpn_vty.h bgpd: get rid of afi_header_vty_out() & co. 2017-08-29 08:36:03 +02:00
bgp_evpn.c bgpd: clarify evpn datastruct use for SA 2019-10-23 11:56:35 -04:00
bgp_evpn.h bgpd: Adding new bgp evpn cli's for ip-prefix lookup 2019-09-27 10:58:46 -07:00
bgp_filter.c bgpd: Remove depracated ip prefix for as-path/extcommunity/large/communities 2019-10-08 08:39:55 +03:00
bgp_filter.h bgpd: Validate as-path in show bgp regexp 2019-04-23 11:25:35 +03:00
bgp_flowspec_private.h bgpd: support for show bgp ipv4 flowspec 2018-03-30 14:01:05 +02:00
bgp_flowspec_util.c bgpd: upon bgp fs study, determine if iprule can be used 2019-01-29 14:15:09 +01:00
bgp_flowspec_util.h bgpd: flowspec redirect IP info is retrieved into nh tracking 2018-12-28 18:10:26 +01:00
bgp_flowspec_vty.c bgpd: struct bgp_path_info *->attr must not be NULL 2019-10-16 13:38:29 -04:00
bgp_flowspec.c bgpd: Do not send UPDATE message with maximum-prefix 2019-04-24 14:51:06 +03:00
bgp_flowspec.h bgpd: Convert binfo to path 2018-10-09 14:26:30 -04:00
bgp_fsm.c Merge pull request #4861 from NaveenThanikachalam/logs 2019-09-17 11:33:43 -04:00
bgp_fsm.h bgpd: hook for bgp peer status change events 2019-08-13 11:59:27 -07:00
bgp_io.c bgpd: speak soothing words to scanbuild 2019-10-15 18:25:02 +00:00
bgp_io.h bgpd: raise default & max r/w quanta to 64 2019-10-14 18:41:53 +00:00
bgp_keepalives.c bgpd: do not send keepalives when KA timer is 0 2019-09-16 16:15:07 +00:00
bgp_keepalives.h bgpd: update pthreads to use lib changes 2018-01-24 15:30:55 -05:00
bgp_label.c bgpd: fix LU label callback crash 2019-06-24 11:35:44 +02:00
bgp_label.h bgpd, zebra: auto assign labels from label pool to regular prefixes in BGP labeled unicast 2018-12-20 15:28:52 +03:00
bgp_labelpool.c lib, zebra: support label chunk requests for SRGB 2019-07-10 15:20:27 +02:00
bgp_labelpool.h bgpd: replace label pool fifo with DECLARE_LIST 2019-04-27 19:33:45 +02:00
bgp_lcommunity.c bgpd : route agg. with lcomm attribute is consuming lot of cycles. 2019-09-24 02:53:51 -07:00
bgp_lcommunity.h bgpd : route agg. with lcomm attribute is consuming lot of cycles. 2019-09-24 02:53:51 -07:00
bgp_mac.c Merge pull request #4470 from donaldsharp/bgp_mac_rescan 2019-06-20 13:33:09 -07:00
bgp_mac.h bgpd: parse and comapre rmac attr against self mac 2019-03-04 09:56:05 -08:00
bgp_main.c bgpd: Add ability to set tcp socket buffer size 2019-10-16 07:42:05 -04:00
bgp_memory.c bgpd/bmp: convert BMP code into module 2019-08-30 19:00:45 +02:00
bgp_memory.h bgpd/bmp: convert BMP code into module 2019-08-30 19:00:45 +02:00
bgp_mpath.c bgpd: bgp_path_info_mpath_next only returns values 2019-10-25 21:10:31 -04:00
bgp_mpath.h bgpd: Rename various variable names to something more appropriate 2018-10-09 14:26:30 -04:00
bgp_mplsvpn.c bgpd: Ensure that struct prefix_rd rd is zero'ed out 2019-10-10 09:03:56 -04:00
bgp_mplsvpn.h bgpd: router bgp export leaked vpn routes 2019-06-17 15:41:50 -07:00
bgp_network.c bgpd: Add ability to set tcp socket buffer size 2019-10-16 07:42:05 -04:00
bgp_network.h bgpd: add support for MD5 auth on listen ranges 2019-04-16 15:26:20 +00:00
bgp_nexthop.c bgpd: Display peer info in NHT output 2019-08-18 22:21:38 -07:00
bgp_nexthop.h Revert "bgpd: Prevent IPv6 routes received via a ibgp session with own ip as nexthop " 2019-05-02 07:15:39 -04:00
bgp_nht.c bgpd: use bgp->name_pretty in debugs and add vrf to some output 2019-11-07 07:20:41 -05:00
bgp_nht.h bgpd: Late registration of Extended Nexthop should allow RA's to happen 2018-11-07 14:11:45 -05:00
bgp_open.c Merge pull request #4861 from NaveenThanikachalam/logs 2019-09-17 11:33:43 -04:00
bgp_open.h bgpd: Remove trailing whitespaces from some header files 2019-09-17 11:28:48 +03:00
bgp_packet.c lib: add frr_with_mutex() block-wrapper 2019-09-03 17:15:17 +02:00
bgp_packet.h bgpd: Remove trailing whitespaces from some header files 2019-09-17 11:28:48 +03:00
bgp_pbr.c bgpd: struct bgp_path_info *->attr must not be NULL 2019-10-16 13:38:29 -04:00
bgp_pbr.h bgp, zebra, lib: add protocol support for iptables 2019-07-08 08:36:45 +02:00
bgp_rd.c *: remove null check before XFREE 2019-02-25 23:00:46 +00:00
bgp_rd.h bgpd: Auto RD definitions and encoding 2018-04-25 12:39:16 -04:00
bgp_regex.c
bgp_regex.h
bgp_route.c Merge pull request #5281 from bisdhdh/bgpv4-over-v6-1 2019-11-06 14:03:52 -05:00
bgp_route.h bgpd: Remove trailing whitespaces from some header files 2019-09-17 11:28:48 +03:00
bgp_routemap.c bgpd: struct bgp_path_info *->attr must not be NULL 2019-10-16 13:38:29 -04:00
bgp_rpki.c bgpd: Show to compiler that uint64_t -> uint32_t is ok here 2019-10-03 08:55:29 -04:00
bgp_snmp.c *: strip trailing whitespace 2019-09-30 16:44:43 +00:00
bgp_table.c bgpd: fix bgp_table range lookup 2019-08-16 16:42:11 +02:00
bgp_table.h bgpd: Store reason why bestpath was choosen 2019-05-15 21:17:52 -04:00
bgp_updgrp_adv.c bgpd: When displaying update group information include coalesce time 2019-09-23 14:15:01 -04:00
bgp_updgrp_packet.c bgpd: stop sending nexthop set by "route-map in" to eBGP peers 2019-09-25 13:54:39 -07:00
bgp_updgrp.c bgpd: When displaying update group information include coalesce time 2019-09-23 14:15:01 -04:00
bgp_updgrp.h bgpd : no neighbor <> send-community large is not working dynamically 2019-05-18 09:15:45 -07:00
bgp_vnc_types.h bgpd: Cleanup of bgp daemon code 2018-07-07 22:51:13 +02:00
bgp_vpn.c bgpd: Fixing "show bgp l2vpn evpn neighbors x.x.x.x advertised-routes json 2019-09-27 12:04:13 -07:00
bgp_vpn.h bgpd/ospfd: make bgp and ospf json response a bit more consistent 2018-08-30 12:40:18 +00:00
bgp_vty.c bgpd: expose sender side AS path loop detection 2019-10-29 16:29:09 -03:00
bgp_vty.h bgpd: Add a new command to only show failed peerings 2019-09-02 14:21:44 +00:00
bgp_zebra.c *: Convert connected_free to a double pointer 2019-11-02 16:13:44 -04:00
bgp_zebra.h bgpd: move bgp_update_redist_vrf_bitmaps to bgp_zebra.c for wider use beyond bgp_vty 2019-03-14 15:05:38 +00:00
bgpd.c *: Convert prefix_free to double pointer 2019-11-02 16:13:44 -04:00
bgpd.conf.sample doc: Update documentation about multiple-instance 2019-06-18 09:31:35 -04:00
bgpd.conf.sample2
bgpd.conf.vnc.sample
bgpd.h bgpd: expose sender side AS path loop detection 2019-10-29 16:29:09 -03:00
IMPLEMENTATION.txt bgpd: Convert struct bgp_info to struct bgp_path_info 2018-10-09 14:14:25 -04:00
Makefile build: non-recursive bgpd & rfp 2018-09-08 21:25:59 +02:00
subdir.am build: make BMP optional 2019-08-30 19:22:29 +02:00
valgrind.supp bgpd: make valgrind suppression more generic 2019-02-19 22:00:34 +01:00