From 0d1966cc1d59755af8e04c4c6d2a2ff78826d46e Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Tue, 13 Aug 2019 18:43:36 +0200 Subject: [PATCH] BGP: implement Adj-RIB-Out The patch implements optional internal export table to a channel and hooks it to BGP so it can be used as Adj-RIB-Out. When enabled, all exported (post-filtered) routes are stored there. An export table can be examined using e.g. 'show route export table bgp1.ipv4'. --- doc/bird.sgml | 10 ++++++ nest/config.Y | 10 ++++++ nest/proto.c | 26 ++++++++++++++ nest/protocol.h | 3 ++ nest/route.h | 1 + nest/rt-table.c | 90 +++++++++++++++++++++++++++++++++++++++++++++- proto/bgp/bgp.c | 8 +++-- proto/bgp/bgp.h | 1 + proto/bgp/config.Y | 1 + 9 files changed, 147 insertions(+), 3 deletions(-) diff --git a/doc/bird.sgml b/doc/bird.sgml index a25145006..46073bc66 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -2563,6 +2563,16 @@ be used in explicit configuration. be examined later by