Re: [TICTOC] Yangdoctors early review of draft-ietf-tictoc-1588v2-yang-10

Jiangyuanlong <jiangyuanlong@huawei.com> Thu, 25 October 2018 08:19 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 1DA7512D4F2; Thu, 25 Oct 2018 01:19:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=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 vbrKslKPKLPi; Thu, 25 Oct 2018 01:19:57 -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 A4BC7120072; Thu, 25 Oct 2018 01:19:57 -0700 (PDT)
Received: from lhreml707-cah.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 590977E250639; Thu, 25 Oct 2018 09:19:53 +0100 (IST)
Received: from DGGEML403-HUB.china.huawei.com (10.3.17.33) by lhreml707-cah.china.huawei.com (10.201.108.48) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 25 Oct 2018 09:19:55 +0100
Received: from DGGEML512-MBX.china.huawei.com ([169.254.2.93]) by DGGEML403-HUB.china.huawei.com ([fe80::74d9:c659:fbec:21fa%31]) with mapi id 14.03.0399.000; Thu, 25 Oct 2018 16:19:49 +0800
From: Jiangyuanlong <jiangyuanlong@huawei.com>
To: Radek Krejčí <rkrejci@cesnet.cz>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
CC: "draft-ietf-tictoc-1588v2-yang.all@ietf.org" <draft-ietf-tictoc-1588v2-yang.all@ietf.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Thread-Topic: Yangdoctors early review of draft-ietf-tictoc-1588v2-yang-10
Thread-Index: AQHUbC8F0FUpJMEFlEG64gMbtBZ4DKUvkN+g
Date: Thu, 25 Oct 2018 08:19:49 +0000
Message-ID: <3B0A1BED22CAD649A1B3E97BE5DDD68BBC23ED62@dggeml512-mbx.china.huawei.com>
References: <154045022283.6867.1264697701888740594@ietfa.amsl.com>
In-Reply-To: <154045022283.6867.1264697701888740594@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.74.202.215]
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/dIVzlmxKUvXteCXx_sSryWiJuaQ>
Subject: Re: [TICTOC] Yangdoctors early review of draft-ietf-tictoc-1588v2-yang-10
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: Thu, 25 Oct 2018 08:19:59 -0000

Hi Radek,

Thanks much for the review.
Please see my comments in the line.

Best regards,
Yuanlong

-----Original Message-----
From: Radek Krejčí [mailto:rkrejci@cesnet.cz] 
Sent: Thursday, October 25, 2018 2:50 PM
To: yang-doctors@ietf.org
Cc: draft-ietf-tictoc-1588v2-yang.all@ietf.org; tictoc@ietf.org
Subject: Yangdoctors early review of draft-ietf-tictoc-1588v2-yang-10

Reviewer: Radek Krejčí
Review result: Ready with Nits

This is my YANG-doctor review of draft-ietf-tictoc-1588v2-yang-10. I have reviewed it mainly from the YANG perspective, since I'm not familiar with IEEE 1588.

The draft as well as the YANG module ietf-ptp@2018-09-10 are in a good shape and ready to publish. I have only 2, say, editorial notes.

1) email of Rodney Cummings in the module's contact statement misses (in contrast to emails of other authors) starting ('<') and ending ('>') tags.
[YJ] Good catch, I found this inconsistence too, and we will update it in the next revision.

2) I don't see any reason for the following paragraph in the appendix A3:

   Under the assumptions of section A.1, the first IEEE 1588 YANG
   module prefix can be the same as the last IETF 1588 YANG module
   prefix (i.e. "ptp"), since the nodes within both YANG modules are
   compatible.

Since the module's prefix is used only locally, it may change when the module is updated (RFC 7950, sec. 11). So the mentioned paragraph seems pointless to me (and therefore confusing for readers).
[YJ] Good catch, there is a misspelling here, "prefix" should be "postfix" in A.3, it is not the "prefix" statement in the YANG. The logic is, both "ieee1588-ptp" and "ietf-ptp" have a "ptp" postfix.