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

Mahesh Jethanandani <mjethanandani@gmail.com> Tue, 07 December 2021 22:49 UTC

Return-Path: <mjethanandani@gmail.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 5CB453A198E for <rtg-bfd@ietfa.amsl.com>; Tue, 7 Dec 2021 14:49:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, 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=gmail.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 gEMjNAz2nHri for <rtg-bfd@ietfa.amsl.com>; Tue, 7 Dec 2021 14:49:52 -0800 (PST)
Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) (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 2DD4A3A198D for <rtg-bfd@ietf.org>; Tue, 7 Dec 2021 14:49:52 -0800 (PST)
Received: by mail-pg1-x52d.google.com with SMTP id g16so405825pgi.1 for <rtg-bfd@ietf.org>; Tue, 07 Dec 2021 14:49:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=Nb9uswJtQsOEHrT2BYDqShlA+6yCkkm+9Ui31GP0zzo=; b=YaYTBziKPuA4v9QrxidnTTy46h/f7XPsAEnQ3Sn4ou/ipHtxh2GAewQGe77UznVulJ RoMQXFDZot4BHCCTqwMUSpFDdi3KZPFYVXk3nNXwouLUL3q33cUxx2aMrTpROsOpeCa6 mFWLvZJe0BcXXtmISNB/rDox9kFTdm2WMe2Z3czvTzdj3FsqA5Le5ZXosAoZJ1Xhcgas DZ7JiFHKKB1WMW0iZ7gCDigFeN943INUlG9FLN+nY5608xugHZljXignEY3oY4nWLj/P Mw8fXgtdAWWkFtR7JSEEgQ9Jg2o1sRvagAChir/fXVIWfwR+6swpaLIxMJ1YHx3F6pBc P/uw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=Nb9uswJtQsOEHrT2BYDqShlA+6yCkkm+9Ui31GP0zzo=; b=GvIkWQIdA6/yLzt2HfmuZvZ0XljteTapXG2/kym5Q6LPgyH/9GJ7169VKPUTxnnSIT xDfuNV32VoguHIjf9ut5YRYIqhA+7pWlcbnGDKV0cQhiwcK2PUTmBb2asDiZg4nrbvXe NjAfm0cdJFkXSWh53HIlIZhnMaOtao8s7shOtx2zzfGMNKVVLJB7pRFRQbS+ofMubXUd gv4xWudl1CB2nXI3FstolavmfMQydpP3KFFynBmbss1rkyRSAk+Mkl7ycU+/e5r5CPFx mgZgXT3shoGzj8FA5XDWCsuz3fhsSl831zc+/Xdv5VdCteyJxRMpu6qUoPjNwjMg2xfJ npLA==
X-Gm-Message-State: AOAM531idAyoKZaQdlrluANmUx1k8H9H/ng25QZhWRwHNLaZEB2rqxv3 Va8BRk6KLDg873l1Mwzf0YY=
X-Google-Smtp-Source: ABdhPJxzOK0yDczwOsjDQGWPNFRww1wz33RWdCzjizJYeWKSpeEob9tBfWKXlnuU4iHihzFJ07Y0oQ==
X-Received: by 2002:a05:6a00:a89:b0:4a4:e9f5:d88a with SMTP id b9-20020a056a000a8900b004a4e9f5d88amr2153453pfl.28.1638917390815; Tue, 07 Dec 2021 14:49:50 -0800 (PST)
Received: from smtpclient.apple (c-69-181-169-15.hsd1.ca.comcast.net. [69.181.169.15]) by smtp.gmail.com with ESMTPSA id e6sm507669pgc.33.2021.12.07.14.49.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Dec 2021 14:49:49 -0800 (PST)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <B5B01DA2-476D-497E-A915-6099A769B18B@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_9230F7B7-7329-4BAF-9355-AA2951537C7B"
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
Date: Tue, 07 Dec 2021 14:49:48 -0800
In-Reply-To: <FF68480A-64D5-4FE1-B10F-1B593DAB7484@pfrc.org>
Cc: Reshad Rehman <reshad@yahoo.com>, "rtg-bfd@ietf. org" <rtg-bfd@ietf.org>
To: Jeffrey Haas <jhaas@pfrc.org>
References: <20211207134328.GE1566@pfrc.org> <1558061691.2992955.1638886490305@mail.yahoo.com> <FF68480A-64D5-4FE1-B10F-1B593DAB7484@pfrc.org>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/yc26BkTSGu_JQx6DDyNLG1O-wSQ>
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 22:49:58 -0000

And a fix for it lives in GitHub at the following location. Will post the draft once we have received all the comments.

https://github.com/mjethanandani/rfc9127-bis/pull/7

> On Dec 7, 2021, at 6:31 AM, Jeffrey Haas <jhaas@pfrc.org> wrote:
> 
> 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 <mailto: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 <mailto: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 <http://rsync.ietf.org/>::internet-drafts
>> 
>> 
>> ----- End forwarded message -----
>> 
> 


Mahesh Jethanandani
mjethanandani@gmail.com