[IPFIX] Data type for srhSegmentIPv6LocatorLength in IPFIX Entities registry

Ahmed.Elhassany@swisscom.com Tue, 12 December 2023 08:42 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 65985C14F5E9 for <ipfix@ietfa.amsl.com>; Tue, 12 Dec 2023 00:42:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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_BLOCKED=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_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 xsZfhmXRUlzS for <ipfix@ietfa.amsl.com>; Tue, 12 Dec 2023 00:42:12 -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 28AFCC13AE34 for <ipfix@ietf.org>; Tue, 12 Dec 2023 00:42:10 -0800 (PST)
Received: by mail.swisscom.com; Tue, 12 Dec 2023 09:42:08 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=swisscom.com; s=iscm; t=1702370529; bh=tb2QJ2mVkOg5nP98C/MY8PrtbLe8dNgsonYLs1Tz2bg=; h=From:To:Subject:Date; b=PKsHlPOjO0cZSkPxhrBJRvrG9kDZAfRtGkuACMhPCgZhQbJBGQ39//lG+T6yLqufd VVkSnp7LPVVKfGlAyyPS3qUsUzP89tRgchCCxgzmn7h0irWksGX5Eg8sVBoSna8fW6 ZdDqNBRQ29fsYV3zBvsoKHeuE6S1Ws8a90SJy8m+4c9AgME+j9fTUm7MPOwlfY/15o h2gnhaAmGT5VmajCv6DIbVIPPJwQFxijxk/wsgJAVrQysI7zd0YggT4ooXoHU5ZDTb PQVdbvLh920FtcJto3W5tiBElFPhfBuE+7l5QjztnAe1n4mjZ3pEjGdbBte7cQvK/t hHVGmnEvPx9DQ==
From: Ahmed.Elhassany@swisscom.com
To: ipfix@ietf.org
Thread-Topic: Data type for srhSegmentIPv6LocatorLength in IPFIX Entities registry
Thread-Index: AQHaLNcWrNabv/HJ3ESD04Rop1jP5g==
Date: Tue, 12 Dec 2023 08:42:07 +0000
Message-ID: <D6C94B32-C9DA-4EEB-85E9-2FE9687F7591@swisscom.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=045114f5-a61f-4237-a59d-1839a4bd3083; 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-12T08:28:48Z;
user-agent: Microsoft-MacOutlook/16.79.23120117
x-originating-ip: [10.45.8.236]
Content-Type: multipart/alternative; boundary="_000_D6C94B32C9DA4EEB85E92FE9687F7591swisscomcom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipfix/Eu7GSvU_W4AXR8i3uTIySvAwM9w>
Subject: [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 08:42:17 -0000

Hello all,

I noticed IE 501 srhSegmentIPv6LocatorLength is recently added to the ipfix registry 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 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