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

Reshad Rahman <reshad@yahoo.com> Tue, 07 December 2021 14:16 UTC

Return-Path: <reshad@yahoo.com>
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 39E7F3A165D for <rtg-bfd@ietfa.amsl.com>; Tue, 7 Dec 2021 06:16:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com
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 nXKVGfmMd9Po for <rtg-bfd@ietfa.amsl.com>; Tue, 7 Dec 2021 06:16:15 -0800 (PST)
Received: from sonic310-14.consmr.mail.bf2.yahoo.com (sonic310-14.consmr.mail.bf2.yahoo.com [74.6.135.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4475D3A0A7E for <rtg-bfd@ietf.org>; Tue, 7 Dec 2021 06:16:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638886652; bh=3a4sKYOqmsYH51bN7ABoswiqZ/R8jyZjmj0UNx8yEmM=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject:Reply-To; b=F3cKVIe5IwZb8Mn7pBmPzWfNkrQ9gtbxfA4qPm/+MnWkKrk7qSyG/b0e6lOlk5IiHS+MWBGgg6p5QWI516yXOlGKvjb1AhWWmwHHyujJb9OJT5Y2qtfM0AUjsHeVh1PA1GqjXlxl/4LsWAIxvU22Ro6RhRin8jHhemVj+0ZXIUOQhEx66VL6SEISbY+77FMHHRdYg08fuxXE9Xas4BOsCSREAZ5FyieFn3vR3yIHNb7e+y7bwaqFAFnND5B/XfGabski5OClmsfeBKDB4X4W2DmJdC1EaleRHWLHhYGVgpCFeJbc10XTtivqmvHnBlMznqqYsJieuFanoAyjB9nPwg==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638886652; bh=xr3iF5LXD/ELgTar7fKL8Gdlrzz/vXsGI2YZN6vh/zh=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=oAxycrL8A16910RjB4AHJUhKWr0ZGI13xrsNAfSqpkWEd8/uYVvDFVB7bgwf+aUJVorMoA4gXVsM/zmv2YHk6b8U45q/UP7PzjZ52kkIS87PFlEtS9aRQqhn03ku0lAw2h3ab1sP3AwSdKhKoRsDK6Q7utHWu2ySTcGk0+uYoOmh8BxrmiqTHI5BD2gnSNAfJO3eNNzrPmjEqCIDS1df091vZA7VTxa5H9zuSykcASk5mIddmQZkM71KoYf/bgtKPr/XVTZr38YI/DPJ2JhYrkfxWKKjfyiG6PSOpHQed/o9quioN8cipy1eFTdklrk8C7/N4F7Q9gbBs6hcTWyA2w==
X-YMail-OSG: _RYtij8VM1l_XmPJMPoEWJybB45UBsAO63fwhfevH2hjco2DpkBX0M8AOw0CmX8 tobyepJDYnHEHwROKy9GQ3H.oi8oZWUJqt60cXb_YBPX3u.CI1XU7RbRkPiNEEF0RcmKLJ_43Ljd TsbmlOP9Fa4ifcS4PLFW0kP89fbqZmrbdEeUw3Z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7dCHPMJIVi7Qc6zqQvd vVNxNAvxhm0K4GBXAqVsGXQ--
X-Sonic-MF: <reshad@yahoo.com>
Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.bf2.yahoo.com with HTTP; Tue, 7 Dec 2021 14:17:32 +0000
Date: Tue, 07 Dec 2021 14:14:50 +0000
From: Reshad Rahman <reshad@yahoo.com>
Reply-To: Reshad Rahman <reshad@yahoo.com>
To: "rtg-bfd@ietf.org" <rtg-bfd@ietf.org>, Jeffrey Haas <jhaas@pfrc.org>
Message-ID: <1558061691.2992955.1638886490305@mail.yahoo.com>
In-Reply-To: <20211207134328.GE1566@pfrc.org>
References: <20211207134328.GE1566@pfrc.org>
Subject: Re: Working Group Last Call on BFD YANG model, RFC 9127-bis ending 20 December, 2021
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_2992954_160283758.1638886490302"
X-Mailer: WebService/1.1.19306 YMailNorrin
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/n9YGTNYTsdb2xyjIlY244dPmJpg>
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:16:20 -0000

 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 -----

Date: Tue, 07 Dec 2021 04:26:39 -0800
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: 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/

There is also an htmlized version available at:
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 -----