Re: AD Review of draft-ietf-rtgwg-policy-model-27

Yingzhen Qu <yingzhen.ietf@gmail.com> Mon, 07 June 2021 23:49 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 7DD813A1788; Mon, 7 Jun 2021 16:49:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.088
X-Spam-Level:
X-Spam-Status: No, score=-2.088 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01] 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 Lm6nRTAli1XV; Mon, 7 Jun 2021 16:49:38 -0700 (PDT)
Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) (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 0C9DE3A1786; Mon, 7 Jun 2021 16:49:37 -0700 (PDT)
Received: by mail-pl1-x635.google.com with SMTP id 69so9614995plc.5; Mon, 07 Jun 2021 16:49:37 -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=GZwHLyWOHIJw7iH7glTiGHL4PPzCy2YStH5kmVQZ9jQ=; b=tcyVjvoynCsYZd1ArOaPzW9uEz8G3WjEc2H69mTbFXlBMtSMk3u4Bz5ca6DOB69caO LfCQKvoJDJfSoIMMBsb3gQcimxG+hFFvOoiMBtbeTL2LNU/uDbvNQvk4rHe+Bh8iil/t ocIVaCrlzSV1wEhhr9OLLc8K/PmDnvYXgVatrvc4FJBLaDiWD379mz9pdGgo6PNRo4Ot b5Na0Rt8dkAWhu61eatRdXMUsjwV4IHoy/R1rCCdv6jcNWbeo6yr49Z9CFnwQWJvCByp /jsAHEuiRMtZgOGBWo98rbYQIKqJZlWGkzPMiBOjytbfcwHiYJwzG10VBvHzsowSAlYs qYag==
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=GZwHLyWOHIJw7iH7glTiGHL4PPzCy2YStH5kmVQZ9jQ=; b=Rc7k2FnAbY3NXUYA8wF/+nmhorrZpW7MbMkf9ShJpHDii/nWRkwpr8d/rI7tQS5nyY +G8XKVSRrb/bIvB4w4ITRsX/HV0e1rz8dvMOLyWRyvqEg+Vur25KKmzH0YVRjl8sIwUo vZsFMs/kPf2XdinWVQx7YLRs4ES3SAeOegmT9yOAh0k9UVejbmgss3i8uq/D52IIB8Oo 8dwtbeHICJDASF6JVrl9A6hX+BbZHCjwNtIVqb+TiDSy2XA6oLfkd935VgucbQHvCCqF /bx+cSnYgahs7sTlkED+miK4bRWEDSjriSmeazVfgGnJTMzUymVqBPdM0C1hGTGlOHqA zPRw==
X-Gm-Message-State: AOAM530MOsO+nq12mvHzG/QpZcd5dYFsq1Zvww8nPh99lDAYoT50cYdh kAETce6XYkFeGivZFjOnHg==
X-Google-Smtp-Source: ABdhPJxMAvlniErJ0MAZE5Q3awhS0BDS0pHk038b4jewf5IZJt4JI6W3+hbU4ZF4jU3F2hpfJiN2jQ==
X-Received: by 2002:a17:90b:46c3:: with SMTP id jx3mr15822812pjb.206.1623109777040; Mon, 07 Jun 2021 16:49:37 -0700 (PDT)
Received: from ?IPv6:2601:646:9702:c61:f979:1f68:1dd1:2588? ([2601:646:9702:c61:f979:1f68:1dd1:2588]) by smtp.gmail.com with ESMTPSA id j9sm13237886pjy.25.2021.06.07.16.49.36 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Jun 2021 16:49:36 -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: AD Review of draft-ietf-rtgwg-policy-model-27
From: Yingzhen Qu <yingzhen.ietf@gmail.com>
In-Reply-To: <CAMMESswg0K-H3SNLembpZj2uwxFg0eD6uzPomEHTA5yeKTYKFw@mail.gmail.com>
Date: Mon, 07 Jun 2021 16:49:34 -0700
Cc: Chris Bowers <chrisbowers.ietf@gmail.com>, rtgwg-chairs <rtgwg-chairs@ietf.org>, draft-ietf-rtgwg-policy-model@ietf.org, "rtgwg@ietf.org" <rtgwg@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <87802549-49A4-4317-A32A-FF8F1F41C99D@gmail.com>
References: <CAMMESsxVqhEvvkuaxQRobANNPEMtX5dAtXTQwMEGs97Z4T7AFw@mail.gmail.com> <8B700431-6AC9-4562-BC0C-13212AC34E41@gmail.com> <CAMMESswg0K-H3SNLembpZj2uwxFg0eD6uzPomEHTA5yeKTYKFw@mail.gmail.com>
To: Alvaro Retana <aretana.ietf@gmail.com>
X-Mailer: Apple Mail (2.3654.40.0.2.32)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/uzw8ytXtMD5qikQhc61usn09zxk>
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: Mon, 07 Jun 2021 23:49:44 -0000

Hi Alvaro,

Thanks for the review. Considering these are minor comments, if you don’t mind I’ll make the changes in next revision with other comments received later.

Please see my answers inline.

Thanks,
Yingzhen

> On Jun 7, 2021, at 3:43 PM, Alvaro Retana <aretana.ietf@gmail.com> wrote:
> 
> On June 7, 2021 at 2:23:50 PM, Yingzhen Qu wrote:
> 
> 
> Yingzhen:
> 
> Hi!
> 
> ...
>> We’ve published a new version to address your comments. Please see inline
>> below for detailed answers.
> 
> I have a couple of minor comments below.   I'm starting the IETF LC.
> 
> Thanks!!
> 
> Alvaro.
> 
> 
> 
> ...
>>> 381 +--rw set-preference? uint16
>>> 
>>> [?] What is the preference? Is this intended to be related to
>>> "administrative distance", or local-pref, or what? Or maybe it is
>>> something completely different.
>>> 
>> [Yingzhen]: added description in the model, consistent with RFC 8349.
>> leaf set-preference {
> 
> Ahhh, that's where it comes from.  Why not call it "route-preference”?
> 
[Yingzhen]: we can change the leaf to “set-route-preference”. 
> 
> ...
>>> 382 +--rw set-tag? tag-type
>>> 383 +--rw set-application-tag? tag-type
>>> 
>>> [?] What is an application tag? What is the difference between that an a
>>> tag?
>>> 
>> [Yingzhen]: added description. Hope this clarifies.
> 
> Hmmm..so, is that a local thing?  If it is not advertised...
> 
> The name "application" is what's throwing me off.
> 
> 
> 
> ...
>>> 420 5. Policy evaluation
>>> 
>>> 422 Evaluation of each policy definition proceeds by evaluating its
>>> 423 corresponding individual policy statements in order. When all the
>>> 424 condition statements in a policy statement are satisfied, the
>>> 425 corresponding action statements are executed. If the actions include
>>> 426 either accept-route or reject-route actions, evaluation of the
>>> 427 current policy definition stops, and no further policy statement is
>>> 428 evaluated. If there are multiple policies in the policy chain,
>>> 429 subsequent policies are not evaluated. Policy chains are sequences
>>> 430 of policy definitions (described in . (Section 4)).
>>> 
>>> [nit] s/described in . (Section 4)/as described in Section 4
>>> 
>> [Yingzhen]: fixed.
> 
> s/in . (Section 4)/in Section 4
[Yingzhen]: will fix this.
> 
> 
> ...
>>> 980 typedef metric-modification-type {
>>> 981 type enumeration {
>>> 982 enum set-metric {
>>> 983 description
>>> 984 "Set the metric to the specified value.";
>>> 985 }
>>> 986 enum add-metric {
>>> 987 description
>>> 988 "Add the specified value to the existing metric.
>>> 989 If the result would overflow the maximum metric
>>> 990 (0xffffffff), set the metric to the maximum.";
>>> 
>>> [major] Not all metrics have the same length! How should shorter
>>> metric fields be handled? Is that expected to be solved by an
>>> augmentation, if/when needed?
>>> 
>> [Yingzhen]: if a metric is shorter, say only 0xff, and a value is set out of
>> range, the implementation should reject it. It’s set to maximum here for
>> simplicity.
> 
> Sure...but that is not what the text says.  The text is only specific
> about 0xffffffff.  I think that if you take "(0xffffffff)" then it
> would be a general statement.
[Yingzhen]: will add some description for shorter range.