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

Italo Busi <Italo.Busi@huawei.com> Mon, 16 May 2022 17:07 UTC

Return-Path: <Italo.Busi@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 24516C1D5AAB for <teas@ietfa.amsl.com>; Mon, 16 May 2022 10:07:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 CybIhOBzKM5p for <teas@ietfa.amsl.com>; Mon, 16 May 2022 10:07:55 -0700 (PDT)
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 ECDFBC1D5AB4 for <teas@ietf.org>; Mon, 16 May 2022 10:07:54 -0700 (PDT)
Received: from fraeml709-chm.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4L25FG6Msmz6GD7v; Tue, 17 May 2022 01:04:02 +0800 (CST)
Received: from fraeml715-chm.china.huawei.com (10.206.15.34) by fraeml709-chm.china.huawei.com (10.206.15.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 16 May 2022 19:07:43 +0200
Received: from fraeml715-chm.china.huawei.com ([10.206.15.34]) by fraeml715-chm.china.huawei.com ([10.206.15.34]) with mapi id 15.01.2375.024; Mon, 16 May 2022 19:07:43 +0200
From: Italo Busi <Italo.Busi@huawei.com>
To: Tarek Saad <tsaad.net@gmail.com>, "teas@ietf.org" <teas@ietf.org>
CC: Adrian Farrel <adrian@olddog.co.uk>
Thread-Topic: [Teas] IANA managed modules for TE object types
Thread-Index: AQHYZvM/H0+qGNA0vUS5jdlyeDLcOq0dJeCg
Date: Mon, 16 May 2022 17:07:43 +0000
Message-ID: <3a462ac728014a51a2d71dba1cc2f9ee@huawei.com>
References: <DS0PR19MB6501657ADCF336B0C1CB3957FCCA9@DS0PR19MB6501.namprd19.prod.outlook.com>
In-Reply-To: <DS0PR19MB6501657ADCF336B0C1CB3957FCCA9@DS0PR19MB6501.namprd19.prod.outlook.com>
Accept-Language: it-IT, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.81.206.176]
Content-Type: multipart/alternative; boundary="_000_3a462ac728014a51a2d71dba1cc2f9eehuaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/WXcw8q7sqYkFBbF-R5KfdBp00AI>
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: Mon, 16 May 2022 17:07:59 -0000

Hi Tarek, all,

If the intention is to define identities or enumerations that fully matches the content of a protocol registry maintained by IANA, I agree that the definition of IANA-maintained modules is the best solution since this approach simplifies the maintenance of the YANG module as well as ensures alignment between the protocol registry and the YANG module

However, I am not sure this was the original intention ...

For the error reasons, there are some error reasons which are:

  1.  applicable only to the ietf-te YANG model and not to PCEP (e.g., path-computation-error-no-topology);
  2.  technology-specific (e.g., No RWA constraints met);
  3.  match more than one PCEP numbers in order to hide the details of the underlay PCE architecture (e.g.,  path-computation-error-no-dependent-server)

Case a) can be supported also defining identities for the PCEP registry in an IANA-maintained module and the additional identities applicable only to ietf-te YANG model either within the ietf-te or within the ietf-te-types YANG modules

Case c) can be handled like case a) although not using an IANA-maintained module would allow defining a hierarchy between the generalized and the specific error reasons (not sure this is really needed and this has not been done in current ietf-te YANG model)

For case b) it would not be possible defining the technology-specific identifies within technology-specific modules: the IANA-maintained module will contain both common and technology-specific error reasons

I have checked on github the notes from previous discussions and noticed that at the beginning we were planning to do some cherry-picking from the IANA registry but at the end all errors have been added (not clear why):

https://github.com/tsaad-dev/te/issues/54

It seems that this change has also created a duplication between the path-computation-error-pce-unavailable and the path-computation-error-no-server identities

My suggestion is to review and clean-up the current definitions of the error reasons and to decide whether it is desired or not to be fully aligned with the PCEP numbers assigned by IANA. Should we re-open issue #54 in github or open a new issue?

For the association types, it seems that the identities defined in RFC 8776 are aligned with the GMPLS association registry (https://www.iana.org/assignments/gmpls-sig-parameters/gmpls-sig-parameters.xhtml#gmpls-sig-parameters-9) rather than with the PCEP association registry (https://www.iana.org/assignments/pcep/pcep.xhtml#association-type-field), with the only exceptions of the "Bypass Summary FRR Ready Association (B-SFRR-Ready)" and "Bypass Summary FRR Active Association (B-SFRR-Active)" values which have been assigned by IANA after RFC 8776 (in RFC 8796) and which also looks like technology-specific

However, the ietf-te YANG module extends the association types defined in RFC 8776 with the association-type-diversity defined in RFC 8880 and which seems registered by IANA within the PCEP association registry ...

Also here my suggestion is to review and clean-up the current definitions of the error reasons and to decide whether it is desired or not to be fully aligned with the PCEP and/or GMPLS numbers assigned by IANA

My 2 cents for further consideration

Italo

From: Tarek Saad <tsaad.net@gmail.com>
Sent: venerdì 13 maggio 2022 19:59
To: teas@ietf.org
Cc: Adrian Farrel <adrian@olddog.co.uk>
Subject: [Teas] IANA managed modules for TE object types

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.

Regards,
Tarek (for the co-authors of draft-ietf-teas-yang-te)