Re: Yangdoctors last call review of draft-ietf-rtgwg-policy-model-29

tom petch <ietfa@btconnect.com> Fri, 30 July 2021 11:01 UTC

Return-Path: <ietfa@btconnect.com>
X-Original-To: rtgwg@ietfa.amsl.com
Delivered-To: rtgwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 427D53A2625; Fri, 30 Jul 2021 04:01:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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=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 91Jrp26B79ju; Fri, 30 Jul 2021 04:01:53 -0700 (PDT)
Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30110.outbound.protection.outlook.com [40.107.3.110]) (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 4F3DC3A1BDA; Fri, 30 Jul 2021 04:01:52 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nGQi0RiTP7hC0Ejj2WVTkOPKvAfW+vQxnz55E5huH6OjSKu4vhRJI2kHf8woU5ItFA/dARTbR56l7rNjUzHv/FtsLuf5h1kssn0vS6zrWis0MDSTX75FbHi0rkH/EmKGFLoU2cIww5slzVpXwwAEXU+TyhkgThZFVBAwwE4SUsNVQ2kgKmvTXCdSlZRXWZaTT6QZDGMR9G+X/djnNpRu6u2jndGXSkbaeDXxulm/EPPhKFtqFVvauJQFdPYJkr/9G4takgT/ArL+lIEGIpjYp0IN73nMUVCqAEPjdmk7A5PFETWAFKwAZ1qEmuZBUky2dEwwnwvk/amQEkfHfD7lqQ==
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=EnHDSz2xKcJQx+lx2HZGpwMkI5hUvXh6SfraFB7VOlA=; b=fqpbaDCNbCs+EyYZh9SwJaJk2N83p4r71uIVLf6/Odpp4vO0vxN7E4+kHld6QgwjwYK9RlIwuSBe/bGRs50NvMwyMeLXSxnzq9GuUYaRbxUHNfsjoOONcGVLykr56xagU2kgSmfRr1NxY19N/RL3XoYUvPcezI6x1eHyXrF7VbbU/kYFuAC6hjc2h9J9WIioS6KjYY1Cb+/A8GyZj68lQYAbsA+e5xchscEZCo46wWXtYaQVBnzCwW55GZuz68u71ipW7I0c7vgRIxJPeCjpdefJ5MZ4FVvEYbf00WYTtQsbic69zJTEnkHFkV+KYW7Imfgou0BFJXuAXU5fZH+bRQ==
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=EnHDSz2xKcJQx+lx2HZGpwMkI5hUvXh6SfraFB7VOlA=; b=fpkzegbteH1ut9A0wQdDdampeAYkEm8mhXKQaEh8bZkhlCjh154zmc6k2DrU221pdG2by7hJzONd3Kv/D7eC6y6JOhzDS0Bb3athoFNSPQbcHDYFcDoFV1pzGhzlJ7hS5fm0R0EM4dmSnxnQ9m3KqIWpDniP9Bf5ch+6DVKWC9c=
Received: from DB7PR07MB5546.eurprd07.prod.outlook.com (2603:10a6:10:73::23) by DBAPR07MB6645.eurprd07.prod.outlook.com (2603:10a6:10:180::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.11; Fri, 30 Jul 2021 11:01:50 +0000
Received: from DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::51be:6d5a:9b3f:ac8c]) by DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::51be:6d5a:9b3f:ac8c%5]) with mapi id 15.20.4373.022; Fri, 30 Jul 2021 11:01:50 +0000
From: tom petch <ietfa@btconnect.com>
To: Yingzhen Qu <yingzhen.ietf@gmail.com>, Mahesh Jethanandani <mjethanandani@gmail.com>
CC: "draft-ietf-rtgwg-policy-model.all@ietf.org" <draft-ietf-rtgwg-policy-model.all@ietf.org>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "rtgwg@ietf.org" <rtgwg@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>
Subject: Re: Yangdoctors last call review of draft-ietf-rtgwg-policy-model-29
Thread-Topic: Yangdoctors last call review of draft-ietf-rtgwg-policy-model-29
Thread-Index: AQHXfFPOFJ0obATeUEa5FeTJKITK96tbC+sAgABdcAM=
Date: Fri, 30 Jul 2021 11:01:50 +0000
Message-ID: <DB7PR07MB55466CFCCE19C3B0AC6AEE3DA2EC9@DB7PR07MB5546.eurprd07.prod.outlook.com>
References: <162666764878.1496.12784459830607451053@ietfa.amsl.com>, <FB616F76-85AA-4DE3-AB57-5CF89D74C286@gmail.com>
In-Reply-To: <FB616F76-85AA-4DE3-AB57-5CF89D74C286@gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: bb58abc1-78a0-4a35-1c9f-08d953496ee3
x-ms-traffictypediagnostic: DBAPR07MB6645:
x-microsoft-antispam-prvs: <DBAPR07MB6645D2A86A429C39B3C52F1FA2EC9@DBAPR07MB6645.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: B5EgrvOH+WNwnyiKw3uo+Sf8dgWAufuMoXSk/bnqyk34Q8pFq7bj1XMxkj0cXUmndhwxTSVx9OQq6yno4fsjoSookMhJc96l0OtmWoo9Xf6MTkeQbAvLqjv2/DtO4JxMFMjDICLyGo/pygrwYVpNtnxG7lyYk6qA5Qy1sUdBRZFnbDu0TBehaiXHOfVTXT/caLZGOVgoBgYpKOP3hM5n0HtVIq30qb3lB29n2V4ZEnmfdQioU3N6ShUGmqCSTZbxbVWyqGLDMC0k8NlkbYoWlv5S2x0EAzzCurrHpgbFJszDFeAuPf3JYtfVLFCvUjQz/CfphNapX+F7J3/9CwcgwM70iWyU1gc426KfirpJjcT+Af3plZHH3ZWiFdjT2Xl5sJ0sbUe/2UF9+mJNREvXl8zRSxv08ww9d3/1zqamKOodHQT/kpthPSMYVFKCQM8rqQuiGh+lvG8INW2t0ixitOmvcgWDDKdTN54prj4c51q6+Aowo9CSBCD+q8g5T5wygFwUxkbtq0+WSwU0W3yHYC1TPF5k29EU2GF1asraNkzPU9waCtUk3vJUweL0Dv5WiSHl82AVHVdjW+bGq7lV0XlmYCMWKTJ6TTbWhAt9pUNnpyIvE049oaJZztT5XXMfI1cG42gCP0iQmnHufgUeGX5UhHMuGyrqeQMOfr/F0HeBbmcJbIOpHM1sVwTfWpOMyAPtgibfwAan5O1jm6aCZp+uD/dJ3MK4kFNLvlBXUlYgZNjnyH27RmLt7jdJSi38ODAHvANOqPHWZX2TM/RQMHeANGeR1JJ5/iMSYiFv2sI=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR07MB5546.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(396003)(366004)(39860400002)(346002)(136003)(376002)(66946007)(54906003)(110136005)(8936002)(66446008)(76116006)(5660300002)(64756008)(4326008)(6506007)(9686003)(186003)(26005)(66476007)(55016002)(8676002)(91956017)(66556008)(33656002)(316002)(52536014)(53546011)(38100700002)(2906002)(86362001)(478600001)(122000001)(7696005)(38070700005)(966005)(83380400001)(71200400001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: Kn43so97+G0Ue3ARrQDmZGJTKnVYLpWbVdwRSOgqLkfWzxjJbNLpKEN4yrvF5tEaM4ijXXyTAzJWdFUnYD2Apke5cpbnuqVYuK/Qx9y27Mxk0siRsVzcpSuMQ31Bl43AQxmU6u8W0XOUVhMNmrYkG+7TfdRuiFc9eCc+nJ3QI985YRBZh4O6WfRpZ8ObyUgjIPpI2GpTkANMoxDXqHgPpA+mHFVazJijBPdvPzkI0FdKS2FNUK8ly5LZutdrWyAZ+eufDA29h5X8pdOpyOFBRmCzwREFbb9NK0RzKQUetKREcDB4J/nQEsF2mcD1S/kwg6nlWymYC19R9LnpYqevwRzwZ20MLqKLpZDBto5XOYmvdp1WM6lL2FbopYWBnATKgQi/qfTGv5eGaThYAcGwGjuDCOCYw+wNxoKjaSl5MVB5BoE/q7JgsyNqOEQIcmN7Ei9GpiK2VI2dPogeMKKDH7XENwqJYtHd+SPu4v+zoHYGv/nYHjMxL8XSLzZ11fN8XwZ8DfWDpPH1/vnmUtBTjm+6zkCBE8iOkAJi6FIu5+E72dcFVpXL6vHMKTl0QJBU3MISc0ybjcw9YWfGTPe5x87I90NN/8X3X1WRJPKQ/7qIfnlUJ1+NbVYjFhwtTBaGYejHRD9glsI3iOUdKFoM5EW0BLGuowTf4CAH2HsWVs1TxmkSYDcy3r0o8k6HPLUv0MsVss0GtxphJd1Y6KUNvgOI3P3v8lKvzx0QSgAqziLF0FUBeDv7qkjmVClUcErPbH4a4mW9vNxJMYHSBDekRXe2IPRFy+R7HupBl3XNcOmTduItrJNv5ylaneFaHcqRCZMoOQV9RjZ8eauKKQHvDVWIGNlRmDGNKMdOBGslTVOY/QK9mVLr+gkCnrlrGgqO7+q/8WR4oWzB+Z1dATiMtRr1eJtYOkJTg22943lmb4Y7ZogE+t1zVzSsIB68f05yQbBPf9dJV7f2ZtX0xXar2q7l9kJzcMqAXvMrwIADH6PhfOoyf03bDw7A/1eDjPN+2AcKH799CUjEiE499Ua6Wkb+87a19i0GowNoYmZHACjA4KuCjLTD0LOsivWfmLi7njumb4G8A5cXkDHnkQ7IglPgkzpFqtH/5CVXVqWr25v6g8sPj/QWsaVy2AqBrUuB3/HOsXcaYC1fZF2fNPeyNJFK35TKgK7Vv66mSCdOwUXLgO42EPnY+xDHjsXDROrzoUsV2nLrTTqukwaZpQ3CsEGrp8CvlV9RsnwtFoE2Podzu/2LhvTcoXMtCEUFQVkZjCZHhiiHA/rPaCgNfjzcI6YuGjSUc061hh2qDq01A54=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DB7PR07MB5546.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: bb58abc1-78a0-4a35-1c9f-08d953496ee3
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2021 11:01:50.6622 (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: 5dhsOMPzNd8QkCvTad6SzADXcTryG41UT4uiwpbjOKa890+gOpA//BhW7bORWSMmoxkDzuFZ7fSreaMLRj2CTQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR07MB6645
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/-z8sZLT7-uDzes2xL7d5FTkrsEA>
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Routing Area Working Group <rtgwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtgwg/>
List-Post: <mailto:rtgwg@ietf.org>
List-Help: <mailto:rtgwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Jul 2021 11:01:58 -0000

From: rtgwg <rtgwg-bounces@ietf.org> on behalf of Yingzhen Qu <yingzhen.ietf@gmail.com>
Sent: 30 July 2021 06:18

Hi Mahesh,

Thank you for your review. We just submitted version -30 and addressed your comments. Please see detailed answer below.

<tp>
I agree with you that it is a bit late to create IANA maintained modules.  It is the sort of thing that the rtgwg or lsr might have done years ago and then everyone could have used them, as NETMOD created RFC6991, but to do it now would just tread on the toes of those who have done it for themselves and confuse those yet to come,

Tom Petch

Thanks,
Yingzhen

> On Jul 18, 2021, at 9:07 PM, Mahesh Jethanandani via Datatracker <noreply@ietf.org> wrote:
>
> Reviewer: Mahesh Jethanandani
> Review result: Almost Ready
>
> This review is looking at the draft from a YANG perspective. With that said, I
> have marked it as almost ready, because of some of the points discussed below.
>
> Summary:
>
> This document defines a YANG data model for configuring and managing routing
> policies in a vendor-neutral way. The model provides a generic routing policy
> framework which can be extended for specific routing protocols using the YANG
> 'augment' mechanism.
>
> The description in the document and in the model is well written and easy to
> understand.
>
> Nits
>
> - Repeat of parent as a prefix. It is not necessary to repeat the parent name
> in child attributes, e.g. routing-policy -> policy-definitions ->
> policy-definition. This can be shortened to routing-policy -> definitions >
> definition.
[Yingzhen]: We didn’t change this unless you have a strong opinion about it.
>
> s/domian/domain/
> s/suspectable/susceptible/
[Yingzhen]: thanks for catching these. Fixed.
>
> - Consistency in how the reference statements are written. Most of the
> reference statements start on a new line, except for a few places where they do
> not.
[Yingzhen]: fixed.
>
> Comments:
>
> Section 1 - Introduction:
>
> The document does not mention whether the model is YANG a 1.1 model. It
> includes RFC 7950 which would imply a 1.1 module, and the YANG model has a
> yang-version is 1.1., but it would be nice to state it explicitly.
[Yingzhen]: My understanding is RFC 7950 means YANG 1.1. If this has to be explicitly stated, please let us know.
>
> Section 7.2
>
> - Consider moving identity 'metric-type' and 'route-level' and their derived
> identities into an IANA maintained module, e.g. 'iana-policy-types', so that
> module can be updated separately from the rest of the module (much more easily).
[Yingzhen]: I think it’s a bit too late to make this change unless it’s really necessary.
>
> - The leaf 'mode' is defined as an enumeration with enum values of ipv4 and
> ipv6. The description however says:
>
>              "Indicates the mode of the prefix set, in terms of
>               which address families (IPv4, IPv6, or both) are
>               present."
>
> How does a user indicate both?
[Yingzhen]: I removed “both”.

> The model uses a lot of groupings, most of them used only once in the model. It
> does identify that prefix sets, neighbor sets and tag sets as reusable
> groupings. Is that the case for the rest of the groupings? Unless these
> groupings are meant for use by other models, they should be folded into the
> main container.
>
[Yingzhen]: we removed all the groupings not necessary.

> Please drop <mailto:....> and just keep the e-mail address. That tag works only
> when embedded within a HTML document. (This is a leftover item from the early
> review, and if there was a discussion about it already, just ignore it).
[Yingzhen]: I’ll leave this to RFC editor.
>
> Section 8 - Security Considerations:
>
> The security considerations section lists /routing-policy as one of the nodes
> as being sensitive from a write operation perspective. That would imply the
> whole module is sensitive. It however, goes onto identifying specific nodes
> within the module. Not clear if the whole module was intended to be identified
> or specific nodes.
>
> Similarly a sub-tree of the module is identified in
> /routing-policy/policy-definitions.
[Yingzhen]: removed these two sub-tree.
>
> If the idea of having a node without a description is to identify
> (sub-)sections of the module where the nodes occur (the path already indicates
> so), some words to that effect might help. E.g. In the
> /routing-policy/policy-definitions section of the module the following nodes
> are considered vulnerable.
>
> The last paragraph is a fairly generic, and seems to repeat what is already
> identified above. Moreover, it is not clear what is meant by "related model
> carries potential risk". What is "related model”?
[Yingzhen]: modified the text. Hope it’s clear now.
>
> General
>
> A pyang compilation of the model with —ietf and —lint option was clean. A
> validation of the model and the example in Appendix B also succeeded. Thank you
> for providing an example.
>
> An idnits run of the draft was generally clean.
>
>

_______________________________________________
rtgwg mailing list
rtgwg@ietf.org
https://www.ietf.org/mailman/listinfo/rtgwg