Re: [Idr] [spring] Comments: Route Origin Community in SR Policy(draft-ietf-spring-segment-routing-policy)

"Ketan Talaulikar (ketant)" <ketant@cisco.com> Thu, 21 May 2020 14:35 UTC

Return-Path: <ketant@cisco.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 94B763A0D14; Thu, 21 May 2020 07:35:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.597
X-Spam-Level:
X-Spam-Status: No, score=-9.597 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=lEiXMmpw; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=WF5kRzI2
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 1tfXL8sraj14; Thu, 21 May 2020 07:35:19 -0700 (PDT)
Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 561123A0D63; Thu, 21 May 2020 07:35:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=470922; q=dns/txt; s=iport; t=1590071709; x=1591281309; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=PWVk2efnosjmlNDJsnbymqEoi6aHqaPaMCvGTnrhK/4=; b=lEiXMmpwoyIRle2WOvgxCXvhfcFGQWpuU27jd/yindAlIS/R+T5DMMpn 763GCEtUFSX7/4eFmgfes++De+TqCvTVnmJGph1442CPcN7sHGOJ2Xj7i uT2VVKtN+pJ6dcvo2iIb7UMUEOtAdUkE/+9x7z+b8PIKzw0HMUGQpSQic g=;
X-Files: image001.jpg, image002.jpg, image003.jpg, image004.jpg, image005.jpg, image006.png : 13465, 17858, 19491, 19793, 8832, 158645
IronPort-PHdr: 9a23:+KzlABVdPgRIjnou/E9dlrMNNi3V8LGuZFwc94YnhrRSc6+q45XlOgnF6O5wiEPSBN+Fue5fiuzZs73pH2sa7tCKtiNKfJ9NUkoDjsMb10wlDdWeAEL2ZPjtc2QhHctEWVMkmhPzMUVcFMvkIVGHpHq04G0OART5OgpoL6LyAIGUhMLkn+y38ofYNgNPgjf1aLhuLRKw+APWsMRegYZrJqsrjBXTpX4dcOVNzmQuLlWWzBs=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ChBAC8kMZe/5ldJa3BKhwDBQSNBzrGQZAd
X-IronPort-AV: E=Sophos;i="5.73,417,1583193600"; d="png'150?jpg'150,145?scan'150,145,208,217,150,145";a="482561084"
Received: from rcdn-core-2.cisco.com ([173.37.93.153]) by alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 21 May 2020 14:35:08 +0000
Received: from XCH-ALN-001.cisco.com (xch-aln-001.cisco.com [173.36.7.11]) by rcdn-core-2.cisco.com (8.15.2/8.15.2) with ESMTPS id 04LEZ35A000697 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 21 May 2020 14:35:08 GMT
Received: from xhs-aln-001.cisco.com (173.37.135.118) by XCH-ALN-001.cisco.com (173.36.7.11) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 21 May 2020 09:35:05 -0500
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 21 May 2020 09:35:04 -0500
Received: from NAM11-BN8-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Thu, 21 May 2020 09:35:04 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FM7gJTOHyF4jEePU9FwFJO0U8vYyKDLjYutX6BzMoeEC6MyMNl0dUqp40BHup05Q6hXJBYK1YS3YYnBIyNOdMbf+955YFwGfozAbg15oo1ceITtRr6FUlTThUDrOzjMN7tAfV0mrCW1Dm35rFCiWcAKeV597HcOJ5mMrjFXDn7HfLdqws7Da8gdOyvZkXVchNeXztRlHS3fBSXHsGLprRCxC7XsPT15tJfgQlLWM63hyV/xbVb7mU4DQswwFHTvQz9FAmu2LyAhnI2nla+QWd6AEjRAKSfNns2tP17+bKoeCK4ht9XtC7kvO/WmHRMa2kxbM+kw4l3crev4tzehXRw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qApV3LkXYzTwqF/E9Gjqdy/rTFM2M/ZWcn6qaxyvCYA=; b=ian/Mc+lYVXlyaYyMl4gW3j5dCYRLaKW2RxvIVxj83v9WWfufUtDhLgb5bolYOs46hy+6l9Cd5kWE4y+enI+lXD2ASxd8XPzBvXuZYbYXwjlcLPWZKICONRB7sQAOhsQWMs+KxBvm9RxK/AocdLE/qlWmDXA7J2+kTURuIYVVUfVPaGvEiIAJiAuFNiKLR4N4y7a33FrCJCxUF5/M1xsmXqOOzdevmVV/8xq4EdFvXXJlFL9eBoOyKNtHcQxKL28kGSBLEfwNpq9e2ztEmxxPXscSuKIf8611s37M3x6/2DE1SoUfSu6V4w6YTumFJ02RXJy6p6xzJnPIZmwKzgXfQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qApV3LkXYzTwqF/E9Gjqdy/rTFM2M/ZWcn6qaxyvCYA=; b=WF5kRzI2IWAh0VPFapqH8b/6pkBjlPl2caKd5Z7kvb/1J0xXyOo1idB3WAGS7PODBuRtfV2XaJffrY2WwQIlp+ZQINMDqWpPW1qbo91Xon5V3Na8Dzy1hhBkNR5YS0vjQuelx2mUcYKxDcX/RUASFhAuUJ5gn3EXKgpjw595Fb4=
Received: from MW3PR11MB4570.namprd11.prod.outlook.com (2603:10b6:303:5f::22) by MW3PR11MB4681.namprd11.prod.outlook.com (2603:10b6:303:57::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.23; Thu, 21 May 2020 14:35:02 +0000
Received: from MW3PR11MB4570.namprd11.prod.outlook.com ([fe80::9552:d301:4b19:601c]) by MW3PR11MB4570.namprd11.prod.outlook.com ([fe80::9552:d301:4b19:601c%5]) with mapi id 15.20.3021.020; Thu, 21 May 2020 14:35:02 +0000
From: "Ketan Talaulikar (ketant)" <ketant@cisco.com>
To: Aijun Wang <wangaijun@tsinghua.org.cn>, 'Fangsheng' <fangsheng@huawei.com>, 'Robert Raszuk' <robert@raszuk.net>
CC: 'idr wg' <idr@ietf.org>, 'SPRING WG' <spring@ietf.org>, 'stefano previdi' <stefano@previdi.net>, 'Yangang' <yangang@huawei.com>, "draft-ietf-spring-segment-routing-policy@ietf.org" <draft-ietf-spring-segment-routing-policy@ietf.org>, "'Chengli (Cheng Li)'" <c.l@huawei.com>
Thread-Topic: [spring] [Idr] Comments: Route Origin Community in SR Policy(draft-ietf-spring-segment-routing-policy)
Thread-Index: AdYek4MmKSUhOySlR86q9L0AexcDnQANyexgAAFPYwADjsRb8ABl7jKAAADuRQAAAkA7gAAIGZVwACG6GIAAAeS8AAAB848gAAUAx7AAAMAEEA==
Date: Thu, 21 May 2020 14:35:02 +0000
Message-ID: <MW3PR11MB457001996DF50A3F9E2AEFFCC1B70@MW3PR11MB4570.namprd11.prod.outlook.com>
References: <C7C2E1C43D652C4E9E49FE7517C236CB029FAC88@dggeml529-mbx.china.huawei.com> <MW3PR11MB45702B49025A293583346F36C1AA0@MW3PR11MB4570.namprd11.prod.outlook.com> <CAOj+MMGbjvgn6VL3dKviuxzNNRk0pwFkBOTJUz15D8iSM9=-Rw@mail.gmail.com> <MW3PR11MB457083E56B77688CA68A2500C1B80@MW3PR11MB4570.namprd11.prod.outlook.com> <83bae48cc52d4a5da9a7ee76529a8d20@huawei.com> <CAOj+MMFs2fGy0ciyBJvoWng++oepamF8YxyO=QtR9yYWbazbqg@mail.gmail.com> <05da1ce8c7f949cf9ba5bec27fd1d64c@huawei.com> <MW3PR11MB457080117E6483332BE0F2B1C1B60@MW3PR11MB4570.namprd11.prod.outlook.com> <243a75cc7ba6415e944cda97d37b53d8@huawei.com> <001f01d62f5e$4fbfa7c0$ef3ef740$@org.cn> <MW3PR11MB45704EFE0723288AC0998B98C1B70@MW3PR11MB4570.namprd11.prod.outlook.com> <006c01d62f7b$18dd7da0$4a9878e0$@org.cn>
In-Reply-To: <006c01d62f7b$18dd7da0$4a9878e0$@org.cn>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: tsinghua.org.cn; dkim=none (message not signed) header.d=none;tsinghua.org.cn; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [72.163.220.29]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 65cf4fd3-4ca3-4a40-a7fc-08d7fd9425b8
x-ms-traffictypediagnostic: MW3PR11MB4681:
x-microsoft-antispam-prvs: <MW3PR11MB4681B04C812DAFE8E3C98DE8C1B70@MW3PR11MB4681.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 041032FF37
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 3VnmjzkHvNaEipmyiHJsYq4LFWPURF/Y1qbsevPPt2qmkX/hHUkxwk24QC+j2YZchdHvNzTZ4mSeUOQ+qg2yd+WQ0OX5fEgIxXse/nYKipX3EbxbfdSxifoZTLJOapFmtbBRx0BvJQpCOLj/aZd9C+ojl2YpxXxMiEjfPCOk35SD0iH4Zu47huCFWTFvpxBNCjPuKo+wXK8IGkuYxOOeDNtAba1iAQrFRvQ4oxGbcnTLFqLfkAU7awK3yOouBWvRZa9398IIH4G+FVdPyNqQL8mO84vLL4gBzWARsVvY7wkZuDPEAoH8myS785cKMh+OphRMghDYY2aB44SqfmRXSwtcVbCB9lkvtBULSJBtrTtGCq2ED5wYU7R3Aimc4Qn8hmd+P+UgEMUINEgn0Bq8dQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW3PR11MB4570.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(136003)(346002)(39860400002)(366004)(396003)(52536014)(26005)(99936003)(7696005)(966005)(76116006)(30864003)(9686003)(6506007)(86362001)(166002)(186003)(316002)(54906003)(66476007)(66446008)(66946007)(55016002)(64756008)(5660300002)(66576008)(9326002)(53546011)(110136005)(33656002)(66574014)(71200400001)(4326008)(2906002)(8936002)(8676002)(478600001)(66556008)(579004)(559001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: fxcG1UawtwIoEsevONvXn7HFxaJp6hMKP6+v/OB71ltcA4jFJYrrGjCK4hDeoEYeq55E1v5RI8gXZbOZx7qJRd+hJEOSlVCo3Vbk0QrRPm4GvD8m7t9UgEk1VCIP7CfH6CA3yhNXW0xJY6uf4EHJMdcN0rIg+r1g3eZzIE4rgKzuJIshYghF6kmLPtJDvk1NUItJFhi8xWtBzXcuRJXogmREluPm3CuLSa/B3+qTAdyWhFdXGCcIhHGUtrpJ002ZNjcNMKwPYOFPDifsbcWZ84h3gT6+7Ts+DncYOf1cxeRLz2b9FNI1Ob5D4Iq25xLvaoQTUq1CM9Xy5pee0+mSTbSOQ/0clP72u5SydT+8ZLvDur9rew9heiZhT3oxiHRU/yFrv6K80k/mz091bYdJyk1m7kARQrT8f/vFQYsNA28AJ9jqIOO6eDzvJ8WqwfjPKqy3C3/Rd+02U2BKnuA4vh/bCXccwzen/wMaPGOQSzoHgHV+UJQRMjN+4iigWIlZ
x-ms-exchange-transport-forked: True
Content-Type: multipart/related; boundary="_009_MW3PR11MB457001996DF50A3F9E2AEFFCC1B70MW3PR11MB4570namp_"; type="multipart/alternative"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 65cf4fd3-4ca3-4a40-a7fc-08d7fd9425b8
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 May 2020 14:35:02.5542 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: XgxuHX0C64cgtL77R6B6gdGjHUCRHBS/DgBU5/WKtHLXHu2TALkXh9nJlmd/v4DHDq0lk8ZULW46YYU0aIofAQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4681
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.11, xch-aln-001.cisco.com
X-Outbound-Node: rcdn-core-2.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/ENVoZJxaQoyev_vBxWH98GfFMuk>
Subject: Re: [Idr] [spring] Comments: Route Origin Community in SR Policy(draft-ietf-spring-segment-routing-policy)
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 May 2020 14:35:35 -0000

Hi Aijun,

Yes, this is what we are discussing. However, we cannot mandate the use of Route Origin Community – it’s an option.

There are implementation specific aspects on CSG1 as well here which are outside the scope of the drafts under discussion.

Thanks,
Ketan

From: Aijun Wang <wangaijun@tsinghua.org.cn>
Sent: 21 May 2020 19:51
To: Ketan Talaulikar (ketant) <ketant@cisco.com>; 'Fangsheng' <fangsheng@huawei.com>; 'Robert Raszuk' <robert@raszuk.net>
Cc: 'idr wg' <idr@ietf.org>; 'SPRING WG' <spring@ietf.org>; 'stefano previdi' <stefano@previdi.net>; 'Yangang' <yangang@huawei.com>; draft-ietf-spring-segment-routing-policy@ietf.org; 'Chengli (Cheng Li)' <c.l@huawei.com>
Subject: 答复: [spring] [Idr] Comments: Route Origin Community in SR Policy(draft-ietf-spring-segment-routing-policy)

Hi, Ketan:
If the RR does not change anything, then the originator info of SR Policy should be set by path headend (CSG1 in current scenario).
And to accomplish this, the controller should carry it via the “Route Origin Community” when distribute such info to RR, as proposed by Fangsheng.


Best Regards.

Aijun Wang
China Telecom

发件人: spring-bounces@ietf.org<mailto:spring-bounces@ietf.org> [mailto:spring-bounces@ietf.org] 代表 Ketan Talaulikar (ketant)
发送时间: 2020年5月21日 19:50
收件人: Aijun Wang; 'Fangsheng'; 'Robert Raszuk'
抄送: 'idr wg'; 'SPRING WG'; 'stefano previdi'; 'Yangang'; draft-ietf-spring-segment-routing-policy@ietf.org<mailto:draft-ietf-spring-segment-routing-policy@ietf.org>; 'Chengli (Cheng Li)'
主题: Re: [spring] [Idr] Comments: Route Origin Community in SR Policy(draft-ietf-spring-segment-routing-policy)

Hi Aijun,

Please check inline

From: Aijun Wang <wangaijun@tsinghua.org.cn<mailto:wangaijun@tsinghua.org.cn>>
Sent: 21 May 2020 16:25
To: 'Fangsheng' <fangsheng@huawei.com<mailto:fangsheng@huawei.com>>; Ketan Talaulikar (ketant) <ketant@cisco.com<mailto:ketant@cisco.com>>; 'Robert Raszuk' <robert@raszuk.net<mailto:robert@raszuk.net>>
Cc: 'idr wg' <idr@ietf.org<mailto:idr@ietf.org>>; 'SPRING WG' <spring@ietf.org<mailto:spring@ietf.org>>; 'stefano previdi' <stefano@previdi.net<mailto:stefano@previdi.net>>; 'Yangang' <yangang@huawei.com<mailto:yangang@huawei.com>>; draft-ietf-spring-segment-routing-policy@ietf.org<mailto:draft-ietf-spring-segment-routing-policy@ietf.org>; 'Chengli (Cheng Li)' <c.l@huawei.com<mailto:c.l@huawei.com>>
Subject: 答复: [spring] [Idr] Comments: Route Origin Community in SR Policy(draft-ietf-spring-segment-routing-policy)

Hi, Fangsheng and Ketan:

My understanding is that the CSG1 in your scenario will not report the SR policy information directly to the controller. Such information will be reported via two steps:
1) CSG1(headend) reports such information to RR1/RR2 via BGP-LS, with the originator information set as node address of RR1 or RR2
2) RR1/RR2 regenerates the BGP-LS information, with the originator information set as controller’s address.
[KT] Not sure what you mean by “regenerates” here. RRs normally just propagate information and do not modify it without policy. Even with policy knobs, the originator info is part of the TE Policy NLRI in BGP-LS and so cannot be changed.

Thanks,
Ketan

Then the controller can correlate the SR policy CP from RR1 or RR2 into one?

Am I right?


Best Regards.

Aijun Wang
China Telecom

发件人: spring-bounces@ietf.org<mailto:spring-bounces@ietf.org> [mailto:spring-bounces@ietf.org] 代表 Fangsheng
发送时间: 2020年5月21日 18:01
收件人: Ketan Talaulikar (ketant); Robert Raszuk
抄送: idr wg; SPRING WG; stefano previdi; Yangang; draft-ietf-spring-segment-routing-policy@ietf.org<mailto:draft-ietf-spring-segment-routing-policy@ietf.org>; Chengli (Cheng Li)
主题: Re: [spring] [Idr] Comments: Route Origin Community in SR Policy(draft-ietf-spring-segment-routing-policy)

Hi Ketan Talaulikar,

The BGP best-path run at CSG1 will pick one of the two paths from the two RRs since it is the same NLRI from two neighbors. So the best path is what would be given by BGP to the SR Policy component. The other path is to provide/offer redundancy at the BGP level as Robert mentioned.

==>  Oh Yes, you are right, I made a mistake, it is redundancy at the BGP level

But the core problem is how to define a key for a candidate path, this key can be consistent between CSG1’s SR Policy component and the controller.
I think the key is <Protocol-Origin, ASN, node-address , discriminator>, but I guess you mean the key should be  <Protocol-Origin, discriminator>?

you wished the “originator” that was reported to SR Policy component to be the controller instead of either RR1 or RR2 in the current case

==> Yes, because I think for both the SR Policy component and controller  the candidate path key should be <Protocol-Origin, ASN, node-address , discriminator> , so I wish the “originator” that was reported to SR Policy component in any case.

We know that a candidate path key only needs to ensure that it is unique within an SR Policy, so when discussing the candidate path key from a network perspective, we no longer emphasize the SR Policy key. Let's take a look at the standards related to SR Policy:

One BGP SR Policy route for candidate path, the key contains just <Distinguisher> which means <discriminator>.
https://datatracker.ietf.org/doc/draft-ietf-idr-segment-routing-te-policy/?include_text=1
[cid:image001.jpg@01D62FAB.B19678F0]


One BGP LS route for candidate path, the key contains <Protocol-Origin, ASN, node-address , discriminator>.
https://datatracker.ietf.org/doc/draft-ietf-idr-te-lsp-distribution/?include_text=1
[cid:image002.jpg@01D62FAB.B19678F0][cid:image003.jpg@01D62FAB.B19678F0]

PCEP TLV for candidate path, the key contains <Protocol-Origin, ASN, node-address , discriminator>
https://datatracker.ietf.org/doc/draft-barth-pce-segment-routing-policy-cp/?include_text=1
[cid:image004.jpg@01D62FAB.B19678F0]

YANG for candidate path, the key contains <Protocol-Origin, ASN, node-address , discriminator>
https://datatracker.ietf.org/doc/html/draft-raza-spring-sr-policy-yang-02
[cid:image005.jpg@01D62FAB.B19678F0]


According to this information, in order to uniquely identify a candidate path in the network, we need its key to be stable and unique, so the <Originator> is best determined by the producer and can be transmitted with the protocol message.
We recommend carrying the Route Origin Community (defined in RFC 4360) directly when the controller advertises BGP routes.  In this way, the key  of the CP is determined by the controller and will not change during the advertisement of BGP routes.


In addition,  in my case, CSG1 cannot receive BGP SR Policy routes from RR1 and RR2 at the same time, therefore, it is possible to receive the route from RR1 first, the SR Policy component creates a candidate path, and then receives the route from RR2. BGP decides to prefer this new route. For the SR Policy component, the Originator follows A change has occurred, so a switch between paths will be performed.



From: Ketan Talaulikar (ketant) [mailto:ketant@cisco.com]
Sent: Thursday, May 21, 2020 1:59 AM
To: Fangsheng <fangsheng@huawei.com<mailto:fangsheng@huawei.com>>; Robert Raszuk <robert@raszuk.net<mailto:robert@raszuk.net>>
Cc: Chengli (Cheng Li) <c.l@huawei.com<mailto:c.l@huawei.com>>; draft-ietf-spring-segment-routing-policy@ietf.org<mailto:draft-ietf-spring-segment-routing-policy@ietf.org>; idr wg <idr@ietf.org<mailto:idr@ietf.org>>; SPRING WG <spring@ietf.org<mailto:spring@ietf.org>>; stefano previdi <stefano@previdi.net<mailto:stefano@previdi.net>>; Yangang <yangang@huawei.com<mailto:yangang@huawei.com>>
Subject: RE: [Idr] Comments: Route Origin Community in SR Policy(draft-ietf-spring-segment-routing-policy)

Hi Fangsheng,

The BGP best-path run at CSG1 will pick one of the two paths from the two RRs since it is the same NLRI from two neighbors. So the best path is what would be given by BGP to the SR Policy component. The other path is to provide/offer redundancy at the BGP level as Robert mentioned.

See example 1 in https://tools.ietf.org/html/draft-filsfils-spring-sr-policy-considerations-05#section-4

The only aspect that I understood or misunderstood was that you wished the “originator” that was reported to SR Policy component to be the controller instead of either RR1 or RR2 in the current case. Or at least I got the impression that was what Chengli was trying to say but I may be wrong.

As such, it is not a functional issue per se. The “originator” is used only for the tiebreaker between CPs in the SR Policy component and nothing else.

Thanks,
Ketan

From: Fangsheng <fangsheng@huawei.com<mailto:fangsheng@huawei.com>>
Sent: 20 May 2020 19:33
To: Robert Raszuk <robert@raszuk.net<mailto:robert@raszuk.net>>
Cc: Ketan Talaulikar (ketant) <ketant@cisco.com<mailto:ketant@cisco.com>>; Chengli (Cheng Li) <c.l@huawei.com<mailto:c.l@huawei.com>>; draft-ietf-spring-segment-routing-policy@ietf.org<mailto:draft-ietf-spring-segment-routing-policy@ietf.org>; idr wg <idr@ietf.org<mailto:idr@ietf.org>>; SPRING WG <spring@ietf.org<mailto:spring@ietf.org>>; stefano previdi <stefano@previdi.net<mailto:stefano@previdi.net>>; Yangang <yangang@huawei.com<mailto:yangang@huawei.com>>
Subject: RE: [Idr] Comments: Route Origin Community in SR Policy(draft-ietf-spring-segment-routing-policy)

Hi,

I don't think CSG1 needs to "generate" anything. Peers which send you particular policy are well known at CSG1.

==> Yes, The word “generate” is indeed inaccurate, I mean that CSG1 finalizes the key of the candidate path, not the controller. For example, when CSG1 needs to notify the controller of the traffic statistics of each segment list, the controller cannot recognize the key of the candidate path to which these segment lists belong.


Well what you call "waste" I call redundancy. Sure keeping extra paths requires some cost, but building redundancy in control plane pays off.


==> I think it is enough to keep the route redundant in the BGP SR Policy address family, but for the SR Policy component, because the keys of the two candidata paths are different, it does not even know that these two paths are redundant


Thx

From: Robert Raszuk [mailto:robert@raszuk.net]
Sent: Wednesday, May 20, 2020 8:59 PM
To: Fangsheng <fangsheng@huawei.com<mailto:fangsheng@huawei.com>>
Cc: Ketan Talaulikar (ketant) <ketant@cisco.com<mailto:ketant@cisco.com>>; Chengli (Cheng Li) <c.l@huawei.com<mailto:c.l@huawei.com>>; draft-ietf-spring-segment-routing-policy@ietf.org<mailto:draft-ietf-spring-segment-routing-policy@ietf.org>; idr wg <idr@ietf.org<mailto:idr@ietf.org>>; SPRING WG <spring@ietf.org<mailto:spring@ietf.org>>; stefano previdi <stefano@previdi.net<mailto:stefano@previdi.net>>; Yangang <yangang@huawei.com<mailto:yangang@huawei.com>>
Subject: Re: [Idr] Comments: Route Origin Community in SR Policy(draft-ietf-spring-segment-routing-policy)

Hi,

> the node-address is generated by CSG1

I don't think CSG1 needs to "generate" anything. Peers which send you particular policy are well known at CSG1.

> The process described above will result in a waste of redundant candidate paths on CSG1,

Well what you call "waste" I call redundancy. Sure keeping extra paths requires some cost, but building redundancy in control plane pays off.

Thx,
R.




On Wed, May 20, 2020 at 2:32 PM Fangsheng <fangsheng@huawei.com<mailto:fangsheng@huawei.com>> wrote:
Hi Robert,
Take the following picture as an example, I think you can understand our problem more easily.
The controller needs to notify the headend CSG1 through BGP SR Policy to create a candidate path of SR Policy. This BGP SR Policy route will be advertised to CSG1 through RR1 and RR2.
According to the definition in draft, the key of a candidate path is <Protocol-Origin, originator, discriminator>, where originator = <ASN, node-address>, so a complete candidate path key is <Protocol-Origin, ASN, node-address , discriminator>.
However, in this specific example, the node-address is generated by CSG1, and because CSG1 receives BGP SR Policy routes from RR1 and RR2, respectively, CSG1 will get two different node-addresses. CSG1 thinks that it is necessary to create two  candidate paths, and the controller does not know what the node-address CSG1 will eventually generate. Maybe:
Candidate path 1’ key:  <BGP,RR1’s ASN, RR1’ BGP Router ID, discriminator1>
Candidate path 2’ key:  <BGP,RR2’s ASN, RR2’ BGP Router ID, discriminator2>
The process described above will result in a waste of redundant candidate paths on CSG1,
At the same time, when CSG1 needs to announce the SR Policy information to the controller through BGP LS, it needs to carry the keys of the candidate path in it, and the controller cannot recognize these keys.


[cid:image006.png@01D62FAB.B19678F0]

To solve these problems,  We recommend carrying the Route Origin Community (defined in RFC 4360) directly when the controller advertises BGP routes.
In this way, the key  of the CP is determined by the controller and will not change during the advertisement of BGP routes.




发件人: Ketan Talaulikar (ketant) [mailto:ketant@cisco.com<mailto:ketant@cisco.com>]
发送时间: 2020年5月18日 20:00
收件人: Robert Raszuk <robert@raszuk.net<mailto:robert@raszuk.net>>
抄送: Chengli (Cheng Li) <c.l@huawei.com<mailto:c.l@huawei.com>>; draft-ietf-spring-segment-routing-policy@ietf.org<mailto:draft-ietf-spring-segment-routing-policy@ietf.org>; idr wg <idr@ietf.org<mailto:idr@ietf.org>>; SPRING WG <spring@ietf.org<mailto:spring@ietf.org>>; Fangsheng <fangsheng@huawei.com<mailto:fangsheng@huawei.com>>; stefano previdi <stefano@previdi.net<mailto:stefano@previdi.net>>
主题: RE: [Idr] Comments: Route Origin Community in SR Policy(draft-ietf-spring-segment-routing-policy)

Hi Robert,

You are right that the “Originator” is not used in BGP best path and is just for a tie-breaking logic in SRTE between paths from different protocols and controllers. I doubt if there is a functional issue here.

I thought that Chengli was bringing in some new/different requirement for the “Originator” field for some deployment design. I haven’t seen a response/clarification from him as yet, and so perhaps I misunderstood him in which case we are ok here.

Thanks,
Ketan

From: Robert Raszuk <robert@raszuk.net<mailto:robert@raszuk.net>>
Sent: 30 April 2020 14:46
To: Ketan Talaulikar (ketant) <ketant@cisco.com<mailto:ketant@cisco.com>>
Cc: Chengli (Cheng Li) <chengli13@huawei.com<mailto:chengli13@huawei.com>>; draft-ietf-spring-segment-routing-policy@ietf.org<mailto:draft-ietf-spring-segment-routing-policy@ietf.org>; idr wg <idr@ietf.org<mailto:idr@ietf.org>>; SPRING WG <spring@ietf.org<mailto:spring@ietf.org>>; Fangsheng <fangsheng@huawei.com<mailto:fangsheng@huawei.com>>; stefano previdi <stefano@previdi.net<mailto:stefano@previdi.net>>
Subject: Re: [Idr] Comments: Route Origin Community in SR Policy(draft-ietf-spring-segment-routing-policy)

Hi Chengli and Ketan,

Well I think (perhaps to your surprise) the current text is actually correct.

See the overall idea of section 2.4 is not to define the real source of the candidate path. That is done in section 2.5 The idea here is to keep multiple *paths or versions* of the candidate paths in the local system uniquely.

See if you continue reading section 2.6 demystifies the real objective:


   The tuple <Protocol-Origin, originator, discriminator> uniquely

   identifies a candidate path.



So the real originator is encoded in discriminator and here it just means the peer candidate path was

received from. And if you read on this entire exercise only servers best path selection as described in section 2.9.



.... the following order until only one valid best path is selected:



   1.  Higher value of Protocol-Origin is selected.



   2.  If specified by configuration, prefer the existing installed

       path.



   3.  Lower value of originator is selected.



   4.  Finally, the higher value of discriminator is selected.

+

      The originator allows an operator to have multiple redundant

      controllers and still maintain a deterministic behaviour over

      which of them are preferred even if they are providing the same

      candidate paths for the same SR policies to the headend.

Thx,
R.

On Thu, Apr 30, 2020 at 10:46 AM Ketan Talaulikar (ketant) <ketant=40cisco.com@dmarc.ietf.org<mailto:40cisco.com@dmarc.ietf.org>> wrote:
Hi Cheng,

I assume you are recommending the use of Route Origin Extended Community (https://tools.ietf.org/html/rfc4360#section-5) for conveying the “Originator” when the SR Policy update is propagated over eBGP sessions via other eBGP/iBGP sessions instead of direct peering with the headend.

I believe it does address the scenario you describe given that it is expected that SR Policy propagation via BGP is happening within a single administrative domain even if it comprises of multiple ASes.

Also copying the IDR WG for inputs since this would likely need to be updated in draft-ietf-idr-segment-routing-te-policy.

Thanks,
Ketan

From: spring <spring-bounces@ietf.org<mailto:spring-bounces@ietf.org>> On Behalf Of Chengli (Cheng Li)
Sent: 30 April 2020 07:34
To: draft-ietf-spring-segment-routing-policy@ietf.org<mailto:draft-ietf-spring-segment-routing-policy@ietf.org>
Cc: SPRING WG <spring@ietf.org<mailto:spring@ietf.org>>; huruizhao <huruizhao@huawei.com<mailto:huruizhao@huawei.com>>; Fangsheng <fangsheng@huawei.com<mailto:fangsheng@huawei.com>>
Subject: [spring] Comments: Route Origin Community in SR Policy(draft-ietf-spring-segment-routing-policy)

Hi authors,

In section 2.4 of [draft-ietf-spring-segment-routing-policy-06], introduced how the node-address of "Originator of CP(Candidate Path)" is generated when the Protocol-Origin is BGP. It says:
    “Protocol-Origin is BGP SR Policy, it is provided by the BGP component on the headend and is:
     o  the BGP Router ID and ASN of the node/controller signalling the candidate path when it has a BGP session to the headend, OR
     o  the BGP Router ID of the eBGP peer signalling the candidate path  along with ASN of origin when the signalling is done via one or  more intermediate eBGP routers, OR
     o  the BGP Originator ID [RFC4456] and the ASN of the node/controller  when the signalling is done via one or more route-reflectors over  iBGP session.”

In the operator's network, in order to reduce the number of  BGP sessions in controller and achieve scalability, the controller only establishes eBGP peer with the RR. And the RR establishes iBGP peers with the headends. As mentioned in the draft, the headend will use the RR's Router ID as the CP's node-address (the signaling is done via route transmission from RR to the headend instead of route reflection).  The headend needs to carry the CP's key when reporting the SR Policy status to the controller through BGP-LS. And there is a problem that the controller may not recognize the key because the node-address is generated by the RR node.

For network robustness, two or more RRs are usually deployed. This will introduce another problem.. When the same CP advertised by the controller is delivered to the headend through different RRs, the headend cannot distinguish whether it is the same CP because the node-address in the CPs' key  comes from different RRs.

To solve these problems,  We recommend carrying the Route Origin Community (defined in RFC 4360) directly when the controller advertises BGP routes.  In this way, the key  of the CP is determined by the controller and will not change during the advertisement of BGP routes.

Thanks,
Cheng
_______________________________________________
Idr mailing list
Idr@ietf.org<mailto:Idr@ietf.org>
https://www.ietf.org/mailman/listinfo/idr