Re: [Idr] WG adoption call for draft-abraitis-bgp-version-capability-08, to end September 25

Gyan Mishra <hayabusagsm@gmail.com> Tue, 17 January 2023 05:04 UTC

Return-Path: <hayabusagsm@gmail.com>
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 3F6ACC1CCCAF for <idr@ietfa.amsl.com>; Mon, 16 Jan 2023 21:04:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.984
X-Spam-Level:
X-Spam-Status: No, score=-1.984 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01, URIBL_BLOCKED=0.001, 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=gmail.com
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 7R1p_WY69FWX for <idr@ietfa.amsl.com>; Mon, 16 Jan 2023 21:04:53 -0800 (PST)
Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EBB55C1CCCAC for <idr@ietf.org>; Mon, 16 Jan 2023 21:04:52 -0800 (PST)
Received: by mail-qk1-x733.google.com with SMTP id s19so2056812qkg.7 for <idr@ietf.org>; Mon, 16 Jan 2023 21:04:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4EopfS17XaHdZA9rdCYyz5LxuAHTye0LumedoTfFtsQ=; b=GVV/H6NekAH7laUe6186gFbKCsiEf6VFgrsvxXux7jfqCMcyMZLW+F1P29tZJ1Fbpu h5N9BHPyru7JCwu7RMd3CIiyajZHVsf4MDrtvg5A+78uwJL8/14ldP7Ba7DhixemDiR1 71LRtb/MqRq2x5xW2oWrDuIGUcU/Q2+kwFZBCNCbSklZkdtR9klk1gcZFFpkvg5i1MtE nJX1JVub/UOjda83+NEVTEYZvQx3iWhhI6LoU/3qUz9+FqQ+gHw29nRZ7Ekm3IjjSY50 70jNX7feEyStIcfn6dtG3MXsSGNlal3quXIE4hspcwgmDq1IiC7q5ws0Ux4hYcDYDb9u In3w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4EopfS17XaHdZA9rdCYyz5LxuAHTye0LumedoTfFtsQ=; b=k5VIaNGxokm4yue/qmELkwB1eehstq9p2816sCwpkN0gGxbrL8gWJkkrVsHromRayA lkw6LQvO10XwjPjj3uSSUkH2tT4fW5bMovBNEOBz+LsuyUP+948cScj4Uw0nj2+kCNDA /V91F012Zg53tNlOL57G7EjpO1WahhRa+IE9DSBP16fDL4577sZyzyxSIDI6ihiFPZGp O5HRGbWdiKLuAje7mgzo4TmdmX+UZehYdCqw0sE8/YSI1x4OhTBkeypOhHB05Yc6j91H A3cOyGuv10TNFg8LWFDsRHAS8+dhxfR/GWg9GCKcsPOcNWDt3hrFiBPepZobVjfhBAkU Qx+w==
X-Gm-Message-State: AFqh2koFomzmPCzOpSPgOW3vDGzdlx9IZNgdZMfFXAtdQnOw1tkisVl0 AY4J7HLaKzzm3/dPdB3ZJGi0A6sAfHofza578Qc7FfNlDfk=
X-Google-Smtp-Source: AMrXdXub3B4xac9hW/3ko6b0YlUhlj7B0/muPyC0oN59s1giMnaMWedy6EQVnPfcuIo/jLSNdianRFliSHhT2ecZ20A=
X-Received: by 2002:a05:620a:b03:b0:702:545f:73f8 with SMTP id t3-20020a05620a0b0300b00702545f73f8mr87159qkg.163.1673931891442; Mon, 16 Jan 2023 21:04:51 -0800 (PST)
MIME-Version: 1.0
References: <FEF22BE4-8226-4286-AF7D-6B609D51E6BF@pfrc.org> <CAOj+MMH5C8zXZB=c9v57=M2Aa16cuyJY1EEMDHmX+T5FYq51mg@mail.gmail.com> <8D39FC71-043C-40A9-97D5-D71666611C5A@pfrc.org> <CAOj+MMFRVGde0k9dyW-gjMY1V3N6g8cpspnVLmhOHD557Qo6yw@mail.gmail.com> <A2FF27E6-403F-4606-84E8-A5305E434468@pfrc.org> <CAOj+MMH0LEds_UfVWAf59-JjRiPOYm=fozBx6ncmeSHTyMe11g@mail.gmail.com> <A1859410-8A3E-4CF9-A875-D432F7BEF1F0@pfrc.org> <CAOj+MMHhHB-K=hjEFwJTQ09K9dizkHaKfC79kJWikO=Eh8c1gw@mail.gmail.com> <20847254-3E13-49B3-942C-EE6EFDF993C1@pfrc.org> <CAOj+MMG9BuCBjATYNKO5H0oFUipCE8iBU+DJ0FLDDUZdp+nM3Q@mail.gmail.com> <Y77nmDKUgCUyhJ5W@diehard.n-r-g.com> <C3B4F29D-7C8D-4911-B140-286B7B8DA97B@pfrc.org> <CAOj+MMGmSBDwbxvSZ_x+j7NtCHRFFFvcCEKGJ0Wpis_OU26cLA@mail.gmail.com> <CABNhwV3qwCT8=8R+HTi1DFhbRN=FwHMF4XvQVowQwz=pb2U-nA@mail.gmail.com> <CAOj+MMG-5TT2sEnZVMabP1wA=gBNH0g9zkpoM9LWL7XFnh2aEQ@mail.gmail.com> <CABNhwV2H8Y7pthkWtJsDUN7ZscjGvc+v2XdpZ5CcG2ot9TBBog@mail.gmail.com> <CO1PR13MB492093DC7492BFD14A47C97B85C29@CO1PR13MB4920.namprd13.prod.outlook.com> <CABNhwV2UL0ruFeJwfwPnP7OWO9qCpHw3ubWNF7BoQQUEYEgZRw@mail.gmail.com> <CO1PR13MB4920CBF456034CE08D70691385C19@CO1PR13MB4920.namprd13.prod.outlook.com> <CABNhwV2MDq=ncxOfP1bi8t6wWq0kACupSPXaXO+QkdbUGzcWQw@mail.gmail.com>
In-Reply-To: <CABNhwV2MDq=ncxOfP1bi8t6wWq0kACupSPXaXO+QkdbUGzcWQw@mail.gmail.com>
From: Gyan Mishra <hayabusagsm@gmail.com>
Date: Tue, 17 Jan 2023 00:04:40 -0500
Message-ID: <CABNhwV31JTyycqdPCSPXidoq-0bd7ZHSZn_GRD2wUPtgLSXXSw@mail.gmail.com>
To: Linda Dunbar <linda.dunbar@futurewei.com>
Cc: Robert Raszuk <robert@raszuk.net>, "idr@ietf.org" <idr@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c489a505f26ea349"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/pvoZ5BLAsVgectr0UChkaY8cuMg>
Subject: Re: [Idr] WG adoption call for draft-abraitis-bgp-version-capability-08, to end September 25
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: Tue, 17 Jan 2023 05:04:57 -0000

At the top of RFC 4271 section 4.5 this is what I am reading that if any
open or update message with error sub code is received the session is
reset.

4.5 <https://www.rfc-editor.org/rfc/rfc4271#section-4.5>.
NOTIFICATION Message Format

   A NOTIFICATION message is sent when an error condition is detected.
   The BGP connection is closed immediately after it is sent.



That goes for all of the sub codes


OPEN Message Error subcodes:

               1 - Unsupported Version Number.
               2 - Bad Peer AS.
               3 - Bad BGP Identifier.
               4 - Unsupported Optional Parameter.
               5 - [Deprecated - see Appendix A
<https://www.rfc-editor.org/rfc/rfc4271#appendix-A>].
               6 - Unacceptable Hold Time.

      UPDATE Message Error subcodes:

               1 - Malformed Attribute List.
               2 - Unrecognized Well-known Attribute.
               3 - Missing Well-known Attribute.
               4 - Attribute Flags Error.
               5 - Attribute Length Error.
               6 - Invalid ORIGIN Attribute.
               7 - [Deprecated - see Appendix A
<https://www.rfc-editor.org/rfc/rfc4271#appendix-A>].
               8 - Invalid NEXT_HOP Attribute.
               9 - Optional Attribute Error.
              10 - Invalid Network Field.
              11 - Malformed AS_PATH.





On Mon, Jan 16, 2023 at 8:21 PM Gyan Mishra <hayabusagsm@gmail.com> wrote:

>
> RFC 4271 section 4.5 states the session is reset for any open or update
> notification code.
>
> RFC 7606 only updates error handling for update messages.  So the
> unsupported version number will cause the peer to reset.
>
> Jakub mentioned this regarding the version capability draft which I agree
> is a good option below:
>
> I can agree to using a new BGP OPEN Optional Parameter.
>
>
>
> I would add that if after receiving the OPEN message, the BGP neighbor
> closes the session
>
> with “Unsupported Optional Parameters”, that the sender of that OPEN
> message try
>
> opening the session again without the version parameter.
>
> Kind Regards
>
> Gyan
>
> On Mon, Jan 16, 2023 at 1:54 PM Linda Dunbar <linda.dunbar@futurewei.com>
> wrote:
>
>> Gyan,
>>
>>
>>
>> RFC4271 states that if the version number is not supported, an error
>> message should be sent. But RFC4271 didn’t say if the BGP Open session
>> should be failed.
>>
>> I am just curious if BGP session can be started even if the  version
>> number is not supported?
>>
>>
>>
>> Linda
>>
>>
>>
>> *From:* Gyan Mishra <hayabusagsm@gmail.com>
>> *Sent:* Saturday, January 14, 2023 12:01 AM
>> *To:* Linda Dunbar <linda.dunbar@futurewei.com>
>> *Cc:* Robert Raszuk <robert@raszuk.net>; idr@ietf.org
>> *Subject:* Re: [Idr] WG adoption call for
>> draft-abraitis-bgp-version-capability-08, to end September 25
>>
>>
>>
>> Hi Linda
>>
>>
>>
>> Yes, RFC 7606 provides complete revision of error handling as opposed to
>> peer reset which was the error handling with RFC 4271.
>>
>>
>>
>> See section 2 and 3.
>>
>>
>>
>> All BGP implementations including Open BGP implementations should support
>> RFC 7606.
>>
>>
>>
>> The main benefit for the versioning is in case the BGP peer capabilities
>> exchange is in a one way state and not bidirectional and in that case
>> having the version number would help troubleshoot if the AFI/SAFi,
>> code-point or parameter is supported or not.
>>
>>
>>
>> Kind Regards
>>
>>
>>
>> Gyan
>>
>>
>>
>> On Fri, Jan 13, 2023 at 4:52 PM Linda Dunbar <linda.dunbar@futurewei.com>
>> wrote:
>>
>> With so many BGP flavors and versions, is it possible to configure a
>> router to ignore the capabilities that it doesn’t support? But still keep
>> the BGP session going?
>>
>>
>>
>> Linda
>>
>>
>>
>> *From:* Idr <idr-bounces@ietf.org> *On Behalf Of *Gyan Mishra
>> *Sent:* Thursday, January 12, 2023 3:15 PM
>> *To:* Robert Raszuk <robert@raszuk.net>
>> *Cc:* idr@ietf.org
>> *Subject:* Re: [Idr] WG adoption call for
>> draft-abraitis-bgp-version-capability-08, to end September 25
>>
>>
>>
>>
>>
>> So I think the crux of the issue is with so many open BGP flavors and
>> versions and running into possibilities of feature support issues, I think
>> it would be very helpful to be able to see the compute nodes bgp version
>> from the TOR for troubleshooting.  In case their are known bugs with
>> certain versions.
>>
>>
>>
>> So if you were able to do a “show BGP summary” and are able to see the
>> versions would be helpful.
>>
>>
>>
>> Kind Regards
>>
>>
>>
>> Gyan
>>
>>
>>
>> On Thu, Jan 12, 2023 at 12:07 PM Robert Raszuk <robert@raszuk.net> wrote:
>>
>> Gyan,
>>
>>
>>
>> > I can see a lot of value in this draft
>>
>>
>>
>> So imagine you are a TOR.
>>
>>
>>
>> Could you provide some examples on what would you do differently to
>> compute
>>
>> nodes speaking to you from BIRD BGP vs from exaBGP vs home grown
>> Python BGP ?
>>
>>
>>
>> Many thx,
>>
>> R.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Thu, Jan 12, 2023 at 5:53 PM Gyan Mishra <hayabusagsm@gmail.com>
>> wrote:
>>
>>
>>
>> I support the draft and agree this is very useful for cloud native
>> environments.
>>
>>
>>
>> I think the main use of this feature is for DC fabric extension to
>> compute nodes and now as well Kubernetes microservices cloud native
>> containerization or router in a container.
>>
>>
>>
>> Just about every router vendor and ONF disaggregation vendor has a
>> container version of router such as Cisco’s XRD, Juniper cRPD, SONiC,
>> Nokia, Arista etc which gives you both control plane and data plane to
>> front and provide CNI networking for K8 Kubernetes microservices.
>>
>>
>>
>> As well as you have all the Open BGP versions FRR, BIRD, Quagga, ExaBGP
>> etc that  give you the BGP control plane to advertise routes using Linux
>> data plane.
>>
>>
>>
>> https://containerlab.dev/manual/kinds/
>> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcontainerlab.dev%2Fmanual%2Fkinds%2F&data=05%7C01%7Clinda.dunbar%40futurewei.com%7C877a543e7c434aeecc9d08daf5f4adb6%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C638092728500492184%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=nOLWrbrNMQILNzVFclXgLiQZ4LQY8iUpJsOdqKozTQ8%3D&reserved=0>
>>
>>
>>
>> So this version feature is really for cloud native compute layer NFV -
>> VNF, CNF,  and not really for PNF  physical hardware based internet routers
>> or switches.
>>
>>
>>
>> I can see a lot of value in this draft and I support making a WG document
>> versus independent stream based on the massive proliferation of distributed
>> cloud native edge computing software based environments.
>>
>>
>>
>> Kind Regards
>>
>>
>>
>> Gyan
>>
>>
>>
>> On Wed, Jan 11, 2023 at 2:20 PM Robert Raszuk <robert@raszuk.net> wrote:
>>
>>
>>
>> > a feature that is useful from an operational standpoint
>>
>>
>>
>> So let's put all the encoding aside. Your email made me curious why
>> router A needs to know BGP release number, OS version and vendor name of
>> router B ?
>>
>>
>>
>> Are we doing such a bad job in IDR that BGP no longer interoperates at
>> the protocol level ?
>>
>>
>>
>> The original problem was presented as 1000s of computes reporting their
>> BGP versions to TORs. But those 1000s of computes are already managed by
>> orchestration which does have this information. Why should BGP TOR care ?
>>
>>
>>
>> Or why IXP Route Server should care that customer X is connecting with
>> Junos vs with Huawei vs with Arrcus to it or to other IX fabric members ?
>>
>>
>>
>> Kind regards,
>> R.
>>
>>
>>
>> _______________________________________________
>> Idr mailing list
>> Idr@ietf.org
>> https://www.ietf.org/mailman/listinfo/idr
>> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fidr&data=05%7C01%7Clinda.dunbar%40futurewei.com%7C877a543e7c434aeecc9d08daf5f4adb6%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C638092728500492184%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=prCWQdJRG0gHXfMDlKGnqMLADRUCIhJsvpRA1Hr17zA%3D&reserved=0>
>>
>> --
>>
>>
>> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.verizon.com%2F&data=05%7C01%7Clinda.dunbar%40futurewei.com%7C877a543e7c434aeecc9d08daf5f4adb6%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C638092728500492184%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=B5mXvFpqA4yiWAvx6Uszwt4T8ku5Wfud3feAGlawHuo%3D&reserved=0>
>>
>> *Gyan Mishra*
>>
>> *Network Solutions Architect *
>>
>> *Email gyan.s.mishra@verizon.com <gyan.s.mishra@verizon.com>*
>>
>> *M 301 502-1347*
>>
>>
>>
>> --
>>
>>
>> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.verizon.com%2F&data=05%7C01%7Clinda.dunbar%40futurewei.com%7C877a543e7c434aeecc9d08daf5f4adb6%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C638092728500492184%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=B5mXvFpqA4yiWAvx6Uszwt4T8ku5Wfud3feAGlawHuo%3D&reserved=0>
>>
>> *Gyan Mishra*
>>
>> *Network Solutions Architect *
>>
>> *Email gyan.s.mishra@verizon.com <gyan.s.mishra@verizon.com>*
>>
>> *M 301 502-1347*
>>
>>
>>
>> --
>>
>>
>> <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.verizon.com%2F&data=05%7C01%7Clinda.dunbar%40futurewei.com%7C877a543e7c434aeecc9d08daf5f4adb6%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C638092728500492184%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=B5mXvFpqA4yiWAvx6Uszwt4T8ku5Wfud3feAGlawHuo%3D&reserved=0>
>>
>> *Gyan Mishra*
>>
>> *Network Solutions Architect *
>>
>> *Email gyan.s.mishra@verizon.com <gyan.s.mishra@verizon.com>*
>>
>> *M 301 502-1347*
>>
>>
>>
> --
>
> <http://www.verizon.com/>
>
> *Gyan Mishra*
>
> *Network Solutions A**rchitect *
>
> *Email gyan.s.mishra@verizon.com <gyan.s.mishra@verizon.com>*
>
>
>
> *M 301 502-1347*
>
> --

<http://www.verizon.com/>

*Gyan Mishra*

*Network Solutions A**rchitect *

*Email gyan.s.mishra@verizon.com <gyan.s.mishra@verizon.com>*



*M 301 502-1347*