[netmod] draft-ietf-netmod-yang-module-versioning-05: NBC Changes

Andy Bierman <andy@yumaworks.com> Tue, 14 June 2022 18:35 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 2B6FAC157B57 for <netmod@ietfa.amsl.com>; Tue, 14 Jun 2022 11:35:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=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 RaSp0FQzNva4 for <netmod@ietfa.amsl.com>; Tue, 14 Jun 2022 11:35:31 -0700 (PDT)
Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) (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 7E09CC157B54 for <netmod@ietf.org>; Tue, 14 Jun 2022 11:35:31 -0700 (PDT)
Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-30ec2aa3b6cso38487497b3.11 for <netmod@ietf.org>; Tue, 14 Jun 2022 11:35:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=StycgVPHnhjJvPbqlPaBSLFDdUtwM+Cq0hwD6bihdjw=; b=hbW8d//hzi9okqv+DY0T4zqgiv/BKI9Z+AhwzUFQp/kRQoPF27gNyZBcBE0QbdB6YY lkih93Y5tTXs2D+4Znzfi9dazs82rS1r0+FQjLeyEEFGZovxpgXwDMvynlOjVncmBuRJ LBfyoSywQAv/rtzpYVTqbXpHIuYUtlyIfI8nQ2JI6HWaD6x97qlsP/nACSumDJPkqU94 0vGMWQXYGwiteXghN5RanckIT+Xo7J+XfW+M487hsk4sp4VAcj8fRtnit5rn8ehncM6F uXQ8KhJglF8T1wJ5FNQNuHY3prriajv5K2GCaDhWfoxsnkKdVfCrDf2AjdyFe0SANC+i tUNg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=StycgVPHnhjJvPbqlPaBSLFDdUtwM+Cq0hwD6bihdjw=; b=aSVXSfSEObi+83aXJsCHGE89JXefIsRCx6JOIN5y1/xKDpvWyKF/SLfdmjkqYAECJQ FmIzq/InfZEdaT14xsTHwNQVe6Zf+6fYo0u7+4d+jt2Yd7fo/zWy7uUAiHwXrFCOmjdw aeZgiKXI/V5vi8DEdJEqE9QQKmYk3wH6buFhcyZlHT4k2/rvlOMR19HbVVncqXDggHxg PGv2yQl7QCJ9B8MRj2S2BFhIe9LwfGDv0Xns0mmE2S3Bkc+29XI8of78kRwqaormh08f ScQTjQhHXTnAqHXEMxi/iKTESsLWZdh6LgfjElqFT0RiKqiwFcBrNdfRgJ3+/VMOgPjb 1Qdg==
X-Gm-Message-State: AJIora95v5NmJ72LQADGuO1jA/QKNpeyX6n0KjridRekCM369wTGTvlm 7PpsT6PyUM8jNmu8auOWyiQj1JW4pXJj/lbcb+O3QtbEWrXNPw==
X-Google-Smtp-Source: AGRyM1u7r9G2jDbTD95GyYLsX1QHKhq3T0vgdB0BD2EGO3SFmrX5c7vENr7lkDV8aszTT53IKAZIb/lVde5kUbTN1nw=
X-Received: by 2002:a81:fd1:0:b0:30f:f98b:4957 with SMTP id 200-20020a810fd1000000b0030ff98b4957mr7434651ywp.350.1655231730293; Tue, 14 Jun 2022 11:35:30 -0700 (PDT)
MIME-Version: 1.0
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 14 Jun 2022 11:35:19 -0700
Message-ID: <CABCOCHS+6Oi+1sbhaAt2k5QWNLBEGExeBJre0B5CzYNkAkshaA@mail.gmail.com>
To: NetMod WG <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000004e393a05e16cabe3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/cXE4TSWWUwLgRGytUlQVx7kG04E>
Subject: [netmod] draft-ietf-netmod-yang-module-versioning-05: NBC Changes
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, 14 Jun 2022 18:35:35 -0000

Hi,

The draft-05 version has expired and is no longer on the NETMOD WG WEB page.

Sec 3.1 includes this text:

   Where pragmatic, updates to YANG modules SHOULD be backwards-
   compatible, following the definition in Section 3.1.1
<https://datatracker.ietf.org/doc/html/draft-ietf-netmod-yang-module-versioning#section-3.1.1>.



This is a significant departure from RFC 7950.

There are normal "lifecycle" changes that can occur to YANG-based APIs
that are currently classified as NBC changes in 7950, sec 11.
They are often related to the release train. Maybe this concept is
common enough to standardize.

For example, we often introduce a leaf with a default of 'disabled'
because we mandate that ALL new features or behavior changes MUST
require the client to opt-in.  But after a year or two, we may change that
default to 'enabled' in a new release train.  Then if the feature is
deprecated
 at the end of the lifecycle, the default may get changed back to 'disabled'
in a new release train.  BC compatibility is ALWAYS maintained within
a release train.

Given that RFCs take so long to publish, it seems unlikely that
we would ever be in a position to make a "real" NBC change
in the middle of a release train, such that all of the client code
already deployed will break immediately when the upgrade is done.
We can NEVER just remove the old version.

It is hard to imagine a situation where breaking real deployments
is a better option than introducing a new identifier, so old clients
and new clients can coexist.


Andy