[TICTOC] Comments on draft-jlx-tictoc-1588v2-yang

Rodney Cummings <rodney.cummings@ni.com> Tue, 22 September 2015 17:34 UTC

Return-Path: <rodney.cummings@ni.com>
X-Original-To: tictoc@ietfa.amsl.com
Delivered-To: tictoc@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 828AF1A9239 for <tictoc@ietfa.amsl.com>; Tue, 22 Sep 2015 10:34:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.146
X-Spam-Level:
X-Spam-Status: No, score=-0.146 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HELO_IS_SMALL6=0.556, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 sFxl2gqEReBf for <tictoc@ietfa.amsl.com>; Tue, 22 Sep 2015 10:34:45 -0700 (PDT)
Received: from ni.com (skprod2.natinst.com [130.164.80.23]) (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 989741A9237 for <tictoc@ietf.org>; Tue, 22 Sep 2015 10:34:45 -0700 (PDT)
Received: from US-AUS-MAIL4.amer.corp.natinst.com (nb-snip2-1338.natinst.com [130.164.19.135]) by us-aus-skprod2.natinst.com (8.15.0.59/8.15.0.59) with ESMTP id t8MHYiL3018846 for <tictoc@ietf.org>; Tue, 22 Sep 2015 12:34:44 -0500
To: tictoc@ietf.org
MIME-Version: 1.0
X-KeepSent: 9E94A49C:F1E8F2B8-86257EC8:005B4A8E; type=4; name=$KeepSent
X-Mailer: Lotus Notes Release 8.5.3FP6 November 22, 2013
From: Rodney Cummings <rodney.cummings@ni.com>
Message-ID: <OF9E94A49C.F1E8F2B8-ON86257EC8.005B4A8E-86257EC8.006090D7@ni.com>
Date: Tue, 22 Sep 2015 12:34:44 -0500
X-MIMETrack: Serialize by Router on US-AUS-MAIL4/AUS/M/NIC(Release 8.5.3FP6 HF1218|December 12, 2014) at 09/22/2015 12:34:44 PM, Serialize complete at 09/22/2015 12:34:44 PM
Content-Type: multipart/alternative; boundary="=_alternative 0060909786257EC8_="
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2015-09-22_06:, , signatures=0
Archived-At: <http://mailarchive.ietf.org/arch/msg/tictoc/Q7X0dFMPORyfPrr9k4xTxFQKkmw>
Subject: [TICTOC] Comments on draft-jlx-tictoc-1588v2-yang
X-BeenThere: tictoc@ietf.org
X-Mailman-Version: 2.1.15
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: Tue, 22 Sep 2015 17:34:48 -0000

Hello,

I'm new to the TICTOC working group, but I would like to make some 
comments on the recent I-D for a YANG data model for IEEE 1588:
        https://datatracker.ietf.org/doc/draft-jlx-tictoc-1588v2-yang/

I would like to thank the authors for submitting this I-D. For many of us, 
the task of creating and editing YANG modules is new, so I really 
appreciate that the authors offered to start off YANG work for time 
synchronization.

As many of us know, there is currently no standard MIB for IEEE 1588. 
There are multiple MIBs created by various profile organizations, such as 
the IETF TICTOC MIB, and the IEEE 802.1AS MIB. Those MIBs were created at 
a time when the IEEE 1588 working group was not meeting regularly. As a 
result, there was relatively little coordination to ensure consistency 
among the MIBs. There is ongoing work in the IEEE 1588 Management 
subcommittee to specify a structure for IEEE 1588 MIBs. In my personal 
opinion, that IEEE 1588 work may not result in product success, because we 
already have the problem that many products exist in the field with the 
profile-specific MIBs. It is too late to turn back time to create a true 
IEEE 1588 MIB.

With YANG, we all have the opportunity to correct this fragmentation, and 
design modules for inheritance, so that IEEE 1588 features are 
represented, profile-specific features are represented, and 
product-specific features are represented. YANG is very well designed for 
this sort of structure.

With that goal in mind, I would suggest that the authors of the I-D 
separate their proposal into two separate I-Ds:
- 1588 I-D: This I-D represents the datasets specified in IEEE 1588-2008 
(aka "v2"), and nothing more.
- Augment I-D: This I-D represents the features that the authors want 
beyond what is specified in the 1588-2008 standard.

The goal for the 1588 I-D is that it can serve as a starting point for the 
official IEEE 1588 YANG module. In my opinion, this 1588 YANG module will 
eventually be owned and controlled entirely by the IEEE 1588 working group 
(not IETF). Nevertheless, IETF TICTOC could possibly serve as a great 
place to start the work. The formalities among standards organizations can 
be handled at a later date. The important thing for now is to start the 
work and discussion.

The goal for the Augment I-D is to provide a place for some of the ideas 
that the authors entered into the v00 I-D. The goal is to specify a YANG 
augment in this I-D, using the 1588 I-D's YANG module as the foundation. I 
am not certain if the additional features make sense in the TICTOC context 
(e.g. maybe for the Enterprise profile), or if they are best done as 
product-specific features. By separating those features into a separate 
Augment I-D, we can consider those features as a distinct topic that is 
formally unrelated to IEEE 1588 data sets.

The following lists some specific suggestions for section 5 of the v00 I-D 
to transform into a 1588 I-D:

1. Change the name of "query" to "dataset" or similar.
2. Move all RPC statements to the Augment I-D. YANG allows the leafs to be 
writable, so there is no need for RPC. 1588 does not specify RPC.
3. Change names of containers and leafs to more closely match the names in 
clause 8 of IEEE-2008 ("PTP data sets").
4. Remove leafs that are not in 1588-2008 from the 1588 I-D (and possibly 
move into the Augment I-D). This includes:
        - clock-default-DS: Remove quality-class, quality-accuracy, 
quality-offset
        - clock-parent-DS-entry: Remove quality-class, quality-accuracy, 
quality-offset
        - clock-running-entry: Remove this grouping and container
        - clock-port-entry: Remove this grouping and container
        - clock-port-running-entry: Remove this grouping and container
        - clock-port-associate-entry: Remove this grouping and container
        - clock-port-DS-entry: Remove min-delay-req-interval, 
peer-delay-req-interval, peer-mean-path-delay, grant-duration
5. Add leafs that are specified in clause 8 of IEEE-2008, but not the v00 
I-D:
        - clock-default-DS: Add numberPorts, clockQuality
        - clock-parent-DS-entry: Add grandmasterClockQuality
        - clock-port-DS-entry: Add log-min-pdelay-req-interval

Thanks,

----------------------------
Rodney Cummings
National Instruments
Email: Rodney.Cummings@ni.com