Re: [Teas] WG Last Call: draft-ietf-teas-actn-vn-yang-19 editorial

Dhruv Dhody <dhruv.ietf@gmail.com> Fri, 22 December 2023 09:42 UTC

Return-Path: <dhruv.ietf@gmail.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 BDC38C14F619; Fri, 22 Dec 2023 01:42:35 -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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=gmail.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 XtUP443kuJWZ; Fri, 22 Dec 2023 01:42:32 -0800 (PST)
Received: from mail-ua1-x92a.google.com (mail-ua1-x92a.google.com [IPv6:2607:f8b0:4864:20::92a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E3789C14F5E7; Fri, 22 Dec 2023 01:42:31 -0800 (PST)
Received: by mail-ua1-x92a.google.com with SMTP id a1e0cc1a2514c-7cbe98278f8so545812241.1; Fri, 22 Dec 2023 01:42:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703238151; x=1703842951; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=RqblBjQMETPlyK8B6MlKsLh5Amm9tc1YMqLXgQlYVsc=; b=YFkoDE9xhjAngdYnGisbfgts7W6kNEgFNw0injq3IHr9SiIaPjhjXpSp+Tc78luwqX iJQtUckoqvA9TqA6dUcCoBFcO1YQ9a3zv4etBafmbnzXWo/4mcTZEpFfj3GKXjSED0Ea KM7JuiR74j7COEV0USo0pkI4gTTxtFdKs84pGkVuzL4TO3rwGiagpjh3z3aOyue1o4Qb B9ndEFfR/Mafy3jzoSxYcTQyjlLdJR25ywEn5baLxt2JDEurj9CAmgnfPV0vhTqMum6e VW/+q7CqoTxmt0kk7AyqoXuCwgfdB+2yyqJXBFVqPEy+igIlWHcdXSfXt+R0cuB+9doY 0jfw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703238151; x=1703842951; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RqblBjQMETPlyK8B6MlKsLh5Amm9tc1YMqLXgQlYVsc=; b=OVL9v7KWh3+xVNX2kYN6Bpq1jZwq5YOfFIgrSXqUf5BlxBFPZy/gb2aT17+aq1ok+u ZNQvQ0guJ0TuNdXhqYkmFMQRtQ50fIzLlFJmjGP1kiEMlLQIHz9/t9FRvDFoWN8VYfwl 9N+oPScJGBbtesWLfGaXr5pyf8Wt3UDZM49GkTXF2bhLEFm8AweDdlOsxhR6qtOjQSY7 oKd6YbsWIPwcW+TJ0CBW+oGpWv/lKk7uGwcVrOghTWYOdTygYqzSO1khQviinuFXlGvt VVaBIQXiOKScwuQCboNMCm8VhcSrZ78i06MfQRrNFYjSnpv48uArSxTMZKvLlfj37gQn 6KGw==
X-Gm-Message-State: AOJu0YxpniROKPloDgLEd5EhRoQXlTVO07/TjDn3v5owBdbIfsn2K8v7 bgIzPO7nJmcUFOvqjyu3GDreNc2CHjjNjgNc6wE=
X-Google-Smtp-Source: AGHT+IGLQH3kvM5ojH78TtmBKexp/zysD/fGo35vgnWDcMsPxtZtLYQlpMpMMvZtMnbimXGj05zwYOlq/rQb83XV3k4=
X-Received: by 2002:ac5:c5c1:0:b0:4b6:cc32:1b3b with SMTP id g1-20020ac5c5c1000000b004b6cc321b3bmr477398vkl.32.1703238150736; Fri, 22 Dec 2023 01:42:30 -0800 (PST)
MIME-Version: 1.0
References: <CA+YzgTvKRaj0mc-Uu_PR=a3f3FdQm8i4iWDVs-ngEgDz1JWYYA@mail.gmail.com> <AM0PR07MB54905E4FFA0D92FEAD94989491D7A@AM0PR07MB5490.eurprd07.prod.outlook.com> <DB7PR07MB5546035A65E303BD6EEB6B7DA2D7A@DB7PR07MB5546.eurprd07.prod.outlook.com> <DU2PR02MB10160C7A9F099726D6F37BD8888D6A@DU2PR02MB10160.eurprd02.prod.outlook.com> <DB7PR07MB5546B2FC6D254F497F0ED909A2D5A@DB7PR07MB5546.eurprd07.prod.outlook.com> <DU2PR02MB10160B97524C1605C7D4946EF88D5A@DU2PR02MB10160.eurprd02.prod.outlook.com> <DB7PR07MB5546FB1A949C9A7EE0A7BD58A2D4A@DB7PR07MB5546.eurprd07.prod.outlook.com> <4e2d47d0281544b1bd09651fba77c13c@huawei.com> <CAB75xn4THb9qgQq3A-+EGvZ0sZBd4zPZrxp8evNWBRYCisWiEw@mail.gmail.com> <AM6PR07MB55444F44630766D1778DEB29A2DEA@AM6PR07MB5544.eurprd07.prod.outlook.com> <AM6PR07MB5544D6F7823FA742E1135F09A2DEA@AM6PR07MB5544.eurprd07.prod.outlook.com>
In-Reply-To: <AM6PR07MB5544D6F7823FA742E1135F09A2DEA@AM6PR07MB5544.eurprd07.prod.outlook.com>
From: Dhruv Dhody <dhruv.ietf@gmail.com>
Date: Fri, 22 Dec 2023 15:11:54 +0530
Message-ID: <CAB75xn5F4TGVo7y4UReWVc2zdxg6+uvfm93eOgpdo2=88eEuKA@mail.gmail.com>
To: tom petch <ietfa@btconnect.com>
Cc: Italo Busi <Italo.Busi=40huawei.com@dmarc.ietf.org>, "mohamed.boucadair@orange.com" <mohamed.boucadair@orange.com>, "Sergio Belotti (Nokia)" <sergio.belotti@nokia.com>, Vishnu Pavan Beeram <vishnupavan@gmail.com>, TEAS WG <teas@ietf.org>, TEAS WG Chairs <teas-chairs@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f15195060d160838"
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/0OSvDd0x4iqhC3FPEkfJuuTDqnk>
Subject: Re: [Teas] WG Last Call: draft-ietf-teas-actn-vn-yang-19 editorial
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, 22 Dec 2023 09:42:35 -0000

Hi Tom,

I have made an update -22

https://author-tools.ietf.org/iddiff?url2=draft-ietf-teas-actn-vn-yang-22

On Wed, Oct 25, 2023 at 4:48 PM tom petch <ietfa@btconnect.com> wrote:

> Some more straightforward comments on -21 for you to consider.
>
> 'referred' appears in several places.  This looks right in its first
> appearance in s.2.1 and in s.8 but elsewhere  I suspect that 'referenced'
> is intended.
>
> Updated to reference as needed, and as you pointed out kept it as
referred where it made sense!



> s.3.1
> the first line of the diagram is indented one character
> /and update/and updates/
> {which has been bugging me for years)
>
>
Fixed!



> s.6
> container underlay
> /Segement/Segment/
>
>
Ack!



> vn-id
> unique but within what scope?  I see users get this sort of thing wrong,
> usually underestimating the scope and then getting duplication and so
> confusion.  I think that unique should always have a some indication of
> scope
>
>
Updated to - "An identifier unique within the scope of the entity that
controls the VN."



> Appendix A
> /this YANG model rely/this YANG module relies/
> [[RFC8776] define/[RFC8776] defines/
>
> HTH
>
>
Thanks for nits!

Happy Holidays!

Dhruv



> Tom Petch
> ________________________________________
> From: Teas <teas-bounces@ietf.org> on behalf of tom petch <
> ietfa@btconnect.com>
> Sent: 25 October 2023 12:00
> To: Dhruv Dhody; Italo Busi
> Cc: mohamed.boucadair@orange.com; Sergio Belotti (Nokia); Vishnu Pavan
> Beeram; TEAS WG; TEAS WG Chairs
> Subject: Re: [Teas] WG Last Call: draft-ietf-teas-actn-vn-yang-19
>
> From: Dhruv Dhody <dhruv.ietf@gmail.com>
> Sent: 23 October 2023 06:41
>
> Based on the example of node-id that I have seen in the wild (for instance
> here in ODL -
> https://docs.opendaylight.org/projects/bgpcep/en/latest/bgp/bgp-user-guide-topology-provider.html),
> the use of dotted-quad string for URI is common in implementations.
>
> But if I look at the ABNF of URI at
> https://datatracker.ietf.org/doc/html/rfc3986#appendix-A, that is
> incorrect. And YANG tools are unlikely to flag it.
>
> I am happy to make the change that Med suggests, I am also open to any
> guidance from netmod/YANGdoctors if they have it.
>
> <tp>
>
> Meanwhile I have looked at -21 and think that it is in worse shape, with
> more errors than-19.
>
> It is TE where the ants' nest of ID and RFC gets higher by the day and
> ever more obtuse.  I just spent an hour trying to identify the syntax of
> the types  used in s.7.2 and with several can see that they are wrong but
> with others it is just too complicated to tell.
>
> As I said before, I assume that node-id and network-id come from RFC8345
> and so must be type uri; some now are, some are not - needs fixing.
>
> With the example being JSON it is much harder to see what is happening and
> very time consuming to track down the te types.  Some are now uri which I
> do not think that they should be, or at least need to be and making them so
> I think confusing.  Thus I believe topology-id is null or a restricted
> string not a URI.  The examples make it look identical to those that must
> be a URI; this may or not be valid but I think confusing.
>
> I have some editorial comments which I send separately.
>
> Tom Petch
> --
>
> And to answer Tom's original question, we need to include both node-id and
> "ietf-te-topology:te-node-id", and I tried to simplify things by using the
> same value for both and thus leading to the confusion that you had...
>
> --
>
> @ Med - Maybe I can sit with you during the IETF week/hackathon to sort
> out the yang validation via Yangson? I did a test with yanglint earlier...
>
> Thanks!
> Dhruv
>
>
>
>
>
>
> On Mon, Oct 23, 2023 at 4:11 AM Italo Busi <Italo.Busi=
> 40huawei.com@dmarc.ietf.org<mailto:40huawei.com@dmarc.ietf.org>> wrote:
> Tom, Med,
>