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

Jiangyuanlong <jiangyuanlong@huawei.com> Fri, 12 October 2018 14:26 UTC

Return-Path: <jiangyuanlong@huawei.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 889CE130E22; Fri, 12 Oct 2018 07:26:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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 s8mWlw7Gzvp0; Fri, 12 Oct 2018 07:26:25 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (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 4A84F128BAC; Fri, 12 Oct 2018 07:26:25 -0700 (PDT)
Received: from lhreml703-cah.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id 3F38E2F441F8C; Fri, 12 Oct 2018 15:26:20 +0100 (IST)
Received: from DGGEML423-HUB.china.huawei.com (10.1.199.40) by lhreml703-cah.china.huawei.com (10.201.108.44) with Microsoft SMTP Server (TLS) id 14.3.399.0; Fri, 12 Oct 2018 15:26:21 +0100
Received: from DGGEML532-MBS.china.huawei.com ([169.254.7.198]) by dggeml423-hub.china.huawei.com ([10.1.199.40]) with mapi id 14.03.0399.000; Fri, 12 Oct 2018 22:26:08 +0800
From: Jiangyuanlong <jiangyuanlong@huawei.com>
To: Benjamin Kaduk <kaduk@mit.edu>, The IESG <iesg@ietf.org>, Karen O'Donoghue <odonoghue@isoc.org>
CC: "draft-ietf-tictoc-1588v2-yang@ietf.org" <draft-ietf-tictoc-1588v2-yang@ietf.org>, "tictoc-chairs@ietf.org" <tictoc-chairs@ietf.org>, "odonoghue@isoc.org" <odonoghue@isoc.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Thread-Topic: Benjamin Kaduk's Discuss on draft-ietf-tictoc-1588v2-yang-10: (with DISCUSS and COMMENT)
Thread-Index: AQHUYWl6D0CRLbSSkk64ywOGn9xD2aUbiaqQ
Date: Fri, 12 Oct 2018 14:26:08 +0000
Message-ID: <3B0A1BED22CAD649A1B3E97BE5DDD68BBC218FF5@dggeml532-mbs.china.huawei.com>
References: <153926586208.14803.13432042276042241561.idtracker@ietfa.amsl.com>
In-Reply-To: <153926586208.14803.13432042276042241561.idtracker@ietfa.amsl.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.200.171.106]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/tictoc/hUVRV_mQ_QzlMPmOFvojVZ_bmTU>
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:26:28 -0000

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. 
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 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".


> 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.

> 
> 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.


> 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.