Re: [Pce] I-D Action: draft-ietf-pce-pcep-yang-09.txt

tom petch <ietfc@btconnect.com> Thu, 18 October 2018 16:53 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: pce@ietfa.amsl.com
Delivered-To: pce@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4C7C412F18C for <pce@ietfa.amsl.com>; Thu, 18 Oct 2018 09:53:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.196
X-Spam-Level: ***
X-Spam-Status: No, score=3.196 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RATWARE_MS_HASH=2.148, RATWARE_OUTLOOK_NONAME=2.95, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 zOurIzCptKS2 for <pce@ietfa.amsl.com>; Thu, 18 Oct 2018 09:53:32 -0700 (PDT)
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00102.outbound.protection.outlook.com [40.107.0.102]) (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 C7548130DE8 for <pce@ietf.org>; Thu, 18 Oct 2018 09:53:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NPflEUab/SoMX6FZyxpH2Ado8bNnYVqFqv1LRLoKUtQ=; b=ORjNGv95DVowVV1MzDuBkLOWTQYI3ETU/j9JagDhI8vqOEjvI2a82q4smLkxnmqtp6zQnTM7DHHlCBSQuU0xfUxamzj3KpT2jbS+krpYiLa3Wmg7EeuFRdBKqvPjRyAYJkDG6+6MMsON2ZLVNZtvGKR/nwh7qTgExVPNAKoBgnU=
Received: from VI1PR07MB0831.eurprd07.prod.outlook.com (10.161.107.154) by VI1PR07MB4895.eurprd07.prod.outlook.com (20.177.200.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.25; Thu, 18 Oct 2018 16:53:28 +0000
Received: from VI1PR07MB0831.eurprd07.prod.outlook.com ([fe80::8d94:d86b:1a6e:b5db]) by VI1PR07MB0831.eurprd07.prod.outlook.com ([fe80::8d94:d86b:1a6e:b5db%12]) with mapi id 15.20.1250.020; Thu, 18 Oct 2018 16:53:28 +0000
From: tom petch <ietfc@btconnect.com>
To: Dhruv Dhody <dhruv.dhody@huawei.com>, Dhruv Dhody <dhruv.ietf@gmail.com>, "pce@ietf.org" <pce@ietf.org>
Thread-Topic: [Pce] I-D Action: draft-ietf-pce-pcep-yang-09.txt
Thread-Index: AQHUZXCuBPkLB7tlTUSQU9wYUq1Qgg==
Date: Thu, 18 Oct 2018 16:53:28 +0000
Message-ID: <02c801d46702$f2f31740$4001a8c0@gateway.2wire.net>
References: <153960851213.19528.13097587822287903427@ietfa.amsl.com> <CAB75xn5S0iKSgNnQNFGiVWgdkkd5pvOvXU62+-M0RWK8OdZKAA@mail.gmail.com> <00b701d46570$8b2b4bc0$4001a8c0@gateway.2wire.net> <23CE718903A838468A8B325B80962F9B8D81D2E2@BLREML503-MBX.china.huawei.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: LO2P265CA0387.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:f::15) To VI1PR07MB0831.eurprd07.prod.outlook.com (2a01:111:e400:508e::26)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [81.131.229.47]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR07MB4895; 6:TLLFueaQyF337MsoTUecGHGIErTy5Ue3FKC8ujUSAwnS3Mi+ZR+x4rJYaE/jyF1z5zXpFLGpwhvG2L+J6FV2uW8yc1xw5dc8BgD5iAbLuO+VVH54mynZ7FSqd+tKKz7cZyd3Yvl4HgRZXFU5Qe7Ms1W4inTGRcmuLiNam0AEaCNciAFN5ed3klNjUEqfOcXCEJdjX8Jdi4jToRJT3D0rIXHuvciVTqewL64LHf4foBE5poHqf/qq1A0P2ss61EtUQR+s5meF0tspJXZdXLrJrA1TrTWDwOUUckgP+D597IIrZ1GC8gAadVHf/8f12FGPjVO5IPkGuQLEwTMe7b+/xLdtoI37Hci44V7A2qiPYNXqPlMzofUXlEjMjA6wlAXXb2g5SMPRC9naxII6UyHHoHUSjTsoU5bBQcnnqVadl4BUK7IDjeCriqDjWgC7cHJCdBnDYrb1dcCFPqDEVBGZyg==; 5:09hZ/1YyRHQT5MIKH7B3hkW0bflPXxAG2kd2Hn41pIUlJZDCiFl1EetwXrko+W+9Vvq06/rhZ6CUVWOSaLeyQI3IptEKu3iVrZ4bd3DXgwuYhkwqRSfuk/PY2RGcpn0hAPUqSsFZLWiKpLqY42wt8hOeVIpJD8BvGx828ww0Yyo=; 7:zCSy6ikG5IB7USvXG2zJaIqYk97t+13+c0ZBYqeipPzaAaMmyFVxBz3JNLIopBw90UCe3MKTUotw3H2YBUSB+NZnmF7ImOFmuZ9tKYEWDa24FPQgJo4gbsi1f+70CcrW3NLSuyAI5Svq1BkdGtxfnISaIGPdIvEeqbwDn3r5Ou7nAGID4ocif2DfnCw0eyf83Y0LpM5h8btsUanyNWy9virh0WUoB6TVL8JyuE/9Au+Bv4qUKdBGTqmeLsjE2Qxe
x-ms-office365-filtering-correlation-id: 7c06dd1b-f758-40de-a17d-08d6351a3a2b
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:VI1PR07MB4895;
x-ms-traffictypediagnostic: VI1PR07MB4895:
x-microsoft-antispam-prvs: <VI1PR07MB4895C67C1E7AFC401A87CB1BA0F80@VI1PR07MB4895.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(788757137089)(50582790962513);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:VI1PR07MB4895; BCL:0; PCL:0; RULEID:; SRVR:VI1PR07MB4895;
x-forefront-prvs: 08296C9B35
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(346002)(366004)(376002)(396003)(136003)(189003)(199004)(13464003)(81166006)(81156014)(105586002)(2501003)(186003)(5660300001)(8676002)(26005)(8936002)(102836004)(25786009)(386003)(478600001)(6506007)(305945005)(86362001)(99286004)(68736007)(53546011)(316002)(14454004)(33896004)(39060400002)(2900100001)(6116002)(106356001)(86152003)(3846002)(476003)(71190400001)(71200400001)(5250100002)(84392002)(256004)(14444005)(6436002)(6512007)(9686003)(76176011)(53936002)(44736005)(52116002)(486006)(1556002)(110136005)(93886005)(66066001)(229853002)(14496001)(6486002)(6246003)(97736004)(2906002)(7736002)(446003); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR07MB4895; H:VI1PR07MB0831.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:0;
received-spf: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: UIe9+pzUV/CDZjVyUuRnPMuz2zZT0gVarCSr3EoZO0k5+CWGZziaKT2XiLFBpbSwnfEbKyg0CwXOJa7+CamsoWN4M8wUOaQ2whTbEGZY2aF2NB2UEqFmOb5KRGUFxDTEvMdFtnhJPROHWKinyUqHuSefLcyOVXyyk8cS5KMpO/LF9YuLlyb/OvwwydF3r/GWJnbVxLN1mYd2foP2fZ2ukoA6oDNTU9+VY3c+/aAwIdDPo4JZbnhxBU29ftZIbqvOvJbXEdFFZ4p6nK6k8hq7Yz1Ww/iz8Tn5i81LV/+X+uHiSAjmr58/UorXYsSDzzSE0Xh7getSGhyRWuWsVytj+phWzBeAK5ZZJSslQPPsr0Y=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <AE32B67DB4A4E24084A8477DE066159B@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 7c06dd1b-f758-40de-a17d-08d6351a3a2b
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2018 16:53:28.3966 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB4895
Archived-At: <https://mailarchive.ietf.org/arch/msg/pce/s8oK348cdsQGr9y3BYWt_dF0DeY>
Subject: Re: [Pce] I-D Action: draft-ietf-pce-pcep-yang-09.txt
X-BeenThere: pce@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Path Computation Element <pce.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pce>, <mailto:pce-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pce/>
List-Post: <mailto:pce@ietf.org>
List-Help: <mailto:pce-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pce>, <mailto:pce-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Oct 2018 16:53:43 -0000

Dhruv

I will have some more in a day or so.  Meanwhile,

I note that some of the lines exceed the limit allowed for an RFC, e.g.
in the tree diagrams.

The convention (rule almost) is to use the same prefix for the same
module in all cases; here you have
       import ietf-pcep {
          prefix p;
and
module ietf-pcep {
...
    prefix pcep;

I find it useful for the YANG reference clauses to include the name of
the RFC as well as the RFC number e.g.
       reference
         "RFC4360: BGP Extended Communities Attribute.
          RFC5668: 4-Octet AS Specific BGP Extended Community.";

Tom Petch

----- Original Message -----
From: "Dhruv Dhody" <dhruv.dhody@huawei.com>
Sent: Wednesday, October 17, 2018 7:05 AM


Hi Tom,

> >
> > The draft does not have any other pending actions.
>
> Mmm why can I not resist the challenge?
>

[[Dhruv Dhody]] I am glad you took the challenge and pointed these out
:), I will update them along with the forthcoming yangdoctor's review!

Thanks!
Dhruv

> You say
>    RFC Ed.: In this section, replace all occurrences of 'XXXX' with
the
>    actual RFC number ...
> and then
>     import ietf-te {    prefix "te";    reference "RFC XXXX";    }
>     import ietf-te-types {     prefix "te-types";    reference "RFC
> XXXX";
>     import ietf-tls-server {   prefix "tls-server";    reference "RFC
> XXXX";   }
>     import ietf-tls-client {    prefix "tls-client";     reference
"RFC
> XXXX";
>
> Mmm I think not!
>
> And, I like all the references in the YANG module but they need to be
in
> the references of the I-D.  I think you are missing
>
> 3209
> 5088
> 5089
> 5520
> 5541
> 5557
> 6536
> 8232
> 8306
>
> while
> 8253
> is there but Informative; my preference is for such references to be
> Normative.
>
> A common practice is to have a section just prior to the module proper
> which gives references to all the RFC which the module references,
which
> obviates the appearance of warnings about  'Unused Reference'.
>
> Tom Petch
>
>
> > Dhruv
> > PS. The yang errors in the datatracker are in the imported yang
> modules.
> >
> > On Mon, Oct 15, 2018 at 6:32 PM <internet-drafts@ietf.org> wrote:
> >
> > >
> > > A New Internet-Draft is available from the on-line Internet-Drafts
> > > directories.
> > > This draft is a work item of the Path Computation Element WG of
the
> IETF.
> > >
> > >         Title           : A YANG Data Model for Path Computation
> Element
> > > Communications Protocol (PCEP)
> > >         Authors         : Dhruv Dhody
> > >                           Jonathan Hardwick
> > >                           Vishnu Pavan Beeram
> > >                           Jeff Tantsura
> > >         Filename        : draft-ietf-pce-pcep-yang-09.txt