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

Jiangyuanlong <jiangyuanlong@huawei.com> Fri, 25 September 2015 01:24 UTC

Return-Path: <jiangyuanlong@huawei.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 DABDC1B4403 for <tictoc@ietfa.amsl.com>; Thu, 24 Sep 2015 18:24:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level:
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 eR544UzQ63wr for <tictoc@ietfa.amsl.com>; Thu, 24 Sep 2015 18:24:48 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 20B0D1B441E for <tictoc@ietf.org>; Thu, 24 Sep 2015 18:24:22 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml403-hub.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CBR75970; Fri, 25 Sep 2015 01:24:21 +0000 (GMT)
Received: from SZXEMA413-HUB.china.huawei.com (10.82.72.72) by lhreml403-hub.china.huawei.com (10.201.5.217) with Microsoft SMTP Server (TLS) id 14.3.235.1; Fri, 25 Sep 2015 02:24:20 +0100
Received: from SZXEMA506-MBS.china.huawei.com ([169.254.4.235]) by SZXEMA413-HUB.china.huawei.com ([10.82.72.72]) with mapi id 14.03.0235.001; Fri, 25 Sep 2015 09:24:10 +0800
From: Jiangyuanlong <jiangyuanlong@huawei.com>
To: Rodney Cummings <rodney.cummings@ni.com>, "tictoc@ietf.org" <tictoc@ietf.org>
Thread-Topic: [TICTOC] Comments on draft-jlx-tictoc-1588v2-yang
Thread-Index: AQHQ9V0GUrOmJ9EVyEy3OI5/fsG4k55MZHkQ
Date: Fri, 25 Sep 2015 01:24:09 +0000
Message-ID: <3B0A1BED22CAD649A1B3E97BE5DDD68B682792FD@szxema506-mbs.china.huawei.com>
References: <OF9E94A49C.F1E8F2B8-ON86257EC8.005B4A8E-86257EC8.006090D7@ni.com>
In-Reply-To: <OF9E94A49C.F1E8F2B8-ON86257EC8.005B4A8E-86257EC8.006090D7@ni.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.66.76.118]
Content-Type: multipart/alternative; boundary="_000_3B0A1BED22CAD649A1B3E97BE5DDD68B682792FDszxema506mbschi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <http://mailarchive.ietf.org/arch/msg/tictoc/LHK-fAsrQ976ZChHr3Dh-3kW4iE>
Cc: Xujinchun <xujinchun@huawei.com>, "liuxian (C)" <lene.liuxian@huawei.com>
Subject: Re: [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: Fri, 25 Sep 2015 01:24:52 -0000

Hi Rodney,

Thank a lot for your expert review and detailed comments!
We also welcome you and others who have interest to join this work.
Please see further comments inline.

Best regards,
Yuanlong (on behalf of coauthors)


From: TICTOC [mailto:tictoc-bounces@ietf.org] On Behalf Of Rodney Cummings
Sent: Wednesday, September 23, 2015 1:35 AM
To: tictoc@ietf.org
Subject: [TICTOC] Comments on draft-jlx-tictoc-1588v2-yang

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.

JY: We are also new faces to TICTOC;) Thanks to the WG  for the platform and the openness.

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.
JY: Totally agree.
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.
JY: Very good suggestions. The original I-D was targeted at routers. If we design the model in a wider scope, definitely a 1588 I-D is needed, and separate augment I-Ds for bridges and routers can then be ensued. I also agree that we should keep the ball rolling while the responsible SDO can be determined later.

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

JY: These proposals look fine, and we will incoporate them into a new I-D for generic 1588 YANG model.

Thanks,

----------------------------
Rodney Cummings
National Instruments
Email: Rodney.Cummings@ni.com<mailto:Rodney.Cummings@ni.com>