Re: [IPFIX] [**EXTERNAL**] [Technical Errata Reported] RFC9487 (7728)

Benoit Claise <benoit.claise@huawei.com> Mon, 08 January 2024 17:20 UTC

Return-Path: <benoit.claise@huawei.com>
X-Original-To: ipfix@ietfa.amsl.com
Delivered-To: ipfix@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EA2A6C1519A5 for <ipfix@ietfa.amsl.com>; Mon, 8 Jan 2024 09:20:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.895
X-Spam-Level:
X-Spam-Status: No, score=-6.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, NICE_REPLY_A=-0.091, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 EegU25QfwJtu for <ipfix@ietfa.amsl.com>; Mon, 8 Jan 2024 09:20:21 -0800 (PST)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0669CC15198F for <ipfix@ietf.org>; Mon, 8 Jan 2024 09:20:21 -0800 (PST)
Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4T814B0j1xz67j0b; Tue, 9 Jan 2024 01:18:34 +0800 (CST)
Received: from frapeml500001.china.huawei.com (unknown [7.182.85.94]) by mail.maildlp.com (Postfix) with ESMTPS id CF86D1400D9; Tue, 9 Jan 2024 01:20:17 +0800 (CST)
Received: from [10.48.144.219] (10.48.144.219) by frapeml500001.china.huawei.com (7.182.85.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 8 Jan 2024 18:20:12 +0100
Content-Type: multipart/alternative; boundary="------------bT6xZiGK3jgqeAoUAJudp9sp"
Message-ID: <dc3eeb2c-c958-02a6-c76a-58e2a65e7c82@huawei.com>
Date: Mon, 08 Jan 2024 18:20:07 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1
Content-Language: en-US
To: "Aitken, Paul" <paitken@ciena.com>, "Ahmed.Elhassany@swisscom.com" <Ahmed.Elhassany@swisscom.com>, "ietf@trammell.ch" <ietf@trammell.ch>
CC: "ipfix@ietf.org" <ipfix@ietf.org>, "Graf Thomas, INI-NET-VNC-HCS" <Thomas.Graf@swisscom.com>, "Rob Wilton (rwilton)" <rwilton@cisco.com>, "mohamed.boucadair@orange.com" <mohamed.boucadair@orange.com>, me <benoit.claise@huawei.com>
References: <D6C94B32-C9DA-4EEB-85E9-2FE9687F7591@swisscom.com> <5F28CBFD-6D6D-4D38-A7F6-E5110B5D0B02@trammell.ch> <cb1440c4-50af-4d3c-b3c6-dbf158b960da@ciena.com> <BA3C2236-6F8C-4BBC-B26B-7D7391A3D7B8@swisscom.com> <266d9ded-19a4-0029-dd50-9c16f3316f08@huawei.com> <4565bba2-4a1a-9f39-ad00-1b3515bbf3d7@huawei.com> <bfdbbb28-a29f-4407-a4dd-7715eb40dca8@ciena.com>
From: Benoit Claise <benoit.claise@huawei.com>
In-Reply-To: <bfdbbb28-a29f-4407-a4dd-7715eb40dca8@ciena.com>
X-Originating-IP: [10.48.144.219]
X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To frapeml500001.china.huawei.com (7.182.85.94)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipfix/oXzev88HIpBcmhBda7J8OXQIYeo>
Subject: Re: [IPFIX] [**EXTERNAL**] [Technical Errata Reported] RFC9487 (7728)
X-BeenThere: ipfix@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IPFIX WG discussion list <ipfix.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipfix>, <mailto:ipfix-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipfix/>
List-Post: <mailto:ipfix@ietf.org>
List-Help: <mailto:ipfix-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipfix>, <mailto:ipfix-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Jan 2024 17:20:26 -0000

Hi Paul,

On 1/8/2024 3:50 PM, Aitken, Paul wrote:
> TLDR: add "Abstract Data Type: unsigned8" to RFC 9487 and update 
> IANA's IPFIX registry.
>
>
> The draft was changed in AUTH48. Those changes were not expert 
> reviewed. IMHO this is a hole in the process.
For this one, I know that you are in discussion with the AD.
>
> The Abstract Data Type cannot be omitted. Other than #501 
> srhSegmentIPv6LocatorLength, none of the existing IEs in IANA's IPFIX 
> registry omit the Abstract Data Type.
>
> The Data Type Semantics can be omitted, in which case it defaults to 
> "quantity" (RFC 7012, s3.2.1). Some (132) registry entries explicitly 
> say "default" while others (65) leave this column blank. I'm happy to 
> explicitly say "default" here.
>
>
>> Without reply, I went for the path of IFPIX IANA registry 
>> consistency, so sourceIPv4PrefixLength as an example. 
>
> sourceIPv4PrefixLength has an Abstract Data Type of "unsigned8", but 
> omits the "Data Type Semantics".
>
> The issue with srhSegmentIPv6LocatorLength is the opposite of this.
Aha, this is where my mistake comes from!
We discussed the Data Type Semantics and, from my edits, I removed the 
Abstract Data Type.
Sorry for this stupid editorial change ... during AUTH48... hence your 
first remark above (which is valid).

This errata should be accepted for the unsigned8, but what do you 
suggest for "Data Type Semantics"? Remove it or keep default?
See 
https://mailarchive.ietf.org/arch/msg/opsawg/S7lMHhekA7ty7KjUS5LXwlkq950/# 
for some background on it.

Regards, Benoit
>
> P.
>
>
> On 08/01/24 13:59, Benoit Claise wrote:
>> Paul, Brian,
>>
>> This email relates to
>>
>>     The following errata report has been submitted for RFC9487,
>>     "Export of Segment Routing over IPv6 Information in IP Flow Information Export (IPFIX)".
>>
>>     --------------------------------------
>>     You may review the report below and at:
>>     https://www.rfc-editor.org/errata/eid7728 [rfc-editor.org]
>>
>> I haven't seen a reply to this email so far.
>> So what do you think?
>>
>> Regards, Benoit
>>
>>
>> On 12/14/2023 10:56 AM, Benoit Claise wrote:
>>> Dear all,
>>>
>>> I looked back at the history of this.
>>>
>>> This is the last email: discussion with Paul Aikten about 
>>> srhSegmentIPv6LocatorLength
>>> https://mailarchive.ietf.org/arch/msg/opsawg/S7lMHhekA7ty7KjUS5LXwlkq950/# 
>>> [mailarchive.ietf.org]
>>>
>>>
>>>     Question: should srhSegmentIPv6LocatorLength be changed to quantity? I
>>>     think so (remember: doc in AUTH48)
>>>
>>> Without reply, I went for the path of IFPIX IANA registry 
>>> consistency, so sourceIPv4PrefixLength as an example.
>>>
>>> If we collectively agree to have an errata here, fine.
>>> However, more updates are required to the IPFIX IANA. 
>>> (https://datatracker.ietf.org/doc/draft-ietf-opsawg-ipfix-fixes/ 
>>> [datatracker.ietf.org] ?)
>>>
>>> Regards, Benoit
>>>
>>> On 12/12/2023 12:33 PM, Ahmed.Elhassany@swisscom.com wrote:
>>>>
>>>> Hello All,
>>>>
>>>> That’s interesting to see these diffs between -14 and RFC. I 
>>>> limited my erratum report to the abstract data type for IE 501, see 
>>>> https://www.rfc-editor.org/errata/eid7728 [rfc-editor.org].
>>>>
>>>> However, for the differences between -14 and RFC, I don’t have 
>>>> enough expertise to report about it. I hope someone more expert 
>>>> than myself on IETF processes can take care of this.
>>>>
>>>> Best,
>>>>
>>>> -Ahmed
>>>>
>>>> *From: *"Aitken, Paul" <paitken@ciena.com>
>>>> *Date: *Tuesday, 12 December 2023 at 13:04
>>>> *To: *"Brian Trammell (IETF)" <ietf@trammell.ch>, "Elhassany Ahmed, 
>>>> INI-NET-VNC-HCS" <Ahmed.Elhassany@swisscom.com>
>>>> *Cc: *"ipfix@ietf.org" <ipfix@ietf.org>, Benoit Claise 
>>>> <benoit.claise@huawei.com>, "Graf Thomas, INI-NET-VNC-HCS" 
>>>> <Thomas.Graf@swisscom.com>
>>>> *Subject: *Re: [IPFIX] Data type for srhSegmentIPv6LocatorLength in 
>>>> IPFIX Entities registry
>>>>
>>>>
>>>> 	
>>>>
>>>> *Be aware:*This is an external email.
>>>>
>>>> RFC 9487 does not reflect what the IPFIX experts reviewed in the 
>>>> last draft (-14), as there are several differences between the 
>>>> "IANA Considerations" sections:
>>>>
>>>> .1 and .10a below need errata. The others need the authors input.
>>>>
>>>>
>>>> 5.1
>>>>
>>>> The title, "IPFIX Information Elements Registry" and the "Table 1: 
>>>> IPFIX Information Elements Registry" descriptions are wrong, as 
>>>> this table is not the whole registry, but only the "New IPFIX IPv6 
>>>> SRH Information Elements" at stated in -14.
>>>>
>>>>
>>>> 5.1.6 / Description
>>>>
>>>> -14:    The SRH Segment List
>>>> RFC:    The SRv6 Segment List
>>>>
>>>>
>>>> 5.1.7 / Description
>>>>
>>>> -14: to reach the end of the Segment List in the SRH
>>>> RFC:    to reach the end of the Segment List from the SRH
>>>>
>>>>
>>>> 5.1.10 / Abstract Data Type
>>>>
>>>> -14:    Abstract Data Type:  unsigned8
>>>> RFC: (missing text)
>>>>
>>>>
>>>> 5.1.10 / Description
>>>>
>>>> -14: The SRH segment IPv6 locator length
>>>> RFC:    The length of the SRH segment IPv6 locator
>>>>
>>>>
>>>> P.
>>>>
>>>>
>>>> On 12/12/2023 08:46, Brian Trammell (IETF) wrote:
>>>>
>>>>     hi Ahmed,
>>>>
>>>>     Yep, this is an erratum.
>>>>
>>>>     Not an SR expert but as this is a “significant bit counter” I
>>>>     suspect unsigned8 is the appropriate type here.
>>>>
>>>>     Cheers,
>>>>
>>>>     Brian
>>>>
>>>>         On 12 Dec 2023, at 09:42, <Ahmed.Elhassany@swisscom.com>
>>>>         <mailto:Ahmed.Elhassany@swisscom.com>
>>>>         <Ahmed.Elhassany@swisscom.com>
>>>>         <mailto:Ahmed.Elhassany@swisscom.com> wrote:
>>>>
>>>>         Hello all,
>>>>
>>>>         I noticed IE 501 srhSegmentIPv6LocatorLength is recently
>>>>         added to the ipfix
>>>>         registryhttps://www.iana.org/assignments/ipfix/ipfix.xml
>>>>         [iana.org]
>>>>         <https://urldefense.com/v3/__https://www.iana.org/assignments/ipfix/ipfix.xml__;!!OSsGDw!Lyv_id3AIUO1Yuhu1aZmSjDK62wtQR0z3DBcmkJ7ULPRsQGC5d2hh4yuFPtuL-XZ6WoLxmXbbwRNgFmfnwysew$>without
>>>>         an abstract data type defined (in XML registry
>>>>         <dataType/>). I checked RFC 9487 that added this element to
>>>>         the registry, and it also doesn’t define an abstract data
>>>>         type for IE 501 srhSegmentIPv6LocatorLength.
>>>>
>>>>         This sound contradictory to RFC  7012 which states that:
>>>>
>>>>         dataType - One of the types listed inSection 3.1 [rfc-editor.org]  <https://urldefense.com/v3/__https://www.rfc-editor.org/rfc/rfc7012.html*section-3.1__;Iw!!OSsGDw!Lyv_id3AIUO1Yuhu1aZmSjDK62wtQR0z3DBcmkJ7ULPRsQGC5d2hh4yuFPtuL-XZ6WoLxmXbbwRNgFl0DvFXNA$>  of this document or
>>>>
>>>>                registered in the IANA "IPFIX Information Element Data Types"
>>>>
>>>>                subregistry.
>>>>
>>>>         The implication for not putting a data type in the registry
>>>>         that automated code generators for parsing and handling
>>>>         IPFIX will not work. A user must intervene manually and
>>>>         read the references RFCs to figure out the appropriate data
>>>>         type to be used.
>>>>
>>>>         My question to the mailing list: Is my understanding for
>>>>         RFC7012 correct that a data type must be defined as one
>>>>         ofIPFIX Information Element Data Types? And if so, I think
>>>>         we need to report an erratum for the RFC9487 and update the
>>>>         registry accordingly.
>>>>
>>>>         Best,
>>>>
>>>>         -Ahmed
>>>>
>>>>         _______________________________________________
>>>>         IPFIX mailing list
>>>>         IPFIX@ietf.org <mailto:IPFIX@ietf.org>
>>>>         https://www.ietf.org/mailman/listinfo/ipfix [ietf.org]
>>>>         <https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/ipfix__;!!OSsGDw!Lyv_id3AIUO1Yuhu1aZmSjDK62wtQR0z3DBcmkJ7ULPRsQGC5d2hh4yuFPtuL-XZ6WoLxmXbbwRNgFnkstXxXw$>
>>>>
>>>>
>>>>
>>>>     _______________________________________________
>>>>
>>>>     IPFIX mailing list
>>>>
>>>>     IPFIX@ietf.org
>>>>
>>>>     https://www.ietf.org/mailman/listinfo/ipfix [ietf.org]
>>>>
>>>
>>
>