Re: Yangdoctors last call review of draft-ietf-rtgwg-policy-model-29
Mahesh Jethanandani <mjethanandani@gmail.com> Fri, 30 July 2021 17:37 UTC
Return-Path: <mjethanandani@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 7A9943A0602; Fri, 30 Jul 2021 10:37:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=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 Gpvpan5-6d01; Fri, 30 Jul 2021 10:37:08 -0700 (PDT)
Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (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 885A13A05F0; Fri, 30 Jul 2021 10:37:07 -0700 (PDT)
Received: by mail-pj1-x1036.google.com with SMTP id o44-20020a17090a0a2fb0290176ca3e5a2fso15381390pjo.1; Fri, 30 Jul 2021 10:37:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=3+AMmipWOhuylzs8v/IE5L5c45z/Bj+wnfBL1THhlkw=; b=mCEZgnrp00ahkMfqIkWTEajGgmHIg0ol9yXuc1NPFt5o0FP4id7rROe7fVSgBh1BFK HUdQPFU/e8bGfsA1CxKDNk5YYjFEcTZSTowHbT0bRojy8jjtZZ/Ix02P3DrS+FWId7zi qtlThQuvp8fCSzQAf9xHVfvHY4d9H1HtZE3+0T7C+J7Gqsi7KT4z3vi/ZLWI9n+7DPiY C5fFF2hOSlOoLbiHS1fo/dOSU/lV0un9w3ukCTRliL+stNZVJCZsy5BKgXZ9NT5azZr8 wIOJD8+6oRtoeNuDBWjah6QGhkX2kh5vIclwdobRYqiwC1ikgcHtAzJs1PQgoByVvMyY o36w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=3+AMmipWOhuylzs8v/IE5L5c45z/Bj+wnfBL1THhlkw=; b=VguwqSGc64wGVUJ1nn1YsqdzyNBJXgHEERhLUHwwpceQmmijaaH7pPpQSsObnAOeJ8 2Ak8LhWJanX2a5PG25+XH02N0IeopoPcEVMhiNlde2EFO9T0DpJ8id0fbxcIh9aRrp02 pYxgObtDX/dkHbhS8S+qBQjapXUJfk9Fn54/dBwOjmolJeMvmDOs3o1hz2liqrZl1x3y i2FEZwmhH+KQjtIOvWczovAT76BcNddt1kj6tTebkGdJOfNoW42dBLAgBeyUK+nTyvda YJ8HqGbdPHZGJ360xKseLHVmvtgWL9VTb7rggXcUuaVQLE4l0rckOTv/8WetNHfPCIK4 LktQ==
X-Gm-Message-State: AOAM533WELYAjumJhoCh3H+JSQcBE22BjZ8UovBIRDE7MJAhNVhYs2UL Qm2l39O3EvLd+uGSsaV7Zkk=
X-Google-Smtp-Source: ABdhPJyGDRJNq5VCcTSVE9quedfCVMj71/7tp7MOjSqgTkeRlyQ7+SQoUin8UliNS15WkfQixlbq1g==
X-Received: by 2002:aa7:8806:0:b029:32a:8632:e35e with SMTP id c6-20020aa788060000b029032a8632e35emr4135062pfo.10.1627666624624; Fri, 30 Jul 2021 10:37:04 -0700 (PDT)
Received: from [192.168.1.133] (c-69-181-169-15.hsd1.ca.comcast.net. [69.181.169.15]) by smtp.gmail.com with ESMTPSA id oj4sm2655237pjb.56.2021.07.30.10.37.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Jul 2021 10:37:03 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <0C4E5DEC-C755-43D8-BABF-A5F97B62CC89@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_048EA8B1-A08D-4DC1-98D9-6BF732E0075C"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Subject: Re: Yangdoctors last call review of draft-ietf-rtgwg-policy-model-29
Date: Fri, 30 Jul 2021 10:37:01 -0700
In-Reply-To: <FB616F76-85AA-4DE3-AB57-5CF89D74C286@gmail.com>
Cc: YANG Doctors <yang-doctors@ietf.org>, draft-ietf-rtgwg-policy-model.all@ietf.org, last-call@ietf.org, rtgwg@ietf.org
To: Yingzhen Qu <yingzhen.ietf@gmail.com>
References: <162666764878.1496.12784459830607451053@ietfa.amsl.com> <FB616F76-85AA-4DE3-AB57-5CF89D74C286@gmail.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/iygoNyPJOeHHkBSL1bHDvcdMxkI>
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 17:37:13 -0000
Hi Yingzhen, Thanks for addressing my comments. Cheers. > On Jul 29, 2021, at 10:18 PM, Yingzhen Qu <yingzhen.ietf@gmail.com> wrote: > > 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. Mahesh Jethanandani mjethanandani@gmail.com
- Yangdoctors last call review of draft-ietf-rtgwg-… Mahesh Jethanandani via Datatracker
- Re: Yangdoctors last call review of draft-ietf-rt… Yingzhen Qu
- Re: Yangdoctors last call review of draft-ietf-rt… tom petch
- Re: Yangdoctors last call review of draft-ietf-rt… Acee Lindem (acee)
- Re: Yangdoctors last call review of draft-ietf-rt… Mahesh Jethanandani