[Idr] Growing BGP-LS Attribute

Robert Raszuk <robert@raszuk.net> Sat, 20 October 2018 12:10 UTC

Return-Path: <robert@raszuk.net>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 44FA2130DC9 for <idr@ietfa.amsl.com>; Sat, 20 Oct 2018 05:10:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id URaxcsE-jazM for <idr@ietfa.amsl.com>; Sat, 20 Oct 2018 05:10:33 -0700 (PDT)
Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3510B1294D0 for <idr@ietf.org>; Sat, 20 Oct 2018 05:10:33 -0700 (PDT)
Received: by mail-qk1-x735.google.com with SMTP id a193-v6so420616qkc.13 for <idr@ietf.org>; Sat, 20 Oct 2018 05:10:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=dwz/YUyAsO7qLj3AZCsBrvcLFTCutvoWYZCriibU/6M=; b=TqITUPOkehIzw1TDyQy5nf6m1mgfu0Cf186dJ+HvTXHYepQZDYwpU3TpGuKwCM+wK6 Nbg0KUjKXqino9Ekp9Me11ztzIOSIQMiaU6sDu16oJ6LviJlLa75ar0POPa3pevtbGIh UrsZlGJ4DoOiux+98cRrvJRt3LsJNfFDd1mvxmS8em0GDQGXLJLD+q6lbKvyZnSRYqaX NuiiLEu68tgufg/ze4XdbEl9eCckjrXTeIUeYwKQkzF7uy5EeXVFf1hx5EVH3lFPMGg2 dQXZChxI27je5m51nBau4zr416pUbceYSwfgplkIk+VjMtAE2ddOazBQGkGiRSOi9ZbO ihtQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=dwz/YUyAsO7qLj3AZCsBrvcLFTCutvoWYZCriibU/6M=; b=lPB+aBTzBRK/Xd1gTBzH8keNYPDYslyWlUQs9MfrZSViDi33p206NfZonOpVd9lLRK LiHF4gzWaZjDW7eF+rgO9HWA0c198zy5rDDpQYf9UA2VJVO9nqdcv7hdq7ymjwX1lLqZ luaPXBLGt9Z1fQufYZNkeijxMVdZxGMSghOyWAlWIHHEmbcWoXKT3sxNXcjmHzw02Nej m9ufkj3s9TIAnLaEzINuw1wIN+8jcmKx98NiyK+bPGLNFFlvDxFfORd1Q97AmPqxAK29 3RL73tE7Z5atWD9s0Z0xgSMwrHW5vBiD+HFE0MOfyYMSmlAcMezk1RcGkvQePW5zpzvS C7wg==
X-Gm-Message-State: ABuFfohh3dZKWxWr/e8ASBUbW/T5v98l7uqyXJGaVxq8mQfS/uVc4MM5 JM8vMI8PTr+Eh7B6J8x++EgUw0RLFvEXB41gIFTT6g==
X-Google-Smtp-Source: ACcGV612HzdBpTRS9ktT8McVLgg3660u/AvY1kd4RcVEfvzIdVpqDyqwwnunfGS6sI0AIQc50sO9vz5d02lKK/xyULQ=
X-Received: by 2002:a37:9203:: with SMTP id u3-v6mr35464613qkd.72.1540037432118; Sat, 20 Oct 2018 05:10:32 -0700 (PDT)
MIME-Version: 1.0
From: Robert Raszuk <robert@raszuk.net>
Date: Sat, 20 Oct 2018 14:10:22 +0200
Message-ID: <CAOj+MMH8A96TUM5qmNdX8j4CMzP51mHzwqasWvY0jOcjH5yBgw@mail.gmail.com>
To: ketant@cisco.com
Cc: idr@ietf.org
Content-Type: multipart/alternative; boundary="0000000000001521d90578a7e8d7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/qSdJN6YvfAxoT6xLSy9Psq6mewk>
Subject: [Idr] Growing BGP-LS Attribute
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Oct 2018 12:10:36 -0000

Hi Ketan,

So today I see bunch of new proposals requesting addition of number of new
TLVs to BGP-LS Attribute.

Some of them will go into attribute along with Node NLRI and some with Link
NLRI.

I think by all means this is the largest single BGP attribute we ever had
and it seems growing daily like a balloon. Most of the TLVs which are
defined contain sub-TLVs which can be filled with data in a non limited by
any spec fashion.

Just few questions:

* What happens when someone injects more then 4K of data into this
attribute today ? What prevents one from doing so ?

* Is attribute discard an acceptable thing for someone who counts of that
information operationally simple due to a bug in a new TLV ?

* So far error handling proposal stopped at the attribute boundary as most
BGP attributes are small, precisely addressing the problem they were
invented to solve. Here we are facing a completely different situation ..

* Is it acceptable to loose all other address family information if BGP-LS
Attribute error or its size impacts the propagation to the extend of
bringing down the session ?

* What is the limiting factor of the BGP-LS churn (due to the nature of
some carried data being quite dynamic) to other address families present
either on sender, receiver or route reflector ?

Below is the current IANA registry with BGP-LS TLV space ... note that it
does not even list sub-TLVs which most if not each of the TLV defines. Do
we really want to grow this single BGP Attribute even more ?

Thx,
R

TLV Code Point Description IS-IS TLV/Sub-TLV Reference
0-255 Reserved [RFC7752 <http://www.iana.org/go/rfc7752>]
256 Local Node Descriptors [RFC7752, Section 3.2.1.2
<http://www.iana.org/go/rfc7752>]
257 Remote Node Descriptors [RFC7752, Section 3.2.1.3
<http://www.iana.org/go/rfc7752>]
258 Link Local/Remote Identifiers 22/4 [RFC5307, Section 1.1
<http://www.iana.org/go/rfc5307>]
259 IPv4 interface address 22/6 [RFC5305, Section 3.2
<http://www.iana.org/go/rfc5305>]
260 IPv4 neighbor address 22/8 [RFC5305, Section 3.3
<http://www.iana.org/go/rfc5305>]
261 IPv6 interface address 22/12 [RFC6119, Section 4.2
<http://www.iana.org/go/rfc6119>]
262 IPv6 neighbor address 22/13 [RFC6119, Section 4.3
<http://www.iana.org/go/rfc6119>]
263 Multi-Topology ID [RFC7752, Section 3.2.1.5
<http://www.iana.org/go/rfc7752>]
264 OSPF Route Type [RFC7752, Section 3.2.3 <http://www.iana.org/go/rfc7752>
]
265 IP Reachability Information [RFC7752, Section 3.2.3
<http://www.iana.org/go/rfc7752>]
266 Node MSD (TEMPORARY - registered 2017-11-02, extension registered
2018-09-07, expires 2019-11-02) 242/23 [
draft-ietf-idr-bgp-ls-segment-routing-msd
<http://www.iana.org/go/draft-ietf-idr-bgp-ls-segment-routing-msd>]
267 Link MSD (TEMPORARY - registered 2017-11-02, extension registered
2018-09-07, expires 2019-11-02) (22,23,25,141,222,223)/15 [
draft-ietf-idr-bgp-ls-segment-routing-msd
<http://www.iana.org/go/draft-ietf-idr-bgp-ls-segment-routing-msd>]
268-511 Unassigned
512 Autonomous System [RFC7752, Section 3.2.1.4
<http://www.iana.org/go/rfc7752>]
513 BGP-LS Identifier [RFC7752, Section 3.2.1.4
<http://www.iana.org/go/rfc7752>]
514 OSPF Area-ID [RFC7752, Section 3.2.1.4 <http://www.iana.org/go/rfc7752>]
515 IGP Router-ID [RFC7752, Section 3.2.1.4 <http://www.iana.org/go/rfc7752>
]
516 BGP Router-ID [draft-ietf-idr-bgpls-segment-routing-epe
<http://www.iana.org/go/draft-ietf-idr-bgpls-segment-routing-epe>]
517 BGP Confederation Member [draft-ietf-idr-bgpls-segment-routing-epe
<http://www.iana.org/go/draft-ietf-idr-bgpls-segment-routing-epe>]
518-1023 Unassigned
1024 Node Flag Bits [RFC7752, Section 3.3.1.1
<http://www.iana.org/go/rfc7752>]
1025 Opaque Node Attribute [RFC7752, Section 3.3.1.5
<http://www.iana.org/go/rfc7752>]
1026 Node Name variable [RFC7752, Section 3.3.1.3
<http://www.iana.org/go/rfc7752>]
1027 IS-IS Area Identifier variable [RFC7752, Section 3.3.1.2
<http://www.iana.org/go/rfc7752>]
1028 IPv4 Router-ID of Local Node 134/--- [RFC5305, Section 4.3
<http://www.iana.org/go/rfc5305>]
1029 IPv6 Router-ID of Local Node 140/--- [RFC6119, Section 4.1
<http://www.iana.org/go/rfc6119>]
1030 IPv4 Router-ID of Remote Node 134/--- [RFC5305, Section 4.3
<http://www.iana.org/go/rfc5305>]
1031 IPv6 Router-ID of Remote Node 140/--- [RFC6119, Section 4.1
<http://www.iana.org/go/rfc6119>]
1032-1033 Unassigned
1034 SR Capabilities [draft-ietf-idr-bgp-ls-segment-routing-ext
<http://www.iana.org/go/draft-ietf-idr-bgp-ls-segment-routing-ext>]
1035 SR Algorithm [draft-ietf-idr-bgp-ls-segment-routing-ext
<http://www.iana.org/go/draft-ietf-idr-bgp-ls-segment-routing-ext>]
1036 SR Local Block [draft-ietf-idr-bgp-ls-segment-routing-ext
<http://www.iana.org/go/draft-ietf-idr-bgp-ls-segment-routing-ext>]
1037 SRMS Preference [draft-ietf-idr-bgp-ls-segment-routing-ext
<http://www.iana.org/go/draft-ietf-idr-bgp-ls-segment-routing-ext>]
1038-1087 Unassigned
1088 Administrative group (color) 22/3 [RFC5305, Section 3.1
<http://www.iana.org/go/rfc5305>]
1089 Maximum link bandwidth 22/9 [RFC5305, Section 3.4
<http://www.iana.org/go/rfc5305>]
1090 Max. reservable link bandwidth 22/10 [RFC5305, Section 3.5
<http://www.iana.org/go/rfc5305>]
1091 Unreserved bandwidth 22/11 [RFC5305, Section 3.6
<http://www.iana.org/go/rfc5305>]
1092 TE Default Metric 22/18 [RFC7752, Section 3.3.2.3
<http://www.iana.org/go/rfc7752>]
1093 Link Protection Type 22/20 [RFC5307, Section 1.2
<http://www.iana.org/go/rfc5307>]
1094 MPLS Protocol Mask [RFC7752, Section 3.3.2.2
<http://www.iana.org/go/rfc7752>]
1095 IGP Metric [RFC7752, Section 3.3.2.4 <http://www.iana.org/go/rfc7752>]
1096 Shared Risk Link Group [RFC7752, Section 3.3.2.5
<http://www.iana.org/go/rfc7752>]
1097 Opaque Link Attribute [RFC7752, Section 3.3.2.6
<http://www.iana.org/go/rfc7752>]
1098 Link Name [RFC7752, Section 3.3.2.7 <http://www.iana.org/go/rfc7752>]
1099 Adjacency Segment Identifier (Adj-SID) TLV [
draft-ietf-idr-bgp-ls-segment-routing-ext
<http://www.iana.org/go/draft-ietf-idr-bgp-ls-segment-routing-ext>]
1100 LAN Adjacency Segment Identifier (Adj-SID) TLV [
draft-ietf-idr-bgp-ls-segment-routing-ext
<http://www.iana.org/go/draft-ietf-idr-bgp-ls-segment-routing-ext>]
1101 Peer-Node-SID [draft-ietf-idr-bgpls-segment-routing-epe
<http://www.iana.org/go/draft-ietf-idr-bgpls-segment-routing-epe>]
1102 Peer-Adj-SID [draft-ietf-idr-bgpls-segment-routing-epe
<http://www.iana.org/go/draft-ietf-idr-bgpls-segment-routing-epe>]
1103 Peer-Set-SID [draft-ietf-idr-bgpls-segment-routing-epe
<http://www.iana.org/go/draft-ietf-idr-bgpls-segment-routing-epe>]
1104 Unassigned
1105 RTM Capability 22/40 [RFC8169 <http://www.iana.org/go/rfc8169>]
1106-1113 Unassigned
1114 Unidirectional Link Delay (TEMPORARY - registered 2017-08-18,
extension registered 2018-07-20, expires 2019-08-18) [
draft-ietf-idr-te-pm-bgp <http://www.iana.org/go/draft-ietf-idr-te-pm-bgp>]
1115 Min/Max Unidirectional Link Delay (TEMPORARY - registered 2017-08-18,
extension registered 2018-07-20, expires 2019-08-18) [
draft-ietf-idr-te-pm-bgp <http://www.iana.org/go/draft-ietf-idr-te-pm-bgp>]
1116 Unidirectional Delay Variation (TEMPORARY - registered 2017-08-18,
extension registered 2018-07-20, expires 2019-08-18) [
draft-ietf-idr-te-pm-bgp <http://www.iana.org/go/draft-ietf-idr-te-pm-bgp>]
1117 Unidirectional Packet Loss (TEMPORARY - registered 2017-08-18,
extension registered 2018-07-20, expires 2019-08-18) [
draft-ietf-idr-te-pm-bgp <http://www.iana.org/go/draft-ietf-idr-te-pm-bgp>]
1118 Unidirectional Residual Bandwidth (TEMPORARY - registered 2017-08-18,
extension registered 2018-07-20, expires 2019-08-18) [
draft-ietf-idr-te-pm-bgp <http://www.iana.org/go/draft-ietf-idr-te-pm-bgp>]
1119 Unidirectional Available Bandwidth (TEMPORARY - registered 2017-08-18,
extension registered 2018-07-20, expires 2019-08-18) [
draft-ietf-idr-te-pm-bgp <http://www.iana.org/go/draft-ietf-idr-te-pm-bgp>]
1120 Unidirectional Bandwidth Utilization (TEMPORARY - registered
2017-08-18, extension registered 2018-07-20, expires 2019-08-18) [
draft-ietf-idr-te-pm-bgp <http://www.iana.org/go/draft-ietf-idr-te-pm-bgp>]
1121 Graceful-Link-Shutdown TLV [RFC8379 <http://www.iana.org/go/rfc8379>]
1122-1151 Unassigned
1152 IGP Flags [RFC7752, Section 3.3.3.1 <http://www.iana.org/go/rfc7752>]
1153 IGP Route Tag [RFC5130 <http://www.iana.org/go/rfc5130>]
1154 IGP Extended Route Tag [RFC5130 <http://www.iana.org/go/rfc5130>]
1155 Prefix Metric [RFC5305 <http://www.iana.org/go/rfc5305>]
1156 OSPF Forwarding Address [RFC2328 <http://www.iana.org/go/rfc2328>]
1157 Opaque Prefix Attribute [RFC7752, Section 3.3.3.6
<http://www.iana.org/go/rfc7752>]
1158 Prefix SID [draft-ietf-idr-bgp-ls-segment-routing-ext
<http://www.iana.org/go/draft-ietf-idr-bgp-ls-segment-routing-ext>]
1159 Range [draft-ietf-idr-bgp-ls-segment-routing-ext
<http://www.iana.org/go/draft-ietf-idr-bgp-ls-segment-routing-ext>]
1160 Unassigned
1161 SID/Label TLV [draft-ietf-idr-bgp-ls-segment-routing-ext
<http://www.iana.org/go/draft-ietf-idr-bgp-ls-segment-routing-ext>]
1162-1169 Unassigned
1170 IGP Prefix Attributes [draft-ietf-idr-bgp-ls-segment-routing-ext
<http://www.iana.org/go/draft-ietf-idr-bgp-ls-segment-routing-ext>]
1171 Source Router-ID [draft-ietf-idr-bgp-ls-segment-routing-ext
<http://www.iana.org/go/draft-ietf-idr-bgp-ls-segment-routing-ext>]
1172 L2 Bundle Member TLV [draft-ietf-idr-bgp-ls-segment-routing-ext
<http://www.iana.org/go/draft-ietf-idr-bgp-ls-segment-routing-ext>]
1173 Extended Administrative Group (TEMPORARY - registered 2018-04-09,
expires 2019-04-09) 22/14 [draft-ietf-idr-eag-distribution
<http://www.iana.org/go/draft-ietf-idr-eag-distribution>][RFC7308
<http://www.iana.org/go/rfc7308>]
1174-65535 Unassigned