From 09ee846d9275b4cb0b77f7e458aba6a71b111c52 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Sat, 28 Sep 2019 14:17:20 +0200 Subject: BGP: AIGP metric support (RFC 7311) --- doc/bird.sgml | 44 ++++++++- nest/route.h | 1 + nest/rt-table.c | 14 ++- proto/bgp/attrs.c | 265 ++++++++++++++++++++++++++++++++++++++++++++++++++-- proto/bgp/bgp.c | 13 ++- proto/bgp/bgp.h | 27 ++++++ proto/bgp/config.Y | 8 +- proto/bgp/packets.c | 3 + 8 files changed, 359 insertions(+), 16 deletions(-) diff --git a/doc/bird.sgml b/doc/bird.sgml index 174618a4..869fec1c 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -2161,6 +2161,7 @@ avoid routing loops. - AS-Wide Unique BGP Identifier - Subcodes for BGP Finite State Machine Error - BGP Support for 4-Octet AS Numbers + - Accumulated IGP Metric Attribute for BGP - Enhanced Route Refresh Capability for BGP - Revised Error Handling for BGP UPDATE Messages - Advertisement of Multiple Paths in BGP @@ -2739,6 +2740,36 @@ be used in explicit configuration. TX direction. When active, all available routes accepted by the export filter are advertised to the neighbor. Default: off. + ---> + + This is an optional attribute specifying AS number and IP address of the + BGP router that created the route by aggregating multiple BGP routes. + Currently, the attribute is not accessible from filters. + List of community values associated with the route. Each such value is a pair (represented as a