[Teas] A question about the type definition of tunnel-tp-id

yuchaode <yuchaode@huawei.com> Fri, 15 July 2022 07:59 UTC

Return-Path: <yuchaode@huawei.com>
X-Original-To: teas@ietfa.amsl.com
Delivered-To: teas@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2359CC18870D for <teas@ietfa.amsl.com>; Fri, 15 Jul 2022 00:59:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.908
X-Spam-Level:
X-Spam-Status: No, score=-6.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 4SGEQIA1A_JS for <teas@ietfa.amsl.com>; Fri, 15 Jul 2022 00:59:48 -0700 (PDT)
Received: from sinmsgout02.his.huawei.com (sinmsgout02.his.huawei.com [119.8.177.37]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 51A76C188704 for <teas@ietf.org>; Fri, 15 Jul 2022 00:59:48 -0700 (PDT)
Received: from fraeml712-chm.china.huawei.com (unknown [172.18.156.207]) by sinmsgout02.his.huawei.com (SkyGuard) with ESMTP id 4LkkJS5bv9z9v7JR for <teas@ietf.org>; Fri, 15 Jul 2022 15:58:48 +0800 (CST)
Received: from canpemm500002.china.huawei.com (7.192.104.244) by fraeml712-chm.china.huawei.com (10.206.15.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 15 Jul 2022 09:59:38 +0200
Received: from canpemm500002.china.huawei.com (7.192.104.244) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 15 Jul 2022 15:59:36 +0800
Received: from canpemm500002.china.huawei.com ([7.192.104.244]) by canpemm500002.china.huawei.com ([7.192.104.244]) with mapi id 15.01.2375.024; Fri, 15 Jul 2022 15:59:36 +0800
From: yuchaode <yuchaode@huawei.com>
To: TEAS WG <teas@ietf.org>
Thread-Topic: A question about the type definition of tunnel-tp-id
Thread-Index: AdiYHzPpKCV20tjwStieR2MySQH+yQ==
Date: Fri, 15 Jul 2022 07:59:36 +0000
Message-ID: <55a160f7fb0d4ab5bb320ba98db15044@huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.117.175.195]
Content-Type: multipart/alternative; boundary="_000_55a160f7fb0d4ab5bb320ba98db15044huaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/DW7InzJsQ0uhuHzRIWoNNPonE8c>
Subject: [Teas] A question about the type definition of tunnel-tp-id
X-BeenThere: teas@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Traffic Engineering Architecture and Signaling working group discussion list <teas.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/teas>, <mailto:teas-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/teas/>
List-Post: <mailto:teas@ietf.org>
List-Help: <mailto:teas-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/teas>, <mailto:teas-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jul 2022 07:59:50 -0000

Hello friends,

When I had discussion with operators and developers, they both raised a question that why the type of TTP was binary type. Could anyone provide some historical considerations of this type definition?
Though I told them this binary value would be encoded to be a string value by BASE64 when present in json format according to RFC7951, they were still confused how to assign an original binary value because they don't used this binary type traditionally.
Most of the vendors and operators like to use name as identifier before, what about change the tunnel-tp-id's type to an union? One option in the union is binary for compatibility consideration and one option is URI which is generic for vendors and operators.

This is my rough thought, please feel free to give your comments. Thank you!

B.R.
Chaode