Re: [Rift] Discussion on draft-cheng-rift-srv6-extensions-01

Weiqiang Cheng <chengweiqiang@chinamobile.com> Thu, 03 August 2023 02:54 UTC

Return-Path: <chengweiqiang@chinamobile.com>
X-Original-To: rift@ietfa.amsl.com
Delivered-To: rift@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 04063C15198A; Wed, 2 Aug 2023 19:54:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.605
X-Spam-Level:
X-Spam-Status: No, score=-2.605 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] 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 72994QQuFknY; Wed, 2 Aug 2023 19:54:51 -0700 (PDT)
Received: from cmccmta3.chinamobile.com (cmccmta3.chinamobile.com [221.176.66.81]) by ietfa.amsl.com (Postfix) with ESMTP id E50E7C151090; Wed, 2 Aug 2023 19:54:46 -0700 (PDT)
X-RM-TagInfo: emlType=0
X-RM-SPAM-FLAG: 00000000
Received: from spf.mail.chinamobile.com (unknown[172.16.121.5]) by rmmx-syy-dmz-app12-12012 (RichMail) with SMTP id 2eec64cb16f1349-942b1; Thu, 03 Aug 2023 10:54:44 +0800 (CST)
X-RM-TRANSID: 2eec64cb16f1349-942b1
X-RM-TagInfo: emlType=0
X-RM-SPAM-FLAG: 00000000
Received: from chengweiqiang (unknown[10.2.52.120]) by rmsmtp-syy-appsvr03-12003 (RichMail) with SMTP id 2ee364cb16f1fd3-33ffd; Thu, 03 Aug 2023 10:54:44 +0800 (CST)
X-RM-TRANSID: 2ee364cb16f1fd3-33ffd
Date: Thu, 03 Aug 2023 10:54:43 +0800
From: Weiqiang Cheng <chengweiqiang@chinamobile.com>
To: Jordan Head <jhead@juniper.net>, "rift@ietf.org" <rift@ietf.org>
Cc: "draft-cheng-rift-srv6-extensions@ietf.org" <draft-cheng-rift-srv6-extensions@ietf.org>
References: <BL0PR05MB536297D978D1C8A91EB9AEEDB605A@BL0PR05MB5362.namprd05.prod.outlook.com>
X-Priority: 3
X-GUID: 1F4BB5DA-1166-4132-93D0-1C71D9978695
X-Has-Attach: no
X-Mailer: Foxmail 7.2.25.213[cn]
Mime-Version: 1.0
Message-ID: <2023080310544320067257@chinamobile.com>
Content-Type: multipart/alternative; boundary="----=_001_NextPart214766717718_=----"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rift/n8BlgNYIFYYX8Z5Dj2wDppcKNqQ>
Subject: Re: [Rift] Discussion on draft-cheng-rift-srv6-extensions-01
X-BeenThere: rift@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Discussion of Routing in Fat Trees <rift.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rift>, <mailto:rift-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rift/>
List-Post: <mailto:rift@ietf.org>
List-Help: <mailto:rift-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rift>, <mailto:rift-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Aug 2023 02:54:56 -0000

Hi Jordan,
Thank you for your email. It serves as an excellent summary and accurately identifies the issues co-authors have met. 
We appreciate your insights and welcome further comments and suggestions from the experts in the working group to improve the draft.

Best regards, 
Weiqiang Cheng
 
From: Jordan Head
Date: 2023-08-02 20:35
To: rift@ietf.org
Subject: [Rift] Discussion on draft-cheng-rift-srv6-extensions-01
All,
 
I think we had quite a meaningful discussion during the meeting in San Francisco last week. I’ve compiled the main points regarding https://datatracker.ietf.org/doc/draft-cheng-rift-srv6-extensions/01/ and how we can perhaps find a more generic mechanism to solve what is outlined in the draft as well as other similar problems.
 
 
First a quick side note. There is no need for new negative/positive TIEs for SIDs, after all they are just IPv6 prefixes and they will be handled by existing disaggregation functions. To indicate relevance to SR, we can simply tag those prefixes as a “SID” using prefix attributes (similar to how we tag if a prefixes metric (distance)). 
 
This problem is similar to the one we have with performing distributed derivation of IPv4 loopback addresses in https://datatracker.ietf.org/doc/draft-head-rift-auto-fr/ in that there are simply not enough bits to avoid collisions. 
 
Putting the configuration for all nodes in the fabric into the same Key-Value TIE won't work either. You'll exceed the MTU and end up with issues that cannot be managed by most silicon (i.e. commodity silicon). While RIFT does allow fragmentation to some degree, this will still not scale. Things need to be broken into reasonable pieces, e.g. System ID. However, since the Key-Value TIEs reserve 1 byte to indicate Well-Known and only an additional 3 bytes to hash and encode the System ID into. This isn't enough space and you'll end up with collisions and Southbound TIE breaking rules will eventually cause information to be thrown away.
 
Ultimately, we can add new tie breaking rules. Which could be indicated via a new well-known Key-Type, new code point entirely, or a new TIE type. The result being that we tie break on System ID southbound (as northbound would be pointless) and allow for targeted KV-TIE distribution. 
 
This assumes that every leaf node DOES NOT need to know about every other leaf. If that is the goal, it's better to just create an over the top tunnel and push information directly from the controller/ToF to the leaf, no IGP would be capable of handling it at scale.
 
 
This e-mail should serve as a starting point for more detailed discussion, so additional observations are very much welcome.
 
Thank you
Jordan
 
 

Juniper Business Use Only