mirror_frr/bgpd
Chirag Shah 5c14a19182 bgpd: router mac same as self supress bgp update
bgp update can contain router mac address same as one of SVIs
mac address, during processing of evpn route in bpg_update()
check for the flag is set and filter the route from installing.
This check is done prior to attribute lookup or storing in database.

Parse check and set is done once during attribute parse
because all the NLRIs containing evpn prefix
(type-2/type-5) will have same exntended community applicable.

Ticket:CM-23674
Reviewed By:CCR-8336
Testing Done:

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
2019-03-04 09:56:13 -08:00
..
rfapi bgpd: strncpy -> strlcpy 2019-02-26 20:50:17 +00: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 bgpd: fix the add-path code to understand the mpls-vpn safi 2019-02-20 23:04:12 -03:00
bgp_addpath.h bgpd: Re-use TX Addpath IDs where possible 2018-11-10 00:16:36 +00:00
bgp_advertise.c bgpd: Convert adj_out to a RB tree 2018-12-07 10:26:00 -05:00
bgp_advertise.h bgpd: Convert adj_out to a RB tree 2018-12-07 10:26:00 -05:00
bgp_aspath.c Merge pull request #3743 from NaveenThanikachalam/2990_New 2019-03-01 09:54:10 -05:00
bgp_aspath.h bgpd: Code to handle BGP aggregate's as-path. 2019-02-28 20:22:30 -08:00
bgp_attr_evpn.c bgpd: parse and comapre rmac attr against self mac 2019-03-04 09:56:05 -08: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: parse and comapre rmac attr against self mac 2019-03-04 09:56:05 -08:00
bgp_attr.h bgpd: Remove duplicate data structure 2018-12-12 16:10:30 -05:00
bgp_bfd.c bgpd/ospfd: make bgp and ospf json response a bit more consistent 2018-08-30 12:40:18 +00: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_btoa.c bgpd: Untrusted argument (Coverity 1399380) 2018-06-19 15:00:25 +02:00
bgp_clist.c bgpd: Further refine hash lookup to store hash value 2019-01-08 20:24:13 -05:00
bgp_clist.h bgpd: Use string length not sizeof the array 2019-01-16 20:43:53 -05:00
bgp_community.c bgpd: Code to handle BGP aggregate's communities. 2019-02-28 20:22:41 -08:00
bgp_community.h bgpd: Code to handle BGP aggregate's communities. 2019-02-28 20:22:41 -08: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 bgpd: Remove unused bgp_debug_count function 2019-02-09 18:22:01 -05:00
bgp_debug.h bgpd: Remove unused bgp_debug_count function 2019-02-09 18:22:01 -05:00
bgp_dump.c bgpd: Abstract bgp_info retrieving/setting from info pointer 2018-11-16 09:43:35 -05:00
bgp_dump.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_ecommunity.c bgpd: Code to handle BGP aggregate's e-communities. 2019-02-28 20:22:41 -08:00
bgp_ecommunity.h bgpd: Code to handle BGP aggregate's e-communities. 2019-02-28 20:22:41 -08:00
bgp_encap_tlv.c bgpd: Fix off by one error introduced by 8c9cc7bbf6 2017-10-18 18:37:38 -04:00
bgp_encap_tlv.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_encap_types.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_errors.c *: spelchek 2018-10-25 20:10:57 +02:00
bgp_errors.h bgpd: Try to notice when configuration changes during startup 2018-10-01 10:58:06 -04:00
bgp_evpn_private.h bgpd: advertise svi ip as macip config cmd 2019-02-06 19:57:47 -08:00
bgp_evpn_vty.c *: Rename backet to bucket 2019-02-25 16:22:36 +00: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 zebra, bgpd: Exchange L3 interface for VRF's VNI 2019-02-27 11:52:34 +00:00
bgp_evpn.h zebra, bgpd: Exchange L3 interface for VRF's VNI 2019-02-27 11:52:34 +00:00
bgp_filter.c bgpd: remove ip prefix from as-path, <large,ext>community-list 2018-10-04 21:50:44 -07:00
bgp_filter.h *: reindent 2017-07-17 14:04:07 +02: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: display the list of iprules attached to a fs entry 2019-01-29 14:15:10 +01:00
bgp_flowspec.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
bgp_flowspec.h bgpd: Convert binfo to path 2018-10-09 14:26:30 -04:00
bgp_fsm.c bgpd: Creating Loopback Interface Flaps BGPd (#2865) 2018-11-19 04:35:32 -08:00
bgp_fsm.h bgpd: fix bgp_packet.c / bgp_fsm.c organization 2017-11-30 16:18:02 -05:00
bgp_io.c lib,bgpd: remove deprecated stream lib macros 2018-11-29 11:13:15 -05:00
bgp_io.h bgpd: update pthreads to use lib changes 2018-01-24 15:30:55 -05:00
bgp_keepalives.c *: Rename backet to bucket 2019-02-25 16:22:36 +00:00
bgp_keepalives.h bgpd: update pthreads to use lib changes 2018-01-24 15:30:55 -05:00
bgp_label.c bgpd, zebra: auto assign labels from label pool to regular prefixes in BGP labeled unicast 2018-12-20 15:28:52 +03: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 *: list_delete_and_null() -> list_delete() 2018-10-02 11:40:52 +02:00
bgp_labelpool.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_lcommunity.c bgpd: Code to handle BGP aggregate's l-communities. 2019-02-28 20:22:41 -08:00
bgp_lcommunity.h bgpd: Code to handle BGP aggregate's l-communities. 2019-02-28 20:22:41 -08:00
bgp_mac.c bgpd: parse and comapre rmac attr against self mac 2019-03-04 09:56:05 -08: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: delay destruction of label pool 2018-12-05 18:24:12 +01:00
bgp_memory.c *: support for evpn type-4 route 2018-05-30 07:48:20 -04:00
bgp_memory.h *: support for evpn type-4 route 2018-05-30 07:48:20 -04:00
bgp_mpath.c bgpd:Fixing the signature of community_free function 2018-10-23 09:52:32 -07:00
bgp_mpath.h bgpd: Rename various variable names to something more appropriate 2018-10-09 14:26:30 -04:00
bgp_mplsvpn.c Revert "bgpd: in case nexthop is ipv6, set nh attribute flag in mpls vpn case" 2019-02-26 19:02:17 -03:00
bgp_mplsvpn.h bgpd: Rename various variable names to something more appropriate 2018-10-09 14:26:30 -04:00
bgp_network.c lib: remove the vrf_is_mapped_on_netns() function 2019-01-19 22:49:11 -02:00
bgp_network.h bgpd: server socket is created for all enabled VRF 2018-02-27 11:11:24 +01:00
bgp_nexthop.c *: Rename backet to bucket 2019-02-25 16:22:36 +00:00
bgp_nexthop.h bgpd: Convert struct bgp_info to struct bgp_path_info 2018-10-09 14:14:25 -04:00
bgp_nht.c Merge pull request #3415 from pguibert6WIND/flowspec_support_nh_tracking 2019-01-09 15:41:16 -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 bgpd: capabilty 2019-02-27 18:09:08 +00:00
bgp_open.h bgpd: capabilty 2019-02-27 18:09:08 +00:00
bgp_packet.c bgpd: Modify End of Rib notification to INFO 2019-01-07 17:51:27 +01:00
bgp_packet.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_pbr.c *: Rename backet to bucket 2019-02-25 16:22:36 +00:00
bgp_pbr.h bgpd: display the list of iprules attached to a fs entry 2019-01-29 14:15:10 +01:00
bgp_rd.c bgpd, lib, ospfd, zebra: all_digit moved to frrstr 2018-06-19 17:59:53 +02:00
bgp_rd.h bgpd: Auto RD definitions and encoding 2018-04-25 12:39:16 -04:00
bgp_regex.c *: reindent 2017-07-17 14:04:07 +02:00
bgp_regex.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_route.c bgpd: router mac same as self supress bgp update 2019-03-04 09:56:13 -08:00
bgp_route.h Merge pull request #3743 from NaveenThanikachalam/2990_New 2019-03-01 09:54:10 -05:00
bgp_routemap.c bgpd: Fix compile warning -> error 2019-02-22 10:50:14 -05:00
bgp_rpki.c bgpd: fix crash when trying to remove non-existing rpki cache 2019-02-07 17:26:11 +01:00
bgp_snmp.c bgpd: Cleanup non-normal compiled code path 2018-12-12 16:18:15 -05:00
bgp_table.c Merge pull request #3093 from donaldsharp/bgp_node_continued 2018-12-11 11:13:25 -05:00
bgp_table.h Merge pull request #3093 from donaldsharp/bgp_node_continued 2018-12-11 11:13:25 -05:00
bgp_updgrp_adv.c Merge pull request #3093 from donaldsharp/bgp_node_continued 2018-12-11 11:13:25 -05:00
bgp_updgrp_packet.c Treewide: use ANSI function definitions 2019-01-24 11:21:59 +01:00
bgp_updgrp.c *: Rename backet to bucket 2019-02-25 16:22:36 +00:00
bgp_updgrp.h bgpd: Re-use TX Addpath IDs where possible 2018-11-10 00:16:36 +00:00
bgp_vnc_types.h bgpd: Cleanup of bgp daemon code 2018-07-07 22:51:13 +02:00
bgp_vpn.c bgpd: Cleanup non-usage of prefix2str in bgp_vpn.c 2018-11-16 09:43:35 -05: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 vtysh: hide old BGP vpnv(4|6) commands 2019-02-28 11:15:15 -03:00
bgp_vty.h bgpd, lib, vtysh, zebra: Convert to using CMD_VNI_RANGE 2018-10-31 06:23:32 -04:00
bgp_zebra.c Merge pull request #3882 from vivek-cumulus/refine_evpn_route_add 2019-03-01 09:15:26 -08:00
bgp_zebra.h bgpd: advertise svi ip as macip zebra parse api 2019-02-06 19:57:40 -08:00
bgpd.c bgpd: Add peer action for PEER_FLAG_IFPEER_V6ONLY flag 2019-02-25 21:19:37 +02:00
bgpd.conf.sample Fix typos in BGPd sample configuration file 2018-12-27 09:13:55 +02:00
bgpd.conf.sample2 Initial revision 2002-12-13 20:15:29 +00:00
bgpd.conf.vnc.sample bgpd: hide "router bgp" commands also under "address-family ipv4 unicast" 2017-05-04 17:06:13 +00:00
bgpd.h zebra, bgpd: Exchange L3 interface for VRF's VNI 2019-02-27 11:52:34 +00: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 bgpd: vrl source-vrf route map filter 2019-02-19 07:24:19 -08:00
valgrind.supp bgpd: make valgrind suppression more generic 2019-02-19 22:00:34 +01:00