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

Mahesh Jethanandani <mjethanandani@gmail.com> Mon, 08 November 2021 21:52 UTC

Return-Path: <mjethanandani@gmail.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 E02F73A0CAF; Mon, 8 Nov 2021 13:52: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=unavailable 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 WiTvOmVBy1y0; Mon, 8 Nov 2021 13:52:52 -0800 (PST)
Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) (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 485B33A0CA0; Mon, 8 Nov 2021 13:52:52 -0800 (PST)
Received: by mail-pl1-x62b.google.com with SMTP id b13so17099331plg.2; Mon, 08 Nov 2021 13:52: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=DpQ7LkRM0YZpv6Vy808+evW0Qs3QkioiaVZmtcUuZIs=; b=nlRQbeWszh2bYzOPa8bG5d78Vd+lyVSv3Hd+7nWh0yMvs72LnL9aTe410hhiGnROEx 0aI2Nx64FBrUrk4Ihq41UnEHFVB5h5t4neEOwa7yzg7IpRbpEka8oCpbyaVQXJkOX20F +wiWX3E5mA+k+cknJ5+VNShIXkKNanEvyIEb84PwHFUvn0L0A2nUjjPeCb9zY7aX3s9f UAojjDkKamMYE+x97kJiguNSFlcUVzTlHXlzuWZGcRjISa03A07+vSwTq9ntvAKlsUY9 0Ckxiu7Bxp8SRiP7U17Cg51XCtV/g1OkiWLN1twiN11icRaa0DDgWP8+FqUgLmyu2z1L 8WNQ==
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=DpQ7LkRM0YZpv6Vy808+evW0Qs3QkioiaVZmtcUuZIs=; b=cXHlTJAD2Fo/OWyiTaOgDbf6ucMhpHYWSmggCvyNo8EbDEliWFs9Fv1yEsclJ8kWON ndMzDJ8VvjFMmxvoaMQNmw9EuUngxhoSAIvsckiWGrScNaqr+77zCsvCAdvH+O5cDE3N EAymKWQDojq+8qwSriKzdZI2c/yb5d2d9C5kuJYtY/a2LL5YRcvevIfcSrRzl9mQBCpI kfuMyxFXnmD7iJpM3O5GCR37jynQEF5FqMDXtCnLga7fPrOB5Ulg9CGeSvygiEA7cR6E cRh7LG+e9GEdDpsuYNLQzXa3JG0Wg7Bhl+cjMyzvhFr8Zwx+OWnJxQVYcUfvdLylkOIw hSaw==
X-Gm-Message-State: AOAM532+3hdOh6IUrI1siuh2XBKYc+rZR8bz4JjyvDspxwZtYjSJwK3o MyiyBaiPCAqyTPtinxf2uMU=
X-Google-Smtp-Source: ABdhPJyT7jMheiNXaMGstN9Dwdvmm4Jx85fcKeCvKPO2eda8WTBLcA34pZo/ZfExil53TaLOxvW4Yw==
X-Received: by 2002:a17:902:ec8f:b0:142:11b8:eaaa with SMTP id x15-20020a170902ec8f00b0014211b8eaaamr2456209plg.81.1636408371243; Mon, 08 Nov 2021 13:52:51 -0800 (PST)
Received: from [192.168.1.133] (c-69-181-169-15.hsd1.ca.comcast.net. [69.181.169.15]) by smtp.gmail.com with ESMTPSA id k20sm17696559pfc.83.2021.11.08.13.52.50 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Nov 2021 13:52:50 -0800 (PST)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <7CF832CD-D0B3-4A46-8153-6AE7210BAF77@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_41374912-BDD2-4E67-85C3-778EA823346D"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Mon, 8 Nov 2021 13:52:49 -0800
In-Reply-To: <396969E9-83BF-41D5-8C10-079A39D2BBF4@pfrc.org>
Cc: "Acee Lindem (acee)" <acee@cisco.com>, Reshad Rehman <reshad@yahoo.com>, "rtg-ads@ietf.org" <rtg-ads@ietf.org>, "Rob Wilton (rwilton)" <rwilton=40cisco.com@dmarc.ietf.org>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
To: Jeffrey Haas <jhaas@pfrc.org>
References: <316113928.668710.1636140378658@mail.yahoo.com> <E5128CE2-3EF9-4723-85C6-D5BE3E1E826A@gmail.com> <D018DDBB-08B3-4671-8EBF-5DAAC4D7528E@cisco.com> <BD68BAE3-7CA0-466B-A16A-E94FBAFD0710@gmail.com> <761418F7-F382-45EE-BD96-27317587C8EA@cisco.com> <7C1C266F-DD19-4274-8967-9A54B68C5F62@pfrc.org> <0B440C73-DEAD-475D-9111-8B76841F0B24@gmail.com> <478689A9-35DA-43D5-A4B3-28C702571D44@pfrc.org> <648DD172-F0F2-424F-B601-4D4AF1E3F7E5@gmail.com> <396969E9-83BF-41D5-8C10-079A39D2BBF4@pfrc.org>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/nvsQYP4Us2ZU80AhE5UrL6vEtUo>
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: Mon, 08 Nov 2021 21:52:58 -0000


> On Nov 8, 2021, at 1:41 PM, Jeffrey Haas <jhaas@pfrc.org> wrote:
> 
> Ah, now I understand.  
> 
> I think that means the leaves that use client-cfg-parms would need to be if-feature bfd and if-feature client-cfg-parms.

That is correct.

> 
> The references would have to be RFC XXXX.

Yes. I should have changed it to RFC XXXX instead of RFC 9127, as the latter does not have these feature definitions.

> 
> And perhaps if the namespacing isn't clear, perhaps the feature shoudl be bfd-client-cfg-parms.

Sure.

> 
> Add the Appendix of "changes since RFC 9127" and I think we have a document. :-)
> 
> -- Jeff
> 
> 
>> On Nov 8, 2021, at 3:01 PM, Mahesh Jethanandani <mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>> wrote:
>> 
>> Hi Jeff,
>> 
>> And here is the full set of diffs that I had in mind.
>> 
>> <rfc9127-bis-diff.html>
>> 
>> 
>>> On Nov 8, 2021, at 11:12 AM, Jeffrey Haas <jhaas@pfrc.org <mailto:jhaas@pfrc.org>> wrote:
>>> 
>>> Mahesh,
>>> 
>>>> On Nov 8, 2021, at 1:49 PM, Mahesh Jethanandani <mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>> wrote:
>>>> 
>>>> Hi Jeff,
>>>> 
>>>>> On Nov 8, 2021, at 10:19 AM, Jeffrey Haas <jhaas@pfrc.org <mailto:jhaas@pfrc.org>> wrote:
>>>>> 
>>>>> 
>>>>> 
>>>>>> On Nov 7, 2021, at 1:56 PM, Acee Lindem (acee) <acee@cisco.com <mailto:acee@cisco.com>> wrote:
>>>>>> 
>>>>>> 
>>>>>> From: Mahesh Jethanandani <mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>>
>>>>>> 
>>>>>>> With Jeff’s diff, you’d still need two features. The base BFD feature which is in the protocol model and the bfd:client-cfg-parameters in the diff.
>>>>>>  
>>>>>> [mj] Acee, I was merely trying to point out to Reshad that we may not need a separate grouping with just the ‘enabled’ flag called ‘client-cfg-no-parms” or ‘client-cfg-enabled’ as the ‘enabled’ flag is needed by both modes of operation. I am fine with Jeff’s diffs.
>>>>>>  
>>>>>> But since you bring it up, how about moving the base BFD feature definition from the protocol drafts into the BFD types definition file, so there is one single way to enable the feature, rather than each protocol defining their own feature definition?
>>>>>>  
>>>>>> Sure.
>>>>> 
>>>>> The original diff I had sent out vs. the RFC was lost when the yang doctors were added.
>>>>> 
>>>>> Here's the diff again.  I think aside from adding appendix test and a little bit of word smithing, it's about all we need:
>>>>> 
>>>>> <rfc9127-bis-from-.diff.html>
>>>> 
>>>> All three protocol drafts (BGP, ISIS and OSPF, I did not check PIM) define their own feature statements for the base and for the client-cfg-parms in their own models. All I am suggesting is those feature definitions be moved into ietf-bfd-types YANG module as part of this update. But if the desire is to keep the change to the min, I am ok with it too.
>>> 
>>> My diff had it in that module.
>>> 
>>> Here's the full .xml for you to peruse.
>>> 
>>> 
>>> 
>>> -- Jeff
>>> <rfc9127.xml>
>> 
>> Mahesh Jethanandani
>> mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>
>> 
>> 
>> 
>> 
>> 
> 

Mahesh Jethanandani
mjethanandani@gmail.com