Re: [OPSAWG] Yangdoctors last call review of draft-ietf-opsawg-l2nm-07

mohamed.boucadair@orange.com Tue, 05 October 2021 09:06 UTC

Return-Path: <mohamed.boucadair@orange.com>
X-Original-To: opsawg@ietfa.amsl.com
Delivered-To: opsawg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6BCB13A093B; Tue, 5 Oct 2021 02:06:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=orange.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lVzVxhRHIhHI; Tue, 5 Oct 2021 02:06:13 -0700 (PDT)
Received: from relais-inet.orange.com (relais-inet.orange.com [80.12.70.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E9A863A0938; Tue, 5 Oct 2021 02:06:09 -0700 (PDT)
Received: from opfednr05.francetelecom.fr (unknown [xx.xx.xx.69]) (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 opfednr26.francetelecom.fr (ESMTP service) with ESMTPS id 4HNsBm40jBzyd2; Tue, 5 Oct 2021 11:06:08 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.com; s=ORANGE001; t=1633424768; bh=cCPgGya/Rx0SEO/Gr5CvF3Og68FTvLVsbDfBOQU7jCs=; h=From:To:Subject:Date:Message-ID:Content-Type: Content-Transfer-Encoding:MIME-Version; b=YLzjy3FxsyPZ2nigdRQMcNpXjOjnUJBEUSsNf9yDZH/NO2nccB/nQ51p4YvK4ughQ U8cEFP+4HqGrpX6LXkI5oQ/pVmxPzFe32PBBBeR0mxDngZwFn/lfI0r+ZKJOsV5H80 Jfwx4AtDDGQlvSqwdYEcQRl8MpKB3pYCBUwsB7h7+ffeGF6WREN0aPWdt51D3QLPIs PUGZ10Oy351orabr98eoqmz13JSWf8FQ2MWtgQ/Usp7A8M6Cz0YGx8IS6uGnxN4qHt Vdyr0hkziAl8lx3wrS13GzWo2vblZz2kBOoJ0i653dqW3ExiaVMzX0yaMKiXai3bKK 4FEzWBP8BMrGA==
Received: from Exchangemail-eme6.itn.ftgroup (unknown [xx.xx.13.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by opfednr05.francetelecom.fr (ESMTP service) with ESMTPS id 4HNsBm25DBzyQD; Tue, 5 Oct 2021 11:06:08 +0200 (CEST)
From: mohamed.boucadair@orange.com
To: Ladislav Lhotka <ladislav.lhotka@nic.cz>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
CC: "draft-ietf-opsawg-l2nm.all@ietf.org" <draft-ietf-opsawg-l2nm.all@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>, "opsawg@ietf.org" <opsawg@ietf.org>
Thread-Topic: Yangdoctors last call review of draft-ietf-opsawg-l2nm-07
Thread-Index: AQHXub+Psay6wmluI0eIDyJoJpEmHKvEDRKg
Content-Class:
Date: Tue, 05 Oct 2021 09:06:07 +0000
Message-ID: <17592_1633424768_615C1580_17592_178_9_787AE7BB302AE849A7480A190F8B933035413738@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
References: <163342103815.25660.17600005180075521549@ietfa.amsl.com>
In-Reply-To: <163342103815.25660.17600005180075521549@ietfa.amsl.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_Enabled=true; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_SetDate=2021-10-05T08:09:22Z; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_Method=Privileged; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_Name=unrestricted_parent.2; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_SiteId=90c7a20a-f34b-40bf-bc48-b9253b6f5d20; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_ActionId=cdffed99-14e6-4b3b-af14-0c287978c537; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_ContentBits=0
x-originating-ip: [10.114.13.247]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/waUhfsJzfHZ2gmpe7HCBrhPzURE>
Subject: Re: [OPSAWG] Yangdoctors last call review of draft-ietf-opsawg-l2nm-07
X-BeenThere: opsawg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OPSA Working Group Mail List <opsawg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/opsawg>, <mailto:opsawg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/opsawg/>
List-Post: <mailto:opsawg@ietf.org>
List-Help: <mailto:opsawg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/opsawg>, <mailto:opsawg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Oct 2021 09:06:19 -0000

Hi Lada, 

Many thanks for the careful review.

Please see inline. 

Cheers,
Med

> -----Message d'origine-----
> De : Ladislav Lhotka via Datatracker <noreply@ietf.org>
> Envoyé : mardi 5 octobre 2021 10:04
> À : yang-doctors@ietf.org
> Cc : draft-ietf-opsawg-l2nm.all@ietf.org; last-call@ietf.org;
> opsawg@ietf.org
> Objet : Yangdoctors last call review of draft-ietf-opsawg-l2nm-07
> 
> Reviewer: Ladislav Lhotka
> Review result: Ready with Issues
> 
> **** General comments
> 
> The ietf-l2vpn-ntw module with about 400 data nodes represents an
> impressive amount of work. Its size, however, raises some concerns in
> terms of manageability. For example, if the ITU-T Y-1731 recommendation
> ever gets updated (I don't know how likely this is), the module will have
> to be updated.
> I would therefore suggest to consider factoring out such parts into
> separate modules.

[Med] We have already made an effort to factorize many items in:
* I-D.ietf-vpn-common
* two separate IANA-maintained modules

One candidate "externalization" that I think would work to address your concern is to move ethernet-segments (and esi types) into a separate module. 

I have a preference to work in that direction vs. touching the OAM part. 

Would that solve your concern? Thank you. 

> 
> Apart from that, the YANG modules are in a good shape.

[Med] Thanks.

> 
> **** Specific comments
> 
> ***** Instance data examples
> 
> The appendices A.1--A.6 contain examples of instance data for six
> different use cases. This would be laudable, but only if the examples were
> valid according to the data model schema. It seems that the examples were
> not updated during the data model development.

[Med] Many thanks for looking into these. Will check and fix as appropriate. 

 It is necessary to validate
> the examples using the available tools such as yanglint or Yangson, and
> correct all errors. Here is a non-exhaustive list of problems in the
> example of appendix A.1: - The top-level container "ietf-l2vpn-ntw:l2vpn-
> ntw" is missing, which complicates the use of validation tools.

[Med] We don't include the top-level as we assumed this will be included in the request URI (RESTCONF).

 - "vpn-
> service" list contains "vpn-description" leaf, not "description".

[Med] ACK

 -
> "global-parameters-profile" list contains "svc-mtu" leaf, not "mtu".

[Med] ACK

 - The
> value of "global-parameters-profile/rd-suffix" should be uint16, not
> string (e.g. 1 rather than "1").

[Med] ACK. This one was already fixed in our local copy as you can see in this commit: https://github.com/IETF-OPSAWG-WG/lxnm/commit/8cd6863c52e956ccd490df1a002d786d6de8628f#diff-17b3d33597c20b9786dd2dbedebdbcdb61e16e366431e0411761467ec8aae248. 

 Similarly, "vpn-target/id" is uint8, not
> string.

[Med] This one was already fixed in -07:

                   "vpn-target": [
                     {
                       "id": 1,


 - Container "vpn-targets" encapsulating "vpn-target" list doesn't
> exist in the schema.

[Med] ACK


 - "vpn-target/route-targets" is defined as a list,
> but its instance value is given as ["0:65550:1"] (it probably used to be a
> leaf-list).

[Med] I confirm. We added the list thing and explained in the vpn-common the reason why we are using a list not a leaf-lsit. 

> - Inside "vpn-service" list, the schema defines "vpn-nodes" container
> encapsulating "vpn-node" list. This container is missing in the example.

[Med] ACK.

> 
> ***** RFC 8792 line folding
> 
> My reading of sec. 7.1.1 in RFC 8792 is that each text chunk that uses the
> single backslash strategy should be preceded with the header
> 
> NOTE: '\' line wrapping per RFC 8792

[Med] Added this header, when appropriate: 

=============== NOTE: '\' line wrapping per RFC 8792 ================

> 
> **** Nits
> 
> - The naming of groupings is inconsistent: "cfm-802-grouping" versus e.g.
> "y-1731". I'd suggest to remove the "-grouping" suffix in the former.
> 

[Med] Fixed in my local copy. 

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.