[netmod] Comments on draft-ietf-netmod-yang-module-versioning-09

Andy Bierman <andy@yumaworks.com> Tue, 09 May 2023 19:06 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 78A83C1519BB for <netmod@ietfa.amsl.com>; Tue, 9 May 2023 12:06:33 -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_DNSWL_NONE=-0.0001, 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 Su9Zkh8SNK8a for <netmod@ietfa.amsl.com>; Tue, 9 May 2023 12:06:29 -0700 (PDT)
Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) (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 54053C14CE4F for <netmod@ietf.org>; Tue, 9 May 2023 12:06:29 -0700 (PDT)
Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2ac80da3443so70605881fa.0 for <netmod@ietf.org>; Tue, 09 May 2023 12:06:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1683659186; x=1686251186; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=4pMToa8cLEE1y50qLeCN7QTA9x3ThBqicDRuW1Es8Hw=; b=JbzYUj9xG3JLfH0Cfo0dPtty3u7GYCM2UDjrMOkhEr/GclCWVJMYtbDp5sXzk5jzRW +SsiSIi0QBhu+Z4g1uF1Z0tPxCf0VMAphdRaj3gZE3DgRs1G3+M7A5V8XbDr0nLry0zq /ykY1c0FMHVRa54D/k4tZUwd3kWkkfHQAgFAPYtMX4zoxQBTMbm9bXnkhk7sSLxyKQMA ZiwmCgeRuA6awM/YYCAOvaDhkJhfa7dwBDp5kTJUz2Xk5UyBT9nLXx4ooHWet2LE2mNl OYDi2xAA9FEpaQPd1Vf2jarloUaqYanWoPod4Ded9IH/AErWTMRhg9vmmSfs9wGbeVfD kYZw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683659186; x=1686251186; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=4pMToa8cLEE1y50qLeCN7QTA9x3ThBqicDRuW1Es8Hw=; b=BI+0yMvD07GM016ohOnPA3eyUbSVdasP+HMc21lq6e/Ai6XvFXk5+kSsm5yx4Uma7l oGQQ4x+regVpEZCgPMC/M+NzkOSKxylygHpBxLqzfVBsDRVWxhnNAMRyPRply9Z6Y2jd VzDWA5gHEuPvtwz/7G9IBYGd7mHcmOWT+iGH5pPr+zGPKCwupGSCaj+2/DeuVREXB+qI KTjOjlXfxgZPabPeDTexGg3teQq7MA1gG7EJ5vpsF+G2BwWVmnZvyPepJ6i14xHbRMdK b7gqbz8egwLYbYxRW+i0nP9//squRq5/euI2Uy0FWhHOZyePG/u/+c1RHCCMPH1Xd0/7 PYhg==
X-Gm-Message-State: AC+VfDyBRqEfyvgRZ8KbBD9eYJWghK2e8vFSCMe0HL8r+bkkwH6+OOH9 HA5W+QIBDzI/azpLNX6XbUEycrR8JDikW4SevaAr/hjRXi2EcbJQGr8=
X-Google-Smtp-Source: ACHHUZ7Zeebi2apFJDePNKRNEKFA2MWkwPFozcwv7/SrJ8pUFkjFuCV5sDps+4Y2RLFUi+nwObVh4M1n9Dqg3i53Gdc=
X-Received: by 2002:a2e:9053:0:b0:2a8:bf74:61cc with SMTP id n19-20020a2e9053000000b002a8bf7461ccmr1086086ljg.26.1683659185963; Tue, 09 May 2023 12:06:25 -0700 (PDT)
MIME-Version: 1.0
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 09 May 2023 12:06:14 -0700
Message-ID: <CABCOCHShMC=5KoCSKKQ-zOd1wvUx7DoqVornGdvXDLekMm3SHA@mail.gmail.com>
To: NetMod WG <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000b3d98d05fb47733c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/5Vvk9hxyNGOeBRaL2kTAcNz9fZg>
Subject: [netmod] Comments on draft-ietf-netmod-yang-module-versioning-09
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.39
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, 09 May 2023 19:06:33 -0000

Hi,

Most of the document focuses on the administrative details that will
be required to update a YANG module. (Lots of them).

My concern is with YANG 1.1 Co-existence and deployment of this new RFC.
(Sec 3.1)

https://datatracker.ietf.org/doc/html/draft-ietf-netmod-yang-module-versioning-09#section-3.1

A client (or another tool) that is compliant with RFC 7950 is
not required to be aware of the new YANG extensions, or expect
NBC changes in new module revisions.  It is not a good idea to
allow NBC changes in a YANG 1.1 module. IMO the new rules
need to apply to a new YANG language version.  It is not reasonable
to expect YANG 1.1 tools to work even if MUST requirements are removed.

Since YANG 1.1 Co-existence is not possible, vendors will decide
for themselves how much NBC they want in their implementations.
Breaking a YANG 1.1 client tool is still a problem they will have to deal
with.

This new RFC could encourage instability and poor engineering practices in
YANG APIs.
IMO best practice is still to introduce a new identifier and phase out
the old identifier with status=deprecated, then obsolete.
This is how opensource usually works (for good reason).


Andy