RE: [Gen-art] Genart last call review of draft-ietf-tictoc-1588v2-yang-09

Rodney Cummings <rodney.cummings@ni.com> Wed, 05 September 2018 17:26 UTC

Return-Path: <prvs=8786599537=rodney.cummings@ni.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CC1B012426A; Wed, 5 Sep 2018 10:26:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.611
X-Spam-Level:
X-Spam-Status: No, score=-2.611 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, T_DKIMWL_WL_MED=-0.01] 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 W1HJqjnAXqQv; Wed, 5 Sep 2018 10:26:34 -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 0E523130E3C; Wed, 5 Sep 2018 10:26:27 -0700 (PDT)
Received: from pps.filterd (m0098781.ppops.net [127.0.0.1]) by mx0a-00010702.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w85HL4bM013218; Wed, 5 Sep 2018 12:26:20 -0500
Authentication-Results: ppops.net; dkim=pass header.d=nio365.onmicrosoft.com header.s=selector1-ni-com
Received: from nam01-bn3-obe.outbound.protection.outlook.com (mail-bn3nam01lp0178.outbound.protection.outlook.com [216.32.180.178]) by mx0a-00010702.pphosted.com with ESMTP id 2ma40jakpr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 05 Sep 2018 12:26:19 -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:X-MS-Exchange-SenderADCheck; bh=f2KRW0dz8b1GN1sSjBwj3HuD7YxoKwyNnPEufG1OwuY=; b=If7XONDONA2eX/Ohy5aXY4UqYbZiFR2Ul62Lo/2RNENg0ynZWIOV0Gq3YnZooyTskd4HpFsCj+oPMn90iKbKv2ObxspnYmKOYErhPMFUMLXW70ZKla0kcXtFr452U8jN1eaUJ9FmpCecnG9mgVpnHstJsBbSmjRxDpP2U2YB760=
Received: from CY4PR04MB1127.namprd04.prod.outlook.com (10.173.192.137) by CY4PR04MB1111.namprd04.prod.outlook.com (10.173.190.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1101.17; Wed, 5 Sep 2018 17:26:15 +0000
Received: from CY4PR04MB1127.namprd04.prod.outlook.com ([fe80::594d:c2fc:212b:42c0]) by CY4PR04MB1127.namprd04.prod.outlook.com ([fe80::594d:c2fc:212b:42c0%3]) with mapi id 15.20.1122.009; Wed, 5 Sep 2018 17:26:15 +0000
From: Rodney Cummings <rodney.cummings@ni.com>
To: Linda Dunbar <linda.dunbar@huawei.com>, "gen-art@ietf.org" <gen-art@ietf.org>
CC: "draft-ietf-tictoc-1588v2-yang.all@ietf.org" <draft-ietf-tictoc-1588v2-yang.all@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Subject: RE: [Gen-art] Genart last call review of draft-ietf-tictoc-1588v2-yang-09
Thread-Topic: [Gen-art] Genart last call review of draft-ietf-tictoc-1588v2-yang-09
Thread-Index: AQHURJ7NbEkzr+SwqEa0ahbRc/5Z0aTgt+CAgAEulZA=
Date: Wed, 05 Sep 2018 17:26:15 +0000
Message-ID: <CY4PR04MB1127C705E725D9A5C2DB3FE392020@CY4PR04MB1127.namprd04.prod.outlook.com>
References: <153610019011.14275.15424162982190467426@ietfa.amsl.com> <4A95BA014132FF49AE685FAB4B9F17F66B12085F@sjceml521-mbs.china.huawei.com>
In-Reply-To: <4A95BA014132FF49AE685FAB4B9F17F66B12085F@sjceml521-mbs.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [130.164.62.219]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; CY4PR04MB1111; 6:qLEkY0Nh1w4N+M4iHwGd5OP8jg7xfmrOhn5v2zIPOS2DuN8VkTgU3hYfe6+IR9IOzr5eBJIHHge+IGBjzvyTtj1wZCx7hB1c3xEGPqBbjCywAhexordz7m9C25ipvZvMzA0E9XzdvV1U+5YdEtJubZ2/npXvwvNu0ieI0IJ2dd7frxDj2b7fFcOySZucchqm8D5v00qVkxYhXuzIZpBEtCVEO9AVAZNCvSuOzPPO5By3cOq1O3MkAe7MSVYWzoWu/h1WeARHaDUEiLZbCGL+JRzgDGKsBvyfN9EU99QXoH+RWuy9YLTk50VPW5ax0wRK8oIpw+dYBrXD79IRzmDyvGR9ly5uy0ivf3Cx/zXYqbJRttTxAxxY8m63VXt9uiIqr/nePgKcLpPrG4x7xGPuNf/N83YIXhvv2UxgVHTYpfhvZcq+PoKBQ1T5po+9AV4pxXnbhHk26Pt+jDNbAmIZyQ==; 5:18qsVI+m3QS+iYP34M2f549cqAkfJnVPoDZdAe6r/DkIJO6/XwklOx1b1Z10TQwjkb4y4RKoqh+iSWWiEJTKbJDLfhRywWi872biifiSavO+rEHYLODIUv8wXtiVb3Q6XjQU4w+RdE+80f3aX2gTr6k0iXsFJ+gcpPLLXD7i5EE=; 7:Be398WKd27QJnS81aLpvIWIQ5ukI+e9y10L5dvJ78rTBS0FHoycsr90xHWzVaKk3e8e63untkv3Hkz+cCClRQ/Ll2FrjSvoW639MCUB/RaU+sHjn4Qdgj1z71ML+X+8oXqvCtf8Lil3y2aPob46/o4IxG2m275M3boAgK9556z7jF3e4fPx8ExctXS6yH5nH+Vts5604ExntssvEIzfeMs2Zt1sU7y3rl1IeX3uJYjnVfbom52u6jG3RZHAOPAaJ
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 823bcc72-3fff-4961-71da-08d61354af34
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:CY4PR04MB1111;
x-ms-traffictypediagnostic: CY4PR04MB1111:
x-microsoft-antispam-prvs: <CY4PR04MB11118E0CA6DFF16932F8506E92020@CY4PR04MB1111.namprd04.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(10436049006162)(50582790962513);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(3231311)(944501410)(52105095)(10201501046)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(20161123564045)(20161123562045)(201708071742011)(7699016); SRVR:CY4PR04MB1111; BCL:0; PCL:0; RULEID:; SRVR:CY4PR04MB1111;
x-forefront-prvs: 078693968A
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(396003)(376002)(366004)(39860400002)(136003)(199004)(189003)(13464003)(8936002)(2900100001)(68736007)(53936002)(66066001)(102836004)(81156014)(55016002)(6436002)(9686003)(81166006)(8676002)(5660300001)(6306002)(26005)(14444005)(86362001)(229853002)(256004)(44832011)(99286004)(186003)(7736002)(305945005)(575784001)(11346002)(446003)(76176011)(486006)(45954006)(7696005)(74316002)(476003)(53546011)(6506007)(19627235002)(105586002)(110136005)(316002)(4326008)(14454004)(966005)(54906003)(478600001)(3846002)(6116002)(5250100002)(2501003)(6246003)(33656002)(25786009)(106356001)(2906002)(97736004); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR04MB1111; H:CY4PR04MB1127.namprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ni.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: 0TdEu8jmKOBl1cc+0P2tllFXCqcrpHZuV8RjB0e9s0S93ppUbN3xhyrjp4HNd+VA0BJc+KY/Fr4Rr3ag4J4zaecQpAUAA+nJ2sylHFoNr1Jz3cEZJaizKvoEbIdj6XUtekvZ704SIUy7mVqKrT1U6jWytOk24809cvFOoImhPfkdlTWKp5JE6QfERV2DzQnKsy/75TwFOfVuBFF31ZbEfUPJBzzSYXHCJZTNiJUqAJe0jW2yNurcej0LxjjkDLoJ43dGXpNQTFlItAkEXqmEE7CEkgb5T/H1dX+Tp/CTwMaTUzGmtqqlUmirPKuzinNylZEWB9oRrlZmzAXBtzL5uzG6XrHWu17Y7tqH8+Gjl+Q=
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-Network-Message-Id: 823bcc72-3fff-4961-71da-08d61354af34
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Sep 2018 17:26:15.3481 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 87ba1f9a-44cd-43a6-b008-6fdb45a5204e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR04MB1111
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-09-05_10:, , signatures=0
X-Proofpoint-Spam-Details: rule=inbound_policy_notspam policy=inbound_policy score=30 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=30 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809050174
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/cEc7T2U7HXxKfSG0ARcQSOvoICQ>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Sep 2018 17:26:55 -0000

Hi Linda,

I'll attempt to address both of your comments, and my co-authors can chime in as needed.

Regarding use of enum...

I agree that identity would be preferable in order to allow augments and other modules to add
new values. The reason this module uses enum is to explicitly disallow that sort of addition.
The reason why is that the list of number/name pairs is published in the IEEE 1588 standard,
and the IEEE 1588 working group is the only entity that can add new values. The number for each
name is used for IEEE 1588 messages (not only YANG management), and that's why the 
1588 standard itself needs to enforce its own registration to avoid incompatibilities.

That being said, it is certainly possible that future editions of the IEEE 1588 standard will
add new number/name pairs to the list. When that occurs, IEEE 1588 will revise the YANG
module to align with the new 1588 edition, and that YANG revision will add new enum values
according to the requirements of RFC 7950 section 11, which states:
      An "enumeration" type may have new enums added, provided the old
      enums's values do not change.  Note that inserting a new enum
      before an existing enum or reordering existing enums will result
      in new values for the existing enums, unless they have explicit
      values assigned to them.
Since IEEE 1588 assigns explicit values, and IEEE 1588 cannot change old values
(i.e., cannot break existing products), this requirement is straightforward.

Therefore, I recommend retaining the current use of enum.

Regarding default-ds and current-ds...

Those specific terms are used in the IEEE 1588 standard document itself, including
use of the abbreviation "ds" for "data set". 1588's data sets are used by the
protocol itself (e.g. in messages), and also for management (thus in YANG). The terms
date back to the early 1990's, so most 1588 implementers just "know" what these terms
mean.

That being said, I agree that additional description in the YANG module would be
helpful.

I would say that the original intent for these data sets from a 
management perspective was:
- default-ds: configuration of local 1588 data for the instance
- current-ds: state of local 1588 data for the instance

Most of the other data sets in 1588 represent information learned remotely (from 
received messages), configuration/state of a port, or data for optional features.

Why do I say "original intent"? Unfortunately, the IEEE 1588 document did not
provide an explicit definition of "default" and "current", and the document
still doesn't provide such a definition. As with any standard, when a concept
is ambiguous, implementers sometimes add enhancements in unintended ways. In 
this case, it was possible for a 1588 implementer to add state data to default-ds, 
or add configuration data to current-ds. For YANG, that sort of addition might be
done in a vendor-specific augment in order to represent product features that
have existed for years. For example, we could potentially add "config false" to
current-ds, but if we do, there might be complaints from folks who ship a product
that configures current-ds, with justification based on the ambiguity in the 
1588 standard document itself.

That history is the reason why we effectively dodged addition of a better description
of default-ds and current-ds.

I'd appreciate your advice on this.

Rodney Cummings

> -----Original Message-----
> From: Linda Dunbar <linda.dunbar@huawei.com>
> Sent: Tuesday, September 4, 2018 5:42 PM
> To: Linda Dunbar <linda.dunbar@huawei.com>; gen-art@ietf.org
> Cc: draft-ietf-tictoc-1588v2-yang.all@ietf.org; ietf@ietf.org;
> tictoc@ietf.org
> Subject: RE: [Gen-art] Genart last call review of draft-ietf-tictoc-
> 1588v2-yang-09
> 
> One more comment with the structure of the YANG Module:
> 
> The data model specified used several "enum" type, making it very
> difficult to expand in the future.
> 
> For example, "delay-mechanism-enumeration" currently has "e2e", "p2P", and
> "disabled". If you want to add one more value, the new data model is not
> backward compatible.
> 
> Should consider using "identity" and use "identityref". When expand in the
> future, data model is still backward compatible.
> 
> Linda Dunbar
> 
> -----Original Message-----
> From: Gen-art [mailto:gen-art-bounces@ietf.org] On Behalf Of Linda Dunbar
> Sent: Tuesday, September 04, 2018 5:30 PM
> To: gen-art@ietf.org
> Cc: draft-ietf-tictoc-1588v2-yang.all@ietf.org; ietf@ietf.org;
> tictoc@ietf.org
> Subject: [Gen-art] Genart last call review of draft-ietf-tictoc-1588v2-
> yang-09
> 
> Reviewer: Linda Dunbar
> Review result: Almost Ready
> 
> I am the assigned Gen-ART reviewer for this draft. The General Area Review
> Team (Gen-ART) reviews all IETF documents being processed by the IESG for
> the IETF Chair.  Please treat these comments just like any other last call
> comments.
> 
> For more information, please see the FAQ at
> 
> <https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__trac.ietf.org_trac_gen_wiki_GenArtfaq&d=DwIFAg&c=I_0YwoKy7z5LMTVdyO6YC
> iE2uzI1jjZZuIPelcSjixA&r=WA71sf2o7Dw7CbYhFt24DPjt3lJuupswWYdnboKbZ8k&m=4uF
> XFzSFUJzVZFHQNy9WTW6pJuumHOJ1hyKNAe-
> hPYM&s=4idNt4twmS2wCSQ2GRIHlrdgUd9wsckQx3u9H85y1XM&e=>.
> 
> Document: draft-ietf-tictoc-1588v2-yang-??
> Reviewer: Linda Dunbar
> Review Date: 2018-09-04
> IETF LC End Date: 2018-09-07
> IESG Telechat date: Not scheduled for a telechat
> 
> Summary:
> This document specify the YANG data model for IEEE1588-2008.
> The document is written very clear. I have some questions, such as What is
> the relationship between Current-DS and Default-DS?
> It seems to be that the "default-ds" has most of the information for the
> clock.
> Is Current-ds simply supplement?
> 
> Major issues:
> 
> Minor issues:
> 
> Nits/editorial comments:
> 
> 
> _______________________________________________
> Gen-art mailing list
> Gen-art@ietf.org
> https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__www.ietf.org_mailman_listinfo_gen-
> 2Dart&d=DwIFAg&c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&r=WA71sf2o7Dw
> 7CbYhFt24DPjt3lJuupswWYdnboKbZ8k&m=4uFXFzSFUJzVZFHQNy9WTW6pJuumHOJ1hyKNAe-
> hPYM&s=9jRwKb0u3LDMczyKgP8Es7qIHh6Fil57BSmR0ZpgOy4&e=