Re: [Idr] BGP routes with color, Question 1: How does route resolution work with your feature?

Kaliraj Vairavakkalai <kaliraj@juniper.net> Fri, 18 February 2022 19:42 UTC

Return-Path: <kaliraj@juniper.net>
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 BFCA03A13AA for <idr@ietfa.amsl.com>; Fri, 18 Feb 2022 11:42:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.674
X-Spam-Level:
X-Spam-Status: No, score=-2.674 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.576, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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=yk8r3L4r; dkim=pass (1024-bit key) header.d=juniper.net header.b=Z/iTV25W
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 4gu8GK6wDwQp for <idr@ietfa.amsl.com>; Fri, 18 Feb 2022 11:42:51 -0800 (PST)
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 C93403A0FC0 for <idr@ietf.org>; Fri, 18 Feb 2022 11:42:50 -0800 (PST)
Received: from pps.filterd (m0108158.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 21IIGBfL026672; Fri, 18 Feb 2022 11:42:49 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=PPS1017; bh=WOfrb/7D9hekpTsdWwk3srGhXPEr4awjrSVZsTVS4BQ=; b=yk8r3L4rPeTT1BiVKDinI5iafBiceuW+07sbXDZ+VB4Uscu/yJ9IJ0rnd1lwJv0cZUxg mWyiJcEz+XK6e9KGxpUD+ArGm8V7vg101JQepVr97sDz7qu3UOiPnDaIGFnR0OUR7I/4 Vy+iCMZ3En1S0yh2GWe64my9vkeA6KOj0tibRUNNZajx6HsnzxvI8ppn2CX63XhHrjEy Gc2VBEMX+uiuX/Eig7SRVjOM2pfWWFOzuXBcvRCx42BGKPMnl6Auw3t9Xv9nV/0qCQpc 5B0LabQxjx5EbjLBlhdF3CGQ+4wC2sEqGBr/SlxcWzHhoC5r0wrGr03SOBfcNp8HD98D 4g==
Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1anam02lp2043.outbound.protection.outlook.com [104.47.57.43]) by mx0a-00273201.pphosted.com (PPS) with ESMTPS id 3ea64116n2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Feb 2022 11:42:49 -0800
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LAsqC88oBH27Ez4GI0kKEYwuVllJTsyH3vrOMMxBXKL4lZ0qvrnD0HQ935sjpP3tRPvNUDAWz4/HAREE3JsY7FPDScxUOvX2Q/BHDKHn/xHCj/vm9WUUlNpiRzn+StFQh8tg/vH61MU0UOSeMQ9oDcc4Az1o+aCzjJZbASLQRYnFoGrbwjV4prPnJDR59MVriZ7XF9uG4ResbtRi0vptRkuTPkF3+7l80kkfITH1quhf/sjwspcu3PuUjUmaxfgFuuATvfvWo1CWyi5XVGnxkFK/D5cZYuoWLrpTz3GoLjYkCyD/jvKpbVRzBYj6BwdiaqMURRoxUkCXqhQpsUNf/Q==
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=WOfrb/7D9hekpTsdWwk3srGhXPEr4awjrSVZsTVS4BQ=; b=cRuqirfGww3f2BZ7lWEdnP1Z3gsJ6rqqFp6Yq+EyemuRmqNfEwLN8dZjEQeceYZ7+ZNBVPNxysPcJzZg8KaaEhshbWiVY473Tc8e1U3cVTaHEGMtBZsT9PSo0aVVESmi2CBgxg/pYFr2OYeRA7RYdsT1MMO6uoUXhXzo7WVYbU2RZ5MyBo2ebaFiviT+uhUYUDdnhRj2rBU5CHqdgq2VBeAZIQFLAODW+KiL5tpU9hyTrkZfLQdCGAFE3esskrIzas/e+NqeFZxyIs3t3BGz7X+clEuPbCxa649sBqAXqNd2S+Hbzf3UV8n/IAhc+9RrRgxsz+sKFDOBfhjIWsdQVQ==
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=WOfrb/7D9hekpTsdWwk3srGhXPEr4awjrSVZsTVS4BQ=; b=Z/iTV25WAsMz5x3y1UroQOacr5jFZh6oYEDgH53x6Y3ZDcJ0LXquQ+EfCyERg0F+wNZ3Xwpr9UKbZxTSnCav+4Il1JvznsDFyXArPZZz0EWOHT0/U+W5t5ZSRxpByd8b0pV/xY0WFNoi3np8bs41PBs90BHcA2ErKQkdYB5vC8o=
Received: from SJ0PR05MB8632.namprd05.prod.outlook.com (2603:10b6:a03:394::12) by BN6PR05MB2819.namprd05.prod.outlook.com (2603:10b6:404:2c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.12; Fri, 18 Feb 2022 19:42:45 +0000
Received: from SJ0PR05MB8632.namprd05.prod.outlook.com ([fe80::98bc:3391:e7c6:651c]) by SJ0PR05MB8632.namprd05.prod.outlook.com ([fe80::98bc:3391:e7c6:651c%9]) with mapi id 15.20.4995.013; Fri, 18 Feb 2022 19:42:45 +0000
From: Kaliraj Vairavakkalai <kaliraj@juniper.net>
To: Jeffrey Haas <jhaas@pfrc.org>, "idr@ietf.org" <idr@ietf.org>
Thread-Topic: [Idr] BGP routes with color, Question 1: How does route resolution work with your feature?
Thread-Index: AQHYJN5CZAYlWa3l+UixXbyl9NsO7ayZgkkD
Date: Fri, 18 Feb 2022 19:42:45 +0000
Message-ID: <SJ0PR05MB863217BFF7FA8AFD2F70EB41A2379@SJ0PR05MB8632.namprd05.prod.outlook.com>
References: <20220218154223.GU15589@pfrc.org>
In-Reply-To: <20220218154223.GU15589@pfrc.org>
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=2022-02-18T16:38:51.3647125Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ContentBits=0; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Method=Standard
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 65c61b51-6297-43e7-c976-08d9f316d606
x-ms-traffictypediagnostic: BN6PR05MB2819:EE_
x-ms-exchange-atpmessageproperties: SA|SL
x-microsoft-antispam-prvs: <BN6PR05MB2819AFA45FA3FA63C678FEB9A2379@BN6PR05MB2819.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: W2GWgf+fR8NY9E4uZG/k/JvbCiTxqxv9Z71bjzaA4aPPKR00Y98jjUjahoLLAH7yKeXevq2TbqTUQ01yC1zQf5cDl4PocjXMEfZ5t6txu5Eho6GpdKen4SMz+4jmbdNF/Nl+osuI3KgnMWYwQ+9R73rf0gmW+BaGg9Fvgyv2Gv/iRxE8tfNnUUCSrlpTsELMgaYaTfnzjyybIAPO1oMngu3fMOiBRwuCqo9i0KiJ12pZkpyuvrKytpiFKbXaBeg6M3nllMgXAham8fz4YbWPPlKgEmrqHl9EEeZAlHqmPxiwF1lgsnEA13MFLrNN8s/bkU+AahatFl9a2pGNWB2LlosEIPbD+WwD6jfm2GyCU21oMAyrhODph2nXvfygTvNtce0lnahQ9GPkjojSWgZtWAxP7WphkbS9gOdxftr4Z4HUvW/8t6clla6WEzoawUqhIrd8kDlvDvmi6ooRYWtMJVE6Yu7Xq/GY5/z3bLwSqowdG28wKqZAQc9dm/1Sl4Hf+ztdeVWCWpGUtVkhaGDcNx8EjBjYDpvZBbVhfRcHg7T61QJ+EiIEn0cHhvBpYxjFrsrJQ4P0fz/XWFU4xePXbnXLta/k22S4ypP9kXGoZ7y/hjduTb6xH3zaRzzdJmi9KZNYbQgj0K0MA1tYS6yxru4FOATlww51oAYPFmsSW/Df3q03Z+7aqXPpu9I63LF9BzpUIGOi+L0G+pyC/BtDwu08oiKkbzCSxw6/NsHQAcx3qmFLErYU76qUhJnM7/mrtjs3hWNOtaL0NsADdIAHIpXPsrXmn0ljwooBnB6rKrtHrJztEH8lvE1JFdvLsVTLFq/MWtojZ0qB5AwtAY7yvUYlKuiHxPh91bGP/GCXhi37fZlzGipRIz4fkrbJyH7w
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR05MB8632.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(508600001)(966005)(2906002)(86362001)(38100700002)(55016003)(53546011)(91956017)(7696005)(6506007)(66946007)(8676002)(76116006)(66476007)(64756008)(83380400001)(66556008)(33656002)(66446008)(38070700005)(71200400001)(9686003)(52536014)(316002)(8936002)(9326002)(166002)(186003)(26005)(5660300002)(122000001)(110136005)(66574015); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: EobWs3xxOy0bJSjzF58gHol7V8HnLDQY7x2aZLu/paFc8GJdGZ1qVkwOo1g4xu+PNLc1xgE2JcYkehaxNYe0I5TaPz3FHWjoQYU5Z/9uXipFLIVvwwit5Xh5PmfJdUpoWnKZHCsPL9ZnaTNNYpY2D9CJKtinKDBBJ5tVwsJKquD5gXaiv/0Lm572nlx4cLdOn7vYVGldIbntD5zdDCayyn9psgfZtxF2F7b8hKKVB3+l2FB6dhH3PH3vKTvjKyv+Vv5Hm0TpshnE3Bl7iU/Cb/2u/8HbUbGFkqmxl8OLD5Cg8Dllq/2P7EmHcVZOUeyU9KgobraxtCRGr37bEHECZGdWCuC1TcR2PuZX4U9yIT7z3z4KYbBR1byLS6QXeGMWsQjFoQ7OIZT0obgBUdGhWrJDfo/Mp+iXGNQN0iURZOfklXjxzdA+4yoSidiROw0GHxVL4AULdcAkJFAW1RUPnGmWozRbJ98mdRKZTGAiEbLH7TTp0mYpjgVVdVzR2cjYzerhSoaC4BjInXUd08lnPRoL8rA4H+OoKZWo7LvOWyYRjXc9TTlfHKjuDJhEhAViiWKVJuzJvB/u2WdNQTIR3FSbyfjtXX2j+QOkOCPMu51hdtWNqm1D0PhaZLsqhY3J2UQalltYqz1Om1haDfRar9D6U/6IGOVHGhZe11zYNf+wWJ/9u4/Gebgc5Q2Z5VEGLx1Rpz8zIlB9pCXiPeEYpehJm85T3+4G3N8vPCGNhP+Vjfv2vHPQzLjjUfxYiMhBcVhWoI09XLj+irSKHOXJrtaUC2+ojCfQRwgInVxRWRJkHIp5P403cR3/s5mT4dOpGw9+S6MCa7ySUdALUHaURxxmAVkTrveNoLQnwVU966g2XHIForK6ZIKou2lBsr9WAc3r0qKh8XkxxjnTEDrdoiogddVUJtkf0AqxTsietGu4lQuUDB6wDf0lgo454z2wKR0+BDZA6vMtXn3IaFE/iuh+AC3vHHi9aBsJ2YHvOQZ/k2M326DaWVxCAzYttRanY0RM4nLee8DkEKBk+2RwJy/ilq/r8YofQx8UaCwW40spp8dbGpAGbZqQ5zysIBXylW8rKBozq/1+kxdq4tI59FYig+ADJhpc3Y3RXehrxQZzgIWjHChYFjXSiAof5u6rOJri5ZXAZMZS844uHN2xOOL/MejKFTZzYwxBfpFbijEjWLAP6z/U2MBrXBpaJH47sHoVfjoNnAjSyh4HiRuIqthF7XHiTvZTAkL+kCOqo0r5HrhN9I8rWtKey+vM7W8gSvslzlodqWzRKfQ0mfEPWx12SoZq/XnYbXNdPszuSUBafioswXdeNJO/oJ7pOA/S09CiKyjIVgMWBt9IuVB4pFtwuPPMJtDooHPqg4lRUPEo9cu20lXGaEP0dgYvT0wVnsK6/dIaAVP/RG4HrVNz1MCbSwi2TsvLEhPQihxWROHkM6HSkZCifB4ZSSyZ+kgSknjJp5q1OC5P2VD49d7ApSH+bMWiK6dbpp6hxojqRZyLyqEDSeRiuRXjfaur6hmYvxQr7SBD5tzEced4xi9MCgZrR7i1xUv9Rma8x96trn5vtz0bcUF7HwP2OXTxqHdRfiX2vJ0S8gEXyRHxLa23rhUmVl8gsp1Z03e65cIr8xF+DZ03XJ3hScStBexKXKIm
Content-Type: multipart/alternative; boundary="_000_SJ0PR05MB863217BFF7FA8AFD2F70EB41A2379SJ0PR05MB8632namp_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SJ0PR05MB8632.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 65c61b51-6297-43e7-c976-08d9f316d606
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Feb 2022 19:42:45.3516 (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: S8zDV7vOv3jXekjsryONgKMc3KTJTOttJPo9c9u8loDj7PD+Q6Yi32WCNy62zeEqCCDFWT3G9AHH4YSI1aT2Ng==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR05MB2819
X-Proofpoint-GUID: 9KugFkLDRs1pRVcJCBsc4EaKULKp1LHg
X-Proofpoint-ORIG-GUID: 9KugFkLDRs1pRVcJCBsc4EaKULKp1LHg
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-18_08,2022-02-18_01,2021-12-02_01
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 phishscore=0 malwarescore=0 bulkscore=0 mlxscore=0 clxscore=1015 priorityscore=1501 adultscore=0 impostorscore=0 spamscore=0 suspectscore=0 mlxlogscore=999 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202180120
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/_kPZQaL0Y5a7H8TvSRESkLQ29GE>
Subject: Re: [Idr] BGP routes with color, Question 1: How does route resolution work with your feature?
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: Fri, 18 Feb 2022 19:42:57 -0000

Hi Jeff,

Thanks for the questions.

For CT, Nexthop resolution is described in section 5 and 7 of the draft.

How nexthop resolution happens in CT:

https://datatracker.ietf.org/doc/html/draft-kaliraj-idr-bgp-classful-transport-planes-13#section-5

Excerpt:


   Overlay routes that want to use a specific Transport Class confine

   the scope of nexthop resolution to the set of routes contained in the

   corresponding Transport RIB.  This Transport RIB is the "Routing

   Table" referred in Section 9.1.2.1<https://datatracker.ietf.org/doc/html/draft-kaliraj-idr-bgp-classful-transport-planes-13#section-9.1.2.1> RFC4271<https://datatracker.ietf.org/doc/html/rfc4271> (https://www.rfc-<https://www.rfc-editor.org/rfc/rfc4271#section-9.1.2.1>

   editor.org/rfc/rfc4271#section-9.1.2.1<https://www.rfc-editor.org/rfc/rfc4271#section-9.1.2.1>)



Basically, the “Route Resolvability Condition” procedures in RFC4271<https://datatracker.ietf.org/doc/html/rfc4271> sec 9.1.2.1 is followed,

but confining to the Transport RIB as the “Routing Table”. Transport RIB is nothing but the set of

routes that belong to Transport class identified by color C.

How transport class mapping and fallback happens:

                https://datatracker.ietf.org/doc/html/draft-kaliraj-idr-bgp-classful-transport-planes-13#section-7

                This section describes it in detail. In short,


  *   BGP route marked with Mapping community (e.g. Color Extended Community C, or Transport Target Extended community C).

The mapping-community maps to a locally defined ‘Resolution scheme’.

  *   The Resolution scheme consists of a primary transport class. And optionally, ordered list of one or more fallback

transport classes of other colors, including best-effort (tunnels that don’t have any color associated with them).

                e.g. IPv4-unicast routes received with Color:0:100 maps to a resolution scheme, that resolve over: Transport class 100, and fallback to best-effort tunnels.
                      BGP-CT routes received with transport-target:0:100 maps to a resolution scheme that resolve strictly over: Transport class 100, with no fallback.

Thanks
Kaliraj

From: Idr <idr-bounces@ietf.org> on behalf of Jeffrey Haas <jhaas@pfrc.org>
Date: Friday, February 18, 2022 at 7:43 AM
To: idr@ietf.org <idr@ietf.org>
Subject: [Idr] BGP routes with color, Question 1: How does route resolution work with your feature?
[External Email. Be cautious of content]


As promised during the recent IDR interim, we want to start a set of threads
to the IDR mailing list to clarify points discussed during that interim
about the BGP routes with color proposals.  These questions are directed to
the authors of those proposals.  The responses to those questions will be
used to drive Working Group discussion about the solution space.


Question 1: How does BGP route resolution operate with your proposal?

A BGP route, marked with a Color Extended Community C, and a nexthop NH1
needs to resolve using the proposal.

>From the BGP routing state received from the proposed mechanism, how does
the resolving route make use of this state to decide its forwarding nexthop?

Be specific in terms of functional behavior.  There is no need to go into
implementation details unless they're helpful in explaining the functional
behavior.

If possible, please refer to relevant sections in your internet-drafts.

-- Jeff

_______________________________________________
Idr mailing list
Idr@ietf.org
https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/idr__;!!NEt6yMaO-gk!Xcr4YsmwbxVLaEtOZCiU3xIEFbwWK12WFSS48poFoDU9C35gJMFSHtSqBahCWODV$<https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/idr__;!!NEt6yMaO-gk!Xcr4YsmwbxVLaEtOZCiU3xIEFbwWK12WFSS48poFoDU9C35gJMFSHtSqBahCWODV$>


Juniper Business Use Only