Re: [netmod] I-D Action: draft-ietf-netmod-yang-tree-diagrams-02.txt one or many

"t.petch" <ietfc@btconnect.com> Sat, 28 October 2017 11:57 UTC

Return-Path: <ietfc@btconnect.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 2824613F7B1 for <netmod@ietfa.amsl.com>; Sat, 28 Oct 2017 04:57:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level:
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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=btconnect.onmicrosoft.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 9wN2Bj1wVQ3i for <netmod@ietfa.amsl.com>; Sat, 28 Oct 2017 04:57:13 -0700 (PDT)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0113.outbound.protection.outlook.com [104.47.1.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 49ADC13F5EF for <netmod@ietf.org>; Sat, 28 Oct 2017 04:57:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=I1z7utLbfhFAenywMs6zs9lAlqa9M7/lBbSeGTlXcUc=; b=XCW7fMSirduJ2QWJdMmwhhngU5rfVMV69pzL+iuAcVuPDEEjwH02JYOSXjg28wcsI5vKyaCyqutQduLfkxHJRiKJNMWXY94iNU1mu9xA55wtohhYLhDqoqNvOwYnvIAtse/A+b5nNpIxLxqsZ/1gwo8hrZzY9Y5XJcGEx92zr5s=
Received: from pc6 (86.169.153.236) by HE1PR0701MB3002.eurprd07.prod.outlook.com (2603:10a6:3:4d::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.197.4; Sat, 28 Oct 2017 11:57:10 +0000
Message-ID: <01f701d34fe3$885ad120$4001a8c0@gateway.2wire.net>
From: "t.petch" <ietfc@btconnect.com>
To: Andy Bierman <andy@yumaworks.com>, Lou Berger <lberger@labn.net>
Cc: netmod@ietf.org
References: <150893578927.4882.2117597388624976982@ietfa.amsl.com> <23892572-a0db-d24b-e591-a19799ace9ae@labn.net> <03bb01d34f14$2907e5c0$4001a8c0@gateway.2wire.net> <63fca2cd-e41e-5d79-2290-41e0d0541ccb@labn.net> <013401d34f46$42976740$4001a8c0@gateway.2wire.net> <20171027172027.f6ki7wljdwmwzwib@elstar.local> <eb575880-c11c-3614-2b55-2beab6e4c1b4@labn.net> <CABCOCHQ4j7Z43k+GDcMT0PJV47-P6GSGTNYLZ-bK7BzY47_r9w@mail.gmail.com>
Date: Sat, 28 Oct 2017 12:54:16 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Originating-IP: [86.169.153.236]
X-ClientProxiedBy: DB6PR0501CA0017.eurprd05.prod.outlook.com (2603:10a6:4:8f::27) To HE1PR0701MB3002.eurprd07.prod.outlook.com (2603:10a6:3:4d::8)
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: f08184d4-afb5-447c-4970-08d51dfb0560
X-Microsoft-Antispam: UriScan:(178726229863574); BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(2017052603238); SRVR:HE1PR0701MB3002;
X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB3002; 3:Wk/gAksg6PhOKmKd9PMgYaIPJmatj+jULGpQgr4qF6glzVjTxLKoNnlqUS21VGz+MFtEjXz3ikz+ZUadrqOZDKF+c+uSWrOCmx091SNcfd48bnMRBM4ZjR5gzQBGdT6XK2rd6zse3GzrrFV5f4YyvH0hE0vlmSKfHQ81ZqITKSdLcYDraiMhioYeR9MZlGWgIXYmektq3v2PaacgbEgaVPcEDLB21aNKcwI0jsHwzofFZjo3iOsg4mhysg7SdCQ5cU1mcpxFuEhL0pMDPBuTupyt6CLIioIcp0Lrr14F4hc=; 25:CUmEVHP4RAxQLPJzn/McUJe0U1E+NF2OSLb76HQKv/Xn9uPGjBCzQerS2stjhK6a7OcPqnv3OPbl7V1QFJM3VzkDk/SvSEKU+6vHkuL9Cu0RuaVEg00jnw0+QzfQEC7b9tW36JY5dXlnCOx/uwrf3m+idxlGEgsnBFu5TDFp1loQIF0ACkB9kzDkdxk4vxgMj9s9AtGv7I49qimbgrHLVsx5RwEknFfz9tK6/2jm+IRMyk31lMQiFGcxpdHk8BtCmz16QJQaUfMvP/e/JV0JD0VG7ZuniSGlz9mjj0wXFQfOkd1QCvrOnxhItjH4oMAvkwx+3Ed5ack6hf22Oo5NEA==; 31:u9CnHtxxbVvLa02gVv9oZMkf+5+Ob6ekTpgklFzD1UhYi24AZ/VVauWCLpO7GUffg8EOC1I1QA0QSbPL1whz/aLPsGAfknyMtud+YV8wqLTESm9AZjUVaKDUv1ecaLZI7NwSyH/B1AjuvOSbcAo28t9CNFQ+hdRvPwrOUYZ6h61VdncLON306hEqIRDIOwzMVCf2OwhibPar5Ng58tKLJbhTIJ7GvfKj9FTOfhMMVv8=
X-MS-TrafficTypeDiagnostic: HE1PR0701MB3002:
X-Exchange-Antispam-Report-Test: UriScan:(178726229863574)(192374486261705);
X-Microsoft-Antispam-PRVS: <HE1PR0701MB3002A5B8E3288FA01F0E2FB8A05B0@HE1PR0701MB3002.eurprd07.prod.outlook.com>
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(61425038)(6040450)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231020)(100000703101)(100105400095)(93006095)(93001095)(61426038)(61427038)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123560025)(20161123562025)(20161123558100)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR0701MB3002; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR0701MB3002;
X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB3002; 4:GNqhhJhJx4zHHniOX4IPsw6VnQRYQaC27wwaYWS3nSOiHaNwkchYoffaW3cnPTHSCZEc8ltgcrVnE+gSLVU6UxgVsxh5EIM+bhm4btT4BRqyRWilTpesdtA+A1i29b6OSlagpLxi1V4CsDUHkO7z45PbkJ2/WD3bvx2eeA4vVH1zR0wSuImTyXB+iGrCYVQL0ePfe+T5r2IjX0LW0Q4LpfY9d8tBC+48rtY11zSbpMjqlQ30yLqtlNjqJgdW8U6N3/sqgR8g+E5XhOsSi0b6wGarwAl2tNXGCvwxxWCffHcmcYQZH7es+gvXRTnjsUwzsjjB5fiui+UdxaVFErjmhUM3G5GW/JPsmLsfFAlAvdw=
X-Forefront-PRVS: 04740D25F1
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(376002)(346002)(39860400002)(13464003)(189002)(24454002)(51444003)(199003)(53936002)(8676002)(23676002)(81166006)(81156014)(62236002)(44716002)(66066001)(47776003)(68736007)(50466002)(230783001)(966005)(189998001)(25786009)(305945005)(229853002)(8936002)(116806002)(14496001)(4720700003)(478600001)(81816999)(81686999)(6486002)(76176999)(50986999)(7736002)(50226002)(16526018)(84392002)(101416001)(2906002)(44736005)(105586002)(106356001)(3846002)(230700001)(6116002)(61296003)(53546010)(5660300001)(33646002)(1556002)(86362001)(110136005)(6306002)(1456003)(4326008)(9686003)(93886005)(6246003)(6496005)(97736004)(316002)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0701MB3002; H:pc6; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:0; LANG:en;
Received-SPF: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
X-Microsoft-Exchange-Diagnostics: 1;HE1PR0701MB3002;23:Gzz3EpnRxHmaHepz/ZTqFGiIvjHepIfRAMkJrYviFdvJPc2DeJNMlMjzPenf8qIskux4587FAZ1dBnY2XNGLkzS13ABi65Sh8jjAsHCozhfuGMXv5FXdbfXZpEtFkNBJpW1bpB9llnqM1bUqDpoNDMkzYXxWi/XfYFwnLBzZyPxQP4/a6+58gL5ZorqeHPzgccBenRZq0Dfxzv1qWPT9K7E/ux3O9n9Xpz6BpPD71/5Uip2ittsmq0yd3V+1PVDIKt9TD1taAmsojqZtrBjXlptI8xxfkO6ro9/dQIorFsivrKbPZ5jizgVc0ssk/bF5/sYAPA4r0B/ktM9n/D4ZH90OqTvh4gkXTitpjCGWDSwBdPUuos/dDqn0IZT2E+Phj4gF/gGAIcW65+LYN/9nW3vmqQgEBqZpRdmt0xEPLmk0IY6lDqNnK2QTSCSQoVPyLwPBioed481gktDYbRz214WxFJwuPkY8hWIUf5GLQzMseG+wAcMUgBftbNceZPFMB+aCeXr9BdzZO+/d9uzg76bELtcVRIGirvgjXqLJAArJWg1IYtVqtiC+0tJUCBCMI2wnjjuwIKrJZShYN7X9ShK2AnYk7fR23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x09z+cRbvShR+6x22hZ4MbciZoSwrjHJWtCLe8kfis8M+6pTmqFCMoknlsFh+FsypYbHeFFnmh9ZSM9qpkBl3IJqm5j7ghp9bUEBKENnYNFyR4z7aV4Dqj6yvhRW7H4UBmeW7VkZwBz6pc6e3kAxJFNeQFuaHzxUAd1b70qQeAp6ZdfQMEdNBZgAttoVEa8wdXRBQLL/fNq9z/9zZ5EXLWqvU1XNvGLXo3JfljnZr1+F5C2jmo=; 5:b8fbZalLGcyo3cpgX+kPK2plduA6IHb+zbQucvtgeROEGRarUK0BEXB5H0kElUJ3NTQclfGvd48thHGcDda5kxnWsCpXWIPHzg2hzrbph39WB6rkovIWgzorz1IDaVKvRwRMEwjbXTfOcSEgBQ1F1ET7rYpYuNixtshN5pLVC7w=; 24:xxh1G0JmszIbBnC4AIj2ZH7iTnkF7+bqQ2a8yvEE+k7HBq/LQz8KqFd4fVPo3fSoY4qo+bh1/oqpU2Sz+tO0FfF7RFNSM5eY0Qfb+b6x8XY=; 7:vkfUgqgYrgE4kI292ADBz5uISL8XRAYaeGbXCpKqN/McBpkT+QoZrQ0VDZ67wonJevYkS8oVk76iomfjPg4idz5PPQKo7nAjQ7Vj8NZUq3trc4EG1K1w4jxYoO4FCL9xIBKB6MCSoEVpm9S0DCsiHBzgwW4mxbeJsnMRCaY5Qj19D/KpjXVvt6K3UtXEMdP+7tiyOukomIHwUrY+hpKr4IQ5ilzulLLk9mCsoFsML6Mk9N2tgDJK38XtdOqvTOpD
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2017 11:57:10.1517 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: f08184d4-afb5-447c-4970-08d51dfb0560
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB3002
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/NxK8P1OMf-dSWOwexvSgbOo01Uk>
Subject: Re: [netmod] I-D Action: draft-ietf-netmod-yang-tree-diagrams-02.txt one or many
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: Sat, 28 Oct 2017 11:57:16 -0000

----- Original Message -----
From: "Andy Bierman" <andy@yumaworks.com>
To: "Lou Berger" <lberger@labn.net>
Sent: Friday, October 27, 2017 8:56 PM

> On Fri, Oct 27, 2017 at 12:40 PM, Lou Berger <lberger@labn.net> wrote:
>
> > On 10/27/2017 01:20 PM, Juergen Schoenwaelder wrote:
> > > Why do we come up with such rules in the first place? It really
> > > depends on the modules and their relationship and it is the
> > > responsibility of the WG, the authors, the reviewers to produce a
> > > reasonable document.
> > >
> >
> > My personal view - Because having a few knowledgeable people doesn't
> > scale and not all model writers are at the IETF.
> >
> It is easy to add a guideline that says "a YANG tree diagram MAY be
pruned
> if it is too verbose, in order to improve readability.".
>
> Not so easy to define "too verbose" or define what should be pruned.
> This is where I agree with Juergen. The authors and reviewers have the
> responsibility to make these decisions.

A personal take on the size of tree diagrams, based on experience.

One page, as the I-D suggests, fine.

Over five pages, probably of little or no value.

Two or more pages; take steps to reduce, the steps mentioned in the I-D
already, looking for logically separate parts (as per RFC7317), reducing
tree depth, collapsing groupings (probably with a separate tree for each
grouping, which may in turn need to have these rules applied) ....

I think that the tree diagrams I see from the Routing Area are pretty
dire, on account of their size, and that this WG can see that already
whereas other WGs may take a year or two to cotton on.

I am an engineer - I want something that works!

Tom Petch

> > Lou
> >
>
>
> Andy
>
>
> >
> > > /js
> > >
> > > On Fri, Oct 27, 2017 at 06:08:31PM +0100, t.petch wrote:
> > >> Lou
> > >>
> > >> Suggested text
> > >>
> > >> NEW
> > >>
> > >> 3.3 One Document Several Modules
> > >>
> > >> When a document contains several YANG modules, all the tree
diagrams
> > >> should be placed together, before all the modules.  Each tree
diagram
> > >> should be preceded by a brief introduction to highlight where one
tree
> > >> diagram ends and another starts.
> > >>
> > >> If a document contains a single module which is logically a
number of
> > >> distinct components, the same strategy should be followed;
RFC7317
> > >> provides a good example of this approach.
> > >>
> > >> /NEW
> > >>
> > >> Like Juergen, I am conflicted as to at what point details like
this
> > >> should be part of rfc6087bis; I think a paragraph like this does
belong
> > >> in 'tree-diagrams'.
> > >>
> > >> Tom Petch
> > >>
> > >> ----- Original Message -----
> > >> From: "Lou Berger" <lberger@labn.net>
> > >> To: "t.petch" <ietfc@btconnect.com>; <netmod@ietf.org>
> > >> Sent: Friday, October 27, 2017 1:38 PM
> > >>
> > >>> Tom,
> > >>>
> > >>>
> > >>> On 10/27/2017 7:08 AM, t.petch wrote:
> > >>>> Lou
> > >>>>
> > >>>> On a slightly different tack, so a slightly modified Subject:
line,
> > >>>> when an I-D contains multiple modules, some place all the
models
> > >>>> together and then all the modules, e.g.
> > >>>> draft-hares-i2nsf-capability-data-model-04 while others
intersperse
> > >> the
> > >>>> models and the modules, e.g. draft-ietf-lisp-yang-05 .
> > >>>>
> > >>>> I think the former is superior and should be recommended,
especially
> > >>>> when, as Sue has done, there is a brief paragraph of text
before
> > >> each
> > >>>> model, so it is very clear where a model ends and another
begins.
> > >> With
> > >>>> the latter, models can be hard to find.
> > >>>
> > >>>> I see this as dovetailing into Juergen's comments on RFC7317
which,
> > >> to
> > >>>> me, is really several separate modules packaged as one, so the
> > >>>> separation makes excellent sense to a reader.
> > >>>>
> > >>>> Where the I-D is already several modules, then do as RFC7317
has
> > >> done.
> > >>> Sure, Do you have text you'd like to propose?
> > >>>
> > >>>
> > >>>> Tom Petch
> > >>>>
> > >>>> ----- Original Message -----
> > >>>> From: "Lou Berger" <lberger@labn.net>
> > >>>> To: <netmod@ietf.org>
> > >>>> Sent: Wednesday, October 25, 2017 2:13 PM
> > >>>>
> > >>>>> Hi,
> > >>>>>
> > >>>>> This version addresses all known / open issues in the draft
known
> > >> to
> > >>>>> the authors.
> > >>>>>
> > >>>>> The changes are as follows:
> > >>>>> - Added groupings and yang-data descriptions
> > >>>>> - Added Comments, Long Diagrams and Security Considerations
> > >> sections
> > >>>>> - Clarified representation of schema mount points and
> > >> representation
> > >>>> of
> > >>>>> modules exposed using schema mount.
> > >>>>> - Miscellaneous editorial changes
> > >>>>>
> > >>>>> Lou (for draft authors)
> > >>>>>
> > >>>>> On 10/25/2017 8:49 AM, internet-drafts@ietf.org wrote:
> > >>>>>> A New Internet-Draft is available from the on-line
Internet-Drafts
> > >>>> directories.
> > >>>>>> This draft is a work item of the Network Modeling WG of the
IETF.
> > >>>>>>
> > >>>>>>         Title           : YANG Tree Diagrams
> > >>>>>>         Authors         : Martin Bjorklund
> > >>>>>>                           Lou Berger
> > >>>>>> Filename        : draft-ietf-netmod-yang-tree-diagrams-02.txt
> > >>>>>> Pages           : 11
> > >>
> > >> _______________________________________________
> > >> 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
> >
>