Re: [Idr] CAR/CT merged document

ietf@nop.hu Sat, 11 February 2023 22:35 UTC

Return-Path: <ietf@nop.hu>
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 06418C151711 for <idr@ietfa.amsl.com>; Sat, 11 Feb 2023 14:35:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.897
X-Spam-Level:
X-Spam-Status: No, score=-6.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable 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 HtqHAURyGTsX for <idr@ietfa.amsl.com>; Sat, 11 Feb 2023 14:35:41 -0800 (PST)
Received: from vpn.nop.hu (vpn.nop.hu [217.61.5.97]) by ietfa.amsl.com (Postfix) with SMTP id ABD3CC1BE884 for <Idr@ietf.org>; Sat, 11 Feb 2023 14:35:34 -0800 (PST)
Received: from 2001:db8:8319::200:11ff:fe11:2222 (helo [IPV6:2001:db8:8319:0:200:11ff:fe11:2222]) by 2001:db8:1101::180 (helo vpn.nop.hu) (envelope-from ietf@nop.hu) with smtp (freeRouter v23.2.11-cur) for ietf@nop.hu shares@ndzh.com dhrao@cisco.com bruno.decraene@orange.com cfilsfil@cisco.com luay.jalil@verizon.com yitai.syc@alibaba-inc.com jul738@att.com james.n.guichard@futurewei.com ketant.ietf@gmail.com keyur@arrcus.com rainsword.wang@huawei.com im8327@att.com swaagraw@cisco.com israel.means@att.com dgowda@extremenetworks.com balajir@juniper.net dreshma@juniper.net mrajesh@juniper.net cy098d@att.com gyan.s.mishra@verizon.com mazen.khaddam@cox.com szarecki@google.com xiaohu.xu@capitalonline.net natv@juniper.net kaliraj@juniper.net idr-chairs@ietf.org jie.dong@huawei.com jmh@joelhalpern.com rare-dev@lists.geant.org Idr@ietf.org ; Sat, 11 Feb 2023 23:35:32 +0100
Message-ID: <3a5c48ce-21bb-9720-c3a1-d60384fa3979@mp.ls>
Date: Sat, 11 Feb 2023 23:35:31 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2
Content-Language: en-US
To: ietf@nop.hu, Susan Hares <shares@ndzh.com>, "dhrao@cisco.com" <dhrao@cisco.com>, "bruno.decraene@orange.com" <bruno.decraene@orange.com>, "cfilsfil@cisco.com" <cfilsfil@cisco.com>, "luay.jalil@verizon.com" <luay.jalil@verizon.com>, "yitai.syc@alibaba-inc.com" <yitai.syc@alibaba-inc.com>, "jul738@att.com" <jul738@att.com>, "james.n.guichard@futurewei.com" <james.n.guichard@futurewei.com>, "ketant.ietf@gmail.com" <ketant.ietf@gmail.com>, "keyur@arrcus.com" <keyur@arrcus.com>, "rainsword.wang@huawei.com" <rainsword.wang@huawei.com>, "im8327@att.com" <im8327@att.com>, "swaagraw@cisco.com" <swaagraw@cisco.com>, "israel.means@att.com" <israel.means@att.com>, "dgowda@extremenetworks.com" <dgowda@extremenetworks.com>, "balajir@juniper.net" <balajir@juniper.net>, "dreshma@juniper.net" <dreshma@juniper.net>, "mrajesh@juniper.net" <mrajesh@juniper.net>, "cy098d@att.com" <cy098d@att.com>, "gyan.s.mishra@verizon.com" <gyan.s.mishra@verizon.com>, "mazen.khaddam@cox.com" <mazen.khaddam@cox.com>, "szarecki@google.com" <szarecki@google.com>, "xiaohu.xu@capitalonline.net" <xiaohu.xu@capitalonline.net>, "natv@juniper.net" <natv@juniper.net>, "kaliraj@juniper.net" <kaliraj@juniper.net>
Cc: "idr-chairs@ietf.org" <idr-chairs@ietf.org>, "Dongjie (Jimmy)" <jie.dong@huawei.com>, "Joel M. Halpern" <jmh@joelhalpern.com>, "rare-dev@lists.geant.org" <rare-dev@lists.geant.org>, Idr@ietf.org
References: <BYAPR08MB48728CB69E6C1B72A319B0A3B3DA9@BYAPR08MB4872.namprd08.prod.outlook.com> <b2553bd3-1dad-2346-be3b-9adcc486298d@mp.ls>
From: ietf@nop.hu
In-Reply-To: <b2553bd3-1dad-2346-be3b-9adcc486298d@mp.ls>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/TrI1q1NfnS1H5koeKjdlIRNoegk>
X-Mailman-Approved-At: Fri, 17 Feb 2023 08:12:40 -0800
Subject: Re: [Idr] CAR/CT merged document
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.39
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: Sat, 11 Feb 2023 22:35:46 -0000

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, ietf@nop.hu 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
>>
>> (shares@ndzh.com <mailto:shares@ndzh.com>)
>>
>> [If you have trouble responding to this email, you may use my professor email address:
>>
>> Dr. Susan Hares: susaha1@regent.edu <mailto:susaha1@regent.edu>. ]
>>