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

Ketan Talaulikar <ketant.ietf@gmail.com> Wed, 03 December 2025 14: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 C7F729491F49 for <grow@mail2.ietf.org>; Wed, 3 Dec 2025 06:25:15 -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 S0K4W-gSDfrJ for <grow@mail2.ietf.org>; Wed, 3 Dec 2025 06:25:14 -0800 (PST)
Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) (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 03C3A9490A3B for <grow@ietf.org>; Wed, 3 Dec 2025 06:24:16 -0800 (PST)
Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-29844c68068so75053965ad.2 for <grow@ietf.org>; Wed, 03 Dec 2025 06:24:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764771855; x=1765376655; 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=9b08+FLkZQZCSKk24K5LMb3jWhSMn8V06zhX88mItRc=; b=Fsxqfpa+xn+6SDi9p4A2BJH4q7Abs5uPQHIVvkLNGWX91izIRNCJTKRNDMjEoWIUT8 SIbDfR84KGzNVcwcWQpYejLFKuj/KsMEPUMRuUGj04JCB4FFlfCHB3MmQu9siP7bgrx0 +SxxNK3ct0lC1AMCmD5NfggiHYQ4TbicsXLP4NJwR0ZWGAkp5HEKN4knSYJdxwmydlQ9 3BZRF9Ra7MDWmeHXk8kCi+b0AiUJGlTGhCaIaC2TODyT+ie3RQS75ie8kECwcWrendzu sCdxVvJSOnjuBMn8oilgcNuhUx+RZXUsgNa4Rj9sZEBiH1CnuaXGLXQQfsF1BpVKKMrL m+Mg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764771855; x=1765376655; 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=9b08+FLkZQZCSKk24K5LMb3jWhSMn8V06zhX88mItRc=; b=ijZxyY2HDjfK6FTRZgGIARvWohZnZwrSgbuOBq/dXU+ZPj9d/JxvGrUqn0HfrqFSs+ w2Lmb0nLB8nN/c5TM0Ie22O9VeiZ8YzDnBHL2HjhriR/qiLknNAWpJo4aSFp/XOTe24M hk3EEP/3yC6IG6ry4+U9q3A/+Yxm8MATpEOA0GhdlQgi93yV+smSK5C3WVSESWdmEroW /XOEY0DHDpCnThgewAt2FtRIff9Glas9qGlDyj9WNePua2h8+sdnqF47PIYZNQ/qZ+Mq BaMUCDIVfxpYs4i3aAYPpuYjrsYCYrbM4uV0Re9opRM9kt2LtQo2hr3/1YU3QhjEE9da IqkA==
X-Forwarded-Encrypted: i=1; AJvYcCUe7bJg6we2VKF3zaz7VEkdfctcM0xsidoVHjsj6sD1/OiuLXPAj2mRpcpo4yg7gCH6snmO@ietf.org
X-Gm-Message-State: AOJu0YysBI2mBrIu1GrSVjqcyIrjJG7CSOhS5iFujC6dqVVpXaLvt6nH 04abh9OYPhByygZLUmuLSKt5nU7ECFmeDvov9UuVMLPMmER09+g1Q9Fba9U7K4bjwMrzgAPAxra VEs4DAe3xebcbA+6eoaT6YDPPPJZ4qLs=
X-Gm-Gg: ASbGncs62vUVxUQRR8SbvGB4l9IIQChed1fWwyeUFbjnVrY2YuMNOBOsbVgWQdn3iGl o7yj0sQh4jFTMRBCCXtX5JaCQEFoJIYBEvqsE3jCJ72WdTQ72BeLt+soymEYbDAyRk9l4iQGM27 zGbcidP2QHoFZ4HhTBjFJaGG8Ypt+574NLKzrn+EpQrLtE6bscMzOS5ufqsDdv6bmIdj83G12vN J12SJJiMRiUe0xq3NrlMBRxIfWkU6/SxkUXLYbjiUWvtjMXBNggUFo7vGKwXj1NhA4moLM=
X-Google-Smtp-Source: AGHT+IH11ju7Twad+LqGp7aJrdljHxClZRhWkfigPJaow6AbJjT0gyHWGD5O7wudZAFEFxQrt15dIlsEl6PZYrmjPGE=
X-Received: by 2002:a17:902:fc46:b0:297:df8f:b056 with SMTP id d9443c01a7336-29d682bf2c9mr31002965ad.11.1764771854828; Wed, 03 Dec 2025 06:24:14 -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> <CAH6gdPxqOc9z_tMJx91wbTQSYw-a9yc-7Yq1=zVy3C_qa=FYSg@mail.gmail.com> <57F94989-AD22-4A3F-8FE4-240C989F22AD@pfrc.org>
In-Reply-To: <57F94989-AD22-4A3F-8FE4-240C989F22AD@pfrc.org>
From: Ketan Talaulikar <ketant.ietf@gmail.com>
Date: Wed, 03 Dec 2025 19:54:03 +0530
X-Gm-Features: AWmQ_bm4LQeLGPFaB4qeM8aloi-7ye0UmkVqnZu0Ww8S-8O8m6ztHQGsyRDjAyU
Message-ID: <CAH6gdPyuJwon5KpNY1ownCtv=F7EBuuws3X8p0GYo2J_Eznw5w@mail.gmail.com>
To: Jeffrey Haas <jhaas@pfrc.org>
Content-Type: multipart/alternative; boundary="0000000000008447cd06450cf702"
Message-ID-Hash: 4TTHMICKAAHS4CK5SOXI5RG5PDT7B4YS
X-Message-ID-Hash: 4TTHMICKAAHS4CK5SOXI5RG5PDT7B4YS
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/PzeWUVLkFo6Sb7Q9Nr_TC2p-lQI>
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 with KT2.


On Tue, Dec 2, 2025 at 11:42 PM Jeffrey Haas <jhaas@pfrc.org> wrote:

> Ketan,
>
>
> > On Dec 2, 2025, at 6:25 AM, Ketan Talaulikar <ketant.ietf@gmail.com>
> wrote:
> > > 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.
>
> (I could swear I've spelled this out in detail before, but yet again...)
>

KT2> My apologies for missing that but your summary below is very helpful.


>
> It's all the way at the top in 1.1.  Routes pair destinations with path
> attributes.  For 4271, we only can send a single instance of a destination
> (it's the key).
>
> So, the property I keep coming back to complain about is discussing
> "route" in the sense that a destination is used in, or NLRI.
>
> RFC 7911 is what introduces add-paths.  Here, we don't cleanly establish
> the definition of a path, but we define it by functionality.
>
> Multipath completely remains undefined procedurally.  And that's sort of
> perverse considering we are deep in a different thread discussing how
> link-bandwidth is used to load balance for multipath procedures. :-)  There
> were a few drafts previously that tried to formalize things, but they never
> progressed.  Addressing that strange gap may be appropriate for 4271-bis.
>
> The reason I continue to be pedantic in my responses here is that grow has
> already accidentally created long-standing BGP terminology via BMP.  The
> current 5 logical RIB view isn't a 4271 thing. :-)  So, we need to be
> careful to not let casual use here become another accidental "defined by
> use" document.
>
> For clarity:
> Destination: The destination in the appropriate address family combination
> (afi/safi) that a key in a RIB.  (This is where we'll likely revisit things
> for the RIB-key conversation for 4271-bis)
> NLRI: In practice, the encoding of a destination and potentially other
> destination-specific attributes in a BGP UPDATE PDU, some of which may be a
> key in the RIB, some of which are not.  The original meaning of "network
> layer" reachability has degraded over time where we no longer are talking
> strictly about OSI Layer 3 in the things we carry in BGP.
> Route: A pairing of a destination and a set of path attributes.
> Path: An instance of a route received from or sent to a BGP speaker.
>

KT2> Agree - this is my (and perhaps the general?) understanding as well.
There is one wrinkle about Loc-RIB (and the RIB) and how the terms Route
and Path are correlated there (factoring multipath and its variants like
best/backup)


>
> And while there's more than a little room to argue whether we should be
> having this discussion in this relatively straight forward bit of BMP, our
> underlying discussion is tied to the unresolved points of what exactly a
> given RIB stat is intending to represent in the protocol or the
> implementation.  Unfortunately, clarity for the stats may force us to put
> some of these definitions in the document if it's otherwise unclear.
>

KT2> I agree.


>
> [The latter portion fo the response covering "we need consistency" is I
> think understood. However, I think the authors need some closure on
> terminology to do that.]
>
>
> >
> > > 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?
>
> My main worry on discontinuous contents is mostly based on seeing what
> sort of bugs more than one vendor ends up with in the field when we're not
> careful about such things.  So, it's not a primary consideration, but it's
> absolutely a secondary one.
>
> And I don't think there's a good answer if it's agreed to do the split.
>
> > > 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?
>
> If it were solely my choice, I'd recommend not keeping the aggregate stats
> as afi/safi 0/0.  This is for the reasons posted above.  We're only saving
> a few octets in the PDU to separately encode it.
>
> Let's see what other wisdom the WG has based on implementation for the
> protocol and the consumption of it has to offer.
>

KT2> There are multiple ways to go about this and I will leave it to the
WG. Just looking for clarity - in this document or the other one - before
we send this towards publication.

Thanks,
Ketan


>
> -- Jeff
>
>