Re: [netmod] Does defining a feature require the module be implemented?

Kent Watsen <kent+ietf@watsen.net> Fri, 20 May 2022 13:15 UTC

Return-Path: <01000180e19bcd37-22dd5fc0-b39b-4d92-ab51-7bbbfbe653e1-000000@amazonses.watsen.net>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1193EC159497 for <netmod@ietfa.amsl.com>; Fri, 20 May 2022 06:15:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=amazonses.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id olue3qv9VGv3 for <netmod@ietfa.amsl.com>; Fri, 20 May 2022 06:15:27 -0700 (PDT)
Received: from a8-83.smtp-out.amazonses.com (a8-83.smtp-out.amazonses.com [54.240.8.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 72F79C157B54 for <netmod@ietf.org>; Fri, 20 May 2022 06:15:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1653052526; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=Aj4B/H4aEXcNiD9tMLGu48Fo/tYfHVTL4KzJyr1vltY=; b=L0n5OzADNNKfo17I+Ibr5jYaLGYKyxrYmmB0I4FYPpsRq/zCjeb7/M7b0hRXwsis o4Zlnc7NjEd8J14UcsWyVM27HJw0UUXOx7O0QfiC55abX+MQeG9F2yQtdbjeSabV2vh 3d7RXtJf9OGvNIWfJ0qJE09iebD3fekE4nnX+KUE=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <01000180e19bcd37-22dd5fc0-b39b-4d92-ab51-7bbbfbe653e1-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_2FD0B00F-96A4-4BF2-A3C4-F77B71AB0D1A"
Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\))
Date: Fri, 20 May 2022 13:15:25 +0000
In-Reply-To: <CABCOCHQMregbZwY0vOZbYkjwzzPp-JHjDK3tWcVnw_fj3+zv8w@mail.gmail.com>
Cc: Martin Björklund <mbj+ietf@4668.se>, "netmod@ietf.org" <netmod@ietf.org>
To: Andy Bierman <andy@yumaworks.com>
References: <01000180a9eb37cb-85b9c576-c1eb-425a-b42c-b3cabe548fbb-000000@email.amazonses.com> <20220518.080543.825575420363032441.id@4668.se> <01000180d793d6ee-f82a4a03-28d8-4f8b-909e-7306a7fc565b-000000@email.amazonses.com> <20220519.090452.636208001533389643.id@4668.se> <CABCOCHQMregbZwY0vOZbYkjwzzPp-JHjDK3tWcVnw_fj3+zv8w@mail.gmail.com>
X-Mailer: Apple Mail (2.3693.60.0.1.1)
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
X-SES-Outgoing: 2022.05.20-54.240.8.83
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/t9wb7RQzGPNZSdjZYOWFG6WyvmY>
Subject: Re: [netmod] Does defining a feature require the module be implemented?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 20 May 2022 13:15:32 -0000

Martin, Andy,

> > 2) If it is the case that the module must be implemented to use its
> > features, then I need to update some of my modules (e.g., crypto-types
> > and friends) to explicitly disable the protocol-accessible tree when
> > the module is implemented *only* to use its features.
> 
> Since RFC 8525 doesn't allow a feature to be supported w/o also
> implementing the module, I think this is the solution for now.  And it
> is not wrong even if RFC 8525 was updated to support features from
> imported modules.
> 
> Deviation-stmts would be required to "undo" the base module implementation 
> requirement.
> 
> Looks like RFC 7895 got this part right.
> The 'feature' leaf-list may apply to imported modules.
> The same feature can only appear once, no matter how many revisions
> of a module are imported.

I feel vindicated, but also feel that Martin is right about this being the solution for now.  I don't even feel that it is necessarily bad.  But I do think we should act on this in some way.  Here are some options:

1) put a "document only" errata on RFC 8525.
2) put a "document only" errata on RFC 7950.
3) put a "document only" errata on RFC 8407.
4) file a YANG Next issue.
5) some combination of the above.
6) anything else?

Kent