[netmod] Re: YANG Versioning question - namespace version?
Kent Watsen <kent+ietf@watsen.net> Mon, 17 June 2024 21:03 UTC
Return-Path: <010001902802a9cf-f5806afd-f433-46fd-b671-2b576148d1a1-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 7F483C169415 for <netmod@ietfa.amsl.com>; Mon, 17 Jun 2024 14:03:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.905
X-Spam-Level:
X-Spam-Status: No, score=-1.905 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 pMNAu0dMVAUL for <netmod@ietfa.amsl.com>; Mon, 17 Jun 2024 14:03:03 -0700 (PDT)
Received: from a8-88.smtp-out.amazonses.com (a8-88.smtp-out.amazonses.com [54.240.8.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DD7A5C1516F3 for <netmod@ietf.org>; Mon, 17 Jun 2024 14:03:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1718658181; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=9dh67DyKkVaqIakFBljMyEzBQ/QhRPZKGYEI6J8+Q9M=; b=tApKYTwhiT/noAerLcPpUldQBDxLiY6YyyDkJw8YpRNMJLvy6m97vfKJo5o0Qb+e PbfUazlLwVkAjSubVGxT5k4z7b95lTIzmspYHC8VecLsACILcX1v4O25w505Sp7WYrg FgVDpKCQG4dp+StldKwpwgs0Qme39gZ96jtthlMQ=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <010001902802a9cf-f5806afd-f433-46fd-b671-2b576148d1a1-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_AFA008E8-A7EF-43E5-9641-55346848454B"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\))
Date: Mon, 17 Jun 2024 21:03:01 +0000
In-Reply-To: <m25xu7s5py.fsf@lhotka.name>
To: Ladislav Lhotka <ladislav@lhotka.name>
References: <010001902725fef5-d778c086-9139-46a1-bab0-50246decaed8-000000@email.amazonses.com> <m25xu7s5py.fsf@lhotka.name>
X-Mailer: Apple Mail (2.3774.400.31)
Feedback-ID: ::1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
X-SES-Outgoing: 2024.06.17-54.240.8.88
Message-ID-Hash: S2GBOEGV75JSMSERBIFGINH4JEL3HQVG
X-Message-ID-Hash: S2GBOEGV75JSMSERBIFGINH4JEL3HQVG
X-MailFrom: 010001902802a9cf-f5806afd-f433-46fd-b671-2b576148d1a1-000000@amazonses.watsen.net
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-netmod.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "netmod@ietf.org" <netmod@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [netmod] Re: YANG Versioning question - namespace version?
List-Id: NETMOD WG list <netmod.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/iIPn9RnZ6bBCClqS51f-XIDlUng>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Owner: <mailto:netmod-owner@ietf.org>
List-Post: <mailto:netmod@ietf.org>
List-Subscribe: <mailto:netmod-join@ietf.org>
List-Unsubscribe: <mailto:netmod-leave@ietf.org>
> I believe this was a deliberate decision. The info about module versions is available elsewhere (in the module proper and/or in YANG library data), so I don't see any necessity of having it in the namespace. Yes, but I wonder if it assumed the update rules in Section 11. Thinking out loud, even if NBC changes are supported, a server can only implement one revision of a module at a time, which seems unambiguous. That said, I recall some hoping a server could support more than one revision at a time, to support graceful upgrades. But if we ever get to that, it could be that the client selects the version in the RPC, so the RPC-reply wouldn’t have to be versioned. > Can you (or somebody) provide details why "backward compatibility becomes a nightmare”? I asked, but after providing an answer, the response was just “that makes sense, thanks”, leaving me to wonder. It may be because there exists some namespaces with version numbers, and so they thought a discrepancy had been found. For instance: - urn:ietf:params:xml:ns:netconf:base:1.0 - urn:ietf:params:xml:ns:yang:1 > Speaking practically, the namespace identifier in JSON representation is just the module name, so adding versions to namespaces would cause troubles. Indeed. > Lada K.
- [netmod] Re: YANG Versioning question - namespace… Kent Watsen
- [netmod] YANG Versioning question - namespace ver… Kent Watsen
- [netmod] Re: YANG Versioning question - namespace… Ladislav Lhotka
- [netmod] Re: YANG Versioning question - namespace… Jan Lindblad (jlindbla)
- [netmod] Re: YANG Versioning question - namespace… Jürgen Schönwälder
- [netmod] Re: YANG Versioning question - namespace… Andy Bierman