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

Rodney Cummings <rodney.cummings@ni.com> Fri, 11 November 2016 23:22 UTC

Return-Path: <rodney.cummings@ni.com>
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 054D9129CE3 for <tictoc@ietfa.amsl.com>; Fri, 11 Nov 2016 15:22:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.922
X-Spam-Level:
X-Spam-Status: No, score=-1.922 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_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nio365.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 DUkYWzeVZ6yt for <tictoc@ietfa.amsl.com>; Fri, 11 Nov 2016 15:22:30 -0800 (PST)
Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0136.outbound.protection.outlook.com [104.47.41.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 98C7A129CE2 for <tictoc@ietf.org>; Fri, 11 Nov 2016 15:22:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nio365.onmicrosoft.com; s=selector1-ni-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=hRO4jR85gMfHbz4+gj8GB3nc1enV0DuAN0rG8teOSvE=; b=k71Nn5L9nDb7jXTy7tmqq8i+fH/XNz2LS7+Rfqf+w5aXLUDES/DgTz6txN4vqTNgYSmJZ0bvoF8Ztp2JdRi/+VW0xgtFaZ17aedMnpsXw6cgnTVGwDniioOVPXhpMbH9Yu/3C5N35NWa2vfWMErjruxkaM2Ha6YAyT5gCrGuNjs=
Received: from BN1PR04MB424.namprd04.prod.outlook.com (10.141.58.153) by BN1PR04MB424.namprd04.prod.outlook.com (10.141.58.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10; Fri, 11 Nov 2016 23:22:27 +0000
Received: from BN1PR04MB424.namprd04.prod.outlook.com ([169.254.6.84]) by BN1PR04MB424.namprd04.prod.outlook.com ([169.254.6.84]) with mapi id 15.01.0721.010; Fri, 11 Nov 2016 23:22:27 +0000
From: Rodney Cummings <rodney.cummings@ni.com>
To: Joseph Gwinn <joegwinn@comcast.net>
Thread-Topic: [TICTOC] Comments on the proposed 1599v2 YANG model
Thread-Index: AQHSN6bGYg6ZmDO81UurYDuaVH7x86DPSOrAgASUOQCAAJeKwA==
Date: Fri, 11 Nov 2016 23:22:27 +0000
Message-ID: <BN1PR04MB424A0918E6D39CC6CD07AC592BB0@BN1PR04MB424.namprd04.prod.outlook.com>
References: <20161105165400283070.8dd800cd@comcast.net> <BN1PR04MB42484B0E22D82221945561A92B90@BN1PR04MB424.namprd04.prod.outlook.com> <20161111091640117200.06a2ac53@comcast.net>
In-Reply-To: <20161111091640117200.06a2ac53@comcast.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=rodney.cummings@ni.com;
x-originating-ip: [130.164.62.209]
x-microsoft-exchange-diagnostics: 1; BN1PR04MB424; 7:6Rrd2JlAvHi6vN6/4IlKnbwhj5rR1xlmHVrvtiLg69K0OySpHFqm2f2j8KSRzHuE88+DYpqmHlo2akckgdT3qcseXvArEN/8iJ67alclOFJJNa/Su0r2r7u2ahAIG/oeEAr7p/V49fVXPAiU8JR5BVgL+nnmhRkaowMWkrUhw7igqP1MbfjI7y6vOZ6lof7LsOvddfedMF3ZMi4qunCLSozMypk+6bmshUoOrIK/39Kq4XLfikjTY/M4wYGOdB9SaVnclpfKDsmqK/IbJEPPSqUiSy+j4JUy3qtL3srX+/lFnIzHCEJ10aL9HF6160EWGtYhtzsFJsaSTMItfJGLVsXGH69TTMRCVYyNc8xBcJU=
x-ms-office365-filtering-correlation-id: 7484f2a7-ec00-4691-a9e6-08d40a899a14
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BN1PR04MB424;
x-microsoft-antispam-prvs: <BN1PR04MB424CE67C8A57D2031673A9292BB0@BN1PR04MB424.namprd04.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(68173958961439)(145744241990776);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6060305)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6072127); SRVR:BN1PR04MB424; BCL:0; PCL:0; RULEID:; SRVR:BN1PR04MB424;
x-forefront-prvs: 012349AD1C
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(199003)(377454003)(51914003)(24454002)(189002)(13464003)(5660300001)(92566002)(7846002)(229853002)(99286002)(97736004)(81156014)(105586002)(7736002)(106116001)(305945005)(106356001)(101416001)(3280700002)(8676002)(586003)(74316002)(81166006)(50986999)(76176999)(54356999)(76576001)(86362001)(2900100001)(189998001)(33656002)(8666005)(2906002)(66066001)(4326007)(87936001)(9686002)(2950100002)(8936002)(6916009)(5890100001)(3660700001)(3846002)(7696004)(122556002)(110136003)(6116002)(102836003)(68736007)(7059030); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR04MB424; H:BN1PR04MB424.namprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: ni.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: ni.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Nov 2016 23:22:27.4855 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 87ba1f9a-44cd-43a6-b008-6fdb45a5204e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR04MB424
Archived-At: <https://mailarchive.ietf.org/arch/msg/tictoc/yE8-ZP3PuQThbuED5ZhvQMKEKBY>
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 23:22:33 -0000

Thanks Joe,

Helpful feedback... we'll make edits accordingly.

Rodney

> -----Original Message-----
> From: Joseph Gwinn [mailto:joegwinn@comcast.net]
> Sent: Friday, November 11, 2016 8:17 AM
> To: Rodney Cummings <rodney.cummings@ni.com>
> Cc: tictoc@ietf.org
> Subject: RE: [TICTOC] Comments on the proposed 1599v2 YANG model
> 
> 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
> >>
> >