Skip to Content.
Sympa Menu

rare-dev - Re: [rare-dev] CAR/CT merged document

Subject: Rare project developers

List archive

Re: [rare-dev] CAR/CT merged document


Chronological Thread 
  • From: "Dhananjaya Rao (dhrao)" <>
  • To: "" <>
  • Cc: "" <>, "" <>, "" <>
  • Subject: Re: [rare-dev] CAR/CT merged document
  • Date: Thu, 16 Feb 2023 04:28:55 +0000
  • Accept-language: en-US
  • 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
  • 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=gSBVqly2f66DkVbh8jfbM+ltojqAPlQ9DCCtiK4qgkI=; b=OXLVkvfjVQDY1EZLk5EJUXl/wAhAtVJ200vCcrkS9bOs5jSEHF5IOGqNKqXsrD4dhjluRNYxm+5hglvcMvblNlqvjQxEcrGDWJEnAL3+X015SoWbTIpw9Yzz5vz4hBPpn+ml42jO0eX8fUHC+hgP1XuwILsVm13SiJCaI3LPNboepKy8kN2PPRNV/RCOR8XyBfCjqNwrh/1X3f1mXkLvaBUzkr3LdR9jTE64dvZ+72truL6wGma+aEqbNpltbj1mzax86zIS2Spz50dkek/FygIWkQZ2ayc/zkM15ErLpWjxeQmeKEWWdu8JFYnEgLWq7BqPIUGfSReYbP1Fa8dSYA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fGDANIqiIzMHkQ6XnFFG8Ka8+4Xc7GHLhofDfWReYYNRTeWMePoxwlsTZPZyKYqehKC+09rq+/AGERyCbecSQfmsLSlsP7p8F2dYBHHO4Z0G7OvZrimWqpHyS/GwNmBD3gAX3rlwIe6kIyaoqhrs+sTqBuOnqoYKPY93N7qKoCrleql9nF+Lp5nXD8a/U95qrPfAqFW7hR12T38w2EcME0G0pKQ3ycbQZiD4+PVXllaIWPMaf7wvq9DodJGp4NammAvY5Wolk6N3JSZE1zw632JJtaxSpfNZrDJTdf6cCS7Fl/lpG2T1zq6g77/5olhP0/oBA5zDJyrxMK+G8uqeYw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cisco.com;
  • Ironport-data: A9a23:+feSKqpqFoUb5fE6BO/4nXKIhIpeBmI1ZRIvgKrLsJaIsI4StFCzt garIBmAMq3YN2f8co0gbN7i9U9SvJHWmIBjQVNo/y8yFy4RouPIVI+TRqvS04x+DSFioGZPt Zh2hgzodZhsJpPkjk7xdOCn9xGQ7InQLlbGILas1htZGEk1F0/NtTo5w7Ri2tQx3IDia++wk YqaT/P3aQfNNwFcagr424rbwP+4lK2v0N+wlgVWicFj5DcypVFMZH4sDf3Zw0/Df2VhNrXSq 9AvY12O1jixEx8FUrtJm1tgG6EAaua60QOm0hK6V0U+6/RPjnRa70o1CBYTQWd1oROxmd1U8 v5IqLG6FTkEI6vUk91IBnG0EwkmVUFH0LbDJX76usuJwgidNXDt2P5pSkoxOOX0+M4uXjoIr qJecWtLN0vd7w616OrTpu1EisQ5Jc7DN4IEsXYmxjbcZRojac6aHf6Su4YAtNs2rt5NXuneQ O9aUAYsQSTFRRRRGGsTKY1ryY9EgVGmI2EH9zp5v5EfwmTJ5A18zLarN8DaEvSQTN9Y20qVu ErC/n/lGVcVOdWZ1XyC6H3Eru7Dh2bwWIsTDqaQ9/N2jhuU3GN7IBwbSVWTp/6hzE6jM++zM GQd/i4o6KM17kHuFZ/2XgazpziPuRt0t8ds//MSyCOn7JLS7iOjLW0ZYzQdVvE7stc9fGl/v rOWpO/BCTtqubyTbHuS8LaIsD+/URT5y0dfOUfoqiNYv7HeTJEPYgHnFY07QfTl5jHhMXShn W7W8XRWa6A70JZj6kmtwbzQb9tATLDgSgo44G07tUr6s1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phdr: A9a23:qV5HoR+oOE4Nff9uWCXoyV9kXcBvk7n3PwtA7J0hhvoOd6m45J3tM QTZ4ukll17GW4jXqpcmw+rbuqztQyoMtJCGtn1RfJlFTRRQj8IQkkQpC9KEDkuuKvnsYmQ6E c1OWUUj8Wu8NB1eGd31YBvZpXjhhQM=

Hi cs,

 

What side-chat are you referring to ?

 

The CAR draft https://datatracker.ietf.org/doc/draft-ietf-idr-bgp-car/ is the proper reference, no other chats or emails 😊

 

I’m not sure what you are trying to do below. I don’t want to speak for your implementation. But just to clarify the spec, the key for a CAR route is fixed, does not have variable TLVs. (See section 2.9.2 for example). The TLVs are for per-route non-key data (label etc.) – which are just encoded as TLVs instead of embedded definitions in earlier SAFIs.

 

If you are indeed implementing CAR, please reach out to Swadesh or me, and we would be happy to help you out.

 

Regards,

-Dhananjaya

 

 

From: <>
Date: Saturday, February 11, 2023 at 2:35 PM
To: <>, Susan Hares <>, Dhananjaya Rao (dhrao) <>, <>, Clarence Filsfils (cfilsfil) <>, <>, <>, <>, <>, <>, <>, <>, <>, Swadesh Agrawal (swaagraw) <>, <>, <>, <>, <>, <>, <>, <>, <>, <>, <>, <>, <>
Cc: <>, Dongjie (Jimmy) <>, Joel M. Halpern <>, <>, <>
Subject: Re: CAR/CT merged document

after a heavy chat on an other list let me give you some question marks i encountered during having this tiny step:

dear bgp-car team could you please help me better understand the intent here?

for example imho no way to keep the prefixes sorted properly because of the variable length nlri
encoding with the non-key fields... now which one would be the first in your imaginary sorting algorithm?
and why? how would that compareTwoPrefixes code would look alike on a non-fixed-length nlri?
1.1.1.1/32:red ?
1.1.1.1/32:red+label=123 ?
1.1.1.1/32:red+index=123 ?
1.1.1.1/32:red+srv6=1234::1 ?
and that latter 2, so for example we have a whole bgp attribute just for doing sr(v6) properly in bgp:
https://www.rfc-editor.org/rfc/rfc8669.html and it was you and you really have at least a decoder in your shows already!!!!
then why do you want it be there in the nlri once again!?

and after the merger, what is that additional intent type1/2 tlv thing? seemingly you want -car and -ct in the same afi or what? :)

and what's with the safeguard nlri-count field? seriously? you're clearly declared here that it's an n-p-hard nrli to have! just saying...

so my overall opinion is please stop killing bgp! "it hurts me doc when you're doing this"
and i had some other smaller question marks also during implementing -car...

sorry but i'm in the bad mood!

br,
cs




On 2/8/23 11:31, wrote:
> hi,
>
> rare/freerouter devvie here...
> as we previously had a -ct implementation, this was the right moment to start playing with the -car draft...
> please find attached the first successful bgp session with this afi, resulted in the following lfib table:
>
> r1#show ipv4 bgp 1 car labels
> prefix           local   evpn*16   pmsi*16   remote   hop
> 1.1.1.0/30   null     0               0               928424   1.1.1.2
> 1.1.1.4/30   null     0               0               928424   1.1.1.2
> 2.2.2.2/32   null     0               0               928424   1.1.1.2
> 2.2.2.3/32   null     0               0               450533   1.1.1.2
> 3.3.3.0/24   null     0               0               132324   1.1.1.2
>
> r1#
>
> this is the nlri part of packet #5 from the pcap showing the initial flood of the local prefixes
> from r1 in https://github.com/rare-freertr/freeRtr/blob/master/cfg/rout-bgp695.tst:
>
> 0000     10 09 01 1e 01 01 01 00 00 00 00 00 01 03 aa 0e
> 0010     31 10 09 01 20 02 02 02 01 00 00 00 00 01 03 aa
> 0020     0e 31 0f 08 01 18 03 03 03 00 00 00 00 01 03 aa
> 0030     0e 31 0f 08 01 18 03 03 04 00 00 00 00 01 03 aa
> 0040     0e 31
>
> from now, we'll track this common draft closely, so once you're done with your stacks, please ping us for an interop test! :)
>
> br,
> csaba mate
>
>
> On 2/6/23 22:27, Susan Hares wrote:
>> Greetings CAR Author Team and CT Author team:
>>
>> The operators have expressed their wish to the IDR chairs to have a single color/intent-based solution rather than two solutions (CAR or CT).     The operators in China have also
>> indicated their need for a solution that handles SRv6.
>>
>> The IDR chairs feel that a single proposed standard solution that adds additional error handling to an adaption of the CAR format within the multi-protocol format for AFI/SAFI:
>>
>>                  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
>>
>>            +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>
>>            | Address Family ID (AFI))                     |             SAFI                         |     NH length             |
>>
>>            +---------------------------------------------------------------+
>>
>>            | Network address of the Next Hop                                                                                                                     //
>>
>>            +---------------------------------------------------------------+
>>
>>            | Reserved (0)     | NLRI count             |     sequence of NLRIS                                             |
>>
>>              +---------------------------------------------------------------+
>>
>> NLRI count         This is a count of NRLIs which follow.     This count improves some of the error handling scenarios.
>>
>>            Where each NLRI has:
>>
>>                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
>>
>>            +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>
>>            | NLRI Length         |     Key Length         |         NLRI Type         | Intent type         |
>>
>>            +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>
>>            | Intent length |         Intent (variable)                                                                                                     //
>>
>>              +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>
>>            | Prefix Length |         IP Prefix (variable)                                                                                         //
>>
>>              +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>
>>                Followed by optional TLVs encoded as below:
>>
>>            +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>
>>            |                 Type                     |             Length                 |             Value (variable)                                     //
>>
>>            +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>
>> NLRI count -
>>
>> Intent TLVs will be defined the working group.     Intents may be:
>>
>> 1)Color
>>
>> 2)RD         which is unique RD for intent.
>>
>> VPN Routing Distinguishers are included in the normal location in VPNs.         This also means that VPN SAFIs will identify the Prefix.
>>
>> A requirement of this merged solution will be the full support for SRv6.
>>
>> Our email conversations with the operators have indicated that this solution is acceptable as a proposed standard solution.     Since the operators have indicated the support for
>> this technical solution and a desire for a single solution, we are going to start a design team for       proposed standard       draft for Color/intent based on this solution.
>>
>> We would like a senior editor from the CAR author team and a senior editor from the CT author team to create this initial draft based on the above description.     The editors will
>> be expected to do the following things:
>>
>> 1.Discuss the merge on a Design-Team mail list,
>>
>> 2.Put the document in the IDR WG github,
>>
>> 3.Keep track of issues on the IDR WG github,
>>
>> 4.Create the merged draft by IETF-116,
>>
>> 5.Provide a progress report at IETF-116, and
>>
>> 6.Participate in an interim after IETF-116.
>>
>> Please propose one or more senior editors from your team.     The IDR chairs will select from your candidates one senior author from the CAR team and one senior author from the CT
>> team.
>>
>> I have requested help from the IDR chairs (Jeff and Keyur) and the Spring Chairs (Bruno and Joel) to provide ongoing review for this document.     I will remain the shepherd for
>> the process.
>>
>> Cheers, Sue
>>
>> ( <>)
>>
>> [If you have trouble responding to this email, you may use my professor email address:
>>
>> Dr. Susan Hares: <>. ]
>>




Archive powered by MHonArc 2.6.19.

Top of Page