Re: [CCAMP] YANG doctor review

tom petch <ietfc@btconnect.com> Tue, 19 November 2019 18:57 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: ccamp@ietfa.amsl.com
Delivered-To: ccamp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7BBC8120905 for <ccamp@ietfa.amsl.com>; Tue, 19 Nov 2019 10:57:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.248
X-Spam-Level:
X-Spam-Status: No, score=0.248 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RATWARE_MS_HASH=2.148, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.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 9vLwwfHNik29 for <ccamp@ietfa.amsl.com>; Tue, 19 Nov 2019 10:57:18 -0800 (PST)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0715.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::715]) (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 D74C8120A0B for <ccamp@ietf.org>; Tue, 19 Nov 2019 10:57:00 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dr0iMiG9JDlF5cvbN96BntaBwGPWG76c4aomamGY/ebfw7LpU/b57FIsNH45I6kxO1Gg+h3r+mV3SxNvodFoXlHwkDl/j1tmxMlMX9X+nSSD2JSzJtRcJVmmYOuVQhMavDDTmz9FdDscHHbYQ7XH0e9DdQ2cX6QJENbF6bkkTzgfr4Ntkqmo17SJ3PNOlpT8qCPiu79O39uZedaJtq0W1QUalU6flCvnAPs/ahwh1HlkpPmlVr12ITqEZHE3suo6BMko+o/TP++5guUDHBIi1K5uLuRmi+O9y4+qqlJbNG64NbRKCUh7ve+gfBpgFdWadXzd2pKx5B7LbMYb/ontww==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aGV6rrviEsXpshpEwBeSzroPSyszrDOeMbWfjtdK07A=; b=PrNZ/t/EOb/mNkBmhoWuZcphG+GNSGajSoSTaz0att2JctPD/a1CBJJ61F0gCaozKkGngifnt8kUDVD9DwHGHSIdoxoDSL4Z9+laJIeU8Kxa4mO4DCRP+350L0mpy60c8n69FCMGRB5eFzNLJFlGrJysH3NsbmDzWL0pQLf3M+YwN7tIYrCfFxSf56jwlZEDYB1wP2pdsg2zecDYX3jNDVJCGGe/NiAtqlqAC9nUfymPINMn+0r7lupgAMtAmbeCRBPB7vyYeCt8wTuox6ZBALepRP+9HYzl6X3tjOHwaWCO9DXm2lUEpoMUsomyetHAOvdjKeqWf8v+TO9w7gYmHA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aGV6rrviEsXpshpEwBeSzroPSyszrDOeMbWfjtdK07A=; b=bmo7tdkgmrK6fLhgQSLp6R31axSNPKz2o5FUdoWrloRKOgZZxyT1cEprfDGq2TfE6Y3JRHZ7R/qhTyBJdS2brBLwKOO0qTo8E1DYj6NY0rGWTORFlw++FMQCvv87hNNtskbYaYpYjkdvdocv1n1nQNz85R+7ciyUKUDSC5RQB0o=
Received: from DB7PR07MB5147.eurprd07.prod.outlook.com (20.178.42.32) by DB7PR07MB6137.eurprd07.prod.outlook.com (20.178.85.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.10; Tue, 19 Nov 2019 18:56:57 +0000
Received: from DB7PR07MB5147.eurprd07.prod.outlook.com ([fe80::e5bf:72e6:a66c:401a]) by DB7PR07MB5147.eurprd07.prod.outlook.com ([fe80::e5bf:72e6:a66c:401a%3]) with mapi id 15.20.2474.015; Tue, 19 Nov 2019 18:56:57 +0000
From: tom petch <ietfc@btconnect.com>
To: tom petch <ietfc@btconnect.com>, "ccamp@ietf.org" <ccamp@ietf.org>
Thread-Topic: [CCAMP] YANG doctor review
Thread-Index: AQHVntTyF+l9r1b4QEKQeI1Hzup4dg==
Date: Tue, 19 Nov 2019 18:56:57 +0000
Message-ID: <000e01d59f0b$0dc26d00$4001a8c0@gateway.2wire.net>
References: <HE1PR0701MB22672662523D64EF02CE531FF0760@HE1PR0701MB2267.eurprd07.prod.outlook.com> <075401d59ed4$ff5036c0$4001a8c0@gateway.2wire.net>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: LO2P123CA0007.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:a6::19) To DB7PR07MB5147.eurprd07.prod.outlook.com (2603:10a6:10:68::32)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-mailer: Microsoft Outlook Express 6.00.2800.1106
x-originating-ip: [86.139.211.103]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 6f82cf03-ae8e-4fd5-83f2-08d76d224039
x-ms-traffictypediagnostic: DB7PR07MB6137:
x-ms-exchange-purlcount: 2
x-microsoft-antispam-prvs: <DB7PR07MB6137BEA1FD311012236F6C73A04C0@DB7PR07MB6137.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:5236;
x-forefront-prvs: 022649CC2C
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(396003)(376002)(346002)(366004)(136003)(13464003)(51444003)(199004)(189003)(25786009)(1556002)(6116002)(6506007)(3846002)(102836004)(7736002)(66946007)(66556008)(305945005)(386003)(110136005)(8676002)(81166006)(86362001)(81156014)(296002)(316002)(66066001)(14444005)(186003)(4720700003)(8936002)(52116002)(2501003)(66446008)(476003)(6486002)(44736005)(229853002)(76176011)(5660300002)(81816011)(256004)(99286004)(966005)(81686011)(478600001)(62236002)(6246003)(44716002)(14454004)(14496001)(486006)(26005)(64756008)(66476007)(446003)(71190400001)(6306002)(6512007)(9686003)(2906002)(71200400001)(50226002)(6436002)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB7PR07MB6137; H:DB7PR07MB5147.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1;
received-spf: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Iyne7EXONsy2FUdQ6mMYenUgHTZF85WwbrQj0lx6+0jnbeWNU2DluHaMO9bjf2/R6AwZEEJO8S5MxoopsxPRNpO+8Gf/6t3S3kgYWhc8+r7tIfoOVpfP94p5avN0q+SryxfK0hoM5kN21RDr8qKsCWbqO0Vly340gk71mH9aY3I+6uDlYpmW77RNyuqp0l46qJOm486L2zDFX76zBrkBvOG8VFrLmafCglLRONdhLrniWtEsohqt4qdbdDxPI8p2+sL9MW8ASk41wKq8KNJhLkF0LiezxRzBRXFYnzOB+p53gOGykPBOeiFHmfu8+yZ2EmfI6Qgj+Q1hMsoR3nhw11ZZWNk6319HIofXm7yL0nPGP7XHjQpILt2JNqGqGGEQbuj2v+8isx//utXnCWrEzHOq8Bi7MZkljtlHN+Ln3aLnIK08m9kpD5NmxirlQ/PrnbQItGno02l21JTP7fuFdx+vp/RRIcNxLnBCS7ycJMM=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <4FA99AFC19352642ADFA145734A4494C@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 6f82cf03-ae8e-4fd5-83f2-08d76d224039
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Nov 2019 18:56:57.1850 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: EY5o4Dr3XPshUkv3ghG0sveZapFDPzBvIfbAkU6jK20fHgTsJfw++TXcqDyUemEAQgclNSo6YosX9V7e5QnxrA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB6137
Archived-At: <https://mailarchive.ietf.org/arch/msg/ccamp/NQGxeSI3KQ3fPazk6LN10Yff-zA>
Subject: Re: [CCAMP] YANG doctor review
X-BeenThere: ccamp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion list for the CCAMP working group <ccamp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ccamp>, <mailto:ccamp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ccamp/>
List-Post: <mailto:ccamp@ietf.org>
List-Help: <mailto:ccamp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ccamp>, <mailto:ccamp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Nov 2019 18:57:20 -0000

Some more thoughts on layer0-types

The list in section 2.1 is quite long and I do not discern any
underlying logic as to what order they might be in in which case, I
suggest alphabetic within what kind of item they are, e.g.
2.1.1  typedef
2.1.2  identity
2.1.3. grouping

This would, for example, put the wson items together which at the moment
they are not.

In passing, the I-D is inconsistent about what it is defining.
"common data types and groupings"
"data nodes and other data model objects"
"common Layer 0 TE types"
"YANG reusable types and groupings"
"typedef, identity and grouping statements"

Perhaps 'common Layer 0 YANG typedefs, identities and groupings'.

The order in the YANG module should match that of section 2.1

Also, the list mixes Capitals and lower case; since the corresponding
YANG names are all lower case, then I think this section should be lower
case.

The hyphenation is consistent, which is good.

Tom Petch

----- Original Message -----
From: "tom petch" <ietfc@btconnect.com>
Sent: Tuesday, November 19, 2019 12:29 PM

> Looking at layer0-types, as one who is not a YANG doctor, I see
>
> Introduction makes it clear that this is for optical layer0; Abstract
> misses the work 'optical' which I think that it should include.
>
> Module references G.694.1 which I cannot see in the I-D references
>
> Generally, the YANG reference clauses are usually matched by
Normative,
> not Informative, references
>
> Where section 2.1 provides references for the types and groupings,
then
> I would see it as essential that those references appear as YANG
> reference clauses for the types and groupings; most do not appear in
the
> YANG module e.g. for vendor identifier, wavelength assignment, layer0
> grid type, term type, fec type etc etc
>
> If you think that a reference is needed in section 2.1, and I agree
with
> you that they are, then logically the same references must appear in
the
> YANG module since the YANG module is a stand-alone piece of text that
> will be divorced from the rest of the I-D/RFC
>
> Tom Petch
>
> ----- Original Message -----
> From: "Daniele Ceccarelli"
> <daniele.ceccarelli=40ericsson.com@dmarc.ietf.org>
> To: <ccamp@ietf.org>
> Sent: Wednesday, November 13, 2019 7:56 AM
>
> > WG,
>
> >
> > We're requested the YANG doctor review of:
> >
> >  <https://datatracker.ietf.org/doc/draft-ietf-ccamp-layer0-types/>
> > https://datatracker.ietf.org/doc/draft-ietf-ccamp-layer0-types/
> >
> > https://datatracker.ietf.org/doc/draft-ietf-ccamp-layer1-types/
> >
> > BR
> >
> >
> >
> > Daniele
> >
>
>
>
> ----------------------------------------------------------------------
--
> --------
>
>