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

t petch <ietfa@btconnect.com> Tue, 07 December 2021 17:23 UTC

Return-Path: <ietfa@btconnect.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 B71143A0BB9 for <rtg-bfd@ietfa.amsl.com>; Tue, 7 Dec 2021 09:23:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.752
X-Spam-Level:
X-Spam-Status: No, score=-3.752 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, NICE_REPLY_A=-1.852, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.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 1cpCXAOm0LAj for <rtg-bfd@ietfa.amsl.com>; Tue, 7 Dec 2021 09:23:03 -0800 (PST)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0711.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::711]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 383543A0BC0 for <rtg-bfd@ietf.org>; Tue, 7 Dec 2021 09:23:02 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GJEB+OeFPSc0RmCtGB6iloUFUjOIMjJbjAV73HcGx4vPGMCDt+S7JNnTtQwrWkLvFyWG6kgLFigTLS+PX2QGtfLfuIGYWiTIH5QM97eS3YZYx8U2b28bLeue9gEOE5zZSf8i042UtSeJh+yE5A+rYkOwI66xKkebhRbr6OjvqH1Np7TRUnGqH7e+bTejJfhujUGNOyuzdG+3sAKFaWQ+5Zg0vWep8qFOWcRm0aefSur1yO+jcI4uLzf7tgniPI1erk2DNxC5mb/xx7MflCMtw1Y3P8UTC/fn16rJ6RYGK4Jj5B5p3dmPcbSNP8JupItMtHI5eIOvq9Byvh7wFE75tg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Lj5Rsle9qmFUPh9UwhSGEEwQPzxd2NsksWjqhxFAuRI=; b=CYUnl3hbqH0GujieImyU7e6DapfTC/dTr2K5oWxgsZDoUdJK8kd77rJtiYLCWdSCFg2QrmEqisHSXgd7L0pZMVvM08CWyAq+XmBY8BYh1sLbjSHkNaPbxvYMKnWpLRY5pocKOzGgemqJoraBS0yC1s4iCJgQaVumVfApt1CuPZJIc1/e5xsTHsKjMNQ+5iJYP0YnRawIsbArGsJg3bJqeXEt9/eM2dyg0JhbrO+fEAbZP2OqviUfz+/gLSQsU3eF8ZqMIZEHD6ZDdi3zdTcf4Kf8kBAt6WPkj+CkWdO6Zxz7u1mhH5+rzVmpw6mp4cEuWeKUDtQt7LdzGhkiWNVlDw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Lj5Rsle9qmFUPh9UwhSGEEwQPzxd2NsksWjqhxFAuRI=; b=PRFuhD7OtiY2mod7l959cKV0ElfYlR3g8qplmvC0DVgb/b+r6F6WFOSWPjqMNQAw+5AMBGZDZ/ZK0NtD975fmxNHoNO7j620maTYDLinTfCewd5G87BNdTNYsssbOac7cdsJ9m/sGo5GgSRYs7cpou6TkuYI703WODf1v2EGrsc=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=btconnect.com;
Received: from DB7PR07MB5546.eurprd07.prod.outlook.com (20.178.44.215) by DB7PR07MB5193.eurprd07.prod.outlook.com (20.178.43.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.10; Tue, 7 Dec 2021 17:22:54 +0000
Received: from DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::2090:eb3c:59e2:b4b2]) by DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::2090:eb3c:59e2:b4b2%6]) with mapi id 15.20.4778.010; Tue, 7 Dec 2021 17:22:54 +0000
Subject: Re: Working Group Last Call on BFD YANG model, RFC 9127-bis ending 20 December, 2021
To: Jeffrey Haas <jhaas@pfrc.org>, rtg-bfd@ietf.org
References: <20211207134328.GE1566@pfrc.org>
From: t petch <ietfa@btconnect.com>
Message-ID: <61AF9861.2050302@btconnect.com>
Date: Tue, 07 Dec 2021 17:22:41 +0000
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
In-Reply-To: <20211207134328.GE1566@pfrc.org>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-ClientProxiedBy: LO3P265CA0009.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:bb::14) To DB7PR07MB5546.eurprd07.prod.outlook.com (2603:10a6:10:73::23)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 3eb947c8-9bdd-40dd-980d-08d9b9a63402
X-MS-TrafficTypeDiagnostic: DB7PR07MB5193:EE_
X-Microsoft-Antispam-PRVS: <DB7PR07MB5193B8E0724436B7B7F5346DA26E9@DB7PR07MB5193.eurprd07.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: z4sGwmyRopeQzGm4f9Ta45p3dln8VkGZQ4ky8Kw6+N/LVQSelkc954pANaLvUk7E1WxClcCGc6xd1E/dg/xqtgR6uZhKXFhR9JOYeEx/4owKfiWeKGLxXbU81YKOoA44IknL0pmHIaS0UV3Zhd6LIV/JrXm6NYHO7oyQQKjuvvvk//sEMPsrKKUC62n2Xyga3uc08NgqW1xEdKeZNwZuCyEtPc+i7guC4A5fcaMpjRfjDe6hMNdZJJYqryES6M9CqTtxoET0ESalj77TreH2QmyBjA/h+Fo4eZAo5nThWJ2ul4U+PZzqh7jxxhgEXkoCLLqcy0v2vF7zp62AthYpXX8cQojJugpWEiwBZN3Qia+crmVSHviVEFRs3BxMDubZ0+4PfCkTux4kmQZB1OSxBGHK8/LUGazgOe7x/TdddenzKAXXejOwKmJ7T2wXkOrbtUqlKQ5cMbH6az50aUhliEXgJO8x4mJ9NCTKyc3nIp+vM00XnNYpkGuLvaJX896dND4Al13VESmNloff7wZLu9Gg5q6+cXhe/bYoPWoSi8OOedQLbbS/xdm0pi4jVuFerB4L18IetliC0zQL42VvDcJUpeL0k/VH4fP68/P8NmgMrSjpQ+Z6vJl7Dfg5kEFja0EeFoPWZdpY1Zmrr0Oy6v5A5Dw4VhzJcZ47FyezCYAOzNmK20O8A8tWa3aQf2/aA1rKZwKPikYHWOnjo7YwitS7z6V2vodbAXZ0oW9pGJ/adolUShGvMafHfAxaE2HnTCa8qmWoYbXZMMSqpCrc+G+a9v0185913cnSU8SRJc7KNJBq2XHOPed2sLlcW0kc
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR07MB5546.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(6486002)(8676002)(5660300002)(8936002)(83380400001)(52116002)(6506007)(36756003)(38100700002)(38350700002)(53546011)(87266011)(86362001)(6666004)(966005)(66476007)(33656002)(66946007)(316002)(66574015)(6512007)(26005)(186003)(82960400001)(508600001)(2616005)(66556008)(2906002); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: UXi3HcjzfDYjAItkp3+rRAIzfsrCvnl+A1ysKlKibwkib4L4A2ay9w654KllfVNECSEkOP9fM0eJwHJnwA5uaGpFKJIZumtnYq37SSIjwFx8Npxt5PyyHQkzTPNuOGxOUOoq8Sa4WexopGj/Gh4wL5c0avhFpyFEtT0grZ8OJmHoYrFgX86qJbOwBTU3THPpjBWjvBWud5P87VSedW1T6SeR7mctcE7UnYONg6k7boAKfwBmliCI/dGx5hkMT5U1hX3DAa1g4TBJYZCat3anurqL+siHSDbRUjRxrKgpSCGPWfR0bgT/vD7WJy9Sw/1j5IkdYTY1jjd+/YQPUhppbznH1pTMcKZ5CFtOhDWTa7cSqIaVh/Oj/bXq+fjPMLJIoymdwhVtzkAjynwMPsapDwmwGjp9BBjKwIw9Li0D6lZc9WpMcuOZNOgAQOBnzlLQId4xOIhdPMBh18wc4eC6FLnbcH5s24OzBNtnwsadZGb/FGBzTh5cUwF9n00Gh2EuNRVz9VM0A5l3dVgSnOFe7auRT8wcfusPJfsBbxOD7/1Ejfz6VH0pcIER1xTb9bMZ5slD94XhMednpVTfPeqrUw9DjTzA6HYwqw5ZYhOdkRsUBENEzbFhxB5SAV0CSLe5QF67+BIeuYNLnaCbzBH1t5zI2r+PV/F9Kn/p78hF4jUAJIDObnvOnXrAh0gmWHBVgFO07Zj/y2sy0zIqtSW2VGf7rjK5naVbEB8d2nhjiJCL9POOL8qwu2AJIz6SGU19NsB7J26Y+j243es3n5uIA6tKqaXdoLjdzu1p/K/cRVw5cxfixoN3KWQ/VenIzD6i8E0VCkWupurCcqkhvEzC5UP7UQcP+tjm7cSP91cVc/HSwNBLYVL+sEy4Ug5DyU5pSRUOJuksNi/aA6uqxPNcWL5XpjADqiX3KnapTnrOq2HbD+34orL8Oh6DvQ+mMA93SywceZRXxJAeI3RSAL4aDM0YSVTcR5DX1oZ90X/1rF5MlUTOj6UpJwgLBRcZeq+TfMj3P804QVvUv3p1+KtltOulhkpGNBlir1ha9Q6jo+dLkC22CNObGYNj3zlhcH7k5Yk9zmdQpanKfSzg5ce1otIMMLA90m0trxA7S8wcvTpAyryW8g8cTigK/ZxmuROKWFH/HUPnbI+JgybuJuMltsLbnL70m3E8f7bHTkyJ+j1sKlktEHcCL5RmPXNJRrJOnFKSqkmvVir0DQ75htBeXprHNKpu5nTYT6DcDeo3xwZZQuid7npuTxpVol/KfRMJYytgVyijXWQJh4ZarV1I+SFBMjF8szwj0VY7fRr/REGJydSQPpthaZjwsgAgNEjoRWsJJrM2kD4w9S0cfcknXjolYuTELRRY7ZEO4DSPpBxXYsFOqg0V2X+1k5kXY8HDbnJaMm3TJJfk9CUqy99ZOa6pT6GSXO1+ok4CWECuhbn1uaKotaav6g/PTSISYfEOjWpCyP7ZLDSoWxsb1zbcw0CS8lClnDpvPrPBJC+BhROY2AAGuhZaxxy9HMagzJk18MQKtxXR3SEyPOgryV4eXhUQnKngTR6zSgMenzdHESSsa/x2MSyjRYmO62KcAk/+VvVAfULUBwevSPuM8ghA93m8jivh8tJ80TTXcJRbs10=
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 3eb947c8-9bdd-40dd-980d-08d9b9a63402
X-MS-Exchange-CrossTenant-AuthSource: DB7PR07MB5546.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2021 17:22:54.2767 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: pwupWp+B9wsobs3/cI0ZZlRy+tOfGrAVAsRVVDgoOOAen+Q+gSqY5JwM03NSsdzfVz7/NiKOxIvsVGwo+fEqVg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB5193
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/rVXna4FBM5S8MO-Lfy9B54NFYQc>
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 17:23:09 -0000

On 07/12/2021 13:43, Jeffrey Haas 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.

I am not clear that this is a valid update to a YANG module as per 
RFC7950; if not, then the name of the YANG module must be changed, not 
just its revision date.

uses base-cfg-parms
is currently unconditional so software written to 9127 can expect the 
grouping to be there.  Software written to 9127-bis may choose to not 
support the feature and so the grouping need not be there.  If the 
leaves were mandatory then this would be a breach of the RFC7950 update 
rules and not allowed; but the leaves are not mandatory for any reason 
that I can see (although I have not checked how the bfd-types module is 
used in the work of other WG) so I am unclear whether or not this is a 
permitted update.

I think that this is one for the NETMOD list to consider.

If it is valid, then the -bis will need quite a lot of updates to make 
it legal e.g. almost every instance of 9127 - something in excess of 40 
- becomes XXXX. I also think that RFC9127 would need to stay current for 
the sake of existing software.

Tom Petch


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