[Idr] YANG requirements for IDR drafts (was Re: draft-head-idr-bgp-ls-isis-fr-01 - WG adoption call (6/6 to 6/20))

Jeffrey Haas <jhaas@pfrc.org> Tue, 05 July 2022 20:28 UTC

Return-Path: <jhaas@pfrc.org>
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 5C2EEC13C363; Tue, 5 Jul 2022 13:28:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 cDDI9Tkmg75y; Tue, 5 Jul 2022 13:28:43 -0700 (PDT)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by ietfa.amsl.com (Postfix) with ESMTP id A7EE8C13C36A; Tue, 5 Jul 2022 13:28:42 -0700 (PDT)
Received: from smtpclient.apple (99-59-193-67.lightspeed.livnmi.sbcglobal.net [99.59.193.67]) by slice.pfrc.org (Postfix) with ESMTPSA id 3D4951E353; Tue, 5 Jul 2022 16:28:41 -0400 (EDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_BF9AD1A3-CE63-48D0-A705-4656CE7DDD21"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\))
From: Jeffrey Haas <jhaas@pfrc.org>
In-Reply-To: <CAOj+MMGPekwBtLBDooJb5+bOX+BqotsRt+Vd1RrE+XfmOLaJzA@mail.gmail.com>
Date: Tue, 05 Jul 2022 16:28:40 -0400
Cc: Sue Hares <shares@ndzh.com>, "idr@ietf.org" <idr@ietf.org>, lsr <lsr@ietf.org>
Message-Id: <A06F5DA4-3873-4AAE-852C-58138ADB9246@pfrc.org>
References: <BYAPR08MB487213F9F5CD1A5E104B4645B3A29@BYAPR08MB4872.namprd08.prod.outlook.com> <CAH6gdPx+YbTXronoYzSuk7xNXGfsH5iD5i3Q5oDWMoKucCRexQ@mail.gmail.com> <DM6PR08MB48730CA153D5FFDF5C235C12B3AC9@DM6PR08MB4873.namprd08.prod.outlook.com> <821D2B29-C637-44A0-9D46-25AB33D7E11D@juniper.net> <CAH6gdPz2JRrxih52HekJxuDTC0ng52Q296L+zs7U4=rOHjFiOg@mail.gmail.com> <CA+wi2hMnhWEcHXw1q7TJASeExQzp7OwWrJ+2s1qP2aPNKgUX8A@mail.gmail.com> <CAH6gdPxTTXer+-OAWvBVP+WjEpKS5x8OP+dW-9nmtUbKmA2d=g@mail.gmail.com> <CA+wi2hPGJr325-mKSKi=JT7q6EMtWWmM=JAvOLKyve3oh+RysQ@mail.gmail.com> <BYAPR08MB48721013BC2D3F0FEA0B170BB3B49@BYAPR08MB4872.namprd08.prod.outlook.com> <BYAPR08MB487284932F3C9E2328ECA1A0B3BB9@BYAPR08MB4872.namprd08.prod.outlook.com> <CAOj+MMGPekwBtLBDooJb5+bOX+BqotsRt+Vd1RrE+XfmOLaJzA@mail.gmail.com>
To: Robert Raszuk <robert@raszuk.net>
X-Mailer: Apple Mail (2.3696.100.31)
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/Q2caZHKVMrhhJwc0mZV33_BlVTY>
Subject: [Idr] YANG requirements for IDR drafts (was Re: draft-head-idr-bgp-ls-isis-fr-01 - WG adoption call (6/6 to 6/20))
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, 05 Jul 2022 20:28:47 -0000

Robert,


> On Jun 30, 2022, at 6:56 PM, Robert Raszuk <robert@raszuk.net> wrote:
> 
> Isn't the YANG section a requirement for all protocol extension documents before they are sent for publications these days ? 
> 

We're not yet to the point where extensions to YANG modules are part of base IETF work, but we're probably going to need to have that discussions soon across IETF.

This year will see base YANG modules for a number of protocols done.  I had hoped I could contribute toward the BGP YANG module getting done closer to start of year than not, the BGP module is more likely to be complete this fall.[1]

Once we have the base modules out, augmentations for them covering various extensions will make sense.  Prior to the publication of the base modules, we wouldn't have had the documents advance due to MISREF dependencies.  

Once our base module is out, we'll have need of a number of small augmentation modules to fill in the missing features.  If you're looking to help with that work, there's probably room to start writing some drafts now.  I think the BGP YANG module is structurally solid for most configuration and operational state.  Policy is the remaining large piece of work.

That said, I think we'll find trying to write YANG for BGP-LS challenging.

> The reason I am asking this is in fact in light of the other discussions we have on IDR list where at least one mode of link state state advertisement can be done using YANG encoding. Is YANG section optional in LSR WG documents which define new protocol extensions and new functionality ? If an implementation uses YANG to push LSDB how the new TLVs defined in the draft are going to be shared across ? 


I think your broader question about what a streaming protocol for IGP state looks like is probably best addressed in those threads.  But, as above, it's going to be an interesting modeling exercise.

-- Jeff