Re: Rtgdir Last Call review of draft-ietf-rtgwg-policy-model

Yingzhen Qu <yingzhen.ietf@gmail.com> Tue, 29 June 2021 20:54 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 89B583A0A29; Tue, 29 Jun 2021 13:54:36 -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 mq4ejJbUlEZo; Tue, 29 Jun 2021 13:54:31 -0700 (PDT)
Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) (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 601853A0A68; Tue, 29 Jun 2021 13:54:31 -0700 (PDT)
Received: by mail-pj1-x102a.google.com with SMTP id q91so346488pjk.3; Tue, 29 Jun 2021 13:54:31 -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=OjY02YrNjs8ldjBPwSt3WP97X/85xxMaohRotx7i7Yw=; b=pKbPjnZva+gMgIZbL63dCSMbFpsmQFW0zVBfcmnSvTF8+YpcyivGXokIpHc4DZe0gD gfFEjBBQtZSCG3fHOaWFjhF4XqN941+fK7kZdk7NsxrARN9uT5Uuzmjc0ae+uO+oDzbL pSD587/mYJgiBLw1tbduXQDUfmqNG2qjOy2eOofe/3A3kPb54iQDhhZw6N3O+ERBod3L MqfK9ZUwhWEi6felIJYJjLeAoLT0iBanqZuWsYO9bv4rQv5EZ4oRn6z6eoVMzxNJOx7s +PUAuLNIzwjZGHSI9L3dT2g4PSUiOTYVdoFIiP3zfg+GwU8VDz6352tW8BrIvBnrp/8f zwpA==
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=OjY02YrNjs8ldjBPwSt3WP97X/85xxMaohRotx7i7Yw=; b=StK00OAuMn/X54qWeAzVMji4BoihLvNnB3LvYx1Tzk7B4GEyy3N1BrhkiA+PmnKc1L AAnosVLQ2R+zjHXru0f2OIcPnOnxNMPue9fYGcI6UufEzYqY7s9CUAbcz9osgwZ22yG7 RRJ+SlMTpPV94Yy5CdezD/kJ4nfbDtuv57az50IcmpmAduIZnsZ03zVJjeZ8KYZiKm5/ h5KKuG5FfSXUKcc7eYV6bozn2W60LLKgHMcjudXY0gkRAkK86nVfSqeVq1IZ1O5ykpkd MAkonCm0+68b8QbAkmwjG6Dqpkjw7NgHbJMApIm7W0P4R7r8+WY79AVlrT4yb51gm8ob Ibrg==
X-Gm-Message-State: AOAM532/Y5LDW986oIwDvdYG6aMZCO8EdS7Ldsur1ryxjsLauNQH7pj1 STJoJnjhNEWG+7lFtLIYhDm9QVy/ISxL
X-Google-Smtp-Source: ABdhPJyiDE/uK2A4H9AUH/3NdMHUuag8cQXRNtOfOL3VN4Qr8RDyjVPel/FrDUBlbL3wk9Ref76WCQ==
X-Received: by 2002:a17:902:bc4a:b029:129:ef:3c35 with SMTP id t10-20020a170902bc4ab029012900ef3c35mr4005519plz.46.1625000070127; Tue, 29 Jun 2021 13:54:30 -0700 (PDT)
Received: from ?IPv6:2601:646:9702:c61:8cb7:bb23:f0a:b123? ([2601:646:9702:c61:8cb7:bb23:f0a:b123]) by smtp.gmail.com with ESMTPSA id f8sm19339348pjt.39.2021.06.29.13.54.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jun 2021 13:54:29 -0700 (PDT)
From: Yingzhen Qu <yingzhen.ietf@gmail.com>
Message-Id: <88D465F6-19F6-48C3-AA16-C25B49F89C28@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_00D403C3-B363-4BCE-804B-E20358DDC384"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\))
Subject: Re: Rtgdir Last Call review of draft-ietf-rtgwg-policy-model
Date: Tue, 29 Jun 2021 13:54:28 -0700
In-Reply-To: <DBAPR83MB045519A0508729F01EE43576A3059@DBAPR83MB0455.EURPRD83.prod.outlook.com>
Cc: "rtg-ads@ietf.org" <rtg-ads@ietf.org>, "draft-ietf-rtgwg-policy-model.all@ietf.org" <draft-ietf-rtgwg-policy-model.all@ietf.org>, "rtgdir@ietf.org" <rtgdir@ietf.org>, "rtgwg@ietf.org" <rtgwg@ietf.org>
To: Jon Hardwick <jonhardwick@microsoft.com>
References: <DBAPR83MB045519A0508729F01EE43576A3059@DBAPR83MB0455.EURPRD83.prod.outlook.com>
X-Mailer: Apple Mail (2.3654.40.0.2.32)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/kb0CwnE6VPklQKTWs-ehC6zf0Pg>
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: Tue, 29 Jun 2021 20:54:38 -0000

Hi Jon,

Thanks for the review. Please see my answers inline.

Thanks,
Yingzhen

> On Jun 26, 2021, at 3:32 AM, Jon Hardwick <jonhardwick@microsoft.com> wrote:
> 
> I have been selected as the Routing Directorate reviewer for this draft. The Routing Directorate seeks to review all routing or routing-related drafts as they pass through IETF last call and IESG review, and sometimes on special request. The purpose of the review is to provide assistance to the Routing ADs. For more information about the Routing Directorate, please seehttp://trac.tools.ietf.org/area/rtg/trac/wiki/RtgDir <http://trac.tools.ietf.org/area/rtg/trac/wiki/RtgDir>.
>  
> Although these comments are primarily for the use of the Routing ADs, it would be helpful if you could consider them along with any other IETF Last Call comments that you receive, and strive to resolve them through discussion or by updating the draft.
>  
> Document: draft-ietf-rtgwg-policy-model-29
> Reviewer: Jon Hardwick
> Review Date: Jun 26th, 2021
> Intended Status: Standards Track
>  
> Summary:
> This document provides a foundational framework for the definition of routing protocol policies regarding the filtering in / out of routes when they are imported / exported between routing protocol neighbors and/or routing protocols and the RIB. Its purpose is to provide a framework which can be augmented by routing protocols in their policy YANG modules. I think that the document meets its goal very well.
>  
> The document is in good shape. It's clear, well-defined in its scope and easy to read. I have a few minor concerns that I would like to see addressed before publication.
>  
> Minor Comments:
>  
> Section 4.2
> Why no match-set-options for neighbor-set?  Is there no application for differentiating between "any of these neighbors" and "none of these neighbors"?
>  
> You can only match on a single interface. Why is that? Was there no use case for any ANY / INVERT match on a set of interfaces? I am thinking of multihoming use cases.

[Yingzhen]: Typically you can apply a route-policy or route-map to an interface or a neighbor, plus you can configure multiple route policies. I didn’t get your multihoming example, would you please elaborate? And why the current module doesn’t work?

> "Comparison conditions may similarly use options…" - what do you mean by a "comparison condition"? The term is not used elsewhere in the document.
>  
[Yingzhen]: This is not really a term. It simply meant how to compare or the conditions to compare. I’d suggest we leave this to RFC editor.

> Section 5
> "If the conditions are not satisfied, then evaluation proceeds to the
>    next policy statement"
>  
> I think that evaluation also proceeds to the next policy statement if the conditions were satisfied, but the actions did not include either accept-route or reject-route. Is that correct? I think it would be worth making that explicit.

[Yingzhen]: This is included in the first paragraph of section 5. Please let us know if you think it’s not clear.

>  
> Section 7.2
> p21:
>       description
>         "Mask length range lower bound. It MUST NOT be less than
>          the prefix length defined in ip-prefix.";
>  
> Why must it not be?  And is there a situation in which it makes sense to allow it to be greater than the prefix length defined in ip-prefix?  Should there be a "must" clause to police this constraint?

[Yingzhen]: Here are a couple of prefix-list config examples. The “MUST NOT” might be a bit strong in the description, but I suppose most implementations would reject it if you config it less than the prefix length.
Router(config)# ip prefix-list MYLIST 10.1.1.0/24 le 30 

Router(config)# ip prefix-list MYLIST 10.1.1.0/24 ge 26 le 30 

> 

> p29:
>             description
>               "Policy statements group conditions and actions
>                within a policy definition.  They are evaluated in
>                the order specified (see the description of policy
>                evaluation at the top of this module.";
>  
> Missing close-parenthesis in this description.

[Yingzhen]: thank you for catching this. I’ve noted it down, will fix it in the next version.
>  
> Best regards
> Jon