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:42 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 083403A0CB2 for <yang-doctors@ietfa.amsl.com>; Fri, 5 Nov 2021 12:42:14 -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=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 aPhL2v3hWZQz for <yang-doctors@ietfa.amsl.com>; Fri, 5 Nov 2021 12:42:08 -0700 (PDT)
Received: from sonic311-14.consmr.mail.bf2.yahoo.com (sonic311-14.consmr.mail.bf2.yahoo.com [74.6.131.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 6FB123A0CB3 for <yang-doctors@ietf.org>; Fri, 5 Nov 2021 12:42:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636141326; bh=adfVPt2BZ2f1nM3aG8hUW2NJcctJQHzHtz6NUeOgzq8=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=lw1J3J0qwUb6YIybuSUzGzVxpZu9JVqcEA6MDn+X5kESE6d+YCXqraeVgFnROAbT1uYvOZ0Lbxy1zebbdqkOgLVdKkUdLZX/oytzTBn7DC+KHb++waAVy2CzjX8eqmA11oDipjIUrJ0vptiUltOs5KEFxdsUB7iwa0YRFSNsSPDOemNXApxCuux/f4SYR5t9Bnq3787lhPPYdP6nc53TGApWY1kaWGHcsN9MHD4LuD943UYT7iIbbw53yGwIX0bMjK+VSrBm6JlaO7CbvwKLbNejFyAtMKa5Ybs5yi54wOW9gxmy28cbcZCgpMhCZTBpC4YppEX26uX3ddpQBn830Q==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636141326; bh=dLNGJLnwvQp8eHtpsArho3aueEbOnN9uYtjnIcw8X9P=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=EU7AeKBP59HA4YSfsjWQzez4PQen1j5nH3RQK+MDbp0a8+nxC+WPUIAZv08rbSDHQfXk2S4MEP7reRBxJN32gwAaCUYv93mkdcLRQkSRwN6VMZZLsoBXN+eP4F4qcxmB/WHLv2LBIBhf7ZDU/RP+AYYSSeN33j0Ij1Tzd18jtAWbAU+CXpuqHNg7/JQuzUV+2T+cS/ygd3qGu0dwe+nvq8TFBOP6/Iz4/hMmollMJUEwD34LS9H/oOa1QseZIBmXLzH20DZryI5o3fvRMz53UKrTd/OWP8/ZyUwTQocFoK8iLD+hoLbokyT8PK3tPlec8lgh/zwbEnPc5E4P8o5SnQ==
X-YMail-OSG: SWQDHVYVM1kZwBT62WWpbXaWWm10yZKnK4dw1P83m4z4bErfM_kKxWfkYtOfCfk Q39YkA1J6DBAPZsquzO7ZR1RUFEoYxdLDG7SDDVU.Q2dw_Ir1Y6uqEG535kuq6xYj_SkY6L7RcYe NS77ubEOYHuxJ9la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1OBOp6mI3FYYCKmEuHWp78mpFui_9qjqXDkbLl.FMS3 bRqEUh8_SaHrspy9oulWCn50q
X-Sonic-MF: <reshad@yahoo.com>
Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.bf2.yahoo.com with HTTP; Fri, 5 Nov 2021 19:42:06 +0000
Date: Fri, 05 Nov 2021 19:42:02 +0000
From: Reshad Rahman <reshad@yahoo.com>
Reply-To: Reshad Rahman <reshad@yahoo.com>
To: Jeffrey Haas <jhaas@pfrc.org>
Cc: Ladislav Lhotka <ladislav.lhotka@nic.cz>, "<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: <1709198265.667892.1636141322701@mail.yahoo.com>
In-Reply-To: <AEB57886-5038-45CD-BCDC-48CFFA63A1FC@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> <316113928.668710.1636140378658@mail.yahoo.com> <AEB57886-5038-45CD-BCDC-48CFFA63A1FC@pfrc.org>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_667891_1369698525.1636141322697"
X-Mailer: WebService/1.1.19266 YMailNorrin
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/ssuYJ7ve0aEP4_HdNzvntjxfm7M>
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:42:14 -0000

 Hi Jeff,
You didn't misunderstand. I incorrectly thought that we just wanted different clients (e.g. ISIS vs BGP) to choose centralized v/s per-client, but on re-reading we seem to need client implementations to choose (e.g ISIS vendor A v/s ISIS vendor B).
Regards,Reshad.
    On Friday, November 5, 2021, 03:30:17 PM EDT, Jeffrey Haas <jhaas@pfrc.org> wrote:  
 
 Reshad,
Thanks for remembering what IETF that happened at.  It's been a while, and my memory isn't greatest at the best of times.
There's a good chance I'm misunderstanding your proposal, but if I do, it's not going to help the general case: We need to let clients have the option for either centralized-only (just the enabled leaf) or per-client and also have the multiplier and intervals.  "enabled" is a common feature for both centralized and per-client so I don't think a feature helps there.
If I'm misunderstanding you, please consider attaching a diff.
-- Jeff


On Nov 5, 2021, at 3:26 PM, Reshad Rahman <reshad@yahoo.com> wrote:
 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