Re: [Teas] WG adoption poll: draft-busi-teas-te-types-update-02

Italo Busi <Italo.Busi@huawei.com> Wed, 22 June 2022 13:53 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 5F4D6C159488; Wed, 22 Jun 2022 06:53:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-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
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 GRC-g6KSQCAV; Wed, 22 Jun 2022 06:52:59 -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 79C5EC157B5B; Wed, 22 Jun 2022 06:52:59 -0700 (PDT)
Received: from fraeml715-chm.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4LSlCR14Pcz6H6m8; Wed, 22 Jun 2022 21:50:59 +0800 (CST)
Received: from fraeml715-chm.china.huawei.com (10.206.15.34) by fraeml715-chm.china.huawei.com (10.206.15.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 22 Jun 2022 15:52:58 +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; Wed, 22 Jun 2022 15:52:58 +0200
From: Italo Busi <Italo.Busi@huawei.com>
To: t petch <ietfa@btconnect.com>, Lou Berger <lberger@labn.net>, TEAS WG <teas@ietf.org>
CC: TEAS WG Chairs <teas-chairs@ietf.org>
Thread-Topic: [Teas] WG adoption poll: draft-busi-teas-te-types-update-02
Thread-Index: AQHYhiSnOQxR3/Kwg0WBLlVqW/MfBK1bbBfg
Date: Wed, 22 Jun 2022 13:52:57 +0000
Message-ID: <ef47a11987954cacb588f55b7afc8c44@huawei.com>
References: <69466e2f-b0cd-2a58-d0ba-7b18e731dde5@labn.net> <62B2DBFB.30205@btconnect.com>
In-Reply-To: <62B2DBFB.30205@btconnect.com>
Accept-Language: it-IT, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.48.217.107]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/H8RjBtCYYAHkJhSu-pkeW7nTFxU>
Subject: Re: [Teas] WG adoption poll: draft-busi-teas-te-types-update-02
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: Wed, 22 Jun 2022 13:53:01 -0000

Hi Tom,

> I recently reviewed teas-path-computation which is now slightly harder to
> follow.  It used to have encoding and switching in line, clear and obvious, but it
> was revised to import them as a grouping from teas-yang-te, making the I-D
> harder to follow.
>

I can see your concern about the readability when grouping are used. However you have spotted a case where we have faced the issue of not using a grouping: in an old version of path computation we had copied the encoding and switching definitions from ietf-te module (with the intention to have common definitions) and immediately went out of synch (achieving exactly the opposite of our intention) ...

Without using the grouping who is going to ensure that the same definitions in multiple YANG modules are being aligned?

IMHO, there is no perfect solution but the efforts to check and maintain alignment or to implement different variations would by far overcome the efforts of reading YANG code using grouping

Moreover, the grouping is already defined in ietf-te YANG model and used in the path computation YANG model.
Not moving it to ietf-te-types (as proposed in the draft) is not going to solve your concern about the readability of the YANG modules, but just causing additional troubles to those who wish to re-use it for other purposes and do not need to implement the ietf-te YANG model

Italo

> -----Original Message-----
> From: t petch <ietfa@btconnect.com>
> Sent: mercoledì 22 giugno 2022 11:08
> To: Lou Berger <lberger@labn.net>; TEAS WG <teas@ietf.org>
> Cc: TEAS WG Chairs <teas-chairs@ietf.org>
> Subject: Re: [Teas] WG adoption poll: draft-busi-teas-te-types-update-02
> 
> On 16/06/2022 12:53, Lou Berger wrote:
> > Hello,
> >
> > This email begins a 2-week adoption poll for:
> > https://datatracker.ietf.org/doc/draft-busi-teas-te-types-update/
> >
> > No IPR has been disclosed on this document
> 
> This is a large I-D.  It tells me that the changes from the RFC8776 are small, two
> in number, but I doubt that that will reduce the work needed to make it an
> RFC.  The RFC Editor will likely still go through it comma by comma while ADs
> who were not on the IESG when RFC8776 was approved will likely review it
> line-by-line (and find some further changes to be made).
> 
> One change is to add a grouping for encoding and switching.  This is presented
> as a step forward, a view I find debatable.  Groupings make data harder to find.
> Groupings in a foreign document make data much harder to find.  They may
> make sense when there is a well-defined 'something', e.g. worthy of an object
> class in a database.  I do not see that here, rather something that will save
> some authors a few lines of code.
> 
> I recently reviewed teas-path-computation which is now slightly harder to
> follow.  It used to have encoding and switching in line, clear and obvious, but it
> was revised to import them as a grouping from teas-yang-te, making the I-D
> harder to follow.
> 
> You are now proposing a third way to implement this concept, a grouping in
> teas-te-types.
> 
> I see a lot of work for a step backwards and so oppose adoption.
> 
> Tom Petch
> 
> > Please voice your support or objections to adoption on the list by the
> > end of the day (any time zone) July 1.
> >
> > Thank you,
> > Lou (as Co-chair)
> >
> > _______________________________________________
> > Teas mailing list
> > Teas@ietf.org
> > https://www.ietf.org/mailman/listinfo/teas
> > .
> >
>