Re: [TICTOC] Comments on the proposed 1599v2 YANG model

Joseph Gwinn <joegwinn@comcast.net> Fri, 11 November 2016 14:16 UTC

Return-Path: <joegwinn@comcast.net>
X-Original-To: tictoc@ietfa.amsl.com
Delivered-To: tictoc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3188E129449 for <tictoc@ietfa.amsl.com>; Fri, 11 Nov 2016 06:16:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.197
X-Spam-Level:
X-Spam-Status: No, score=-4.197 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-1.497, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=comcast.net
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 3GvDFe7yZQPR for <tictoc@ietfa.amsl.com>; Fri, 11 Nov 2016 06:16:53 -0800 (PST)
Received: from resqmta-ch2-03v.sys.comcast.net (resqmta-ch2-03v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:35]) (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 B1EE1129590 for <tictoc@ietf.org>; Fri, 11 Nov 2016 06:16:53 -0800 (PST)
Received: from resomta-ch2-20v.sys.comcast.net ([69.252.207.116]) by resqmta-ch2-03v.sys.comcast.net with SMTP id 5CdFcffPc8GkC5CdRcJ3b8; Fri, 11 Nov 2016 14:16:53 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1478873813; bh=8LeMg2I8xJFBeGWVLpTZiTmSmodDR9XtM+KTn/TSX6o=; h=Received:Received:Date:From:To:Message-ID:Subject:MIME-Version: Content-Type; b=UOcSPqS2/0M/o9A0UKjjNNfuhg/CyDZvMvfXnQkxOVUkRwFfpbI3sH/jlPoZO4ITN omm4zdeUhTnTOl2Gu5ZV4HMsyQtMMhTFygbTU0L6CRqVpS3Sp6+8yCHGVCIaOtZND5 UdSbtWhd3wt9VtdgCet4M7N9Wva2LRiarUvkR5E+IGoWc6H2QXsGkG36GCMbm6JAdU yZeA3zmrdhCi8mGZy1Fj0cBycv/Bkr2jTQpYuAUSLJgXWJNi39fI14haacZrM4n4yq /DpX09wpCESIljdp3e6OHBWtSww7dLQcBF8EMlKh9g2QzjzfnyN5a2gdwlgUl71H06 tFF2yCk/oIqOw==
Received: from [192.168.1.102] ([67.189.250.46]) by resomta-ch2-20v.sys.comcast.net with SMTP id 5CdQcE5kuhZBN5CdQc2pDd; Fri, 11 Nov 2016 14:16:52 +0000
Date: Fri, 11 Nov 2016 09:16:40 -0500
From: Joseph Gwinn <joegwinn@comcast.net>
To: Rodney Cummings <rodney.cummings@ni.com>
Message-ID: <20161111091640117200.06a2ac53@comcast.net>
In-Reply-To: <BN1PR04MB42484B0E22D82221945561A92B90@BN1PR04MB424.namprd04.prod.outlook.com>
References: <20161105165400283070.8dd800cd@comcast.net> <BN1PR04MB42484B0E22D82221945561A92B90@BN1PR04MB424.namprd04.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: GyazMail version 1.5.17
X-CMAE-Envelope: MS4wfFErzEmu2TopbzuFe/Vsn7tQ4Zxlgsz7P1fKm5uOtAx8ZyBJwCt2YI2WyF0ltAHCbV7jOaBAPeLF/5oNFdDS/775jcsaESb5iRrJzoWRn6+DsU6DttnM ALzSlcDskAViAsnmoQ6Sx5i7t7ezz1ngjSTjYd7TFm/Beoilf+oN5Y+5PRkcbSZrmAXGDfFXoX1eFxNevTml+qmKsrhbhS8klNE=
Archived-At: <https://mailarchive.ietf.org/arch/msg/tictoc/K74q-LmbjYuoHxxx9mfeVd4C-zw>
Cc: "tictoc@ietf.org" <tictoc@ietf.org>
Subject: Re: [TICTOC] Comments on the proposed 1599v2 YANG model
X-BeenThere: tictoc@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Timing over IP Connection and Transfer of Clock BOF <tictoc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tictoc>, <mailto:tictoc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tictoc/>
List-Post: <mailto:tictoc@ietf.org>
List-Help: <mailto:tictoc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tictoc>, <mailto:tictoc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Nov 2016 14:16:55 -0000

Rodney,

On Wed, 9 Nov 2016 20:39:42 +0000, Rodney Cummings wrote:
> Hi Joe,
> 
> Thanks for the comments... very helpful.
> 
> I'd like to discuss some high level themes for your comments.
> 
> 1. Regarding comments on the leafs in the YANG module (section 3):
> 
> As stated in the Introduction (section 1): "The data model is based 
> on the PTP data sets as specified in [IEEE1588]."

This is a bit too telegraphic, given the unspoken assumption that one 
must read 1588-20xx before attempting to read YANG-1588.  More later.

 
> Therefore, each leaf is based on the normative specifications of 
> clause 8 of IEEE Std 1588-2008. The name of each leaf aligns 1-1 with 
> the equivalent name of a 1588-2008 data set member. This YANG module 
> can not change the 1588-2008 specifications. That means that the 
> answer to most of your questions is:
>
> 	Refer to the specifications in IEEE Std 1588-2008.
>
> For example, IEEE Std 1588-2008 specifies the units of measure for 
> each leaf.
> 
> That being said, the description of each leaf did make an attempt to 
> summarize the specifications of IEEE Std 1588-2008. That methodology 
> avoids the potential for a leaf description that is pages long. 
> Nevertheless, the summary does have the disadvantage of assuming that 
> the reader is familiar with IEEE Std 1588-2008 specifications.

The unspoken assumption, now spoken.

If we expect that people will (must) first read and understand 1588, we 
should say so right up front.

 
> I suppose one could argue that each description should copy the text 
> from IEEE Std 1588-2008 for each leaf, regardless of the length of 
> that text.
> 
> Is that what you are requesting?

No.  The basic problem is that one cannot deduce from the YANG document 
even a hint of your above explanation, which lack renders the text of 
the YANG model document under review incomprehensible to anyone not 
involved in the working groups.  

Now, one must write standards to be free-standing, understandable by 
people who have never heard of a standards working group, or know 
anybody who does either.

So my specific suggestion is to add the above background information to 
the document somewhere early in the document, so readers have the full 
context and how it all fits together before they start reading the core 
of YANG as applied to 1588, and so know where and how to find the rest 
of the story.  Given the size of 1588, calling Clause 8 out by name is 
quite helpful to the reader.

 
> 2. Regarding the first comment in A.4 (starting "Where is the 
> specific make, model,").
> 
> Again, this model and module is based on IEEE Std 1588-2008, and we 
> explicitly avoid adding new features that are outside of that 
> standard.
> 
> There is a feature in the future IEEE 1588 revision that provides 
> what you request, but since that 1588 revision is a work-in-progress, 
> it is the subject of a future revision of this model/module (see 
> bullet at top of page 4). The authors want to avoid creating a 
> dependency between those two projects.

See prior answer.  

We already have a very large dependency: one must read 1588 before 
reading YANG-1588.  It later develops that one must also read RFC-6020.


> 3. Regarding the second comment in A.4 (starting "As for the standard 
> [complaint]").
> 
> YANG supports vendor-specific data through use of augments. There is 
> no need to provide placeholders for such data. Please refer to the 
> YANG specifications and tutorials, and see if follow up discussion is 
> needed.

See prior answer.  

In addition, the YANG specification (RFC-6020) is 173 pages long, and 
the tutorials probably add up to a fair fraction of that, so a more 
precise reference is needed.

Most readers of YANG-1588 are not going to read RFC-6020 in any detail 
until a significant need arise - it's too large and too complex for 
casual reading.  Simple documents don't need tutorials.


Speaking of context, I found IEEE 1588-2008 impossible to follow in any 
detail before I attended my first 1588 WG in Portsmouth, in October 
2016, and there witnessed the line-by-line edit we needed to clarify 
the -2008 text for the coming -2017 version.  I submit that there is a 
lesson in this.

Thanks,

Joe


> Rodney
> 
>> -----Original Message-----
>> From: TICTOC [mailto:tictoc-bounces@ietf.org] On Behalf Of Joseph Gwinn
>> Sent: Saturday, November 5, 2016 3:54 PM
>> To: tictoc@ietf.org
>> Subject: [TICTOC] Comments on the proposed 1599v2 YANG model
>> 
>> To the TICTOC working group:
>> 
>> Attached find my redlines against draft-ietf-tictoc-1588v2-yang-00
>> dated 20 October 2016.
>> 
>> Where the arrows point should be text highlighted in yellow, but the
>> yellow may be faint in some readers.
>> 
>> Joe Gwinn
>> 
>