Re: [Teas] IANA managed modules for TE object types

t petch <ietfa@btconnect.com> Wed, 18 May 2022 10:55 UTC

Return-Path: <ietfa@btconnect.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 F0E35C14F720 for <teas@ietfa.amsl.com>; Wed, 18 May 2022 03:55:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.557
X-Spam-Level:
X-Spam-Status: No, score=-3.557 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, NICE_REPLY_A=-1.857, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=btconnect.onmicrosoft.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 DHffOS1328rm for <teas@ietfa.amsl.com>; Wed, 18 May 2022 03:55:32 -0700 (PDT)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-ve1eur02on0727.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe06::727]) (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 4EF9DC14F72D for <teas@ietf.org>; Wed, 18 May 2022 03:55:31 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n9IqhczuRce3PAaqWuF0YzT65WdrHHXWV8HnIHvJq/AB8fKm3yZPRsqVb1MHLsKry9MerbKt/vnmVTtqdHtjZjfXq3E+s+ESAgLpNNzkOdE6XSmMkkU2wnlGFukhNhMCICuqy2IdgKtQrftIqiPuUV61p6SXEjIzxBgG3I8EJQXd9tTxba7OVXi4le0L8FjlYwKr1qmaI//tpOvNASRUdWLN2meRpFWBsSkYnM79t1WAnbN1ZOCDzPPZPmU+3O/+/K8ZatceA+0//rGCUZ6Y+U2+7mp0fGMEwAj9W65QLaDP36ugL/KFrsr6AonFAVCWzniMNQrFwuhTCQ6H8HvRhA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rmj3StCJyUGKcnj7iYMoGmBwKucroLRfqyW/QU0dWrM=; b=cAyqbxxS8W7LGO943yEPDF9RPwM5TRi4MHPQKsgqimxoiq+DmA9BJctYKCGnUdO6CtL6Nnu0QrUdLIC34ZqPkk5TYyC0YiitkFyxFjXLFBQ0wZZwgx8Py/Z3uTTljnBQWhQWAZrP4DKezgNn19oglLJWQ9EAa+FsI/1QAkzz1rcCTdPsnECKJ6Z30nXe3/HSP2cmUs8v2mXWqbm6VDsrG2PJY8k1Cs0J4/6gyN2mJoQDfpo4YwTyp9Ir4J7ZwLubxc1b8JRa8ySI6KTiqJ8RsQziMP6+Sezj12huNyPTTXbv9WrOi5ce4oUn5zFdCn7r8Jw/m6WBl1DEsJ3TI6D3Xw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rmj3StCJyUGKcnj7iYMoGmBwKucroLRfqyW/QU0dWrM=; b=V1rImPcpZiko66Je5Yq29AeB5Ne8GmY9NaMqlDvSVqWSFPtNj1rF/qr5rxYDWiw5+rWmyvNe0y6HboiB9ZEmZ8XLzZhng3MxGZl45rySrnbOQjgFiINcjSN5qH6YBFNAz6tMS+uocaEEyjzyfl6Si38snws43HoY6d+yUcg/ZFE=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=btconnect.com;
Received: from DB7PR07MB5546.eurprd07.prod.outlook.com (2603:10a6:10:73::23) by AM9PR07MB7297.eurprd07.prod.outlook.com (2603:10a6:20b:2c5::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.7; Wed, 18 May 2022 10:55:25 +0000
Received: from DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::909c:1cd4:b85f:5fb7]) by DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::909c:1cd4:b85f:5fb7%6]) with mapi id 15.20.5273.013; Wed, 18 May 2022 10:55:25 +0000
To: Italo Busi <Italo.Busi@huawei.com>, Tarek Saad <tsaad.net@gmail.com>, "teas@ietf.org" <teas@ietf.org>
References: <DS0PR19MB6501657ADCF336B0C1CB3957FCCA9@DS0PR19MB6501.namprd19.prod.outlook.com> <6282105A.1080702@btconnect.com> <688c86dc6c664273a8b57aac6367c776@huawei.com>
Cc: Adrian Farrel <adrian@olddog.co.uk>
From: t petch <ietfa@btconnect.com>
Message-ID: <6284D097.3010100@btconnect.com>
Date: Wed, 18 May 2022 11:55:19 +0100
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
In-Reply-To: <688c86dc6c664273a8b57aac6367c776@huawei.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
X-ClientProxiedBy: LO4P123CA0097.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:191::12) To DB7PR07MB5546.eurprd07.prod.outlook.com (2603:10a6:10:73::23)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 79539dac-fbd3-4ce3-90c3-08da38bce9ae
X-MS-TrafficTypeDiagnostic: AM9PR07MB7297:EE_
X-Microsoft-Antispam-PRVS: <AM9PR07MB7297B3AA4AAB70DB325AE43CA2D19@AM9PR07MB7297.eurprd07.prod.outlook.com>
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: /CereU2gCJQvH2JyFGg8WrPMDI4TFwxpNRs/B27LwrlegNjnn1v4AMHxG2++dhRTmfckHxgNt1+89uAWWtIQisEWMEJW/K5FAueid3fpMbtfhhkhiYuvFoSsYjBTIZokDNIUeQHuYYSjASwKjJNp2oIlrL36+pPVEuc3lMfgayCs8n+La0OpeEYcRUOS1MBiN/TYQ4IayvO0rkR9IZh0DOhh2R2c5VpImAzPf9x/1oe0A42lTphaqwFPXgY0fwlwVlciswuB3oGoKm5ynO39VrL9Q5gyl0RVwRejMEIq2+de4AJ6XclnSyEu8AY3ApsqIPuaKF8enkUo6RS73TcU2EkuEk71wabzjw9iKvtNJVwuc5lWjqCzgkxrKnjnYSJ1AnanzTk4zxLirnT2dSu9i5XnYhDlhaurVVsiUokR6vbPSnRfBerzp9oyN8Y2eQJwPTcOMdhGTx4PaFiG1j1CruHq01CPR2ZKapJNHq2OIXpz4PgE6es4Qeo/cv3F2/+SeSmjtcHZxPQUhYvvKE25NuffA8+L7D9xAJHHZKzgawGPLrfXtRgE8FyDi8tAdRFEY3q1wvfF+budsYpZuY9d/g1XnKvEHlFRMrml+5eAo3fafHNM9sdkmSaW9KRF2WNRtaLAd9QHShKf21Z8W1eODOf+6u5AZPzXbj18bT4k4sqSpDu35IXFzYhjcWKlvTkcuGTvF4F7f/6DuEdeeWll2TdvCwPuYXLT3Jodb0xPj7HgFVb3h6z/7nv098MW8TP1Jl4GD7meNlNQv1qH0EEdkQ==
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR07MB5546.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(53546011)(36756003)(26005)(6512007)(52116002)(82960400001)(186003)(6506007)(2616005)(87266011)(38350700002)(38100700002)(6666004)(316002)(110136005)(6486002)(508600001)(4326008)(8676002)(66946007)(66476007)(66556008)(83380400001)(966005)(33656002)(2906002)(5660300002)(86362001)(8936002); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: DQx/6s7EAZSV4OABj8XGHqgrX9X4t7NbORKQ1QSzmY+hJtiw1/s48sr13a0qI3tIdOd2uMNKl/+Jo38PRa5bZcr/8Rlm4XEcLCqiINMHWQK5zCLQVRJgSQhhRFJwJ8fzDRvzG4Rg7IdnWhQCuHyf+QPMVThQCdFVrK6I8PlQ9TFXFCGDDm3EA/T+qvdKOvPXhUiz5d0GlyFKPBDmcnide7jtdGReKfFxF1fWMiuTzfVH8KJN4ug5Pa/ojgNgJ09pvvb3XIj8Mb9zZvlQdvye32LYg050s+VIxtpuGt/QbEW5feXbS6KIJGFhjs4urU4vOToNWA+5zMvTS3GcGIBPydPqUWUS+p/HozGBl+JKJeVnKtfN1L5R084/QCd2esJkOYR1sOrzQtYvK0KBw18Erhw3yGYkHnrErIBGqyBiUUZhhddkkTCG5uqJ3gkBmgQYEYhRCk3jM+FJzAxqzwcKq37d0eyoD/bo25TpuVryIfFoxYPKAeFNcwurWdfGQPE9plCKdNnrB+nNAeqZFSNxj8oI0XXlAguXfI9sYGswC3HHLXkG47SqCT5DpTWJG8pYef8GGLYcFAih6hTe7Wwf/wM3Y8UIe6lsTcZNuv12jMxK07dIG/+KzKHIGTW2sd8C76wmJMUh7ExwDd2x2BAIOJZBZTriyLWdz3wVe7rIDpgA+BcI/ivhN2Td3HxZm3X8Jm+4pRCEuXXQmKDQ08Io5CHvdg+vYb2OewMs5o4n2bv7AznEUTO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ce9ae
X-MS-Exchange-CrossTenant-AuthSource: DB7PR07MB5546.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 May 2022 10:55:25.6884 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: rgg5nwsUwpDEX+3lTHWwIxEp9RV4cJFa8xvRshKnmhhLZyd5ioHmCkSz7LrBThdRLu4w5B+pTNH7BVRclJ56VA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR07MB7297
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/k8UMXkHaEcEE9Q1QK3HdgMD-HOg>
Subject: Re: [Teas] IANA managed modules for TE object types
X-BeenThere: teas@ietf.org
X-Mailman-Version: 2.1.34
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: Wed, 18 May 2022 10:55:37 -0000

On 16/05/2022 18:27, Italo Busi wrote:
> Hi Tom,
>
> Please find below some replies to your comments
>
> Thanks, Italo
>
>> -----Original Message-----
>> From: t petch <ietfa@btconnect.com>
>> Sent: lunedì 16 maggio 2022 10:51
>>
>> On 13/05/2022 18:59, Tarek Saad wrote:
>>> Hi WG,
>>>
>>> During the review of draft-ietf-teas-yang-te, Adrian raised an
>> important point about IANA managing some YANG module that models
>> specific TE types. For example, ID draft-ietf-teas-yang-te was modelling 'no-
>> path' some error reasons as listed in
>> https://www.iana.org/assignments/pcep/pcep.xhtml#no-path-vector-tlv or
>> association types as defined in
>> https://www.iana.org/assignments/pcep/pcep.xhtml#association-type-field.
>>
>>> There are obvious advantages to having such YANG types in
>> separate modules and letting IANA manage them. For example,
>>>
>>>     1.  Other TE modules can freely import such types modules (without
>> needing to import feature modules such as one defined in draft-ietf-teas-
>> yang-te).
>>>     2.  Allowing IANA to manage these modules may facilitate extensions in the
>> future (IANA can automatically ensure that IANA types and YANG module are
>> in sync).
>>>
>>> The authors discussed this suggestion and would like to proceed with it, but
>> want to make sure this is the recommended approach for other types that are
>> managed by IANA and may be modelled in YANG in the future.
>>
>> I struggle to make sense of this.
>>
>> When I look for association-type in teas-yang-te, I find it refers to
>> RFC8776 so creating an IANA-maintained module for it would seem a few
>> years too late.
>>
>
> [Italo Busi]
> This is a bit unfortunate. However, the association-type identity defined in RFC 8776 is not yet used by any standard model so we can consider this new approach deprecate the corresponding identities in draft-busi-teas-te-types-update which has been recently proposed to TEAS WG.

Weeel, set off on the wrong direction and you end up in Japan instead of 
America; nothing wrong with Japan, except when it is LA or SF that you want.

In the early days of te-types, I did go through all the MPLS/GMPLS/PCE 
etc registries (some of which I was involved with 20 years ago) and 
noted considerable overlap between te-types and those registries; I do 
not recall what I posted to the list about it but certainly wondered at 
not involving the WG who had created the IANA registries in creating a 
YANG version of the registries.  I still think that the WG Chairs of 
TEAS should tell their PCE counterparts what they have in mind in this 
instance.

Why stop at associations?  Probably because everything else has been 
implemented and so is harder to change:-( Such is the way of working of 
the IETF but I think that the decision not to do anything about the 
other registries should be a conscious one at this time.

Also, I see YANG identity as a bad fit for a registry with a policy of 
'Standards Action' - enumeration would seem a better fit.

Most IANA registries are based on numeric values; YANG is not, so there 
needs to be a mapping, between number and identifier string, which 
te-types ignores.  YANG enumeration at least can document the mapping.

And for any new value, a new identifier string is required.  I see one 
I-D devolving that action to IANA; wrong, IMHO, outside their remit.

Tom Petch

p.s. the revised te-types needs work.  It lacks several dozen references 
and needs action by IANA.

> [/Italo Busi]
>
>> Politically, the IPR rules of the IETF allow you to go ahead and make an IANA-
>> maintained module but I find such behaviour not just discourteous but likely
>> to induce errors.  If this is to progress, then it should be in the PCE WG with
>> their active support and technical input.
>>
>> For example, association-type in IANA has an entry such as
>> 5 Double-sided Bidirectional LSP Association.
>> This is useless for YANG.  YANG is character-oriented and the nodes in
>> RFC8776 are identity.  To identify entries by numeric value, you should use
>> enumeration not identity and change RFC8776, teas-te, and perhaps all the
>> modules that augment it, to suit.  This has added value with change control.
>> Anyone can add anything anywhere to an identity.  This is an advantage when
>> vendors may want to add their own values.  Here the PCEP registry is
>> Standards Action so the higher bar of enumeration, requiring a revised module,
>> is a better fit.
>>
>> For an identity, then that entry has to be turned into a unique, relevant, short
>> string.  Who has the technical skill to do that for Double-sided Bidirectional LSP
>> Association?
>>
>> I would not trust IANA to do that without expert input from e.g. the PCE WG
>> so it should be the PCE WG that does the related work.  I think that that could
>> involve adding a new column to the existing IANA registry which provides the
>> YANG identifying string and so provides the mapping between existing value
>> and string.
>>
>
> [Italo Busi]
> I agree with you that identities would be preferable than an enumeration to give more implementation flexibility
>
> The proposal to add a new column to the IANA registry looks good to me
> [\Italo Busi]
>
>> Tom Petch
>>
>>> Regards,
>>> Tarek (for the co-authors of draft-ietf-teas-yang-te)
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Teas mailing list
>>> Teas@ietf.org
>>> https://www.ietf.org/mailman/listinfo/teas
>>>
>>
>
> .
>