From: Donatas Abraitis Date: Wed, 5 Jan 2022 09:02:01 +0000 (+0200) Subject: bgpd: Deprecate DPA, ADVERTISER and RCID_PATH path attributes X-Git-Tag: base_8.2~83^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F10286%2Fhead;p=mirror%2Ffrr.git bgpd: Deprecate DPA, ADVERTISER and RCID_PATH path attributes rfc6938 Signed-off-by: Donatas Abraitis --- diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c index c765be432c..c2017495a6 100644 --- a/bgpd/bgp_attr.c +++ b/bgpd/bgp_attr.c @@ -68,9 +68,6 @@ static const struct message attr_str[] = { {BGP_ATTR_COMMUNITIES, "COMMUNITY"}, {BGP_ATTR_ORIGINATOR_ID, "ORIGINATOR_ID"}, {BGP_ATTR_CLUSTER_LIST, "CLUSTER_LIST"}, - {BGP_ATTR_DPA, "DPA"}, - {BGP_ATTR_ADVERTISER, "ADVERTISER"}, - {BGP_ATTR_RCID_PATH, "RCID_PATH"}, {BGP_ATTR_MP_REACH_NLRI, "MP_REACH_NLRI"}, {BGP_ATTR_MP_UNREACH_NLRI, "MP_UNREACH_NLRI"}, {BGP_ATTR_EXT_COMMUNITIES, "EXT_COMMUNITIES"}, diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h index c9dd1a8ea1..f4d7ab769a 100644 --- a/bgpd/bgpd.h +++ b/bgpd/bgpd.h @@ -1763,9 +1763,6 @@ struct bgp_nlri { #define BGP_ATTR_COMMUNITIES 8 #define BGP_ATTR_ORIGINATOR_ID 9 #define BGP_ATTR_CLUSTER_LIST 10 -#define BGP_ATTR_DPA 11 -#define BGP_ATTR_ADVERTISER 12 -#define BGP_ATTR_RCID_PATH 13 #define BGP_ATTR_MP_REACH_NLRI 14 #define BGP_ATTR_MP_UNREACH_NLRI 15 #define BGP_ATTR_EXT_COMMUNITIES 16 diff --git a/doc/developer/bgp-typecodes.rst b/doc/developer/bgp-typecodes.rst index beb7ca1f8a..c7921a772f 100644 --- a/doc/developer/bgp-typecodes.rst +++ b/doc/developer/bgp-typecodes.rst @@ -17,9 +17,6 @@ various BGP RFCs. In the code these are defined as BGP_ATTR_. | 8 | COMMUNITIES | [RFC 1997] | | 9 | ORIGINATOR_ID | [RFC 4456] | | 10 | CLUSTER_LIST | [RFC 4456] | -| 11 | DPA | [draft-ietf-idr-bgp-dpa-05.txt(expired)] | -| 12 | ADVERTISER | [RFC 1863] | -| 13 | RCID_PATH | [RFC 1863] | | 14 | MP_REACH_NLRI | [RFC 4760] | | 15 | MP_UNREACH_NLRI | [RFC 4760] | | 16 | EXT_COMMUNITIES | [RFC 4360] | diff --git a/doc/user/overview.rst b/doc/user/overview.rst index 9345c29a1f..85a6758fdb 100644 --- a/doc/user/overview.rst +++ b/doc/user/overview.rst @@ -349,6 +349,8 @@ BGP :t:`The Resource Public Key Infrastructure (RPKI) to Router Protocol. R. Bush, R. Austein. January 2013.` - :rfc:`6811` :t:`BGP Prefix Origin Validation. P. Mohapatra, J. Scudder, D. Ward, R. Bush, R. Austein. January 2013.` +- :rfc:`6938` + :t:`Deprecation of BGP Path Attributes: DPA, ADVERTISER, and RCID_PATH / CLUSTER_ID. J. Scudder. May 2013.` - :rfc:`7196` :t:`Making Route Flap Damping Usable. C. Pelsser, R. Bush, K. Patel, P. Mohapatra, O. Maennel. May 2014.` - :rfc:`7313`