Re: [Technical Errata Reported] RFC8294 (7255)
Jeffrey Haas <jhaas@pfrc.org> Tue, 22 November 2022 21:17 UTC
Return-Path: <jhaas@slice.pfrc.org>
X-Original-To: rtgwg@ietfa.amsl.com
Delivered-To: rtgwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6E783C14CEED for <rtgwg@ietfa.amsl.com>; Tue, 22 Nov 2022 13:17:51 -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, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham 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 lB50bG3sNgGd for <rtgwg@ietfa.amsl.com>; Tue, 22 Nov 2022 13:17:50 -0800 (PST)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by ietfa.amsl.com (Postfix) with ESMTP id 633DFC14CF17 for <rtgwg@ietf.org>; Tue, 22 Nov 2022 13:17:50 -0800 (PST)
Received: by slice.pfrc.org (Postfix, from userid 1001) id B4C9D1E370; Tue, 22 Nov 2022 16:17:48 -0500 (EST)
Date: Tue, 22 Nov 2022 16:17:48 -0500
From: Jeffrey Haas <jhaas@pfrc.org>
To: Robert Raszuk <robert@raszuk.net>
Cc: "Acee Lindem (acee)" <acee@cisco.com>, "rtgwg@ietf.org" <rtgwg@ietf.org>, "jhaas@juniper.net" <jhaas@juniper.net>, "chopps@chopps.org" <chopps@chopps.org>, t petch <ietfa@btconnect.com>, "andrew-ietf@liquid.tech" <andrew-ietf@liquid.tech>, "jgs@juniper.net" <jgs@juniper.net>, RFC Errata System <rfc-editor@rfc-editor.org>
Subject: Re: [Technical Errata Reported] RFC8294 (7255)
Message-ID: <20221122211748.GB32457@pfrc.org>
References: <20221118201848.29D5355F7E@rfcpa.amsl.com> <6378C936.2080001@btconnect.com> <CAOj+MMEB8aH7gyqok5HtucCcxMJyhXju8N1DX94n13j9gtVb6Q@mail.gmail.com> <DC5792CC-C887-4E04-9451-8CE3DF105886@cisco.com> <CAOj+MMFyMqPYc13OVwCLH6+bvJ-_8Y2vQMWfySRQGMGBaumkbg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CAOj+MMFyMqPYc13OVwCLH6+bvJ-_8Y2vQMWfySRQGMGBaumkbg@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/9yd_esnbk8G47bewSi769Js3TLc>
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Routing Area Working Group <rtgwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtgwg/>
List-Post: <mailto:rtgwg@ietf.org>
List-Help: <mailto:rtgwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Nov 2022 21:17:51 -0000
Actually, I'll reply to this one for the context. Acee's response was a hidden one-liner. (Thanks, Outlook...) On Sat, Nov 19, 2022 at 07:00:26PM +0100, Robert Raszuk wrote: > Hey Acee, > > Well actually YANG model for extended communities seems to be defined in > BGP model. > > REF: https://datatracker.ietf.org/doc/html/draft-ietf-idr-bgp-model > > So perhaps it is not best idea to keep the same thing defined differently > in multiple RFCs ? The BGP YANG document spent a lot of work around extended communities and what a complete pain it was to deal with them in the model. While we discussed our changes tersely in email and also during updates in IDR, the issues are roughly: 1. Extended communities receive regular work and new code point assignments. 2. In YANG, we're specifying them as typedefs. You cannot augment a typedef in YANG. You must replace it. We've chosen to make our extended community type in the BGP YANG module IANA maintained, which at least makes this process less difficult. (How much less difficult is to be judged by the future.) 3. What do you do about implementations that need to operationally display and configure extended communities that aren't well-known types? The choice we made in the BGP YANG module was to support a "raw" mode. However, this means that policy may need to be able to deal with processing both a raw and a well-known ("cooked") format. To provide some level of consistency, the extended community operational state was split between a raw-only format and a "human readable" one in different leafs. My errata spawned because I had looked at the l3vpn model.[1] Its import types were using the RFC 8294 definitions, which were going to be different than the ones present in the BGP YANG module. Why? Because while BGP needs to be able to generically able to deal with Extended Communities, the VPN modules have different requirements: They only need route-targets. However, it was apparent that even though the use cases overlap that the maintenance issues we discovered for the BGP YANG module were going to be the same. What should be done? Unclear. While it'd be "nice" if the well known definitions for the use cases served by the route-targets for RFC 8294 were identical for the BGP YANG module, they can't completely identical typedefs. We're likely to need to do something to update RFC 8294. A full analysis of the users of those types would need to be done. Only after that can we decide what actions to take. Personally, I'm happy to be mostly done with the heavy lift on the work for the BGP YANG module, and know that this discussion will form part of the WGLC comments on that document. I'm not sure I'd want to drive RFC 8294-bis. That said, I'm happy to supply feeback on it. I'm happy to give a presentation on these topics at next rtgwg. -- Jeff [1] My total "author" input was spending time with the other authors at a couch during a prior IETF. This module was one of the various that were going to be dependent on the BGP YANG work. It's gotten no attention from me in years.
- [Technical Errata Reported] RFC8294 (7255) RFC Errata System
- Re: [Technical Errata Reported] RFC8294 (7255) t petch
- Re: [Technical Errata Reported] RFC8294 (7255) Robert Raszuk
- Re: [Technical Errata Reported] RFC8294 (7255) Acee Lindem (acee)
- Re: [Technical Errata Reported] RFC8294 (7255) Robert Raszuk
- Re: [Technical Errata Reported] RFC8294 (7255) Jeffrey Haas
- Re: [Technical Errata Reported] RFC8294 (7255) Jeffrey Haas
- Re: [Technical Errata Reported] RFC8294 (7255) Robert Raszuk
- Re: [Technical Errata Reported] RFC8294 (7255) Jeff Haas
- Re: [Technical Errata Reported] RFC8294 (7255) Robert Raszuk
- Re: [Technical Errata Reported] RFC8294 (7255) Alvaro Retana