Re: [IPFIX] Data type for srhSegmentIPv6LocatorLength in IPFIX Entities registry

Benoit Claise <benoit.claise@huawei.com> Thu, 14 December 2023 09:57 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 1472CC14F5FE for <ipfix@ietfa.amsl.com>; Thu, 14 Dec 2023 01:57:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.995
X-Spam-Level:
X-Spam-Status: No, score=-5.995 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, 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, SUBJ_BRKN_WORDNUMS=1, 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 J5hdhfewmIRX for <ipfix@ietfa.amsl.com>; Thu, 14 Dec 2023 01:57:09 -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 76B38C14F5FB for <ipfix@ietf.org>; Thu, 14 Dec 2023 01:57:06 -0800 (PST)
Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4SrSQ22zswz6K7KY; Thu, 14 Dec 2023 17:55:06 +0800 (CST)
Received: from frapeml500001.china.huawei.com (unknown [7.182.85.94]) by mail.maildlp.com (Postfix) with ESMTPS id 704CF1400CA; Thu, 14 Dec 2023 17:57:03 +0800 (CST)
Received: from [10.206.138.20] (10.206.138.20) 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; Thu, 14 Dec 2023 10:56:59 +0100
Content-Type: multipart/alternative; boundary="------------eEH6BS8ql7OH5NxdeansW89d"
Message-ID: <266d9ded-19a4-0029-dd50-9c16f3316f08@huawei.com>
Date: Thu, 14 Dec 2023 09:56:55 +0000
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: Ahmed.Elhassany@swisscom.com, paitken@ciena.com, ietf@trammell.ch
CC: ipfix@ietf.org, Thomas.Graf@swisscom.com, "Rob Wilton (rwilton)" <rwilton@cisco.com>, "mohamed.boucadair@orange.com" <mohamed.boucadair@orange.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>
From: Benoit Claise <benoit.claise@huawei.com>
In-Reply-To: <BA3C2236-6F8C-4BBC-B26B-7D7391A3D7B8@swisscom.com>
X-Originating-IP: [10.206.138.20]
X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To frapeml500001.china.huawei.com (7.182.85.94)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipfix/Wl5DFcq4Qr_5HO8qocm4XC6lNyI>
Subject: Re: [IPFIX] Data type for srhSegmentIPv6LocatorLength in IPFIX Entities registry
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: Thu, 14 Dec 2023 09:57:13 -0000

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/#


    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/ ?)

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.
>
> 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
>         <https://www.iana.org/assignments/ipfix/ipfix.xml>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  <https://www.rfc-editor.org/rfc/rfc7012.html#section-3.1>  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
>         <https://www.ietf.org/mailman/listinfo/ipfix>
>
>
>
>     _______________________________________________
>
>     IPFIX mailing list
>
>     IPFIX@ietf.org
>
>     https://www.ietf.org/mailman/listinfo/ipfix
>