Re: Working Group Last Call on BFD YANG model, RFC 9127-bis ending 20 December, 2021

Jeffrey Haas <jhaas@pfrc.org> Tue, 07 December 2021 14:31 UTC

Return-Path: <jhaas@pfrc.org>
X-Original-To: rtg-bfd@ietfa.amsl.com
Delivered-To: rtg-bfd@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E213B3A166D for <rtg-bfd@ietfa.amsl.com>; Tue, 7 Dec 2021 06:31:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vmnLbcQelueU for <rtg-bfd@ietfa.amsl.com>; Tue, 7 Dec 2021 06:31:31 -0800 (PST)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by ietfa.amsl.com (Postfix) with ESMTP id 2C2173A166C for <rtg-bfd@ietf.org>; Tue, 7 Dec 2021 06:31:30 -0800 (PST)
Received: from smtpclient.apple (99-59-193-67.lightspeed.livnmi.sbcglobal.net [99.59.193.67]) by slice.pfrc.org (Postfix) with ESMTPSA id E256F1E2F5; Tue, 7 Dec 2021 09:31:29 -0500 (EST)
Content-Type: multipart/alternative; boundary="Apple-Mail=_C1120CEA-F87B-4A46-92D9-0BC42D3B5C76"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
Subject: Re: Working Group Last Call on BFD YANG model, RFC 9127-bis ending 20 December, 2021
From: Jeffrey Haas <jhaas@pfrc.org>
In-Reply-To: <1558061691.2992955.1638886490305@mail.yahoo.com>
Date: Tue, 07 Dec 2021 09:31:29 -0500
Cc: "rtg-bfd@ietf.org" <rtg-bfd@ietf.org>
Message-Id: <FF68480A-64D5-4FE1-B10F-1B593DAB7484@pfrc.org>
References: <20211207134328.GE1566@pfrc.org> <1558061691.2992955.1638886490305@mail.yahoo.com>
To: Reshad Rahman <reshad@yahoo.com>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/m_Ffmx97oYU4h961RMui2sSK22g>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-bfd/>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Dec 2021 14:31:36 -0000

Obsoletes is probably the best status.

(For the Working Group)
Mahesh is tracking this work in github:
https://github.com/mjethanandani/rfc9127-bis/ <https://github.com/mjethanandani/rfc9127-bis/>

I've opened an issue for this.

-- Jeff


> On Dec 7, 2021, at 9:14 AM, Reshad Rahman <reshad@yahoo.com> wrote:
> 
> Should RFC9127-bis obsolete RFC9127?
> 
> Regards,
> Reshad.
> 
> On Tuesday, December 7, 2021, 08:43:44 AM EST, Jeffrey Haas <jhaas@pfrc.org> wrote:
> 
> 
> Working Group,
> 
> While some explanation is required, the request to the Working Group is very
> simple: Please review this minor update to the recently published BFD YANG
> module and offer your comments whether we should head to rapid publication.
> 
> This last call ends 20 December.
> 
> ---
> 
> The history:
> This module defines a YANG grouping, "client-cfg-parms".  The intent of that
> grouping is to provide a common user experience in IETF YANG modules that
> want to use BFD.  It provides a consistent set of leaf nodes that can be
> used by those client protocols so you don't have to remember whether 
> it's "enable" or "enabled", what a multiplier is called, and where the
> timers live.
> 
> This grouping is currently present in the RIP YANG model.  It is also in the
> RFC Editor's queue for the PIM, OSPF, and ISIS modules.  The BGP model
> intends to use this grouping.
> 
> A small issue was noted shortly after publication that even though the
> grouping is correct, its structure in RFC 9127 was awkward for
> implementations that do not use per-client configuration of BFD parameters.
> 
> Using the YANG tree for ietf-bfd-mpls included in the module from the -bis,
> consider the following:
>           |  +--rw enabled?                          boolean
>           |  +--rw local-multiplier?                multiplier
>           |  +--rw (interval-config-type)?
>           |  |  +--:(tx-rx-intervals)
>           |  |  |  +--rw desired-min-tx-interval?    uint32
>           |  |  |  +--rw required-min-rx-interval?  uint32
>           |  |  +--:(single-interval) {single-minimum-interval}?
>           |  |    +--rw min-interval?              uint32
> 
> There are two commonly deployed styles of BFD provisioning in the industry:
> - Fully centralized.  In this case, BFD clients only need to indicate that
>   they have "enabled" BFD to be used in that case.  The sessions are
>   configured at global scope.  (E.g. "protocols bfd")
> - Per-client configuration.  In this case, the client will also want to
>   indicate that it supports local configuration of parameters such as the
>   multiplier, and intervals.
> 
> In the current structure of RFC 9127, an implementation that uses fully
> centralized mode will need to create a YANG deviation for each use of BFD's
> client-cfg-parms.  While this was considered acceptable during the original
> drafting of the grouping in the BFD YANG module, current practices have
> evolved.
> 
> The fix, and the very small change to RFC 9127 in this -bis, is to add a new
> YANG feature, "client-base-cfg-parms", and take the client configuration
> parameters and predicate it on that feature.
> 
> This small change permits all of the client YANG modules listed above to
> inherit this feature behavior with no changes to those client modules.
> 
> The following section from 9127-bis states the change as well:
> 
> : Updates since RFC 9127
> : 
> :    This version of the draft updates the 'ietf-bfd-types' module to
> :    define a new feature called 'client-base-cfg-parms and a 'if-feature'
> :    statement that conditionally includes definition of parameters such
> :    as 'multiplier' or 'desired-min-tx-interval'.  The feature statement
> :    allows YANG implementations of protocol such as OSPF, ISIS, PIM and
> :    BGP, to support both a model where such parameters are not needed,
> :    such as when multiple BFD sessions are supported over a given
> :    interface, as well as when they need to be defined per session.
> 
> -- Jeff
> 
> ----- Forwarded message from internet-drafts@ietf.org <mailto:internet-drafts@ietf.org> -----
> 
> Date: Tue, 07 Dec 2021 04:26:39 -0800
> From: internet-drafts@ietf.org <mailto:internet-drafts@ietf.org>
> To: i-d-announce@ietf.org <mailto:i-d-announce@ietf.org>
> Cc: rtg-bfd@ietf.org <mailto:rtg-bfd@ietf.org>
> Subject: I-D Action: draft-ietf-bfd-rfc9127-bis-00.txt
> 
> 
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> This draft is a work item of the Bidirectional Forwarding Detection WG of the IETF.
> 
>         Title          : YANG Data Model for Bidirectional Forwarding Detection (BFD)
>         Authors        : Reshad Rahman
>                           Mahesh Jethanandani
>                           Lianshu Zheng
>                           Santosh Pallagatti
>                           Greg Mirsky
>     Filename        : draft-ietf-bfd-rfc9127-bis-00.txt
>     Pages          : 70
>     Date            : 2021-12-06
> 
> Abstract:
>   This document defines a YANG data model that can be used to configure
>   and manage Bidirectional Forwarding Detection (BFD).
> 
>   The YANG modules in this document conform to the Network Management
>   Datastore Architecture (NMDA) (RFC 8342).
> 
> 
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-bfd-rfc9127-bis/ <https://datatracker.ietf.org/doc/draft-ietf-bfd-rfc9127-bis/>
> 
> There is also an htmlized version available at:
> https://datatracker.ietf.org/doc/html/draft-ietf-bfd-rfc9127-bis-00 <https://datatracker.ietf.org/doc/html/draft-ietf-bfd-rfc9127-bis-00>
> 
> 
> Internet-Drafts are also available by rsync at rsync.ietf.org::internet-drafts
> 
> 
> ----- End forwarded message -----
>