Re: [netmod] Comment on draft-clacla-netmod-yang-model-update-02
Ladislav Lhotka <lhotka@nic.cz> Mon, 20 November 2017 12:13 UTC
Return-Path: <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 3401012956C for <netmod@ietfa.amsl.com>; Mon, 20 Nov 2017 04:13:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.999
X-Spam-Level:
X-Spam-Status: No, score=-6.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
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 fxZNnpS4tvBo for <netmod@ietfa.amsl.com>; Mon, 20 Nov 2017 04:13:42 -0800 (PST)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) (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 E5D11126BFD for <netmod@ietf.org>; Mon, 20 Nov 2017 04:13:41 -0800 (PST)
Received: from birdie14010 (unknown [IPv6:2001:718:1a02:1::380]) by mail.nic.cz (Postfix) with ESMTPSA id D21A963355; Mon, 20 Nov 2017 13:13:37 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1511180017; bh=LMHkNs9ealTmF4ltisCkphNSST38yz7fUmOJWK4DjSE=; h=From:To:Date; b=BAoYb211/Tjp4Qrcqi5ibWrS08+u3yYtIgwgVuksftl3cTP1rGWEAcBQ7ceOznirI haKsuP/B8snxp+XwytmcSclQSDGIuTiDiMBaM7vF0+ugOA6IyNPcpJ7Vcel3xURpKg fvF0HmULfRjspTcUXg68Q6IYlGHNZxBOmj6Wpc1s=
Message-ID: <1511180091.4492.13.camel@nic.cz>
From: Ladislav Lhotka <lhotka@nic.cz>
To: Joe Clarke <jclarke@cisco.com>, netmod@ietf.org
Date: Mon, 20 Nov 2017 13:14:51 +0100
In-Reply-To: <7eaa576f-d158-d5c1-774e-c41ee9015105@cisco.com>
References: <19a4129f-84b4-2d6b-8405-37b85952f53a@ericsson.com> <20171114212210.7b2g3t3nqzrhcgrs@elstar.local> <20171115053046.nr33ypoibdn4jufv@elstar.local> <9094b945-366f-145d-fbc1-5cf116f4a3bc@cisco.com> <87inebdff0.fsf@nic.cz> <2daae313-cbf1-c26a-c176-a3d31b57092d@cisco.com> <1510742316.21877.6.camel@nic.cz> <7eaa576f-d158-d5c1-774e-c41ee9015105@cisco.com>
Organization: CZ.NIC
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.26.2
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: clamav-milter 0.99.2 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/Nz7sjwRUgFKDXKLtLx3QmpfTyJc>
Subject: Re: [netmod] Comment on draft-clacla-netmod-yang-model-update-02
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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, 20 Nov 2017 12:13:44 -0000
On Thu, 2017-11-16 at 21:55 -0500, Joe Clarke wrote: > On 11/15/17 05:38, Ladislav Lhotka wrote: > > On Wed, 2017-11-15 at 05:27 -0500, Joe Clarke wrote: > > > On 11/15/17 05:06, Ladislav Lhotka wrote: > > > > > I suppose my gut reaction to Lou's question as to whether a server > > > > > should support multiple versions was, "no." A client may have > > > > > multiple > > > > > versions loaded to support servers that support different versions. I > > > > > may be convinced otherwise, but I feel that this will become untenable > > > > > over time (even if module names change). > > > > > > > > There are use cases for modules that are imported (i.e. not > > > > implemented): it could be that a module author wants to use some > > > > definitions from an old version of an imported module while, at the same > > > > time, other definitions from a new version. > > > > > > > > The semver-aware "import" statement should be able to deal with this. > > > > > > I think it could be, but I also think importing from different versions > > > of the same module feels messy. How would this work with different > > > module names today? Just use different prefixes? Are there defined use > > > cases for this in the wild today? > > > > Let's say a new version of a module adds new enums to two different > > enumeration > > types, but an implementor (for some reason) is only able to update one of > > them > > in the back-end and not the other. > > I read implementor to be "vendor" here. And if a vendor cannot Instead of "implementor" I should have said "module author" - it could be a vendor or IETF WG or whatever. A realistic example might be a module for certain IANA parameters such as https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml If IANA updates this registry, the author of a module that uses it might want to update some enumerations while keeping others in the old version. The reason for doing so may be, for example, that some cipher has to be removed for security reasons, but migrating completely to the new registry version is a long shot that needs more time. > implement one of the enums, would they not just add a deviation? I Vendors generally don't like to declare deviations, and I think it would be really weird if an IETF standard track module contained a deviation. Lada > don't see why they'd have to keep the old module around for this. > > Joe -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67
- [netmod] Comment on draft-clacla-netmod-yang-mode… Balazs Lengyel
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Juergen Schoenwaelder
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Andy Bierman
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Balazs Lengyel
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Juergen Schoenwaelder
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Juergen Schoenwaelder
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Martin Bjorklund
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Ladislav Lhotka
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Martin Bjorklund
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Ladislav Lhotka
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Joe Clarke
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Martin Bjorklund
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Balazs Lengyel
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Balazs Lengyel
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Ladislav Lhotka
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Joe Clarke
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Balazs Lengyel
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Joe Clarke
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Juergen Schoenwaelder
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Joe Clarke
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Ladislav Lhotka
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Ladislav Lhotka
- [netmod] Obsolete and deprecated in RFC 7950 Balazs Lengyel
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Martin Bjorklund
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Ladislav Lhotka
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Martin Bjorklund
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Balazs Lengyel
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Randy Presuhn
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Ladislav Lhotka
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Ladislav Lhotka
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Balazs Lengyel
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Ladislav Lhotka
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Joe Clarke
- Re: [netmod] Comment on draft-clacla-netmod-yang-… Ladislav Lhotka