mirror_frr/bgpd
vivek 450e362d2a bgpd: Set NEXT_HOP attribute for EVPN imported routes
Ensure that when EVPN routes are imported into a VRF as IPv4 routes,
the NEXT_HOP attribute is set. In the absence of this, this attribute
is currently not generated when advertising the route to peers in the
VRF. It is to be noted that the source route (the EVPN route) will only
have the MP_REACH_NLRI attribute that contains the next hop in it.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by:   Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Reviewed-by:   Don Slice <dslice@cumulusnetworks.com>
2018-05-11 08:02:42 -04:00
..
rfapi bgpd: Prevent vrf 2 vrf route leaking from going offbox. 2018-04-25 12:41:17 -04:00
rfp-example *: add missing \n in some help strings 2017-10-24 19:30:30 -02:00
.gitignore *: globally ignore clippy-generated source 2018-03-09 17:52:15 -05:00
BGP4-MIB.txt Initial revision 2002-12-13 20:15:29 +00:00
bgp_advertise.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_advertise.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_aspath.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_aspath.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_attr_evpn.c *: change struct evpn_addr to include a union of all evpn route types 2018-05-02 17:49:17 -07:00
bgp_attr_evpn.h bgpd: add basic support for ETI and ESI for BGP EVPN 2018-04-09 11:42:08 +02:00
bgp_attr.c bgpd: Handle multiple PREFIX_SID's at a time. 2018-05-02 18:48:58 -04:00
bgp_attr.h bgpd: Handle multiple PREFIX_SID's at a time. 2018-05-02 18:48:58 -04:00
bgp_bfd.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_bfd.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_btoa.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_clist.c bgpd: clean up clist management logic 2018-04-17 13:58:24 -04:00
bgp_clist.h bgpd: clean up clist management logic 2018-04-17 13:58:24 -04:00
bgp_community.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_community.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_damp.c bgpd: avoid indexing with negative integer 2018-04-18 12:16:19 -04:00
bgp_damp.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_debug.c bgpd: add [no] debug bgp pbr vty command 2018-04-30 11:56:23 +02:00
bgp_debug.h bgpd: add pbr error flag for pbr errors 2018-04-30 11:56:23 +02:00
bgp_dump.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_dump.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_ecommunity.c bgpd: utility routine to convert flowspec actions into pbr actions 2018-04-30 11:56:23 +02:00
bgp_ecommunity.h bgpd: utility routine to convert flowspec actions into pbr actions 2018-04-30 11:56:23 +02: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_evpn_private.h *: change struct evpn_addr to include a union of all evpn route types 2018-05-02 17:49:17 -07:00
bgp_evpn_vty.c Merge pull request #2057 from donaldsharp/fix_1916 2018-04-20 07:56:48 -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: Set NEXT_HOP attribute for EVPN imported routes 2018-05-11 08:02:42 -04:00
bgp_evpn.h bgpd: Fix use of ROUTE_IMPORTED for EVPN 2018-03-30 00:24:00 +00:00
bgp_filter.c bgpd: fix clang warning 2017-10-08 23:50:54 +02: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: add convert function from flowspec to pbr match 2018-04-30 11:56:23 +02:00
bgp_flowspec_util.h bgpd: add convert function from flowspec to pbr match 2018-04-30 11:56:23 +02:00
bgp_flowspec_vty.c bgpd: the nexthop IP is displayed for FS entries. 2018-04-09 11:04:14 +02:00
bgp_flowspec.c bgpd: support for json in show bgp ipv4 flowspec commands 2018-03-30 14:01:06 +02:00
bgp_flowspec.h bgpd: support for json in show bgp ipv4 flowspec commands 2018-03-30 14:01:06 +02:00
bgp_fsm.c bgpd: nexthop tracking with labels for vrf-vpn leaking 2018-04-04 10:00:23 -07:00
bgp_fsm.h bgpd: fix bgp_packet.c / bgp_fsm.c organization 2017-11-30 16:18:02 -05:00
bgp_io.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_io.h bgpd: update pthreads to use lib changes 2018-01-24 15:30:55 -05:00
bgp_keepalives.c bgpd: fix incorrect keepalive timer evaluation 2018-02-21 12:15:17 -05:00
bgp_keepalives.h bgpd: update pthreads to use lib changes 2018-01-24 15:30:55 -05:00
bgp_label.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_label.h bgpd: Prevent vrf 2 vrf route leaking from going offbox. 2018-04-25 12:41:17 -04:00
bgp_labelpool.c bgpd: dynamic mpls label pool 2018-04-11 23:18:28 -07:00
bgp_labelpool.h bgpd: dynamic mpls label pool 2018-04-11 23:18:28 -07:00
bgp_lcommunity.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_lcommunity.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_main.c bgpd option '-p 0' means do not listen BGP port. 2018-04-06 14:01:05 -07:00
bgp_memory.c bgpd: add flowspec feature 2018-03-30 14:00:47 +02:00
bgp_memory.h bgpd: add flowspec feature 2018-03-30 14:00:47 +02:00
bgp_mpath.c bgpd: verify that multipath infos are set 2018-04-13 17:17:42 -04:00
bgp_mpath.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_mplsvpn.c bgpd: Update parent entry's refcount for imported routes 2018-05-11 08:02:05 -04:00
bgp_mplsvpn.h bgpd: Add some vrf <-> vrf code comments 2018-04-25 12:39:17 -04:00
bgp_network.c bgpd: Check for peer before dereferencing it 2018-03-20 18:50:22 -04:00
bgp_network.h bgpd: server socket is created for all enabled VRF 2018-02-27 11:11:24 +01:00
bgp_nexthop.c bgpd: nexthop tracking with labels for vrf-vpn leaking 2018-04-04 10:00:23 -07:00
bgp_nexthop.h bgpd: Handle connected routes and IPv6 link-local nexthops for route leaking 2018-04-25 12:39:16 -04:00
bgp_nht.c bgpd: nexthop tracking with labels for vrf-vpn leaking 2018-04-04 10:00:23 -07:00
bgp_nht.h bgpd: nexthop tracking with labels for vrf-vpn leaking 2018-04-04 10:00:23 -07:00
bgp_open.c bgpd: add flowspec feature 2018-03-30 14:00:47 +02:00
bgp_open.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_packet.c bgpd: remove unused variable 2018-04-13 17:17:42 -04:00
bgp_packet.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_pbr.c bgpd: handle bgp pbr hash list destroy upon BGP destroy 2018-04-30 11:56:23 +02:00
bgp_pbr.h bgpd: handle bgp pbr hash list destroy upon BGP destroy 2018-04-30 11:56:23 +02:00
bgp_rd.c bgpd: Auto RD definitions and encoding 2018-04-25 12:39:16 -04: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: Update parent entry's refcount for imported routes 2018-05-11 08:02:05 -04:00
bgp_route.h Merge pull request #2073 from pguibert6WIND/bgp_fs_pbr 2018-05-02 18:54:11 -04:00
bgp_routemap.c *: change struct evpn_addr to include a union of all evpn route types 2018-05-02 17:49:17 -07:00
bgp_rpki.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_snmp.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_table.c bgpd: nexthop tracking with labels for vrf-vpn leaking 2018-04-04 10:00:23 -07:00
bgp_table.h bgpd: nexthop tracking with labels for vrf-vpn leaking 2018-04-04 10:00:23 -07:00
bgp_updgrp_adv.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_updgrp_packet.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_updgrp.c *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
bgp_updgrp.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_vnc_types.h *: reindent 2017-07-17 14:04:07 +02:00
bgp_vpn.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_vpn.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
bgp_vty.c bgpd: Dissallow mixing of import vrf and vpn commands 2018-04-25 12:39:17 -04:00
bgp_vty.h bgpd: add flowspec feature 2018-03-30 14:00:47 +02:00
bgp_zebra.c bgpd: handle bgp pbr hash list destroy upon BGP destroy 2018-04-30 11:56:23 +02:00
bgp_zebra.h bgpd: get table identifier from table manager 2018-04-30 11:56:23 +02:00
bgpd.c bgpd: fix maximum-prefix + peer-group 2018-05-07 14:44:10 -04:00
bgpd.conf.sample bgpd: hide "router bgp" commands also under "address-family ipv4 unicast" 2017-05-04 17:06:13 +00: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 bgpd: fix maximum-prefix + peer-group 2018-05-07 14:44:10 -04:00
IMPLEMENTATION.txt Adjust size complexity estimates. Still not quite right, but closer. 2005-02-15 17:10:03 +00:00
Makefile.am bgpd: support for policy-routing context used with flowspec 2018-04-30 11:56:23 +02:00