From b7d7599ce3576f28310af18b403fed49a0840b67 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Tue, 13 Aug 2019 18:22:07 +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 | 11 ++++++ nest/proto.c | 26 ++++++++++++++ nest/protocol.h | 3 ++ nest/route.h | 1 + nest/rt-table.c | 90 +++++++++++++++++++++++++++++++++++++++++++++- proto/bgp/bgp.c | 4 +++ proto/bgp/bgp.h | 1 + proto/bgp/config.Y | 1 + 9 files changed, 146 insertions(+), 1 deletion(-) diff --git a/doc/bird.sgml b/doc/bird.sgml index 16d03028..d1b90a1d 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -2705,6 +2705,16 @@ be used in explicit configuration. be examined later by