Re: [yang-doctors] Yangdoctors last call review of draft-ietf-opsawg-l2nm-07
Ladislav Lhotka <ladislav.lhotka@nic.cz> Tue, 05 October 2021 10:25 UTC
Return-Path: <ladislav.lhotka@nic.cz>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 24B3F3A09E8;
Tue, 5 Oct 2021 03:25:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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, NICE_REPLY_A=-0.001,
SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001]
autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key)
header.d=nic.cz
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 F1ZQNv5G_RnE; Tue, 5 Oct 2021 03:25:27 -0700 (PDT)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400])
(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 E80EA3A09DF;
Tue, 5 Oct 2021 03:25:25 -0700 (PDT)
Received: from [IPV6:2001:1488:fffe:6:a88f:7eff:fed2:45f8] (unknown
[IPv6:2001:1488:fffe:6:a88f:7eff:fed2:45f8])
by mail.nic.cz (Postfix) with ESMTPSA id 0DB6A147E0B;
Tue, 5 Oct 2021 12:25:23 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default;
t=1633429523; bh=eKEv6nzC5TS7KU6WDI0nWXqqgADEyrYHzVFwM6bIcD0=;
h=Date:To:From;
b=ASRade+U2rkbCuLl+vSZWXHSANN7AhGWdzS9WMl32aOCkakzDb87XAB4rOFltX9lG
KkKf8IA+A3WqeYhpg0Uo7BjKtZF9dVm/SjJ0Bi3SzG4XDg5XI8CY2q0g7O68VmrIm0
8Wk6P/cobRAZjlYNSCskiGyMwAgW1ktgKxdAMsvs=
Message-ID: <94af67f1-62f8-58bd-eea8-2ec35d2c8181@nic.cz>
Date: Tue, 5 Oct 2021 12:25:22 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.1.2
Content-Language: en-US
To: mohamed.boucadair@orange.com,
"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>
References: <163342103815.25660.17600005180075521549@ietfa.amsl.com>
<17592_1633424768_615C1580_17592_178_9_787AE7BB302AE849A7480A190F8B933035413738@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
From: Ladislav Lhotka <ladislav.lhotka@nic.cz>
Organization: CZ.NIC
In-Reply-To: <17592_1633424768_615C1580_17592_178_9_787AE7BB302AE849A7480A190F8B933035413738@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: clamav-milter 0.102.2 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/5Wev11D3sbKOWDOEb_Y-TqiEKFA>
Subject: Re: [yang-doctors] Yangdoctors last call review of
draft-ietf-opsawg-l2nm-07
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>,
<mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>,
<mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Oct 2021 10:25:34 -0000
Hi Med, On 05. 10. 21 11:06, mohamed.boucadair@orange.com wrote: > 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. I think it is up to the authors and WG to consider what to do, maybe nothing. I am not an expert in this domain, so I have no strong opinion, but it is certainly better to think twice because the module structure cannot be easily changed afterwards. > >> >> 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. I discovered all these issues with Yangson. If you want, I can send you my testing environment. > > 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). I understand, but in this case it is only two extra lines. In fact, the example in A.3 includes this top-level container, although with missing namespace (it should be "ietf-l2vpn-ntw:l2vpn-ntw"). Cheers, Lada > > - "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. > -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67
- [yang-doctors] Yangdoctors last call review of dr… Ladislav Lhotka via Datatracker
- Re: [yang-doctors] Yangdoctors last call review o… mohamed.boucadair
- Re: [yang-doctors] Yangdoctors last call review o… Ladislav Lhotka
- Re: [yang-doctors] Yangdoctors last call review o… Joe Clarke (jclarke)