Re: [GROW] [Technical Errata Reported] RFC7854 (7703)

Paolo Lucente <paolo@ntt.net> Sat, 30 December 2023 23:27 UTC

Return-Path: <paolo@ntt.net>
X-Original-To: grow@ietfa.amsl.com
Delivered-To: grow@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A0D84C14F5E7 for <grow@ietfa.amsl.com>; Sat, 30 Dec 2023 15:27:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cwfjishcL4Du for <grow@ietfa.amsl.com>; Sat, 30 Dec 2023 15:27:45 -0800 (PST)
Received: from mail4.dllstx09.us.to.gin.ntt.net (mail.gin.ntt.net [IPv6:2001:418:3ff:5::192:26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 41BB1C14F5E3 for <grow@ietf.org>; Sat, 30 Dec 2023 15:27:45 -0800 (PST)
Received: from [192.168.1.197] (unknown [151.50.97.17]) by mail4.dllstx09.us.to.gin.ntt.net (Postfix) with ESMTPSA id EE83DEE01CF; Sat, 30 Dec 2023 23:27:42 +0000 (UTC)
Message-ID: <1ce5250a-6135-4ce2-b50d-16b14a44841c@ntt.net>
Date: Sun, 31 Dec 2023 00:27:40 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: Zhuangshunwan <zhuangshunwan@huawei.com>, "Dhananjay Patki (dhpatki)" <dhpatki=40cisco.com@dmarc.ietf.org>, John Scudder <jgs@juniper.net>
Cc: "Rex Fernando (rex)" <rex@cisco.com>, "grow@ietf.org" <grow@ietf.org>, Warren Kumari <warren@kumari.net>
References: <20231116102407.B7D4E18EF1E3@rfcpa.amsl.com> <0B86AA49-1D3F-4EE5-A052-3A0D6833ED9D@juniper.net> <DM8PR11MB563741DBFCF6EB16E50DD017AB82A@DM8PR11MB5637.namprd11.prod.outlook.com> <cdf32cd9-722d-49a2-bce7-4e70fc97a1e8@ntt.net> <DM8PR11MB5637DF3524171F3CA385CF64AB86A@DM8PR11MB5637.namprd11.prod.outlook.com> <9833cc331ad14c298afae2648a0052b1@huawei.com>
From: Paolo Lucente <paolo@ntt.net>
In-Reply-To: <9833cc331ad14c298afae2648a0052b1@huawei.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/grow/kmLAh34FJNBQaa94soAAkKKdELg>
Subject: Re: [GROW] [Technical Errata Reported] RFC7854 (7703)
X-BeenThere: grow@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Grow Working Group Mailing List <grow.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/grow>, <mailto:grow-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/grow/>
List-Post: <mailto:grow@ietf.org>
List-Help: <mailto:grow-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/grow>, <mailto:grow-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Dec 2023 23:27:49 -0000

Hi Shunwan,

Thanks for your feedback, indeed you have a point.

Let me summarize the situation, there are two parts to it:

1) rfc7854 defined Stats type 7 and 9 in a way that L flag is required 
whereas rfc8671 went for distinct Pre-/Post-policy Stats types; so we 
currently have an inconsistency;

2) Errata 7703, while meaning good, went one step too far: it correctly 
closed the use of L flag in other messages where that would not apply 
(Init, Term, Peer Up, Peer Down) while impairing these two Stats types 7 
and 9;

There are two intuitive solutions to remedy the current situation:

a) Patch Errata 7703 and we live with issue #1 above -- low touch but 
rather sub-optimal approach;

b) Keep the Errata and do a micro draft to, in lack of better ideas, 
retire and mark reserved Stats types 7 and 9 and align those to rfc8671 
style, so we issue 4 new Stats types for Pre- and Post- policy -- a bit 
more work but a neat outcome.

I am personally in favor of B, the micro draft path. Thoughts?

Paolo



On 9/12/23 08:47, Zhuangshunwan wrote:
> Hi All,
> 
> I'm a little confused about the usage of L flag in Statistics Report 
> messages.
> 
> When Statistics Report message is used to report the statistics of 
> Adj-RIB-Out, I agree that the L flag is not required, for the pre-policy 
> or post-policy is clearly specified for each statistics type:
> 
> # The following text is quoted from rfc8671:
> 
> # Stat Type = 14: Number of routes in pre-policy Adj-RIB-Out. This 
> statistics type is 64-bit Gauge.
> 
> # Stat Type = 15: Number of routes in post-policy Adj-RIB-Out. This 
> statistics type is 64-bit Gauge.
> 
> # Stat Type = 16: Number of routes in per-AFI/SAFI pre-policy 
> Adj-RIB-Out. The value is structured as: 2-byte Address Family 
> Identifier (AFI), 1-byte Subsequent Address Family Identifier (SAFI), 
> followed by a 64-bit Gauge.
> 
> # Stat Type = 17: Number of routes in per-AFI/SAFI post-policy 
> Adj-RIB-Out. The value is structured as: 2-byte Address Family 
> Identifier (AFI), 1-byte Subsequent Address Family Identifier (SAFI), 
> followed by a 64-bit Gauge.
> 
> But for Stat Type 7 & 9 in RFC7854, if the L flag is not used, how to 
> distinguish pre-policy Adj-RIBs-In statistics from post-policy 
> Adj-RIBs-In statistics ?
> 
> # The following text is quoted from rfc7854:
> 
> # o  Stat Type = 7: (64-bit Gauge) Number of routes in Adj-RIBs-In.
> 
> # o  Stat Type = 9: Number of routes in per-AFI/SAFI Adj-RIB-In.  The
> 
> #     value is structured as: 2-byte Address Family Identifier (AFI),
> 
> #     1-byte Subsequent Address Family Identifier (SAFI), followed by a
> 
> #     64-bit Gauge.
> 
> I don't know if my understanding is correct, hope to get your advice!
> 
> Thanks,
> 
> Shunwan
> 
> *From:*GROW [mailto:grow-bounces@ietf.org] *On Behalf Of *Dhananjay 
> Patki (dhpatki)
> *Sent:* Monday, December 4, 2023 12:55 PM
> *To:* Paolo Lucente <paolo@ntt.net>; John Scudder <jgs@juniper.net>
> *Cc:* Rex Fernando (rex) <rex@cisco.com>; grow@ietf.org; Warren Kumari 
> <warren@kumari.net>
> *Subject:* Re: [GROW] [Technical Errata Reported] RFC7854 (7703)
> 
> Thanks, Paolo!
> 
> --
> 
> Regards,
> 
> Dhananjay
> 
> *From: *Paolo Lucente <paolo@ntt.net <mailto:paolo@ntt.net>>
> *Date: *Sunday, 3 December 2023 at 5:08 AM
> *To: *Dhananjay Patki (dhpatki) <dhpatki@cisco.com 
> <mailto:dhpatki@cisco.com>>, John Scudder <jgs@juniper.net 
> <mailto:jgs@juniper.net>>
> *Cc: *Rex Fernando (rex) <rex@cisco.com <mailto:rex@cisco.com>>, 
> grow@ietf.org <mailto:grow@ietf.org> <grow@ietf.org 
> <mailto:grow@ietf.org>>, Warren Kumari <warren@kumari.net 
> <mailto:warren@kumari.net>>
> *Subject: *Re: [GROW] [Technical Errata Reported] RFC7854 (7703)
> 
> Thanks for having filed this errata; this also seems right to me.
> 
> Paolo
> 
> 
> On 30/11/23 18:06, Dhananjay Patki (dhpatki) wrote:
>> Thanks John. Waiting to hear other opinions, if any.
>> 
>> --
>> 
>> Regards,
>> 
>> Dhananjay
>> 
>> *From: *John Scudder <jgs@juniper.net <mailto:jgs@juniper.net>>
>> *Date: *Wednesday, 29 November 2023 at 1:00 AM
>> *To: *Dhananjay Patki (dhpatki) <dhpatki@cisco.com <mailto:dhpatki@cisco.com>>
>> *Cc: *Rex Fernando (rex) <rex@cisco.com <mailto:rex@cisco.com>>, sstuart@google.com 
> <mailto:sstuart@google.com>
>> <sstuart@google.com <mailto:sstuart@google.com>>, Warren Kumari 
> <warren@kumari.net <mailto:warren@kumari.net>>, Rob Wilton
>> (rwilton) <rwilton@cisco.com <mailto:rwilton@cisco.com>>, job@fastly.com 
> <mailto:job@fastly.com> <job@fastly.com <mailto:job@fastly.com>>,
>> christopher.morrow@gmail.com <mailto:christopher.morrow@gmail.com> 
> <christopher.morrow@gmail.com <mailto:christopher.morrow@gmail.com>>,
>> grow@ietf.org <mailto:grow@ietf.org> <grow@ietf.org <mailto:grow@ietf.org>>
>> *Subject: *Re: [Technical Errata Reported] RFC7854 (7703)
>> 
>> This seems right. Unless anyone else sees a problem with it, I’d say 
>> verify the erratum.
>> 
>> —John
>> 
>>> On Nov 16, 2023, at 5:24 AM, RFC Errata System <rfc-editor@rfc-editor.org <mailto:rfc-editor@rfc-editor.org>> wrote:
>>> 
>>> 
>>> The following errata report has been submitted for RFC7854,
>>> "BGP Monitoring Protocol (BMP)".
>>> 
>>> --------------------------------------
>>> You may review the report below and at:
>>> https://urldefense.com/v3/__https://www.rfc-editor.org/errata/eid7703__;!!NEt6yMaO-gk!HnufjFK0wFIcNIN5-34vQMqmG8yvUaw6eoTAdyMYnTxkogc1LdAbUJOb_Guugi2ASer_uq6Aaaowjtulif7zJQ$ <https://urldefense.com/v3/__https:/www.rfc-editor.org/errata/eid7703__;!!NEt6yMaO-gk!HnufjFK0wFIcNIN5-34vQMqmG8yvUaw6eoTAdyMYnTxkogc1LdAbUJOb_Guugi2ASer_uq6Aaaowjtulif7zJQ$> <https://urldefense.com/v3/__https:/www.rfc-editor.org/errata/eid7703__;!!NEt6yMaO-gk!HnufjFK0wFIcNIN5-34vQMqmG8yvUaw6eoTAdyMYnTxkogc1LdAbUJOb_Guugi2ASer_uq6Aaaowjtulif7zJQ$ <https://urldefense.com/v3/__https:/www.rfc-editor.org/errata/eid7703__;!!NEt6yMaO-gk!HnufjFK0wFIcNIN5-34vQMqmG8yvUaw6eoTAdyMYnTxkogc1LdAbUJOb_Guugi2ASer_uq6Aaaowjtulif7zJQ$>>
>>> 
>>> --------------------------------------
>>> Type: Technical
>>> Reported by: Dhananjay S. Patki <dhpatki@cisco.com <mailto:dhpatki@cisco.com>>
>>> 
>>> Section: 4.2
>>> 
>>> Original Text
>>> -------------
>>>      *  The L flag, if set to 1, indicates that the message reflects
>>>         the post-policy Adj-RIB-In (i.e., its path attributes reflect
>>>         the application of inbound policy).  It is set to 0 if the
>>>         message reflects the pre-policy Adj-RIB-In.  Locally sourced
>>>         routes also carry an L flag of 1.  See Section 5 for further
>>>         detail.  This flag has no significance when used with route
>>>         mirroring messages (Section 4.7).
>>> 
>>> Corrected Text
>>> --------------
>>>      *  The L flag, if set to 1, indicates that the message reflects
>>>         the post-policy Adj-RIB-In (i.e., its path attributes reflect
>>>         the application of inbound policy).  It is set to 0 if the
>>>         message reflects the pre-policy Adj-RIB-In.  Locally sourced
>>>         routes also carry an L flag of 1.  See Section 5 for further
>>>         detail.  This flag has significance only when used with Route
>>>         Monitoring messages.
>>> 
>>> Notes
>>> -----
>>> The L flag is used to indicate whether the route monitoring update reflects Adj-RIB-In pre-policy or post-policy (RFC 7854), or Adj-RIB-Out pre-policy or post-policy (RFC 8671). It does not apply to any message other than the Route Monitoring message.
>>> 
>>> Instructions:
>>> -------------
>>> This erratum is currently posted as "Reported". (If it is spam, it
>>> will be removed shortly by the RFC Production Center.) Please
>>> use "Reply All" to discuss whether it should be verified or
>>> rejected. When a decision is reached, the verifying party
>>> will log in to change the status and edit the report, if necessary.
>>> 
>>> --------------------------------------
>>> RFC7854 (draft-ietf-grow-bmp-17)
>>> --------------------------------------
>>> Title               : BGP Monitoring Protocol (BMP)
>>> Publication Date    : June 2016
>>> Author(s)           : J. Scudder, Ed., R. Fernando, S. Stuart
>>> Category            : PROPOSED STANDARD
>>> Source              : Global Routing Operations
>>> Area                : Operations and Management
>>> Stream              : IETF
>>> Verifying Party     : IESG
>> 
>> 
>> _______________________________________________
>> GROW mailing list
>> GROW@ietf.org <mailto:GROW@ietf.org>
>> https://www.ietf.org/mailman/listinfo/grow 
> <https://www.ietf.org/mailman/listinfo/grow>
>