[GROW] Re: Ketan Talaulikar's Discuss on draft-ietf-grow-bmp-bgp-rib-stats-16: (with DISCUSS)

Ketan Talaulikar <ketant.ietf@gmail.com> Tue, 02 December 2025 11:25 UTC

Return-Path: <ketant.ietf@gmail.com>
X-Original-To: grow@mail2.ietf.org
Delivered-To: grow@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id EC2DC93D4440 for <grow@mail2.ietf.org>; Tue, 2 Dec 2025 03:25:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: 2.902
X-Spam-Level: **
X-Spam-Status: No, score=2.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, GB_SUMOF=5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E_EdjNEgqLtz for <grow@mail2.ietf.org>; Tue, 2 Dec 2025 03:25:17 -0800 (PST)
Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 66CA193D4429 for <grow@ietf.org>; Tue, 2 Dec 2025 03:25:17 -0800 (PST)
Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-299d40b0845so87343505ad.3 for <grow@ietf.org>; Tue, 02 Dec 2025 03:25:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764674716; x=1765279516; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=W3RRSfWHUJbtPnTNOc/PVXWuMZVScIoOVEMvkGZL//s=; b=bGajAtXs9OGUnPNgZRQtP8+QEvGN89FcIIvbe5PafTlskR7cwb2KGuGkoJhBTTqeqQ /f+21q2aGvJAhaezs3wj58nhvjgIuNYYNIBGEquqy3nHdrAKUWD1DoNOzQkacxanI36S iDsjZgx1I+ofYjziL1iFcBkY+63PBuOJeGqTF4l1P3/ZTMFcBGD6ahGhARpbYPxUEYc8 b14rD5sp+BIe1KIAppjc9SRRH/u279+hCpRU8VMKs/Kt5c+XYBcRjzOQM/b7fMD64HB3 W/NQ8ULCmLRsUMIqLIUpc0k8LjGH/X8btvvbKKkkAGKurgSZtw/HNUfY5va95OB1Lnqy 6rXQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764674716; x=1765279516; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=W3RRSfWHUJbtPnTNOc/PVXWuMZVScIoOVEMvkGZL//s=; b=Q53XzyKpj/iF1FHz5hMPDRtFmg+tH5ed48aIm3eJgc3/ud9TxWiUTaaCQbEZKU2AYW 5E2HKnm2jC7NJ+UbnYJ2assAWNheszhyOASWva9lEL7OS8rBKghxSpjQP5rXy+6RO0mb JDU33cizKwkqZlnEK/PaacW+kNSNxSOpNLh4GVx2YKNQoqstOnMHidzc6Xfj8fDxoH1Z Dxn6Nc8T5ddqe9EJkrQm89Eg7l1+h38hb8QvoJ65cDqHOk7wfcYpsNnqNLD6E5pj84AI V/Q/Gj57EYMGXtGKIIInkK/4cf4U8w5g7QH/hzxbDMPcsaVc1TaVjypnkKW3jqQtbN3u TkrQ==
X-Forwarded-Encrypted: i=1; AJvYcCXjc7UMfBrKvZBTfbEws28taCgFFYjkL0IG07xhKhEth/Tdg2ZxRSkJPeU1udkWWn7tl0b8@ietf.org
X-Gm-Message-State: AOJu0YyPEQOa8PWSqKu4Sy0zORrtn6xRVy0Ikr8nn0yaQsVENanJ3Mkr jl+V7hIPx8g/NBNR6R2cjxBl0fi72d0EF15uM5Hc8/z9NHojYAocalHQz/QRbcXvE5kUWbDD1vx Se0zdc4Xmn/iKDiCgQqP2N5nCT+iaIJ8=
X-Gm-Gg: ASbGncsa97TbCnTH7waWvpM7Sc52f2GLwyTSplb48bgIBpjzU9s52+XqFrDi+///03G O8rYzzNahWIvBYjgt7I5aWpmY8Al7q22hz4hMQsRoNLuQUnBResMwxLSDzeLSFhrnuPW7I+yb24 9bUMC7gi31EX21QSlS2ThLRMh00tuVGc8T5WUFTNNxUFUdhtclunepkfhQ44Traolo/5m0lWTCD J8IIoL79utpSqX/m3TIGQ42ymuI0KjxP2oCVoDzik/mQdhqzbIEwoN4fB+L9bUsE2FfbWHPWAr1 uZbr53LGhLOivNactW4mhSjMv0vP
X-Google-Smtp-Source: AGHT+IHR3bs+w2Wk2J7+nAIfaVL/HuzUwZglN7B8tiMrIxz4sdfd6b5yu7VqXe65nyENOioObCX58ZHwGKhX7gdJdlc=
X-Received: by 2002:a17:903:3c70:b0:27e:ed58:25e5 with SMTP id d9443c01a7336-29baafb784dmr322643865ad.24.1764674716455; Tue, 02 Dec 2025 03:25:16 -0800 (PST)
MIME-Version: 1.0
References: <176407367468.2442453.4055788151534416089@dt-datatracker-5bd94c585b-wk4l4> <f6fa9cd2-ae47-44c0-a9e8-ee29da35c8a3@ntt.net> <29467fea-057d-4b04-bd78-1d69e244a63b@ntt.net> <CH3PR84MB3569094906079A2531900CB982DDA@CH3PR84MB3569.NAMPRD84.PROD.OUTLOOK.COM> <CAH6gdPxDYe26-FpM+pApavuLO7FFYRozit28g-jeOUW36KYtLA@mail.gmail.com> <78F1FF3C-5469-42BE-BADC-1E9A37204D41@pfrc.org>
In-Reply-To: <78F1FF3C-5469-42BE-BADC-1E9A37204D41@pfrc.org>
From: Ketan Talaulikar <ketant.ietf@gmail.com>
Date: Tue, 02 Dec 2025 16:55:02 +0530
X-Gm-Features: AWmQ_bmxOD1NwFJbop7RYnkTzlvlvYpLluz3wJacIbYxKnVvpMC53MCllu7ae9c
Message-ID: <CAH6gdPxqOc9z_tMJx91wbTQSYw-a9yc-7Yq1=zVy3C_qa=FYSg@mail.gmail.com>
To: Jeffrey Haas <jhaas@pfrc.org>
Content-Type: multipart/alternative; boundary="0000000000009e572b0644f659e5"
Message-ID-Hash: QXWDIR64L5VDLKAA7DP3SGTXZPQO4J4A
X-Message-ID-Hash: QXWDIR64L5VDLKAA7DP3SGTXZPQO4J4A
X-MailFrom: ketant.ietf@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-grow.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "Srivastava, Mukul" <mukul.srivastava@hpe.com>, The IESG <iesg@ietf.org>, "draft-ietf-grow-bmp-bgp-rib-stats@ietf.org" <draft-ietf-grow-bmp-bgp-rib-stats@ietf.org>, "grow-chairs@ietf.org" <grow-chairs@ietf.org>, "grow@ietf.org" <grow@ietf.org>, "draft-ietf-grow-bmp-path-marking-tlv@ietf.org" <draft-ietf-grow-bmp-path-marking-tlv@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [GROW] Re: Ketan Talaulikar's Discuss on draft-ietf-grow-bmp-bgp-rib-stats-16: (with DISCUSS)
List-Id: Grow Working Group Mailing List <grow.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/grow/OU7Mlk03jKP6DKV1MGK6HLBLfTo>
List-Archive: <https://mailarchive.ietf.org/arch/browse/grow>
List-Help: <mailto:grow-request@ietf.org?subject=help>
List-Owner: <mailto:grow-owner@ietf.org>
List-Post: <mailto:grow@ietf.org>
List-Subscribe: <mailto:grow-join@ietf.org>
List-Unsubscribe: <mailto:grow-leave@ietf.org>

Hi Jeff,

Please check inline below for responses.


On Tue, Dec 2, 2025 at 2:50 AM Jeffrey Haas <jhaas@pfrc.org> wrote:

> Ketan,
>
> > On Dec 1, 2025, at 11:37 AM, Ketan Talaulikar <ketant.ietf@gmail.com>
> wrote:
> >
> > I agree with the suggestion to move types 24 and 25 (Primary/Backup
> route counts) from this document to draft-ietf-grow-bmp-path-marking-tlv.
> This will allow the Working Group to fully deliberate the semantics of
> "route" vs. "path," especially concerning Add-Paths and multipath aspects.
>
> If so, and if H3C has shipped the code as they note in §9.2, let's make
> sure the IANA considerations reserves these fields.
>

KT> Absolutely, if there are implementations, then the IANA registry should
just move the pointer for these types from this document to the
path-marking document i.e., we don't lose the allocations.


>
> >
> > Assuming this is the chosen path:
> >
> > 1. Do Types 26, 27, and 28, which also refer to a path, also need to be
> moved to the path-marking document for consistency?
> > 2. For clarity across all BMP stats, does the document confirm that
> "route" is functionally equivalent to "prefix/destination"? My
> interpretation of existing stats suggests this is the case.
>
> ... and this would be problematic vs. 4271.  Can we stop using route in
> that sense?
>
> If the sense is an instance of a route, call it a path and make sure path
> is cleanly defined.
>

KT> Per my reading of RFC4271 (and it is not literal but the essence that I
take from section 3.1), if we are counting "routes" we are counting the
destination/prefix entries and if we are counting paths we are counting the
path attributes received from various peers for those
destinations/prefixes. I note that we didn't have additional paths or
multipaths in RFC4271 - there is one best path. I don't find the mention of
"an instance of a route" or something like that though and please point me
to something like that if I've missed it.



>
> >
> > a) Statistic View Clarity: Do all statistic descriptions accurately
> indicate the view (Adj-RIB-In, Adj-RIB-Out, Loc-RIB)? The document is
> sometimes ambiguous. Specifically, Types 22, 23, and 26 through 34 do not
> explicitly state Adj-RIB-In, and Types 38, 39, and 40 do not explicitly
> state Adj-RIB-Out. The descriptions should reflect the scope since the
> Section 4 table is not being registered with IANA.
>
> The grid in §4 covers scoping appropriately.  Is your desire here that the
> descriptive clauses also have the scoping added to them?  The section
> header covers some of this implicitly.
>

KT> Yes, the description to cover the view that the stat applies to such
that it also gets in the description of the corresponding entry in the IANA
registry as well. This would help bring clarity - especially if the stat
were applicable to multiple views.


>
> At least part of the criticism is that if we want the scope to be clear,
> it has to be in :
> Section 3 and potentially be redundant vs. the section header.
> Section 4 in the grid, which is a good short cut.
> Section 8 for IANA, which will probably be used as inputs for things like
> manageability interfaces.
>

KT> IANA for sure for the reasons you mention. Section 3 is editorial and
I'll leave it to the authors on how they bring that out. Section 4 table is
new for a BMP draft - and it is missing pre/post policy flavors - I will
leave this to the WG discussion that is beyond this document.


>
>
>
>
> >
> > b) Loc-RIB Scoping: Types 26, 27, 28, 31, and 32 are applicable to the
> Loc-RIB. Should new, dedicated stat types be defined for the Loc-RIB view
> to maintain consistency with previous RFC conventions, or should the
> existing type descriptions be updated to capture the Loc-RIB view as well
> explicitly?
>
> The headache is really "what do you do when a given statistic applies to
> more than one view?"
>
> 30,31 for example apply to rib-in as well as loc-rib.  Were you arguing to
> decompose section 3 into another block of "rib-in plus loc-rib?"  For this
> document, that would address the clarity in the section, but at the cost of
> adding discontinuities in the listing of the assignments in section 3.
>

KT> The section titles can be updated. Is "discontinuity" really a thing to
worry about here?


>
>
>
>
> >
> > c) Global vs. Per-AFI/SAFI Types: Are both global and per-AFI/SAFI types
> defined for all applicable statistics? Why are some types (e.g., 26, 27,
> 28) defined as per-AFI/SAFI only, without an accompanying global type?
>
> Addressing Paolo's comment, picking a designated afi 0/safi 0 as "global"
> probably would have been nice, but there's now running code covering these
> things.
>
> Covering your broader point, there's always been a bit of a disconnect in
> management-land as to what to do about aggregate statistics.  The total
> "global" number is the sum of the per-afi-safi - when do we have global vs.
> not?  Examples of where such aggregates cause trouble are "RIB copies/route
> leaking".  This can lead implementations to say "I received X,Y,Z counts of
> those AFI/SAFI" but have a number of route instances that misalign to
> X+Y+Z.
>
> The answer is likely "pick a style and let's try to be consistent with it
> henceforth".  At the very least we made statistics in BMP cheap so we can
> learn from experience.
>

KT> I agree. Can we pick such a style in this document and follow it in
other documents?

Thanks,
Ketan



>
>
>
> -- Jeff
>
>