Re: [TICTOC] Benjamin Kaduk's Discuss on draft-ietf-tictoc-1588v2-yang-10: (with DISCUSS and COMMENT)

Benjamin Kaduk <kaduk@mit.edu> Fri, 12 October 2018 14:38 UTC

Return-Path: <kaduk@mit.edu>
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 F3435130E2E; Fri, 12 Oct 2018 07:38:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 Kwle2Cjpa5gX; Fri, 12 Oct 2018 07:37:58 -0700 (PDT)
Received: from dmz-mailsec-scanner-2.mit.edu (dmz-mailsec-scanner-2.mit.edu [18.9.25.13]) (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 0CF30130DCB; Fri, 12 Oct 2018 07:37:57 -0700 (PDT)
X-AuditID: 1209190d-0fdff700000056d0-41-5bc0b1c446ff
Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP id E9.4A.22224.4C1B0CB5; Fri, 12 Oct 2018 10:37:56 -0400 (EDT)
Received: from outgoing.mit.edu (OUTGOING-AUTH-1.MIT.EDU [18.9.28.11]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id w9CEbsio024372; Fri, 12 Oct 2018 10:37:54 -0400
Received: from kduck.kaduk.org (24-107-191-124.dhcp.stls.mo.charter.com [24.107.191.124]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id w9CEbmgs009232 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 12 Oct 2018 10:37:51 -0400
Date: Fri, 12 Oct 2018 09:37:48 -0500
From: Benjamin Kaduk <kaduk@mit.edu>
To: Jiangyuanlong <jiangyuanlong@huawei.com>
Cc: The IESG <iesg@ietf.org>, Karen O'Donoghue <odonoghue@isoc.org>, "draft-ietf-tictoc-1588v2-yang@ietf.org" <draft-ietf-tictoc-1588v2-yang@ietf.org>, "tictoc-chairs@ietf.org" <tictoc-chairs@ietf.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Message-ID: <20181012143748.GE3293@kduck.kaduk.org>
References: <153926586208.14803.13432042276042241561.idtracker@ietfa.amsl.com> <3B0A1BED22CAD649A1B3E97BE5DDD68BBC218FF5@dggeml532-mbs.china.huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <3B0A1BED22CAD649A1B3E97BE5DDD68BBC218FF5@dggeml532-mbs.china.huawei.com>
User-Agent: Mutt/1.9.1 (2017-09-22)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIKsWRmVeSWpSXmKPExsUixCmqrHtk44Fogy+rVSzubprBZDHjz0Rm i6sf2tksZj3az2yxZc5LRou/zT3sDmweLUfesnosWfKTyePVtEbWAOYoLpuU1JzMstQifbsE royuCz+YC3bqVExfdZatgfGschcjJ4eEgInEsq42ti5GLg4hgcVMEmd2f2QFSQgJbGSU6Lws A5G4yiRx69lXdpAEi4CqxOGVE9hAbDYBFYmG7svMILaIgI7E1z2XmEEamAW6mSTWrnjHApIQ FkiXWPurD6yZV8BY4vzFV8wQU2cxSnRt3ccKkRCUODnzCVgDs4CWxI1/L5m6GDmAbGmJ5f84 QMKcAmESl/a9BpsjKqAssbfvEPsERqAhCN2zkHTPQuhewMi8ilE2JbdKNzcxM6c4NVm3ODkx Ly+1SNdILzezRC81pXQTIzi0JXl3MP6763WIUYCDUYmHt4HzQLQQa2JZcWXuIUZJDiYlUd6k MqAQX1J+SmVGYnFGfFFpTmrxIUYJDmYlEd4FWUA53pTEyqrUonyYlDQHi5I474SWxdFCAumJ JanZqakFqUUwWRkODiUJ3rINQI2CRanpqRVpmTklCGkmDk6Q4TxAw7+B1PAWFyTmFmemQ+RP MepytD29PoNZiCUvPy9VShxikABIUUZpHtwcUEqSyN5f84pRHOgtYd4ukCoeYDqDm/QKaAkT 0JK9nmBLShIRUlINjE1ay5ZkC1y7XnP7Wd6hr8+UdDgeLEze+X/+s6BwzloXeeF7n5/LCVrJ ec3N5DuoPPVw5dO25uorG590bvmjqvL0xLXTt1eKZT2o5e65UeNilPFG4eLmNwsFtP32PLs7 YXo3B8O3Z1GPayINv26bd+Crn0yWyK2JRg71P++mszUoP82vX+b21lmJpTgj0VCLuag4EQAh bShsJAMAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/tictoc/QM8FSlctCeeCiIpPSl3l8lCXMUo>
Subject: Re: [TICTOC] Benjamin Kaduk's Discuss on draft-ietf-tictoc-1588v2-yang-10: (with DISCUSS and COMMENT)
X-BeenThere: tictoc@ietf.org
X-Mailman-Version: 2.1.29
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, 12 Oct 2018 14:38:03 -0000

On Fri, Oct 12, 2018 at 02:26:08PM +0000, Jiangyuanlong wrote:
> Hi Ben,
> 
> I think all the questions on terminologies or units are mainly triggered due to the lack of access to the IEEE 1588-2008 standard. They are defined there (with much more details and explanations) and have been used widely in the industry for quite a long time. 

Indeed, this topic is quite related to Ben's point about document access.
Though I think generally we still want our documents to be able to stand
alone in some sense, so there's a balance to find.

> Perhaps Karen can help to make an arrangement with the IEEE 1588 WG, so that some electronic copies of IEEE 1588-2008 can be sent to the reviewers in the IETF.
> 
> Please see my further replies prefixed with [YJ]. 

Thanks.  My apologies for some of the incomplete/incoherent comments;
I had to stop mid-review and forgot to do a cleanup pass before balloting.
Thank you for doing your best to pick out what I was trying to say!

> Thanks much for the review and comments.
> 
> Regards,
> Yuanlong
> 
> ----------------Snipped----------------------------
> > 
> > The document, along with other ballot positions, can be found here:
> > https://datatracker.ietf.org/doc/draft-ietf-tictoc-1588v2-yang/
> > 
> > 
> > 
> > ----------------------------------------------------------------------
> > DISCUSS:
> > ----------------------------------------------------------------------
> > 
> > I appreciate that there has been some previous work in this area, but it
> > seems that there are still many instances of bare integral types with no
> > indication of what units are used to report a numerical value, whether
> > larger or smaller priority values indicate a more preferred status, how the
> > sign of an "offset" measurement should be interpreted, etc.  This leaves
> > the specification unimplementable in an interoperable way.  A (possibly
> > incomplete) list of such values includes:
> > 
> > clock-class (is this really more like an enum than an int?)
> > clock-accuracy (ditto?)
> > offset-scaled-log-variance
> > priority1 (are small or large values more-preferred?)
> > priority2 (ditto)
> > offset-from-master (interpretation of sign bit)
> > observed-parent-offset-scaled-log-variance
> > observed-parent-clock-phase-change-rate
> > grandmaster-priority1
> > grandmaster-priority2
> > current-utc-offset (sign bit)
> > time-source (is this more like an enum?)
> > log-min-delay-req-interval (units have to be scaled out before log operation)
> > log-announce-intervale (ditto)
> > log-sync-interval (ditto)
> > log-min-pdelay-req-interval (ditto, two different nodes)
> > 
> > 
> > ----------------------------------------------------------------------
> > COMMENT:
> > ----------------------------------------------------------------------
> > 
> > Section 1
> > 
> >    o  When the IEEE 1588 standard is revised (e.g. the IEEE 1588
> >    revision in progress at the time of writing this document), it will
> >    add some new optional features to its data sets.  The YANG module
> >    of this document MAY be revised and extended to support these new
> >    features. Moreover, the YANG "revision" SHOULD be used to indicate
> >    changes to the YANG module under such a circumstance.
> > 
> > It's not clear that a 2119 SHOULD is best here; I would have expected
> > either an 8174 "should" or a 2119 "MUST".
> > 
> [YJ] Are you suggesting to use "must" or "MUST"? Otherwise, I think "should" is similar to "SHOULD".

I was suggesting "MUST".

> 
> > Section 3
> > 
> > time-interval-type says "units of nanoseconds and multiplied by 2^16".
> > I assume I'm interperting that wrong, since there doesn't seem to be much
> > point in claiming a precision in yoctoseconds.
> > 
> > Most "log" values specify the "base-two logarithm", but
> > offsetScaledLogVariance has a much more vague description.  Lacking access
> > to IEEE 1588-2008, I can't tell if it is possible to be more precise for
> > describing this field.  (Also, you can only take the log of a dimensionless
> > quantity, so the input units need to be specified, per my Discuss.)
> > 
> > > slave-only clock
> > 
> > So we had this long discussion on ietf@ietf.org about potentially offensive
> > terminology, including "master"/"slave".
> [YJ] Are you suggesting to change the terminologies? These are well accepted terms in the IEEE 1588, people there will be much confused if terms are changed.

I'm not suggesting to change it, no.  There's a tradeoff to make when the
existing terms are well-known already, and this is not the right place to
start to make a change, especially since we don't have an IETF consensus
position yet.

> > 
> > We have leap59/leap61; might we need a leap62?
> > 
> [YJ] A leap second is a one-second adjustment that is occasionally applied to Coordinated Universal Time (UTC) in order to keep its time of day close to the mean solar time (UT1). Thus, only 59 or 61 is possible (i.e., 1 second ahead or backward), and we don't need a leap62 or any other bigger leaps.

I had done some more research after I wrote this note (which was supposed
to just be a note to myself, sorry).  I guess ANSI C has some confusing
text in it (viz.
https://groups.google.com/forum/#!topic/comp.protocols.time.ntp/HvZBLs413ng)
and this confusion has been hard to stamp out.

> 
> > Section 4
> > 
> > (I guess you don't need to talk about sensitive ro nodes when all the nodes
> > are under the sensitive rw nodes already mentioned.)
> > 
> [YJ] No, we don't talk about any read-only nodes in Section 4.


Thanks,

Benjamin