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

Jordan Head <jhead@juniper.net> Mon, 14 August 2023 16:55 UTC

Return-Path: <jhead@juniper.net>
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 9DF8DC1519B8 for <rift@ietfa.amsl.com>; Mon, 14 Aug 2023 09:55:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.707
X-Spam-Level:
X-Spam-Status: No, score=-2.707 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, 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_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net header.b="gmiWkn8y"; dkim=pass (1024-bit key) header.d=juniper.net header.b="bxu97YkS"
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 7yzkc2KnmB6x for <rift@ietfa.amsl.com>; Mon, 14 Aug 2023 09:55:08 -0700 (PDT)
Received: from mx0a-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C9949C151997 for <rift@ietf.org>; Mon, 14 Aug 2023 09:55:08 -0700 (PDT)
Received: from pps.filterd (m0108158.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37EFdibI014727; Mon, 14 Aug 2023 09:55:04 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=PPS1017; bh=N6dwG1d4HefWXben/A+HA3S2ggjgw7qkWJx63vDm3Ww=; b=gmiWkn8yGCsUwfpeZyFfNWwxb5pxoU9lfxLb18OBKo10lV/OO8Cp8q6lTMw+r8/MhIDT YIGGiWRp93JqUrWQ7vVZiS0aJdrDrtFHAYqvd+q8bcOix+cFoqjuOMV3g9Z8DAe1acY+ fQhKPTpFiltF9XbfWN4PnKHLpdJsMuLhHygiIrCWEO+QfN7TOVxhFtbVkxkjNt8qItb+ zCbxegF4MKk/5etNifKaOwbEqygHQ2oI5ZLW9C3hww9k/Hlnw4Wg6DmD+wF2Lhzh0TeK jHnLyZ+0h15HEiwbYNHmN1cPiwSTAipq1ECz1y0LZVOW5GmKQJs7Ka0lq4MNUx+l+ANV 3A==
Received: from cy4pr02cu007.outbound.protection.outlook.com (mail-westcentralusazlp17011010.outbound.protection.outlook.com [40.93.6.10]) by mx0a-00273201.pphosted.com (PPS) with ESMTPS id 3sf29g29hf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Aug 2023 09:55:04 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gblr/4p6Ov3hytGb7cejTnSmjEdjWHKR8Otlbd3iWsg07/UxUkFKfKyt70aarFKKKUdjNX3hebC6RA4LJPQSou6YX5o8zvnDiHmsYYVuUoqf9TsRhR3qkyynNZG1WLJt9iaVcC303ca/OhIKnWEd2vMioxK2c7bSJvI7NFDWe03Uxo/g8WjljXjW9B6scZVGaiFPJzuZ1hJD2VyeDc/C7vGvhzpPaIMMHrSZ6oKmCnIptxgrzZIlnLzImbugeMILNJgOhO4DpF/mnFDevTzJ9HTL1KkCk7digTs6omqhiPoEcnYyOjNCpaO9ReaiqH1+uJuAS11ic9OReKkM0wK7EQ==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=N6dwG1d4HefWXben/A+HA3S2ggjgw7qkWJx63vDm3Ww=; b=OlES5S9bCr/PMMY+gAl9b+L3R6c+5+POa+ljSa7jOh5sJS+Tw6dVlGtFTIyBGTzTVuPc8wMA6X9+MzkjD/Z9hl0cMdB7aeMSxKGnVyfbdf7fNClWwxQV9mdAnRgSd2avN1kpk98aSJbfAGqa7KrCtL4v8cMsXroR8rd9deP7CyZxtsHp8jYboL7nnwXvvRX0nwQqgdXQHy0fsz5tBwuiGmQ76fnLhGoItvTt3LKSvSotZBsCSlixrVYzNYKZug0bj7SaG747ycPG6oBp04M9q+Tui7NMTzRy3S9qGlxL3DR0vTe7jC+RnY26BrGCGf1Hi4nGAZLmfPF4ibpxvVFUSg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=N6dwG1d4HefWXben/A+HA3S2ggjgw7qkWJx63vDm3Ww=; b=bxu97YkSrhaGoact+rPhZFBdbY7b2aCzbQPWnn6NiNLnJ0g4LIjmbodFlxvR3SOjFkHLffztwPGNZ55yMCHtP+PvpKyefOM4Gyq/zuFHyBhoRsWELh3qvUDIOkqS3/T/7eaYl4cKpyL2iNNwvYbCcn79Hys6PT530HEhAGbHzk8=
Received: from BL0PR05MB5362.namprd05.prod.outlook.com (2603:10b6:208:67::16) by CO6PR05MB7587.namprd05.prod.outlook.com (2603:10b6:5:350::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.26; Mon, 14 Aug 2023 16:55:01 +0000
Received: from BL0PR05MB5362.namprd05.prod.outlook.com ([fe80::357c:466a:9bf1:72bd]) by BL0PR05MB5362.namprd05.prod.outlook.com ([fe80::357c:466a:9bf1:72bd%7]) with mapi id 15.20.6678.023; Mon, 14 Aug 2023 16:55:00 +0000
From: Jordan Head <jhead@juniper.net>
To: Tony Przygienda <tonysietf@gmail.com>
CC: "rift@ietf.org" <rift@ietf.org>
Thread-Topic: [Rift] Discussion on draft-cheng-rift-srv6-extensions-01
Thread-Index: AQHZw8EadL5J4ONPM0+Y4m689IAh+K/XFVsAgAAIRICAEvX80Q==
Date: Mon, 14 Aug 2023 16:55:00 +0000
Message-ID: <BL0PR05MB53626882AE1306E1D74FD710B617A@BL0PR05MB5362.namprd05.prod.outlook.com>
References: <BL0PR05MB536297D978D1C8A91EB9AEEDB605A@BL0PR05MB5362.namprd05.prod.outlook.com> <CA+wi2hNhpGVsGyhWDAOmtNwYKLM_O1sF9R6LT-MBY5tZZRywkA@mail.gmail.com> <CA+wi2hMeAcL=6LZu1o_pC+a53UnuL9cko7DCzSi+QSfebcfTzw@mail.gmail.com>
In-Reply-To: <CA+wi2hMeAcL=6LZu1o_pC+a53UnuL9cko7DCzSi+QSfebcfTzw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=True; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2023-08-14T16:37:03.8605920Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ContentBits=0; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Method=Standard
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: BL0PR05MB5362:EE_|CO6PR05MB7587:EE_
x-ms-office365-filtering-correlation-id: b1353c09-3207-4be5-05d7-08db9ce732ee
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 6bzWG1mUw2zh/5asw4Nt9c5EAqrd2SO3lXyyTylxQFV1uyWh7QBgs/8HK/ktlhnky/ydhp8dYrFGdp97dsomCx22DEgjqyKHU0ajPgFqOs62kUA48rRTWjN94ySS5ISbZlWSlPwIxk1vZreZu3Qir0oWR+zUBse884CfZMq67G5VR+GvFJKSWqyF96iA5JVtb/dB2yKv4zGxmw98xDJw72JZKz6gQuUzkeO+IclLP/yqMJ5FV0CN+W9VUPmjsywaCBdvo3rOg8eOFVwZyZcFrln0XbX7HEkqiHbeZQdS70ERHxewHF4o5/5ZaXCRz6rnC8G4o4klnpevlAGnx6CSPrb1U47jF1qThNz3PoMCD4TUJmimQSGQdA3pOZaV1u/onuJphyH6kcFMzy5HUsyLwHZ5SDbCKJ5t40mu7xX40ebzp4QuYS+GOy3GhLwddHrpXEYbAzqHKfbha6SU4Qn1BS4s13R+qW9JOlanarMH4cNGJ/WcgjR0rXcairQcpfon7xHn7s0154iHDiskHx8o3TLejx6BJfWcHNhHHuFgUPu7DoMEJeuWfC6r8pAHUaqFud09BJ+MWhK0ZxGOdkl5EA2pV4SVubK7m8wwQumA7VU5d1LMCSzKSEpUvM7Y0xh4opbSxIeIIJVoqetrTJJbN1xS+w1xFTUtUCiF6fJFydKU9S9s1wg/mBjlLMTRL78Yz2T9O+eyde/fNzwrbAe70lXD4i5oDVIg6wdUlqyX2TEXp+pYPuVJrm56JQyHAsj6dLqpf0w/r05u9JlI2jAOGns7Yv8rKfUBETeNOVtr0gl2TH5/8K4DgPYIhHVCvBrdb9nD0nsyodDBPlsTwLStih2I9RuqAgiCpAmrOCcXrc+DFVwltba6jFvBo2YuHarVDKV4k66BL9nmcAGn840S04YLb6uFZY5cW8j3n6UpA4F+TYxmA5wI7P9x7DGuUUa4H/sRDYbERe5Lyh6ToLIlVBQYn/TUu/JwUzrxno2jfFWYML9hRoBMyueg1ezQuC1U0Y9zmwwGSg2h2LosGmzv9LFOPJAdjUtui2vVU/SfKS7PphOyEc6nafoLmg73D7FpMDGuKnsxbWM/bUCrUS53HA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:5; SRV:; IPV:NLI; SFV:SPM; H:BL0PR05MB5362.namprd05.prod.outlook.com; PTR:; CAT:OSPM; SFS:(13230028)(396003)(346002)(39860400002)(136003)(376002)(366004)(186006)(1800799006)(451199021)(66899021)(7696005)(9686003)(966005)(71200400001)(33656002)(86362001)(38100700002)(38070700005)(122000001)(166002)(83380400001)(53546011)(26005)(6506007)(2906002)(478600001)(55016003)(8676002)(52536014)(66556008)(5660300002)(41300700001)(66946007)(8936002)(66446008)(66476007)(64756008)(76116006)(6916009)(4326008)(316002)(12320045003); DIR:OUT; SFP:1501;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: N7Hs4YATSLMxJkoNXRr5Po0205COUcTl7JktxKyWgOsfqMHw4fjyIg3da9YpNhEJVWrSuGE9C6gU4YJwA+BpPTcovLpRwPHR5KjQl/z4bjRjVH2jWMEjzSAJYRSIG5mCNLncECD2BT86vt39/ePabqBdqHfT6AFxUoM5RF4eT1KyzhQqcibHHxrK3C9VVwev6adLuVfBTGfTC3eNuPh1oG0gELJH5Oog1gWR7CSpVXwRK8833XPxJN7VKU7SgwBieRom2qeIQ0MHZXZiT6ZwaBDiiYdZ0MJp0i+xBvshy9HrI1KjgezivvygK+pVT9yPRArQ535SICeaLVwX72w4f1jB3o2qWxunY0aPjDlT6nhN0ydTS/GQQ2lHXtAMXQ9FmOYn1jnYr6yeC63+9kA2aODrZJN0IrWUb1tUWbg3O/t5XNe0eUl0ZQXDlCziBPPAqngWI2xPABqobd7ORjo3SWzyvZe72q6VamuudgJbSVa9oDHYdkcV02ec37YrBKzVo92dR7WLSJwuTncou2tsuqszO7NwzbWVBFabmH9XeApRCoWG6ZpOkAm+u43qlBZ/pW4pAfiVIR1aOHHJR3xqt1RD9tpqMyyPGdomXXj5vftZN1aAAfK+AGn95kFdbWZUO8q/AzRddVgQUdaj9yyXNqjWPTKag6FFur8/yyt0/fvHt/OfXRfInzXZhZ3fgN7QSdPLMgVHH8cLKzALOkasiC2JCtpPIzl+q1tbiIcL6FHA+nCMdK6V8Zd7+pdqL34ZqDg6n65Y0CpfZ+TGROHbpHKKM5258iwrUy2XGXT67Xa20gzyKY6qK9T0ipCLMLl3ffleE2QCJZUXSo5wFgJUZViWXMaJQrNXE4QFRkKsCTYKFcn5bw4w6hXMCHhJ5ZgYr+gBWb4O4F/GjOIUowEZ3MDR/Ui9zfC8QXgZDcOXMuqSrPklE5923y6t1ckXG2wOMRCWueiZe2c+SgGxpNOfmCJU02oM0Y7+m+Iobj5HIT5m8YKveiWZOsq5uudVflKtjSaS3je0j1Bc5CEBfvx1sH8zPlHwZC6ZMMbo++Z9Jwjy8tRnb7Wsow0AamEcJQj1gSKeK1Eo0K7IdUmHANNKYjZS0OZi4DugNa72CTPSGncKhfPMG2hSoclcGAtQNi/HbpzbE0fX7Q4bbwpfnXCFpe5V+5+8moWwX9yk9l35ApNW+9U63mqNSdOWJwDRxmZ5nq9WxvYYGn217mZVXrYou9k69tAQXCqbyRevj7ZR7VlKEaOW6pBewuigX+AFc+W7w+uomOAfkKalmAWmoZTKy7ptiocYWJXfP1H02LAyEk6R5pp0eUzb08Jdr3Xzy9520KqoNCPqK5nmwWMMDnzeYobDQni9hyHXv2xoo0EFdKBWLdkAFbgXeA/8CcqaXTt5RhUorJlHkpOY8NZNZIJe9pvjVqMARlbxZesNL4okko4Ssb9Gwqe498q6D3uTjQxa6UBHaqj1WzXtC6NZ4LClmXLyZBbie0H2/rqHqjn+b+kfSAwIdpRqRHFXxh0k78ryyyiAj1tT3mc3ez8eZDrwlHPhhGKQTIg6+jcgpmbr1tGBHUDtbEwddR5metEaJEEixtppkdbj0SV+TxlCzp5D6Q==
Content-Type: multipart/alternative; boundary="_000_BL0PR05MB53626882AE1306E1D74FD710B617ABL0PR05MB5362namp_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BL0PR05MB5362.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b1353c09-3207-4be5-05d7-08db9ce732ee
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Aug 2023 16:55:00.8827 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: He4Q0flLJOIF1mc37pMsJtB4SWbYWq/AdRH5jopapoJGgLGbExpElSFswWocwsOqGCKe8W2pKgMz7rOyMfBOIw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR05MB7587
X-Proofpoint-GUID: UZLDkUvh-UZCqIyiM8JBLqhEwVjIxVgN
X-Proofpoint-ORIG-GUID: UZLDkUvh-UZCqIyiM8JBLqhEwVjIxVgN
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-14_12,2023-08-10_01,2023-05-22_02
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 impostorscore=0 mlxscore=0 malwarescore=0 bulkscore=0 spamscore=0 lowpriorityscore=0 phishscore=0 suspectscore=0 mlxlogscore=999 clxscore=1011 adultscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308140156
Archived-At: <https://mailarchive.ietf.org/arch/msg/rift/9SUtSGpVepIoJEX_iodvbKfV3pM>
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: Mon, 14 Aug 2023 16:55:12 -0000

Yes, great idea. Let’s go with the variable key-length option, it solves our original problem and makes for better interoperability at the same time.

I’ll work on iterating the KV Registry draft as well as adjust the KeyIDType in the RIFT base spec. Auto-FR/EVPN updates will follow.

Jordan



Juniper Business Use Only
From: Tony Przygienda <tonysietf@gmail.com>
Date: Wednesday, August 2, 2023 at 11:04 AM
To: Jordan Head <jhead@juniper.net>
Cc: rift@ietf.org <rift@ietf.org>
Subject: Re: [Rift] Discussion on draft-cheng-rift-srv6-extensions-01
[External Email. Be cautious of content]

actuaqlly, not all that easy, in rift draft we have to change the KeyIDType but that's fairly trivial, something like

struct {
   required u8 type;
   required binary key;

}

and rev major version of rift schema encoding last time ;-)

that's used in a map but thrift being a proper IDL allows for that no problem ;-)

-- tony

On Wed, Aug 2, 2023 at 4:34 PM Tony Przygienda <tonysietf@gmail.com<mailto:tonysietf@gmail.com>> wrote:
very fair summary here. Easiest support will be by adding a key type that has a longer key basically allowing to put targeted system ID into it. So something like this


 0                   1                   2                   3

 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

|       X       |             Prefix Key Identifier             |

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

|        Targeted   System ID                                   |
+---------------------------------------------------------------+



and define for this key type that the targeted system ID is integral part of key comparison _and_ can be used to filter southbound.



Variants with bloom filter are also thinkable.



This leads us into an interesting corner where we have variable key lengths on the KV store and hence nodes not implementing X would tie-break on 3 bytes only.



I'm not even against radical reword of the KV registry draft where we do the following



 0                   1                   2                   3

 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

|       2       |   Key Length  |

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

|                               Well-Known Key Identifier.      |

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

which will make us future proof, i.e. nodes not implementing a KV key can always compare the key, no matter how complex

or even indicate that there is a targeted system ID in southbound KV that can be filtered on and all 0s is basically "anyone" though I think this is superfluous. Nodes not understasnding the key type will flood to all southbound and anyone understanding it will filter

bear discussion since this draft is independent of rift which describes tie breaking in generic sense only so rift rfc should be able to progress ahead

-- tony

On Wed, Aug 2, 2023 at 2:36 PM Jordan Head <jhead=40juniper.net@dmarc.ietf.org<mailto:40juniper.net@dmarc.ietf.org>> wrote:
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/<https://urldefense.com/v3/__https:/datatracker.ietf.org/doc/draft-cheng-rift-srv6-extensions/01/__;!!NEt6yMaO-gk!FDuLnXN6HYPEMdY3l5-850IYldZ9AOmXpfvewyllntJoit0NU8WVWZ-LiHDLxJDtmTwMonjjjMN50Mng$> and how we can perhaps find a more generic mechanism to solve what is outlined in the draft as well as other similar problems.



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


  1.  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/<https://urldefense.com/v3/__https:/datatracker.ietf.org/doc/draft-head-rift-auto-fr/__;!!NEt6yMaO-gk!FDuLnXN6HYPEMdY3l5-850IYldZ9AOmXpfvewyllntJoit0NU8WVWZ-LiHDLxJDtmTwMonjjjDQcy5Cp$> in that there are simply not enough bits to avoid collisions.



  1.  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
_______________________________________________
RIFT mailing list
RIFT@ietf.org<mailto:RIFT@ietf.org>
https://www.ietf.org/mailman/listinfo/rift<https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/rift__;!!NEt6yMaO-gk!FDuLnXN6HYPEMdY3l5-850IYldZ9AOmXpfvewyllntJoit0NU8WVWZ-LiHDLxJDtmTwMonjjjHb8YBat$>