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

Alvaro Retana <aretana.ietf@gmail.com> Mon, 07 June 2021 22:43 UTC

Return-Path: <aretana.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 CFFC43A155E; Mon, 7 Jun 2021 15:43:47 -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, UNPARSEABLE_RELAY=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 TPWJQqkYXY8Y; Mon, 7 Jun 2021 15:43:45 -0700 (PDT)
Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 00F993A1554; Mon, 7 Jun 2021 15:43:41 -0700 (PDT)
Received: by mail-ed1-x52a.google.com with SMTP id u24so22259951edy.11; Mon, 07 Jun 2021 15:43:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc:content-transfer-encoding; bh=K2Qd+K3MlwYKADVg9CJg0lrWIuF+tVji6jS2p+6TxAY=; b=JKiyTHfUBPhCKb0NaHkutZcX8YayduJNS2ng+SXQHahpBHaWBHXOD+gIf72DDRYIUu PlzLJiEAJJU8JDdxdFi6x3sSS8viQdupd3QDHBooDCxvvpaHQCZkxIEk2VxxFyShKy/Y 8TlGOFvYqnKS4HdK7b7Kks8FJxHa9fUjcJ1BT3Na7NmqmrRRobB25XIGkQCX3Mo28uTw RupG0q4gPqC59W62QUvnh6/lPHQwsVka5kI/3/Pg0WoXRN34a1/eco9AfYL0Dro6czn0 G8oI2rxfsU5vznAAvScjMFOlLzLjoJ1m3bSmpTuoob5r7OLrFj+mp4ew1mkXg2f7QSzk iPdg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc:content-transfer-encoding; bh=K2Qd+K3MlwYKADVg9CJg0lrWIuF+tVji6jS2p+6TxAY=; b=C2gplcuNkZ0X2Tq7w4gckThK7ylkLUZmpviZz1N/CWDysNU7qpn3pJfPO+a5uiavWN FJdrbDlwRe7j/mZGvXjdh+5YTlBcODoRQyOhKhsBMNporDqiKzZVr/yVhrKQs3432SU/ 2XbBIoxemJHCTfxVpRzYSxF/QvpqDedb4VjPMSXYcCCLIe40y1ScH6u9XzM6Tf5/drLI m0FxjbVjeJVNykRw+H3c+6Te9264KCCT6X8lrKnC91TWu1b07qxhxtoitO8XcRn636Id 8wkkpAuUA2ibnbAIEdaoSh+7pEhwJUgCHYtSVu0qTMgA0A4LSssk3syiwkrJT7yQ9L1X EKaQ==
X-Gm-Message-State: AOAM531643U5DoMWNGDvwAUmYTFG1zYjTv+yYQHvS9aKSGhV5qOMWYSn pdk9DCE5Tku9j896LCuzup5FxawtnM7oqG4hcsU=
X-Google-Smtp-Source: ABdhPJyYBVSGxmM1OdcQK6ODWjvVVnp7+MYhsQn0ltbYu/fAh2WMKHWf5yz8fx3LLBEiVgMxaN72M0ESsNkshT0wr70=
X-Received: by 2002:aa7:cc98:: with SMTP id p24mr22603865edt.353.1623105818614; Mon, 07 Jun 2021 15:43:38 -0700 (PDT)
Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Mon, 7 Jun 2021 15:43:37 -0700
From: Alvaro Retana <aretana.ietf@gmail.com>
In-Reply-To: <8B700431-6AC9-4562-BC0C-13212AC34E41@gmail.com>
References: <CAMMESsxVqhEvvkuaxQRobANNPEMtX5dAtXTQwMEGs97Z4T7AFw@mail.gmail.com> <8B700431-6AC9-4562-BC0C-13212AC34E41@gmail.com>
MIME-Version: 1.0
Date: Mon, 07 Jun 2021 15:43:37 -0700
Message-ID: <CAMMESswg0K-H3SNLembpZj2uwxFg0eD6uzPomEHTA5yeKTYKFw@mail.gmail.com>
Subject: Re: AD Review of draft-ietf-rtgwg-policy-model-27
To: Yingzhen Qu <yingzhen.ietf@gmail.com>
Cc: Chris Bowers <chrisbowers.ietf@gmail.com>, rtgwg-chairs@ietf.org, draft-ietf-rtgwg-policy-model@ietf.org, "rtgwg@ietf.org" <rtgwg@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/h2lX1AlhcsBygwAnSZzKYYA2oG0>
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 22:43:57 -0000

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"?



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


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