Re: [netmod] Reminder: WGLC - draft-ietf-netmod-yang-tree-diagrams
"Acee Lindem (acee)" <acee@cisco.com> Mon, 15 January 2018 15:20 UTC
Return-Path: <acee@cisco.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8F6FE12D867; Mon, 15 Jan 2018 07:20:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.53
X-Spam-Level:
X-Spam-Status: No, score=-14.53 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 AnuvsvHX9yIn; Mon, 15 Jan 2018 07:20:18 -0800 (PST)
Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8326712762F; Mon, 15 Jan 2018 07:20:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8778; q=dns/txt; s=iport; t=1516029618; x=1517239218; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=qDd29z5Ha/cq5pj5H9xZtoJaQlGYY7+okW/nwLXLDgg=; b=clfOPJ7r9LcSge5vL80CQ0MUVQr+1Yhs4bgtZcOY7kPL4mszQyTDLjwM j85bp8dN3K79HShPIfrfDnXqilgfHai/k51d9LuvHbkfRCWFYwKJCV+4u kVtFuDJ6GfsvHJIOXU63NwensSn1Ok/EIW92ObFHiX7q+tjM09PFD5m5w 4=;
X-IronPort-AV: E=Sophos;i="5.46,364,1511827200"; d="scan'208";a="346548912"
Received: from alln-core-5.cisco.com ([173.36.13.138]) by rcdn-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jan 2018 15:19:52 +0000
Received: from XCH-RTP-008.cisco.com (xch-rtp-008.cisco.com [64.101.220.148]) by alln-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id w0FFJqbS011679 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 15 Jan 2018 15:19:52 GMT
Received: from xch-rtp-015.cisco.com (64.101.220.155) by XCH-RTP-008.cisco.com (64.101.220.148) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Mon, 15 Jan 2018 10:19:51 -0500
Received: from xch-rtp-015.cisco.com ([64.101.220.155]) by XCH-RTP-015.cisco.com ([64.101.220.155]) with mapi id 15.00.1320.000; Mon, 15 Jan 2018 10:19:51 -0500
From: "Acee Lindem (acee)" <acee@cisco.com>
To: "Robert Wilton -X (rwilton - ENSOFT LIMITED at Cisco)" <rwilton@cisco.com>, Martin Bjorklund <mbj@tail-f.com>
CC: "netmod@ietf.org" <netmod@ietf.org>, "draft-ietf-netmod-yang-tree-diagrams@ietf.org" <draft-ietf-netmod-yang-tree-diagrams@ietf.org>
Thread-Topic: [netmod] Reminder: WGLC - draft-ietf-netmod-yang-tree-diagrams
Thread-Index: AQHTii5+kOM0Mut6PUiVQFAfLfsz8aN1UKKAgAAMI4CAAAfGAP//r52A
Date: Mon, 15 Jan 2018 15:19:51 +0000
Message-ID: <D682308B.EC613%acee@cisco.com>
References: <2cde8b64-0455-a513-4719-feb61c87a952@bogus.com> <d66db346-9ca8-c08d-ea25-4c239d265ad4@bogus.com> <66857af8-80b4-8c7c-f952-f04c3f2adaa7@cisco.com> <20180115.153933.1215610340924130656.mbj@tail-f.com> <9a7e9c47-c8bb-afdc-81d2-1799cfd635cf@cisco.com>
In-Reply-To: <9a7e9c47-c8bb-afdc-81d2-1799cfd635cf@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.116.152.198]
Content-Type: text/plain; charset="utf-8"
Content-ID: <71A4A216B75F4B45B479D4D8A44C9C14@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/m06J8olW9KdnJh3ccuE8PhxTVlY>
Subject: Re: [netmod] Reminder: WGLC - draft-ietf-netmod-yang-tree-diagrams
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Jan 2018 15:20:20 -0000
Hi Rob, On 1/15/18, 10:07 AM, "netmod on behalf of Robert Wilton -X (rwilton - ENSOFT LIMITED at Cisco)" <netmod-bounces@ietf.org on behalf of rwilton@cisco.com> wrote: >Hi Martin, > >All OK with me except where I have further comments/questions inline >below: > >On 15/01/2018 14:39, Martin Bjorklund wrote: >> Hi, >> >> Thanks for the review! Comments inline. >> >> Robert Wilton <rwilton@cisco.com> wrote: >>> Hi Lou, Martin >>> >>> I've done a quick review of draft -04. >>> >>> It looks well written to me. >>> >>> I have a spotted a few minor nits/questions. >>> >>> Section 1: >>> >>> (i) "Such diagrams are commonly used to provided " => "Such diagrams >>> are used to provide"? >> Ok. >> >>> (ii) "This document provides the syntax used in YANG Tree Diagrams." >>> => "This document describes the syntax used in YANG Tree Diagrams", or >>> if not "describes", perhaps "specifies"? >> I changed to "describes". >> >>> (iii) "common practice is include" => "common practice is to include" >> Ok. >> >>> Section 2: >>> (iv) Are the top level data nodes really offset by 4 spaces, or should >>> this be 2 spaces? The example in section 2, and section 4 seem to >>> differ here. The submodule example in Sec 2.1 looks like it is using >>> 2 spaces. >> It should be 4 spaces. I fixed the example in 2.1. >Hum, OK. Is this the right choice? > - It means that the tree is indented 2 spaces further than everything >else (e.g. groupings, augments, etc). > - YANG modules in RFC's already struggle with line length anyway, >hence wouldn't the use of 2 spaces give the model a bit more space. > >I also think that it would be good to check the indent of all the tree >diagram snippets in the doc, it looks like they may be using somewhat >varying levels of indents (between 2 and 6 spaces). I agree - it is already hard to fit the tree diagrams into RFCs. Thanks, Acee > > >> >>> (v) "is prefaces with" => "is prefaced with" >> Ok. >> >>> (vi) Section 2.2, should there be an example of an unexpanded uses >>> statement? I was wondering if this section was under specified? >> I have added: >> >> For example, the following diagram shows the "tls-transport" >>grouping >> from [RFC7407] unexpanded: >> >> +--rw tls >> +---u tls-transport >> >> If the grouping is expanded, it could be printed as: >> >> +--rw tls >> +--rw port? inet:port-number >> +--rw client-fingerprint? x509c2n:tls-fingerprint >> +--rw server-fingerprint? x509c2n:tls-fingerprint >> +--rw server-identity? snmp:admin-string >Yes, looks good. > >> >>> Section 2.6: >>> (vii) "If the node is augmented into the tree from another module, its >>> name is printed as <prefix>:<name>." Does there need to be a >>> clarification that the prefix name used is the one used by the >>> module's import statement? Or does it use the prefix statement from >>> the imported modules instead (I know that these should normally be the >>> same, but this is not guaranteed). >> Since this is used when a node is augmented *into* the main tree, it >> can't be the prefix in import, since the augmenting module is not >> imported from the augmented module. I did: >But the YANG module must import the module that it is augmenting. If a >local import prefix is used in the actual YANG module then it would be >slightly harder to relate the tree output back to local import prefixes >used in the YANG module. > >> >> OLD: >> >> If the node is augmented into the tree from another module, >> its name is printed as <prefix>:<name>. >> >> NEW: >> >> If the node is augmented into the tree from another module, >> its name is printed as <prefix>:<name>, where <prefix> is the >> prefix defined in the module where the node is defined. >This is OK with me, but there is still a potential for a prefix >namespace clash (since prefixes are not guaranteed to be unique). > >An alternative solution would be for the YANG tree diagram to list (at >the beginning or the end of the diagram) the mappings from prefix -> >module name used. This has the bonus that it also explicitly lists the >YANG modules that are being augmented, but conversely, this might end up >just adding unnecessary noise to a diagram that should be short and >simple ... > >A second alternative would be to add some vague text to state that the >prefix to module mapping should be explicitly listed in any cases where >the prefix name alone is not obvious. > >Thanks, >Rob > > >> >>> Section 3.2. >>> (viii) It would be slightly easier to read if there wasn't a linebreak >>> between "--" and "tree-print-groupings", not sure if that is feasible >>> to force this. >> I don't think I can enforce this, but I'll look into it. If nothing >> else, the RFC editor will fix this. >> >> >> /martin >> >> >>> Thanks, >>> Rob >>> >>> On 10/01/2018 16:16, joel jaeggli wrote: >>>> Just a reminder given the date that this was posted. This last call is >>>> expected to complete Monday 1/15/18. >>>> >>>> Thanks >>>> >>>> joel >>>> >>>> >>>> On 1/1/18 2:01 PM, joel jaeggli wrote: >>>>> Greetings, >>>>> >>>>> We hope the new year is a time to make great progess on outstanding >>>>> documents before preparation for the London IETF begins in earnest. >>>>> >>>>> This starts a two-week working group last call on: >>>>> >>>>> YANG Tree Diagrams >>>>> draft-ietf-netmod-yang-tree-diagrams >>>>> >>>>> >>>>>https://datatracker.ietf.org/doc/draft-ietf-netmod-yang-tree-diagrams/ >>>>> >>>>> Please send email to the list indicating your support or concerns. >>>>> >>>>> We are particularly interested in statements of the form: >>>>> >>>>> * I have reviewed this draft and found no issues. >>>>> * I have reviewed this draft and found the following issues: ... >>>>> >>>>> >>>>> Thank you, >>>>> NETMOD WG Chairs >>>>> >>>>> >>>>> >>>>> >>>> _______________________________________________ >>>> netmod mailing list >>>> netmod@ietf.org >>>> https://www.ietf.org/mailman/listinfo/netmod >>>> . >>>> >> . >> > >_______________________________________________ >netmod mailing list >netmod@ietf.org >https://www.ietf.org/mailman/listinfo/netmod
- [netmod] WGLC - draft-ietf-netmod-yang-tree-diagr… joel jaeggli
- [netmod] Reminder: WGLC - draft-ietf-netmod-yang-… joel jaeggli
- [netmod] 答复: Reminder: WGLC - draft-ietf-netmod-y… Qin Wu
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… t.petch
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Benoit Claise
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Robert Wilton
- Re: [netmod] Reminder: WGLC - draft-ietf-netmod-y… Robert Wilton
- Re: [netmod] Reminder: WGLC - draft-ietf-netmod-y… Martin Bjorklund
- Re: [netmod] Reminder: WGLC - draft-ietf-netmod-y… Robert Wilton
- Re: [netmod] Reminder: WGLC - draft-ietf-netmod-y… Acee Lindem (acee)
- Re: [netmod] Reminder: WGLC - draft-ietf-netmod-y… Lou Berger
- Re: [netmod] Reminder: WGLC - draft-ietf-netmod-y… Martin Bjorklund
- Re: [netmod] Reminder: WGLC - draft-ietf-netmod-y… Robert Wilton
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Vladimir Vassilev
- Re: [netmod] Reminder: WGLC - draft-ietf-netmod-y… Martin Bjorklund
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Vladimir Vassilev
- Re: [netmod] Reminder: WGLC - draft-ietf-netmod-y… Benoit Claise
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Martin Bjorklund
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Vladimir Vassilev
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Robert Wilton
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Martin Bjorklund
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Lou Berger
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Robert Wilton
- Re: [netmod] Reminder: WGLC - draft-ietf-netmod-y… joel jaeggli
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… joel jaeggli
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Vladimir Vassilev
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Juergen Schoenwaelder
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Alexander Clemm
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Martin Bjorklund
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Juergen Schoenwaelder
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Vladimir Vassilev
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Juergen Schoenwaelder
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Robert Wilton
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… t.petch
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Martin Bjorklund
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Robert Wilton
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Juergen Schoenwaelder
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Benoit Claise
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… Jeff Tantsura
- Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-d… t.petch
- [netmod] Closure - : WGLC - draft-ietf-netmod-yan… joel jaeggli
- Re: [netmod] Closure - : WGLC - draft-ietf-netmod… Martin Bjorklund