summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_table.h
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2015-11-10 16:29:12 +0100
committerDaniel Walton <dwalton@cumulusnetworks.com>2015-11-10 16:29:12 +0100
commit2a3d57318c315aca75d54f93037e2fe52de30569 (patch)
tree2573b389faf240771837f3fc9fa5e006471c2696 /bgpd/bgp_table.h
parentMerge branch 'cmaster' of ssh://stash.cumulusnetworks.com:7999/quag/quagga in... (diff)
downloadfrr-2a3d57318c315aca75d54f93037e2fe52de30569.tar.xz
frr-2a3d57318c315aca75d54f93037e2fe52de30569.zip
BGP: route-server will now use addpath...chop the _rsclient code
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Ticket: CM-8122 per draft-ietf-idr-ix-bgp-route-server-09: 2.3.2.2.2. BGP ADD-PATH Approach The [I-D.ietf-idr-add-paths] Internet draft proposes a different approach to multiple path propagation, by allowing a BGP speaker to forward multiple paths for the same prefix on a single BGP session. As [RFC4271] specifies that a BGP listener must implement an implicit withdraw when it receives an UPDATE message for a prefix which already exists in its Adj-RIB-In, this approach requires explicit support for the feature both on the route server and on its clients. If the ADD-PATH capability is negotiated bidirectionally between the route server and a route server client, and the route server client propagates multiple paths for the same prefix to the route server, then this could potentially cause the propagation of inactive, invalid or suboptimal paths to the route server, thereby causing loss of reachability to other route server clients. For this reason, ADD- PATH implementations on a route server should enforce send-only mode with the route server clients, which would result in negotiating receive-only mode from the client to the route server. This allows us to delete all of the following code: - All XXXX_rsclient() functions - peer->rib - BGP_TABLE_MAIN and BGP_TABLE_RSCLIENT - RMAP_IMPORT and RMAP_EXPORT
Diffstat (limited to 'bgpd/bgp_table.h')
-rw-r--r--bgpd/bgp_table.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/bgpd/bgp_table.h b/bgpd/bgp_table.h
index ce9b9fac0..770f62a96 100644
--- a/bgpd/bgp_table.h
+++ b/bgpd/bgp_table.h
@@ -23,16 +23,8 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
#include "table.h"
-typedef enum
-{
- BGP_TABLE_MAIN,
- BGP_TABLE_RSCLIENT,
-} bgp_table_t;
-
struct bgp_table
{
- bgp_table_t type;
-
/* afi/safi of this table */
afi_t afi;
safi_t safi;