Re: [yang-doctors] Dealing with BFD RFC 9127 client-cfg-parms for PIM, OSPF, ISIS and other BFD clients on some platforms

Reshad Rahman <reshad@yahoo.com> Fri, 05 November 2021 19:26 UTC

Return-Path: <reshad@yahoo.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 730103A0C63 for <yang-doctors@ietfa.amsl.com>; Fri, 5 Nov 2021 12:26:34 -0700 (PDT)
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=unavailable 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 Ek_fyMzniY0s for <yang-doctors@ietfa.amsl.com>; Fri, 5 Nov 2021 12:26:29 -0700 (PDT)
Received: from sonic308-2.consmr.mail.bf2.yahoo.com (sonic308-2.consmr.mail.bf2.yahoo.com [74.6.130.41]) (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 E16713A0C9F for <yang-doctors@ietf.org>; Fri, 5 Nov 2021 12:26:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636140382; bh=JHrcOsGEFZfgSptbhXwBCUkQV9Lg3cS2Pa8QH8S386A=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=ESQ9IT1fjW8I6baDHwqsZsZLE9DRPtldaIDVkDDR6bc1w1PoR1mnUb8P3U2GPXqrcEC0xPlDi4z7e2eklYC4p1sYHxa4Mdo530CHZe+yACTwz+BxVs0dT1+w0yHWkDk0FZNGEkm4e852HfaELtmyURn/a4CP+LQG7sLDGPzbNT6as75vr/rxsYCRlXqlpPNh1PGUvwE+qPcOkEv8m/eGwBXGXMS/2nWO0fSOLJop05srcXesrDWzAUulV0eNRTqXRpEL/1sCkHbIiBpYOjPoIuVsJl5VFbpt7c6O3m5I7y83esxcuAL2IdnbFHgfjwOHyup9DhZYC78Di2MLXdtdsQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636140382; bh=PXm53/4GB7yzh9MsOJEDUH3fG6GUjE+gK8kqBvxo79j=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=PtFC1RPinR16uROvF8d13Vz8tbGgDLMT12/BcMXa5MWrO/5nvzdoRT+GX2fHnwCyxKq3tVWQJuDPW5KeKI05DPuJo+XzVS2/NSxw5HD0sog2FsehCLbtXAvmGYxVHu/4UujIyewPX6UrHYau7UR6xCiM8hPmWkj0rHCYJwq3j4I2fT7x0XSrJLUtWEutRLZyu431wTLqhOw7KaUrMjAsMlTn9+uPIh61yshanDpQNBHKvFO8PXoFOSyNePtxW3YkQ9UmcEYrWH+kTMgWEne7wgJvCroR+7CmMHBwq6ZDQb7MFTjix9H6N1D+QW63acnFd1B9rb6uAH9/GJTelwHiJg==
X-YMail-OSG: dgBhazUVM1mrwmo2HIqaGIjOh5lJCwgo7PfF6WGYV.QDqlbXi2SPGVbCuRokdHl glJ91KNH5FO.cCjWnuKxD9IjWCQXirp3KNM6PGz15VRTxPWtSslapa0LmS1gpRcNOXvBoCHI.wnE _uKtMx6VmvpVsBr8KphWQNcU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UCQGAjBmqGzOSjSi_z8ODgcBwOpnFmqTBGHQG.rW 1PZ58pu.iWK05CoHawRXYObhL0rd6.g--
X-Sonic-MF: <reshad@yahoo.com>
Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.bf2.yahoo.com with HTTP; Fri, 5 Nov 2021 19:26:22 +0000
Date: Fri, 05 Nov 2021 19:26:18 +0000
From: Reshad Rahman <reshad@yahoo.com>
Reply-To: Reshad Rahman <reshad@yahoo.com>
To: Ladislav Lhotka <ladislav.lhotka@nic.cz>, Jeffrey Haas <jhaas@pfrc.org>
Cc: "<rtg-ads@ietf.org>" <rtg-ads@ietf.org>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "Rob Wilton (rwilton)" <rwilton=40cisco.com@dmarc.ietf.org>
Message-ID: <316113928.668710.1636140378658@mail.yahoo.com>
In-Reply-To: <1B8F7156-9BF0-4FF2-845D-CCAD9CC0684D@pfrc.org>
References: <F03EA616-E38D-4ED8-8ED2-C9E90BDA4B6D@pfrc.org> <BY5PR11MB4196E587238F741F8BD86C8CB58E9@BY5PR11MB4196.namprd11.prod.outlook.com> <f23789a7-561e-2211-f985-dfb570c1a6e9@nic.cz> <1B8F7156-9BF0-4FF2-845D-CCAD9CC0684D@pfrc.org>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_668709_84295199.1636140378656"
X-Mailer: WebService/1.1.19266 YMailNorrin
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/w8eC3xRFPYS-7IjK4FevC4cwop0>
Subject: Re: [yang-doctors] Dealing with BFD RFC 9127 client-cfg-parms for PIM, OSPF, ISIS and other BFD clients on some platforms
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Nov 2021 19:26:35 -0000

 Hi all,
I also support publishing a new RFC which would obsolete 9127.
Instead of adding if-feature and/or moving parms into a container, could we add a new grouping e.g. client-cfg-no-parms or client-cfg-enabled, for the centralized model? That grouping would only have the "enabled" leaf. AFAIK this would not violate YANG maintenance rules.
Jeff, we discussed the client BFD config when we gathered at IETF99 with the people involved in the various routing YANG models. My, also vague, recollection is that we had discussed deviations for this case.
Regards,Reshad.
    On Friday, November 5, 2021, 09:34:12 AM EDT, Jeffrey Haas <jhaas@pfrc.org> wrote:  
 
 If we can proceed with the ideal plan, we'd just take the recently approved RFC, make the minimal changes for the issue, and hand it right back to them after trying to expedite usual IETF review process.

The review is mostly at the yang-doctor level, I believe.  A bit of informative text about what we've changed in an appendix entry is needed.

-- Jeff


> On Nov 5, 2021, at 9:25 AM, Ladislav Lhotka <ladislav.lhotka@nic.cz> wrote:
> 
> Hi Rob,
> 
> so is the plan to publish a new RFC that would obsolete 9127? I'd support it.
> 
> Lada
> 
> On 05. 11. 21 13:55, Rob Wilton (rwilton) wrote:
>> YANG Doctors,
>> We unfortunately have a bug in the BFD YANG Model that has just been published in RFC 9127.  Because this RFC has only just been published the expectation is that are no implementations of it yet.
>> The local-multiplier and interval-config-type configuration shown in the tree diagram below should be under an if-feature (explanation in the email below).  Adding an if-feature is classified as a change that is not allowed under RFC 7950 section 11.  The proposal is to quickly bis RFC 9127 and modify the BFD YANG Model to add in the two missing if-feature statements.  Although this violates the MUST statement in RFC 7950, I believe that this is pragmatically the right thing to do currently and is in line with the current direction of the versioning work in Netmod (if that work achieves consensus).
>> Note, we considered an alternative approach of deprecate these nodes and put those leaves under a new if-feature predicated container but doing this to a newly published module seems excessive.
>> Hence, are any of the YANG doctors opposed to the proposed approach of making the non-backwards-compatible change and just fixing the BFD YANG module?
>> We would like to please conclude on this quickly since the 3 protocol YANG modules (PIM, OSPF, ISIS) are all in Auth48 and we do not want to unduly delay publishing them.  Hence, if you have objections then please can you send them by Friday 12th November.  Emails supporting this approach would also be welcome.
>> Thank for your input.
>> Regards,
>> Rob
>> -----Original Message-----
>> From: Jeffrey Haas <jhaas@pfrc.org>
>> Sent: 04 November 2021 20:32
>> To: Rob Wilton (rwilton) <rwilton@cisco.com>
>> Cc: draft-ietf-pim-yang@ietf.org; draft-ietf-ospf-yang@ietf.org; draft-ietf-isis-yang-isis-cfg@ietf.org; <rtg-ads@ietf.org> <rtg-ads@ietf.org>; Reshad Rahman <rrahman@cisco.com>; Mahesh Jethanandani <mjethanandani@gmail.com>
>> Subject: Dealing with BFD RFC 9127 client-cfg-parms for PIM, OSPF, ISIS and other BFD clients on some platforms
>> [Many of you have gotten this in different contexts.  This email is at the ADs' request to make sure we're all on the same page.]
>> Background:
>> BFD is an IETF "plumbing protocol".  Much like other bits of YANG plumbing such as the routing-config model and the policy model, there's an incentive to consistently implement configuration state in each of the consumers of the feature.  Since the YANG set of modules from IETF is IETF's "CLI", consistency of user-experience is also helpful.
>> The YANG grouping, client-cfg-parms in RFC 9127, was intended to provide this in any BFD client users. Many of those are IETF protocols that have YANG modules in progress.
>> Because implementors do things more than one way, there are two common models by which BFD is used:
>> - A "centralized" model, think "protocol bfd", where BFD sessions and their parameters are provisioned.  Client users simply say "bfd enabled" in their own configuration stanzas.  Cisco is an example of this model.
>> - Per-client users.  In this model, each client protocol configures BFD use AND also the session parameters such as timing.  Juniper is an example of this model.
>> Using the ISIS model as an example of how this grouping expands:
>>          +--rw bfd {bfd}?
>>          |  +--rw enable?                          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
>> In the centralized model, only the "enable" leaf is needed.  The other three leaves (max two depending on how the interval-config-type feature manifests) are only needed by the implementations supporting per-client configuration.
>> Problem Statement:
>> While resuming work on the BGP model, I noted that the above.  The concern I had was "what had we decided with regard to support each of these models?  Since it's been quite some time since this work was done in BFD, I'd forgotten the discussion and in somewhat of a panic, contacted Acee as an author of one of the impacted models to figure out what we should do.
>> I have a vague memory that this topic had come up in one of the last IETFs we were able to gather and my memory was that simply using per-vendor deviations on the per-client nodes was sufficient.  However, the popularity - or lack thereof - of deviations has changed over time.
>> Acee had proposed an update to the client use of the BFD configuration state to predicate the per-client leaves on an "if-feature".  His original proposal did this if-feature by moving the BFD base-cfg-parms grouping into a container.
>> While discussing this with Rob, we realized that this was also a structural change of BFD in each of the impacted YANG models, which was problematic.  Minimally, we'd want the Working Groups to look at the changes to see if it's okay or not.  From discussions with Mahesh on BGP, another suggestion is to preserve the existing BFD structure, but add the necessary if-feature to the impacted local-multiplier leaf and the interval-config-type choice.  Acee seemed to think this might be reasonable.
>> The open question is how to keep the pipeline for RFCs moving quickly.  We have two options that have gotten discussion:
>> 1. Update RFC 9127 with a quick -bis.
>> Pros: Ship the existing Cluster 236 drafts with the work simply implementing "use client-cfg-parms", so no changes there.  Fix once in BFD, everyone benefits.
>> Cons: Rob and Alvaro raise an issue that the necessary change in the BFD model may violate YANG module maintenance rules.  Given how recent this RFC has shipped, this might be an exceptional case.  Also, there's apparently work in netmod about relaxing some of the restrictions we've created for ourselves.  This email is partially to seed some of that conversation.
>> 2. Take the expanded groupings and paste them with the necessary fix into each of the impacted models and -bis RFC 9127 at a less frantic pace.
>> Pros: Frees cluster 236 documents from further entanglement from a MISREF.  Doesn't depend on the IESG agreeing that adding a if-feature in 9127-bis is a no-no or not.
>> Cons: Copy and paste makes its own headaches.  If we do need to revise BFD, it might be a goal that we have positive impact on all impacted IETF BFD clients.
>> Observation: As long as we stay structurally the same in both options, a consistent user experience is maintained.  I'm personally okay with that aside from the maintenance issue.
>> My preference is option 1.  Get the -bis published and through our processes ASAP.
>> As noted in the attached diff to 9127, the core potion of a -bis document is trivial.  We'd just need some additional text to explain why we did the -bis.
>> -- Jeff
>> _______________________________________________
>> yang-doctors mailing list
>> yang-doctors@ietf.org
>> https://www.ietf.org/mailman/listinfo/yang-doctors
> 
> -- 
> Ladislav Lhotka
> Head, CZ.NIC Labs
> PGP Key ID: 0xB8F92B08A9F76C67

_______________________________________________
yang-doctors mailing list
yang-doctors@ietf.org
https://www.ietf.org/mailman/listinfo/yang-doctors