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

"Dongjie (Jimmy)" <jie.dong@huawei.com> Thu, 12 September 2024 13:33 UTC

Return-Path: <jie.dong@huawei.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 B0D57C14F6EC; Thu, 12 Sep 2024 06:33:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, 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
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 QnVX_uxldK_W; Thu, 12 Sep 2024 06:33:31 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 47D6FC14F6E2; Thu, 12 Sep 2024 06:33:31 -0700 (PDT)
Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4X4JDQ0QkLz6K76l; Thu, 12 Sep 2024 21:28:38 +0800 (CST)
Received: from lhrpeml100006.china.huawei.com (unknown [7.191.160.224]) by mail.maildlp.com (Postfix) with ESMTPS id C0315140C9C; Thu, 12 Sep 2024 21:33:28 +0800 (CST)
Received: from dggpemf200008.china.huawei.com (7.185.36.39) by lhrpeml100006.china.huawei.com (7.191.160.224) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 12 Sep 2024 14:33:27 +0100
Received: from kwepemf100006.china.huawei.com (7.202.181.220) by dggpemf200008.china.huawei.com (7.185.36.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 12 Sep 2024 21:33:25 +0800
Received: from kwepemf100006.china.huawei.com ([7.202.181.220]) by kwepemf100006.china.huawei.com ([7.202.181.220]) with mapi id 15.02.1544.011; Thu, 12 Sep 2024 21:33:25 +0800
From: "Dongjie (Jimmy)" <jie.dong@huawei.com>
To: Nat Kao <pyxislx@gmail.com>
Thread-Topic: [Idr] Solicit feedbacks on introducing template to SR Policy architecture
Thread-Index: Adr9zjWAyPRsKtu0QFq9sNg6nfTDMABcimgAAXS3amA=
Date: Thu, 12 Sep 2024 13:33:25 +0000
Message-ID: <3aa9ca0bf377453a8b0402afbeafce02@huawei.com>
References: <ab74ea398fdb4196b92ed97c8e2c912b@huawei.com> <CAKEJeo4dFdnEdoQHHgrPVcw7-69z2V4F3Ap36s6FjiXPowmmWQ@mail.gmail.com>
In-Reply-To: <CAKEJeo4dFdnEdoQHHgrPVcw7-69z2V4F3Ap36s6FjiXPowmmWQ@mail.gmail.com>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.82.165.18]
Content-Type: multipart/alternative; boundary="_000_3aa9ca0bf377453a8b0402afbeafce02huaweicom_"
MIME-Version: 1.0
Message-ID-Hash: MELKGR6MTQSIDQS3HEZ7RC6J4HA74FQ5
X-Message-ID-Hash: MELKGR6MTQSIDQS3HEZ7RC6J4HA74FQ5
X-MailFrom: jie.dong@huawei.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/hrcxWBvKi4Lj6r_JKiQaIORIXJ8>
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 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.

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.


Best regards,
Jie

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<mailto: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<mailto:idr@ietf.org>
To unsubscribe send an email to idr-leave@ietf.org<mailto:idr-leave@ietf.org>