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

Andy Bierman <andy@yumaworks.com> Mon, 23 May 2022 18:23 UTC

Return-Path: <andy@yumaworks.com>
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 8DFB1C19E865 for <netmod@ietfa.amsl.com>; Mon, 23 May 2022 11:23:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 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, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks.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 1i6g2hS55m-R for <netmod@ietfa.amsl.com>; Mon, 23 May 2022 11:23:21 -0700 (PDT)
Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E7D25C19E863 for <netmod@ietf.org>; Mon, 23 May 2022 11:23:21 -0700 (PDT)
Received: by mail-yb1-xb34.google.com with SMTP id t26so26909731ybt.3 for <netmod@ietf.org>; Mon, 23 May 2022 11:23:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jklmmSgNKL5YTOBaxVG0AroT1qp8/Ii+8u4Yay6OGwQ=; b=Ur+bsC6BEyuTZ3KL0f5q9gK27/XGKyx9lG43LQhfLxSXU6G8BU8ITKYW9yUZzpnlj/ as8lYrELNLgA4tMRfa6cuxVVLdE4wOvPkuOzZnZZDl+HsYa4ckqlk6+onxyTFK6zd4NK E6R9YJ2eJALAacX5YOHEJBqs3r6BbVzyLVObWmb37k/9Rxq0imyE01Re42AaNI8bGp7r ELr59b7T9c+TzznCxyWdVcpoEiw32uxWz5GqjiCENCb6Sa07MbnE2EiMKltXVsjjxebF mIQBpbHYvRj6sOwGwktYnM6zLUFu7C3I0PIMWt5EACIJFCIyY4Ch9+4f5tkjKK90lLH/ okyQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jklmmSgNKL5YTOBaxVG0AroT1qp8/Ii+8u4Yay6OGwQ=; b=FvDy/qftUa6hJ1p+HV3y1yhDJdeTTo1F8+swCxj1Zjit0Kwl58ZfgYmP2F8NFAzhik k3qZ/kK5EhVlFdQosx43wm2o82bBAAvk5U9SCRG8AXU9/6SJ+7loCfUHQsEbsbM9D0pr mGJOX0k2+8Imbxx79yig+WldbXDNkwsg+7tpLoY4Uff3T8dSeUWPYEFTxTqQi+Hq2+XR 6bHMmEK+UyLpahLe8Z3QdGOa7qvuY/Nwm1zhZCnRSMjgvNWycJQWr8kgy0+yRPb7DDGI 12S7DqUzjPlzbErRm24n9mFjqdyyD6ORNskpB1XbxPtUJTo6nH8a6Q05Z7ZMAjEK+Awy oaqA==
X-Gm-Message-State: AOAM531zF/f98gS48BFHNnYjjVaZ+7WJLucbQPQ3jmKKTAUfLAR1+kqi kDWF8jzXPItQSOZHoDorC1v5B975cxguanjvqlK9ww==
X-Google-Smtp-Source: ABdhPJyLLdMDOV27sDc3y2rl7/+eoe172eZlPwHrFWQ4Mof2GgJa/Quf22HCF7ct79SsFWuZuQjEsX5c7jWjBNJkgHc=
X-Received: by 2002:a25:7b45:0:b0:64f:ec98:96ed with SMTP id w66-20020a257b45000000b0064fec9896edmr5504186ybc.445.1653330200724; Mon, 23 May 2022 11:23:20 -0700 (PDT)
MIME-Version: 1.0
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> <01000180e19bcd37-22dd5fc0-b39b-4d92-ab51-7bbbfbe653e1-000000@email.amazonses.com> <CABCOCHR_pb4JSpjFA0PAX2a4bybkVxu9xRx=AxRkWs9QVFC9Qg@mail.gmail.com> <01000180f1350b6f-2eb3399c-dbcb-4103-9458-63d9822722bc-000000@email.amazonses.com>
In-Reply-To: <01000180f1350b6f-2eb3399c-dbcb-4103-9458-63d9822722bc-000000@email.amazonses.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Mon, 23 May 2022 11:23:10 -0700
Message-ID: <CABCOCHSHP_GMXJ=v7N_C-DCEAP=5KhGw6UWi5=SxYL56FERj-w@mail.gmail.com>
To: Kent Watsen <kent+ietf@watsen.net>
Cc: Martin Björklund <mbj+ietf@4668.se>, "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000004f9e1905dfb1efb3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/Od1inutjljo9Qm_haYlinc2FxMo>
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: Mon, 23 May 2022 18:23:25 -0000

On Mon, May 23, 2022 at 6:57 AM Kent Watsen <kent+ietf@watsen.net> wrote:

> Hi Andy,
>
> 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?
>>
>>
> I do not think an Errata can fix this issue because the split
> between 'module' and 'import-only-module' was intentional.
>
>
> My intention for using the "hold for document update" Errata (I wrote "document
> only" before) is only to better document the behavior that exists
> currently, so it doesn't have to be rediscovered again later.  Martin
> pointed to an RFC section that didn't list features explicitly, leaving it
> open for interpretation.  Patching such sections would be good.  As for RFC 8407,
> maybe Section 4.17 (Feature Definitions) could say something?
>
> Following are a couple excerpts from
> https://www.ietf.org/about/groups/iesg/statements/processing-rfc-errata:
>
> Hold for Document Update - The erratum is not a necessary update to the
> RFC. However, any future update of the document might consider this
> erratum, and determine whether it is correct and merits including in the
> update.
>
>
> And (I added the underline):
>
> Changes which are simply stylistic issues or *simply make things read
> better* should be Hold for Document Update.
>
>
> Would you be willing to offer some text for an RFC 8407 "hold for
> document update" errata?   If Martin does the same for the section he
> found, I think we would be covered.  It seems is worthy effort, yes?
>
>
I will have to look at the text that is there now.

It is not likely that any YANG features defined in a module are completely
decoupled from the content in that module, such that it makes any sense
to support a YANG feature but not use anything else from the module.
(Certainly not the case in iana-crypt-hash).

I meant hold for yang-library-next, not yang-next.
There are no changes really needed to YANG 1.1.

It is not a priority to change the YANG library (yet again!) since
there is a workaround using the current revision.



> Kent // contributor
>
>
Andy


>
>
> Going back to iana-crypt-hash (again).
>
>  - the features are not intended for use in any if-feature-stmts
>  - each feature is related to one variant for values of the crypt-hash type
>
> Features are like identities.
> They are completely decoupled from the schema tree and simply
> use the parent module to create a unique QName for reference in other
> statements.
>
> Perhaps we should work on some proposed edits for yang-next.
>
>
>
>
>> Kent
>>
>
> Andy
>
>
>
>