[Idr] Re: Solicit feedbacks on introducing template to SR Policy architecture

Nat Kao <pyxislx@gmail.com> Sat, 14 September 2024 07:12 UTC

Return-Path: <pyxislx@gmail.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B14CCC151986; Sat, 14 Sep 2024 00:12:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JLzbnFwmzyBr; Sat, 14 Sep 2024 00:12:38 -0700 (PDT)
Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0C590C15155F; Sat, 14 Sep 2024 00:12:32 -0700 (PDT)
Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a8d2b4a5bf1so364493866b.2; Sat, 14 Sep 2024 00:12:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726297951; x=1726902751; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=LPHlsJ8Bce73Y4Cvac2SIvLbFLZAtv4iqL7YkedXMiU=; b=azVUcCldN03mejiI+NX5eiShrilwq+Ogt4VVzzpyEnb0l3V7rvrb6hwmdwEz3eQCD8 pANispdDVNuOvCVezus/ccCB5fcGt9lEKSKDo5bZX+0hnh1hyrnNVVfsXFWeBWc1nzrt Gq7UMMSbURpXQJ6OPI56ZSZCNe5hqiznYuXnVIc7EsQOc9sRevRhArDvmk89Xh7jp0jP RXk7k2BZ8k0A3AxBni5coHze23jeTQ6kz5D9g+ybORliBpBcEmF0LQYqP7jKoY5YCkmG FxAznLgZwTEAnhZ8TuI12VEYb60c5pI3zESu6HDFUC0J5hYUH4bPzqGdWF/tGnrzHvG1 pkrg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726297951; x=1726902751; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LPHlsJ8Bce73Y4Cvac2SIvLbFLZAtv4iqL7YkedXMiU=; b=FDakcvWtTz51a7uVVKhGoV3H54ndotqFSc5fSK8lmyIuyrkQ8eWKwhyADGqf+/FQNJ khs9b0di6EL+1iF1d85vPOe/BcLwK6QWBhuR17dATXtsayzaG6hIHJ9WN5asw3Z4IWB2 Ija1TVoOi3jOH5CsQ6OgWANJEUZoCH7AXFQuxbJ0qSr2wUW6NfgTNR/3ztQym8+2/5xg /1fexil8ch4BjHFONdf2cts/jNe8FMizm3cWjIQPa0h5/bWfKi3UV0NE5q5LGVqEdFE0 IDqueYxWhZSnyDMVLfll8Zwz7/+y3YNHKjZLmgjs0hrDCi3tEbrUvQPOTizpV/DmGkkz DXbA==
X-Forwarded-Encrypted: i=1; AJvYcCVMUe05cm0e77rjUVme8oSDSy/8jU00g6AT2vRIMZ/+XAD55V1PAdS/jC/roG1W8Aimd2M=@ietf.org
X-Gm-Message-State: AOJu0YxJXCjhaC3wHYdfuWmEQmiXyJ0u/CVqQORo/gGIAJ09YMvOrrLH 6yJn4ZRCHMDJk1ukTbOnw+kdNVHESo95ku4fVkjVtU/QTSuHJwxsoJpX2kRLB5grbYtJXG7Df7K D84J00cXoDfNiQqOIPMzjRm7b+gs=
X-Google-Smtp-Source: AGHT+IHc6fXPyhPgayg7gK4fvepI3kdLMUJ69gorRT1x+dLRBkHxIbTqHYhOTUmS+cnD5S4p9qCwIxZbKqAZfTqVTJk=
X-Received: by 2002:a17:907:f783:b0:a86:80b7:4743 with SMTP id a640c23a62f3a-a9029507839mr905383966b.24.1726297950691; Sat, 14 Sep 2024 00:12:30 -0700 (PDT)
MIME-Version: 1.0
References: <ab74ea398fdb4196b92ed97c8e2c912b@huawei.com> <CAKEJeo4dFdnEdoQHHgrPVcw7-69z2V4F3Ap36s6FjiXPowmmWQ@mail.gmail.com> <3aa9ca0bf377453a8b0402afbeafce02@huawei.com>
In-Reply-To: <3aa9ca0bf377453a8b0402afbeafce02@huawei.com>
From: Nat Kao <pyxislx@gmail.com>
Date: Sat, 14 Sep 2024 15:11:54 +0800
Message-ID: <CAKEJeo6A9bRU=J-T0CVEnwvnTSezSjGW0MwANfMg+wO_tp8Upg@mail.gmail.com>
To: "Dongjie (Jimmy)" <jie.dong@huawei.com>
Content-Type: multipart/alternative; boundary="00000000000020ab8006220f10b0"
Message-ID-Hash: JIVE4VG4MNHUYYRJ3SLKZOAATGMTYCAM
X-Message-ID-Hash: JIVE4VG4MNHUYYRJ3SLKZOAATGMTYCAM
X-MailFrom: pyxislx@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-idr.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "spring@ietf.org" <spring@ietf.org>, "idr@ietf.org" <idr@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Idr] Re: Solicit feedbacks on introducing template to SR Policy architecture
List-Id: Inter-Domain Routing <idr.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/iEGi8aHHR6wbgP3AqSwJt7mJav8>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Owner: <mailto:idr-owner@ietf.org>
List-Post: <mailto:idr@ietf.org>
List-Subscribe: <mailto:idr-join@ietf.org>
List-Unsubscribe: <mailto:idr-leave@ietf.org>

Hi, Jie.

Thanks a lot for the clarification.
Please find my comments marked as <NK></NK>.

On Thu, Sep 12, 2024 at 9:33 PM Dongjie (Jimmy) <jie.dong@huawei.com> wrote:

> Hi Nat,
>
>
>
> Thanks for the review and comments.
>
>
>
> In my understanding there are two types of attributes for a candidate
> path.
>
>
>
> The first type is the attributes which are necessary for creating a
> candidate path, this includes binding SID, SID list, priority, etc. In BGP,
> these attributes are defined as TLVs/sub-TLVs associated with the SR Policy
> SAFI.
>
>
>
> The second type is the attributes which are ancillary and could be
> associated with a candidate path, this includes BFD, protection, traffic
> monitoring, etc. In BGP, these attributes will not be defined as individual
> TLVs/sub-TLVs of the SR Policy SAFI.
>
>
>
> The template concept we are introducing here is about the second type of
> attributes, as it is possible that these attributes could be the same for
> multiple candidate paths, which means the template can be reused. And using
> one template ID can refer to a series of attributes. Thus I would say “a
> template acts as a collection of customized attributes associated with an
> SR Policy candidate path”.
>
>
>
> For your first comment about the procedure, since the attributes defined
> in a template are not covered in the existing SR Policy attributes, there
> will be no overlap or conflict.
>

<NK>
As you mentioned, there are two sets of attributes of a CP: the "base set"
and the "ancillary set." The base set is carried in the BGP SR-Policy SAFI,
while the ancillary set can specified by other means. A template is one of
those means to pack the ancillary set. According to the current assumptions
of the SR-Policy template draft, these two sets are disjoint.

However, this might pose a restriction on the SAFI for ancillary sets. For
the extensibility of the SAFI and the template itself, I suggest adding a
tie-breaking procedure for the templates just in case of overlaps. If that
case is out of the scope of the current draft, maybe we can add some text
describing it and let the following drafts(if any) deal with that in the
future.
</NK>


>
>
> As for your second comment, if the template for an SR Policy CP needs to
> be updated or removed, the control plane mechanism (e.g. BGP) would be used
> to send an update of the CP.
>
>
>

<NK>
Do you mean there will be another SAFI to distribute ancillary sets?
</NK>


>
> Best regards,
>
> Jie
>
>
Best regards,
Nat



>
>
> *From:* Nat Kao <pyxislx@gmail.com>
> *Sent:* Thursday, September 5, 2024 7:05 PM
> *To:* Dongjie (Jimmy) <jie.dong@huawei.com>
> *Cc:* spring@ietf.org; idr@ietf.org
> *Subject:* Re: [Idr] Solicit feedbacks on introducing template to SR
> Policy architecture
>
>
>
> Hi, Jie.
>
>
>
> I've read -04 of this draft.
>
> We can further augment it by introducing attributes in the current
> candidate paths(CPs). (ex: SID lists, ENLP, ...etc.)
>
> The template acts as a collection of default values of SR policy CPs on
> the headend.
>
> If we do so, we can define procedures for the following:
>     1. How are the values for the same attribute selected from the
> received CP or the referring template?
>        -We can inherit the values from the referring template for the
> attributes if there's no definition in the CP.
>        -For some attributes, a merge might also be an option.
>     2. How to deal with CPs when we add/modify/remove the referring
> template.
>
> Thanks
> Nat
>
>
>
> On Tue, Sep 3, 2024 at 2:59 PM Dongjie (Jimmy) <jie.dong=
> 40huawei.com@dmarc.ietf.org> wrote:
>
> Dear all,
>
>
> A few month ago, draft-zhang-idr-sr-policy-template was presented at an
> interim meeting of IDR WG, and on the meeting there was suggestion that the
> architecture part of introducing template to SR Policy needs to be
> discussed in SPRING. Hence we would like to solicit attention and opinions
> from SPRING WG on this topic.
>
> As described in the IDR draft, a template consists of a set of attributes
> and functions which can be associated with an SR Policy and its candidate
> paths. Some examples of the attributes and functions are:
>
> - BFD and its parameters
> - protection
> - in-situ performance measurement
> - traffic statistics
> - etc.
>
> The content of a template can be defined by an operator and then provided
> to both the controller and the network devices via management interfaces. A
> template may be used only on a specific headend node, or it may be used on
> multiple headend nodes in the network.
>
> For the instantiation of an SR Policy, only the template ID needs to be
> carried as one of the attributes of the SR Policy in the control protocols,
> such as BGP and PCEP. Thus the extensions to the control protocols are
> straightforward. Please note for PCEP there is a draft proposing similar
> concept and extensions: draft-alvarez-pce-path-profiles.
>
>
> Any comments and considerations on introducing template to the SR Policy
> architecture would be appreciated.
>
> Best regards,
>
> Jie (on behalf of the coauthors)
>
> _______________________________________________
> Idr mailing list -- idr@ietf.org
> To unsubscribe send an email to idr-leave@ietf.org
>
>