Re: [netmod] WGLC for draft-ietf-tictoc-1588v2-yang

Rodney Cummings <rodney.cummings@ni.com> Fri, 15 September 2017 20:31 UTC

Return-Path: <rodney.cummings@ni.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DAD631341FD; Fri, 15 Sep 2017 13:31:26 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nio365.onmicrosoft.com
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 2gXBhCJpJAeT; Fri, 15 Sep 2017 13:31:24 -0700 (PDT)
Received: from mx0b-00010702.pphosted.com (mx0a-00010702.pphosted.com [148.163.156.75]) (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 AEBE21341EB; Fri, 15 Sep 2017 13:31:24 -0700 (PDT)
Received: from pps.filterd (m0098781.ppops.net [127.0.0.1]) by mx0a-00010702.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v8FKQBVI002799; Fri, 15 Sep 2017 15:31:16 -0500
Received: from nam02-cy1-obe.outbound.protection.outlook.com (mail-cys01nam02lp0050.outbound.protection.outlook.com [207.46.163.50]) by mx0a-00010702.pphosted.com with ESMTP id 2d0k2u8k5s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 15 Sep 2017 15:31:16 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nio365.onmicrosoft.com; s=selector1-ni-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=2bzShSTPdKc8menrS2jZbh+0QT6LsHNi1IN5I7vQAq8=; b=OetIJfLgtZVzGKdrm1Kter/cX1uNHvdbKejQA95a0TtVpP+zP6CdOpH6b7EusxXxepVmvJHvsAbtFQaSQ1cQkrqSdnz1CMcgB7ysYiEKZchmifyj1WWiwJHOdBBPm5qrMTKps+0nvIzO/Z8Sk0p7ckoDGsf7CW0qFIGjFfddc+0=
Received: from DM2PR0401MB1389.namprd04.prod.outlook.com (10.160.219.156) by DM2PR0401MB1182.namprd04.prod.outlook.com (10.160.216.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12; Fri, 15 Sep 2017 20:31:14 +0000
Received: from DM2PR0401MB1389.namprd04.prod.outlook.com ([fe80::2002:caad:4d86:98da]) by DM2PR0401MB1389.namprd04.prod.outlook.com ([fe80::2002:caad:4d86:98da%13]) with mapi id 15.20.0035.021; Fri, 15 Sep 2017 20:31:14 +0000
From: Rodney Cummings <rodney.cummings@ni.com>
To: Alex Campbell <Alex.Campbell@Aviatnet.com>, Jiangyuanlong <jiangyuanlong@huawei.com>, "netmod@ietf.org" <netmod@ietf.org>
CC: "tictoc@ietf.org" <tictoc@ietf.org>
Thread-Topic: WGLC for draft-ietf-tictoc-1588v2-yang
Thread-Index: AQHTLMS9I02w6VlOokuuR++M6yrZg6K1JzgQgAA51/2AAQHXgA==
Date: Fri, 15 Sep 2017 20:31:13 +0000
Message-ID: <DM2PR0401MB13896EA8B00FFB6A86A866E1926C0@DM2PR0401MB1389.namprd04.prod.outlook.com>
References: <3B0A1BED22CAD649A1B3E97BE5DDD68BBB5A2CBD@dggeml507-mbx.china.huawei.com> <1505453243090.91370@Aviatnet.com>
In-Reply-To: <1505453243090.91370@Aviatnet.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [130.164.62.43]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM2PR0401MB1182; 6:N/YB9oxTusw8AGpUTE6nn1rt/dDeVg5rMiff+ydEqkbx0LAh1gk1CWVybC1KWxXXB7PEA2323CN3+dwB6vjlQjnIe7wbF/HJ4023BXREvLfIONwZTVrt0QUJjwaiVtb05dFoWm5VupLOXZhtLvR6HWltfUZIGjBCZUUBmPTa+4miSYQDHJiOO0pSoBIVVx57z2eygs5gKJww0vU/DZNK+6e7KVXI0+JB728JMrmDMUS+OrMEBm+7R6Iz2wpweVIIGwrSNyEjVmH7c9hpTYksS8TBLzqAQtW8uChrV0fc6HVqQ7YtlhAOJ/P+PdWEXp2icLccawG3Fgu2BssECMSe+w==; 5:cKTXCRYf1okHM3dZqW5Ys4p53cUiLGI2rrqE3xFT7DlLhiSB6gwDMRUJ1o/VTXiobK7eyBrZGmPDqh4i/DjFdL8HrKpxljZn5usKbsz4+L5KmzNeEZjRARnrtUThapavxUXPL7YsEDKFNgw3+NuYLg==; 24:PGVYQDuXWsgPj8UZj8yvWyEbvFBkNKeZ53iYx/pnHjOh7JKRa5bBnDJ92fASha3WukFvNVgVLSddEC+pU5sR4iJtRaxQOsVa47593Gp2xHM=; 7:eEdM0ukyckv+ZtN4G5b7LOXtXGTpO9+IVVe/2hurz9lCJbwRlZUZ5WMpr8XVhgSsWo9pBNQJ7g/S3wJwHLgx0FFTbq059xSAjnms1T5/idNAT0dxlExH0YvUYTOF7VMMMDnjRvHmrUtBma2TnL77OYVcFB3bYHwg7S8otBIz6VwEcryUwN6THQ/XFuZ5t74eqnPbwakOlf+ovOaN6l3jv4N33P+XIM+WjKf048ZUZ8g=
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 94ca96e1-14d0-4b58-0021-08d4fc78b5ab
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM2PR0401MB1182;
x-ms-traffictypediagnostic: DM2PR0401MB1182:
x-exchange-antispam-report-test: UriScan:(10436049006162)(50582790962513)(100405760836317);
x-microsoft-antispam-prvs: <DM2PR0401MB11826AFE16E1DFF3F50EF697926C0@DM2PR0401MB1182.namprd04.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(93001095)(3002001)(10201501046)(6041248)(20161123564025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123560025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM2PR0401MB1182; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM2PR0401MB1182;
x-forefront-prvs: 0431F981D8
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(346002)(376002)(377454003)(13464003)(199003)(189002)(25786009)(106356001)(101416001)(2900100001)(2906002)(76176999)(7696004)(5660300001)(54356999)(50986999)(66066001)(478600001)(189998001)(3280700002)(105586002)(68736007)(966005)(3660700001)(230783001)(6506006)(2501003)(4326008)(53936002)(102836003)(86362001)(6436002)(53546010)(7736002)(74316002)(55016002)(99286003)(33656002)(3846002)(2950100002)(316002)(305945005)(8936002)(97736004)(5250100002)(81156014)(6116002)(14454004)(8676002)(229853002)(6306002)(6246003)(9686003)(81166006)(19627235001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0401MB1182; H:DM2PR0401MB1389.namprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: ni.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: ni.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Sep 2017 20:31:13.8834 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 87ba1f9a-44cd-43a6-b008-6fdb45a5204e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0401MB1182
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-09-15_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=30 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=30 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1709150300
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/RNhzKTTZDvlSqaWjz-_RobBbb70>
Subject: Re: [netmod] WGLC for draft-ietf-tictoc-1588v2-yang
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Sep 2017 20:31:27 -0000

Thanks Alex,

Good feedback.

As an overall point, most of these names have a 1-1 association to a name from the IEEE Std 1588-2008 standard. The 1588 document uses "DS" as an abbreviation for its "data set", which is essentially an information model for a collection of nodes. Beyond that, 1588 uses camel-case for its names, such as:
	DefaultDS.numberPorts
The co-authors of this I-D used the following approach:
	Change names to the typical YANG convention (lowercase dashed), but otherwise strive to keep the 1-1 relationship with the 1588 name.
We were trying to avoid someone getting confused, and thinking that the YANG name is something new, not specified in 1588.
This means that you will see names like:
	default-ds.number-ports
I'd prefer to avoid changing to "number-of-ports", because for whatever reason, 1588 uses numberPorts, and it'd be best to keep the 1-1 relationship.

Other than that, all of your comments seem fine with me.

Rodney

> -----Original Message-----
> From: TICTOC [mailto:tictoc-bounces@ietf.org] On Behalf Of Alex Campbell
> Sent: Friday, September 15, 2017 12:27 AM
> To: Jiangyuanlong <jiangyuanlong@huawei.com>; netmod@ietf.org
> Cc: tictoc@ietf.org
> Subject: Re: [TICTOC] WGLC for draft-ietf-tictoc-1588v2-yang
> 
> Hi,
> I've reviewed the draft and found the following issues.
> 
> * YANG enumeration values are conventionally lowercase, but the delay-
> mechanism-enumeration and port-state-enumeration types in the draft have
> uppercase values.
> * Similarly, hyphens should be used rather than underscores (pre-master
> instead of PRE_MASTER)
> * number-ports doesn't read naturally in English; I suggest renaming it to
> number-of-ports.
> * The description of port-ds-list contains a typo - "memer" instead of
> "member".
> * There's no need to have groupings that are only used once (such as
> parent-ds-entry, current-ds-entry, default-ds-entry, transparent-clock-
> default-ds-entry, port-ds-entry, transparent-clock-default-ds-entry, and
> so on) unless this is for futureproofing or some other reason I'm not
> aware of.
> * Is it necessary to include -ds in the name of every leaf, container and
> grouping?
> 
> Note I'm not familiar with IEEE 1588, apart from a brief look through it
> just now.
> 
> Alex
> 
> 
> ________________________________________
> From: netmod <netmod-bounces@ietf.org> on behalf of Jiangyuanlong
> <jiangyuanlong@huawei.com>
> Sent: Friday, 15 September 2017 1:42 p.m.
> To: netmod@ietf.org
> Cc: tictoc@ietf.org
> Subject: [netmod] FW: WGLC for draft-ietf-tictoc-1588v2-yang
> 
> Hi netmoders,
> 
> This draft does not tackle the general YANG problem, but provide a generic
> time synchronization module of 1588.
> Some of you may have interests in time synchronization, some definitely
> not. But as experts in YANG, could you please have a review of this YANG
> module and give an expert opinion?
> 
> Thanks,
> Yuanlong
> 
> -----Original Message-----
> From: TICTOC [mailto:tictoc-bounces@ietf.org] On Behalf Of Karen
> O'Donoghue
> Sent: Thursday, September 14, 2017 3:16 AM
> To: tictoc@ietf.org
> Cc: ntp@ietf.org
> Subject: [TICTOC] WGLC for draft-ietf-tictoc-1588v2-yang
> 
> Folks,
> 
> This message begins a 2 week working group last call (WGLC) for the
> following document:
> 
> YANG Data Model for IEEE 1588v2
> https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__datatracker.ietf.org_doc_draft-2Dietf-2Dtictoc-2D1588v2-
> 2Dyang_&d=DwICAg&c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&r=WA71sf2o7
> Dw7CbYhFt24DPjt3lJuupswWYdnboKbZ8k&m=KYy1NqCkT9fELXGg7ARrUez4toujzAfPIBGxu
> 4O-IwA&s=JeFM02MFCMdOI1qLRL6vF-Db7NDdjIn4sLd9_HuDPio&e=
> 
> Please review the referenced document and send any comments to the mailing
> list including your assessment of whether this document is mature enough
> to proceed to the IESG. Please note that these messages of support for
> progression to the mailing list are important and will be used to
> determine WG consensus to proceed.
> 
> Please send all comments in by Thursday 28 September 2017.
> 
> Thank you!
> Karen
> _______________________________________________
> TICTOC mailing list
> TICTOC@ietf.org
> https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__www.ietf.org_mailman_listinfo_tictoc&d=DwICAg&c=I_0YwoKy7z5LMTVdyO6YCi
> E2uzI1jjZZuIPelcSjixA&r=WA71sf2o7Dw7CbYhFt24DPjt3lJuupswWYdnboKbZ8k&m=KYy1
> NqCkT9fELXGg7ARrUez4toujzAfPIBGxu4O-
> IwA&s=zEhnTQKhHxNWCB1MNgv1Oulcl78Y4yP3S5Zfb7m9dPY&e=
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__www.ietf.org_mailman_listinfo_netmod&d=DwICAg&c=I_0YwoKy7z5LMTVdyO6YCi
> E2uzI1jjZZuIPelcSjixA&r=WA71sf2o7Dw7CbYhFt24DPjt3lJuupswWYdnboKbZ8k&m=KYy1
> NqCkT9fELXGg7ARrUez4toujzAfPIBGxu4O-IwA&s=cEawQxd1IoW8ewaY4Q822u-
> yKPhzvQSiK12nIyg39cA&e=
> 
> _______________________________________________
> TICTOC mailing list
> TICTOC@ietf.org
> https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__www.ietf.org_mailman_listinfo_tictoc&d=DwICAg&c=I_0YwoKy7z5LMTVdyO6YCi
> E2uzI1jjZZuIPelcSjixA&r=WA71sf2o7Dw7CbYhFt24DPjt3lJuupswWYdnboKbZ8k&m=KYy1
> NqCkT9fELXGg7ARrUez4toujzAfPIBGxu4O-
> IwA&s=zEhnTQKhHxNWCB1MNgv1Oulcl78Y4yP3S5Zfb7m9dPY&e=