[yang-doctors] Re: [netmod] Yangdoctors last call review of draft-ietf-netmod-system-config-06
Michal Vasko <mvasko@cesnet.cz> Mon, 17 June 2024 13:31 UTC
Return-Path: <mvasko@cesnet.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 E2340C1D6FC4; Mon, 17 Jun 2024 06:31:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.439
X-Spam-Level:
X-Spam-Status: No, score=-1.439 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_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=cesnet.cz
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 RSuK5nuLF0Zx; Mon, 17 Jun 2024 06:31:25 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [IPv6:2001:718:ff05:10b::237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 30BCBC151068; Mon, 17 Jun 2024 06:31:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cesnet.cz; s=office2-2020; t=1718631075; bh=atr8rX6XUCcGGsY4N0Nj3CTbwpRNmfFRQooTFJVXpPk=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=bZH3+Utapbq6f2TpUA9uECa6/P1ajRIuxJ3U/d+1ct/m5qGfWZDk6lcivcxcWNZVX XQnAWPbzwA5YmkKwiLBXrV824cnhXIO4CRkWQV/f+qnquxWvczpR+u/cictIxfRq1o Kn8I50bek7dAwi/DWSdpNM+/8eY53HcRHWOmKFaZKd3VjFsx5uU/8Sz1blbwt7cAlN 6hf5sVbLjibjvX9vzzUebDTWZftuot3v0cdgSc+0tVLgkyPX99NoT+HjKqfoaz514K GMiSuCPUaEELtWlpRrcckYovG7rI52c1sr1/aVJNkcSfD3Vcp9+39A/VtVwSVMGBhO LX3iQEITwZFuQ==
Received: from [IPV6:2001:67c:1220:80c:d5:cbf8:37ba:2b19] (unknown [IPv6:2001:67c:1220:80c:d5:cbf8:37ba:2b19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by office2.cesnet.cz (Postfix) with ESMTPSA id EDE71118007D; Mon, 17 Jun 2024 15:31:12 +0200 (CEST)
Message-ID: <2100b77c-b495-406b-9334-a5edfc76f8c1@cesnet.cz>
Date: Mon, 17 Jun 2024 15:31:08 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: "maqiufang (A)" <maqiufang1@huawei.com>, "mohamed.boucadair@orange.com" <mohamed.boucadair@orange.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
References: <171827429448.18522.14394499042657937658@ietfa.amsl.com> <DU2PR02MB1016071E8ABBF0B6DFB14595988C12@DU2PR02MB10160.eurprd02.prod.outlook.com> <a5147478b4664a88aceadeba51d1e946@huawei.com>
Content-Language: en-US
From: Michal Vasko <mvasko@cesnet.cz>
In-Reply-To: <a5147478b4664a88aceadeba51d1e946@huawei.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="------------ms090602070804060905040803"
Message-ID-Hash: P54LVDV6Y2Z5JJRQ66BJYROQSH4ZDLFH
X-Message-ID-Hash: P54LVDV6Y2Z5JJRQ66BJYROQSH4ZDLFH
X-MailFrom: mvasko@cesnet.cz
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-yang-doctors.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "draft-ietf-netmod-system-config.all@ietf.org" <draft-ietf-netmod-system-config.all@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [yang-doctors] Re: [netmod] Yangdoctors last call review of draft-ietf-netmod-system-config-06
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/8-u0qG0gH_cD-jnaGoqHS1znSGU>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Owner: <mailto:yang-doctors-owner@ietf.org>
List-Post: <mailto:yang-doctors@ietf.org>
List-Subscribe: <mailto:yang-doctors-join@ietf.org>
List-Unsubscribe: <mailto:yang-doctors-leave@ietf.org>
Hi Quifang, I have parsed all the example YANG modules and their data files by yanglint, which did not produce any warnings nor errors, so it seems fine now. Regards, Michal On 17. 6. 2024 14:27, maqiufang (A) wrote: > Hi, Med and Michal, > > Thanks for your review, the authors have submitted a new version (https://datatracker.ietf.org/doc/html/draft-ietf-netmod-system-config-07) to resolve the nits you raised below, together with some other updates received from the WG. Please review the diff (https://author-tools.ietf.org/iddiff?url1=draft-ietf-netmod-system-config-06&url2=draft-ietf-netmod-system-config-07&difftype=--html) and let us know if you have further comments. Thanks a lot! > > Best Regards, > Qiufang > > -----Original Message----- > From: mohamed.boucadair@orange.com [mailto:mohamed.boucadair@orange.com] > Sent: Thursday, June 13, 2024 7:25 PM > To: Michal Vaško <mvasko@cesnet.cz>; yang-doctors@ietf.org > Cc: draft-ietf-netmod-system-config.all@ietf.org; last-call@ietf.org; netmod@ietf.org > Subject: RE: [netmod] Yangdoctors last call review of draft-ietf-netmod-system-config-06 > > Hi all, > > On this one: > >> - all 'local-as' and 'peer-as' nodes are uint32, so in JSON encoding >> numbers should be used instead of strings > Even if this an example, the authors may consider using "inet:as-number" rather than uint32. > > As I'm there, > > (1) > > the name of this leaf is weird: > > leaf name { > type inet:ip-address; > } > > I would change the name. > > (2) I would delete from the description of the ietf-system-datastore module: > > The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', > 'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', > 'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document > are to be interpreted as described in BCP 14 (RFC 2119) > (RFC 8174) when, and only when, they appear in all > capitals, as shown here."; > > (3) Please fix this part in the IANA cons: > > OLD: > name: ietf-system-datastore > prefix: sys > > NEW: > name: ietf-system-datastore > prefix: sysds > > (4) Security cons: Please use the sec template in both subsections > > For example, > > CURRENT: > The Network Configuration Access Control Model (NACM) [RFC8341] > provides the means to restrict access for particular NETCONF users to > a preconfigured subset of all available NETCONF protocol operations > and content. > > Does not mention RESTCONF. > > I think other para of the template should make it to these sections. > > Also, you may start each subsection by indicating the name of the module instead of "The YANG module defined in this document" because two modules are defined in the doc. > > Hope this helps. > > Cheers, > Med > >> -----Message d'origine----- >> De : Michal Vaško via Datatracker <noreply@ietf.org> Envoyé : jeudi 13 >> juin 2024 12:25 À : yang-doctors@ietf.org Cc : >> draft-ietf-netmod-system-config.all@ietf.org; last- call@ietf.org; >> netmod@ietf.org Objet : [netmod] Yangdoctors last call review of >> draft-ietf- >> netmod-system-config-06 >> >> >> Reviewer: Michal Vaško >> Review result: Ready with Nits >> >> This is my yang-doctor review of draft-ietf-netmod-system-config, >> which includes 2 small YANG modules, in addition to a few example >> modules. >> >> ietf-system-datastore: >> - small module with a single identity, no issues >> >> ietf-netconf-resolve-system: >> - module with similar simple augments to standard ietf-netconf and >> ietf-netconf-nmda modules, no issues >> >> As for the example YANG modules and data, there are a few nits: >> >> example-acl: >> - leaf-list application - path is not indented >> >> Section 8.2 BGP examples: >> - 'inet:port' type does not exist in the latest ietf-inet-types >> (2013) YANG module, only 'port-number' - all 'local-as' and 'peer-as' >> nodes are uint32, so in JSON encoding numbers should be used instead >> of strings - 'local-port' is using uint16 type so in JSON encoding >> numbers should be used instead of strings >> >> Finally, the examples and their data are using YANG snippets and data >> without namespaces or module names, which may be fine for illustration >> purposes but possibly confusing. >> >> >> _______________________________________________ >> netmod mailing list -- netmod@ietf.org To unsubscribe send an email to >> netmod-leave@ietf.org > ____________________________________________________________________________________________________________ > 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.
- [yang-doctors] Yangdoctors last call review of dr… Michal Vaško via Datatracker
- [yang-doctors] Re: [netmod] Yangdoctors last call… mohamed.boucadair
- [yang-doctors] Re: [netmod] Yangdoctors last call… maqiufang (A)
- [yang-doctors] Re: [netmod] Yangdoctors last call… Michal Vasko
- [yang-doctors] Re: [netmod] Yangdoctors last call… mohamed.boucadair
- [yang-doctors] Re: [netmod] Yangdoctors last call… maqiufang (A)
- [yang-doctors] Re: [netmod] Yangdoctors last call… mohamed.boucadair