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

Yingzhen Qu <yingzhen.ietf@gmail.com> Fri, 30 July 2021 05:18 UTC

Return-Path: <yingzhen.ietf@gmail.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 7A94B3A1BF2; Thu, 29 Jul 2021 22:18:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 Agn_gSJsPUlO; Thu, 29 Jul 2021 22:18:14 -0700 (PDT)
Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C8043A1BEF; Thu, 29 Jul 2021 22:18:13 -0700 (PDT)
Received: by mail-pj1-x1035.google.com with SMTP id u9-20020a17090a1f09b029017554809f35so19060760pja.5; Thu, 29 Jul 2021 22:18:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=hf2DjweZxOjLj52eiDbGpYpKkEasKa+mNXk2SlQSmtA=; b=XEYiCGZPOGb7j8Y73znoEXAIEo1c9Wd6jH52VSYI/BLP2ujHh+sF1KY/vzA4E0kMrt OVw25ux4GsBKJz/sQ5ufJ9s6gTluOBuFrOREdz5a3COL7DMeOgC+13KXu9yrAAXXskYy bFXJS/PwjB/tXq5bNX20oypdOcxAEbwFFHueJTetKXrPzO7kp2R4ANvMMvdzstva3z3Q pjJ4cRqrmRaKgLakHYrbVIzqIpRsdS/im8IH4KB7e0Bj3zMYLCbT/GlqtARYl7wWRX9f SYy9irabt4gBYkB2evZyBvjUzehm0UXd+ot5n1h4d4NJjXOWrh+0Bgstgt8YA/vedRh3 S4rA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=hf2DjweZxOjLj52eiDbGpYpKkEasKa+mNXk2SlQSmtA=; b=O0fbPH7syYuc5OrWPoWFGNf4wPdoEQIi8x7S65ZU2OIw3/1bh8KxWTqmgKtTWf2cQd rMaEldSq63THcwE9gLAclUfMIqxsuXVnBrNZ1A+9LA7XDRFUbwuMeAuGfh2MD6l6yYfB Fh8R51roopffiZoGpqU1k7W2XECjkaGVsQxl3t6azPsAzLxYpQYpirKMdMzR2+B/U/lK Rtb/o+JGY3zdGiU7lt9xetmLn1XbOMntxHuzJLOYyQ45RoedGz9++onSN4pQl5+162eN 9pPlBhMR62lK8y/Vsj0rLHhj+kk6WQaYcXOPL8I5hzsuRAiA2BwMPt3qUVZJhsmbbkdV d5yA==
X-Gm-Message-State: AOAM533MXqUZman4/f7+5ZJg8Ll7IEoqRhpQCHw71vakVqjhFipx0eyS GIRsJRoprXkhyu9K8BS7Fw==
X-Google-Smtp-Source: ABdhPJzrkIOkp1w94vivxxqqg3rDdv5aMQa2iICuhrajD+k5WAG5ByXacWJ5ERPPDXa78+6sUyTTZQ==
X-Received: by 2002:a17:90a:4e4e:: with SMTP id t14mr1186616pjl.8.1627622291844; Thu, 29 Jul 2021 22:18:11 -0700 (PDT)
Received: from ?IPv6:2601:646:9702:c61:4005:25b2:7c99:54fc? ([2601:646:9702:c61:4005:25b2:7c99:54fc]) by smtp.gmail.com with ESMTPSA id w2sm633183pjt.14.2021.07.29.22.18.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Jul 2021 22:18:11 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\))
Subject: Re: Yangdoctors last call review of draft-ietf-rtgwg-policy-model-29
From: Yingzhen Qu <yingzhen.ietf@gmail.com>
In-Reply-To: <162666764878.1496.12784459830607451053@ietfa.amsl.com>
Date: Thu, 29 Jul 2021 22:18:10 -0700
Cc: yang-doctors@ietf.org, draft-ietf-rtgwg-policy-model.all@ietf.org, last-call@ietf.org, rtgwg@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <FB616F76-85AA-4DE3-AB57-5CF89D74C286@gmail.com>
References: <162666764878.1496.12784459830607451053@ietfa.amsl.com>
To: Mahesh Jethanandani <mjethanandani@gmail.com>
X-Mailer: Apple Mail (2.3654.40.0.2.32)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/J8TyllFbsSrsl7a0bAXEJrdBQ2E>
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 05:18:20 -0000

Hi Mahesh,

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

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.
> 
>