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

Ladislav Lhotka <ladislav.lhotka@nic.cz> Tue, 24 May 2022 15:28 UTC

Return-Path: <ladislav.lhotka@nic.cz>
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 D6525C1850E7 for <netmod@ietfa.amsl.com>; Tue, 24 May 2022 08:28:49 -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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 K2kjPRpzKEAQ for <netmod@ietfa.amsl.com>; Tue, 24 May 2022 08:28:48 -0700 (PDT)
Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (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 3847CC1850E4 for <netmod@ietf.org>; Tue, 24 May 2022 08:28:47 -0700 (PDT)
Received: from wedge.nic.cz (unknown [IPv6:2a01:5e0:29:ffff::a9f]) by mail.nic.cz (Postfix) with ESMTPSA id 5F48C13FB56; Tue, 24 May 2022 17:28:39 +0200 (CEST)
From: Ladislav Lhotka <ladislav.lhotka@nic.cz>
To: Kent Watsen <kent+ietf@watsen.net>
Cc: Andy Bierman <andy@yumaworks.com>, "netmod@ietf.org" <netmod@ietf.org>
In-Reply-To: <01000180f677da49-d1b20894-b244-4f2c-93ea-001aff1e86b0-000000@email.amazonses.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> <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> <87ilpvo36s.fsf@nic.cz> <01000180f677da49-d1b20894-b244-4f2c-93ea-001aff1e86b0-000000@email.amazonses.com>
Mail-Followup-To: Kent Watsen <kent+ietf@watsen.net>, Andy Bierman <andy@yumaworks.com>, "netmod@ietf.org" <netmod@ietf.org>
Date: Tue, 24 May 2022 17:28:38 +0200
Message-ID: <87zgj7lzkp.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain
X-Virus-Scanned: clamav-milter 0.103.4 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/54_-oxfms6NbKpr2ANYZ9-PBKu8>
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: Tue, 24 May 2022 15:28:49 -0000

Kent Watsen <kent+ietf@watsen.net> writes:

> Hi Lada,
>
>> But the alternative behaviour exists as well. I don't think this can be fixed by an erratum.
>
> Please say some more.  Are you referring to now-obsolete RFC 7895?  What does Yangson support?

No, I am talking about RFC 7950, which defines the concept of implemented module. If imported features are ever to be restricted only to implemented modules, then it requires a new YANG version and cannot be done via an erratum.

Tools may - and indeed do - use different methods for specifying the overall data model, including the implemented/import-only status of modules.

Yangson happens to use YANG library per RFC 7895 for this purpose, and features work the same for modules with conformance-type "implement" and "import".

Lada

>
> K.
>
>
>

-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67