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

Ahmed.Elhassany@swisscom.com Tue, 12 December 2023 12:33 UTC

Return-Path: <Ahmed.Elhassany@swisscom.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 3F819C00A68A for <ipfix@ietfa.amsl.com>; Tue, 12 Dec 2023 04:33:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.405
X-Spam-Level:
X-Spam-Status: No, score=-4.405 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, 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
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=swisscom.com
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 iwlQseayv9e1 for <ipfix@ietfa.amsl.com>; Tue, 12 Dec 2023 04:33:18 -0800 (PST)
Received: from mail.swisscom.com (mailout120.swisscom.com [138.188.166.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 240F1C00A686 for <ipfix@ietf.org>; Tue, 12 Dec 2023 04:33:17 -0800 (PST)
Received: by mail.swisscom.com; Tue, 12 Dec 2023 13:33:07 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=swisscom.com; s=iscm; t=1702384388; bh=xt28YSrriPPZk7NmkD4f9TmmV/D6VT/p7maKMoGb2ic=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=gmAH6C3VzhOhcPSGlb4XJG3fMDx/eFfw+0rGY0KU6A1rE97uFMJ6xMZxH0cdJQ1Ad Mu0bTuZYMmmVq1V1YWacjuN3qnZUOPfh1hXxH1SASE22q4D+1D5C2YCV8PBuNsR+cA JT+1FF1LCoPOP+YR8hnr7+gJRYn66O+AMWZ6qrq2g4f4wuRypJSl12WG1+gOQVJsTC HosrU5PGwBwFBmzJJZqfN9jz3HyyFY04t+HhePbmNh56FmMQoyDBcOVeMfp/QJbVsX jfYBc1AIdkGSRlCw71YTSyAkzhrUy4WcmGaR9NVhfqTvl3fA6k0BKbww0RiScUKMxC lm/LJsZhC85ag==
From: Ahmed.Elhassany@swisscom.com
To: paitken@ciena.com, ietf@trammell.ch
CC: ipfix@ietf.org, benoit.claise@huawei.com, Thomas.Graf@swisscom.com
Thread-Topic: [IPFIX] Data type for srhSegmentIPv6LocatorLength in IPFIX Entities registry
Thread-Index: AQHaLNcWrNabv/HJ3ESD04Rop1jP5rClRPaAgAA3IICAABjxgA==
Date: Tue, 12 Dec 2023 12:33:05 +0000
Message-ID: <BA3C2236-6F8C-4BBC-B26B-7D7391A3D7B8@swisscom.com>
References: <D6C94B32-C9DA-4EEB-85E9-2FE9687F7591@swisscom.com> <5F28CBFD-6D6D-4D38-A7F6-E5110B5D0B02@trammell.ch> <cb1440c4-50af-4d3c-b3c6-dbf158b960da@ciena.com>
In-Reply-To: <cb1440c4-50af-4d3c-b3c6-dbf158b960da@ciena.com>
Accept-Language: en-US, de-CH
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Enabled=true; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Name=C2 General; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ActionId=bb0b61e0-dd5f-434e-ab0b-930793757f31; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Enabled=true; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SiteId=364e5b87-c1c7-420d-9bee-c35d19b557a1; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ContentBits=0; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Method=Standard; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SetDate=2023-12-12T12:29:40Z;
user-agent: Microsoft-MacOutlook/16.79.23120117
x-originating-ip: [10.45.11.241]
Content-Type: multipart/alternative; boundary="_000_BA3C22366F8C4BBCB26B7D7391A3D7B8swisscomcom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipfix/jXb19AEylIYGEujEszEWOtb3_4A>
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: Tue, 12 Dec 2023 12:33:23 -0000

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 registry https://www.iana.org/assignments/ipfix/ipfix.xmlwithout 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 in Section 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 of IPFIX 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




_______________________________________________

IPFIX mailing list

IPFIX@ietf.org<mailto:IPFIX@ietf.org>

https://www.ietf.org/mailman/listinfo/ipfix