Re: [netmod] NBC changes and warnings

Andy Bierman <andy@yumaworks.com> Thu, 21 April 2022 16:53 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 007533A043C for <netmod@ietfa.amsl.com>; Thu, 21 Apr 2022 09:53:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.108
X-Spam-Level:
X-Spam-Status: No, score=-2.108 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, 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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yYta7BV-1m_k for <netmod@ietfa.amsl.com>; Thu, 21 Apr 2022 09:53:52 -0700 (PDT)
Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 614F23A040B for <netmod@ietf.org>; Thu, 21 Apr 2022 09:53:52 -0700 (PDT)
Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-2eafabbc80aso58578187b3.11 for <netmod@ietf.org>; Thu, 21 Apr 2022 09:53:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=er7K/P3/eRAtYafqJoM/UIDid/4lb3Q2lQ4wD1kEJyg=; b=lK07AVsAt3nwz/Pk2n62gzvq/fSr2NKEu2XmKPBB7GpObyJO59BrJImcjMQw22XKbs YzivDdH2RG8S05pfz3X0DwM/Zyb7d0rWWYvi3fbCLnG7ySvievd2oexdvknDmK07RA7W FKIav4juiGnVYJQxmX9eggNSEqHihY+LIS3ERZnarn393dpnRD9PBtpiP3OOBFh46Z7p 32j0X78tLMX/gg/JaTSEszpMZ8pDUGZxIvmy6IcAsPzgLYpRUaTWPyV6UNWf9f2t2gRx kLbGop0Buh0755Zl7vAIH7Nal1FN64J7z6VgWxYg1fLrdLpmthddkFAmP+lQ+0KyzrZO Im+w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=er7K/P3/eRAtYafqJoM/UIDid/4lb3Q2lQ4wD1kEJyg=; b=PeNP7WJn5fdNeMAaC+wU+bbxbQqgIRn5qw1vsfekKqXjLHRdSYVW951yKNvZu6C25M n0D8QikluKGew17hp9bGsleg3IueIogBqRWdX64Cvxk7zvtGqSmo/ZvOoCXeBJulG0jU LPiTwonBx+NE1ptBkWHC6EvuX06dVgJPmmtyK1gC+6UQ/jgDPLKxrIMa3gw9eKThhUcD HPPFukBoeb7YFVGkqNk9HSNf28KpFvtwVLCd1I7CyNJQOqNQ7DnTOswi/rY2YzmpKRiX SDdJ2QShr2qz0+2wtVoP0QrUO3ykHs2Gw5FK1F34JR3lLQ2CUaLvkva8Q+dZEvJJeREQ w8/A==
X-Gm-Message-State: AOAM533w5X5gecOXcOQEw5HNTw/4nFZUAhunzVYgja15Cy4GgjD042sR /SIAeIiETR9tmBqJ0Ey9xXWgKEqEZyy6wZvmjBA8NpXPZq4=
X-Google-Smtp-Source: ABdhPJwj3gr+0oDCKX0XeScEcGoRaTMD3a6cvHixS0VXpFtUXd2WZ8JFTc2wjYQ3xTRZtj9txIIy8okWwfspKpJThEY=
X-Received: by 2002:a81:5dd6:0:b0:2d6:3041:12e0 with SMTP id r205-20020a815dd6000000b002d6304112e0mr589895ywb.331.1650560031193; Thu, 21 Apr 2022 09:53:51 -0700 (PDT)
MIME-Version: 1.0
References: <CABCOCHT=9VYrCRuOcTnX+EbVG-LCWuMUGoHimPQm8NpWYLR=7Q@mail.gmail.com> <2996841cbc3a4f0cab0869b1fd221a20@huawei.com>
In-Reply-To: <2996841cbc3a4f0cab0869b1fd221a20@huawei.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 21 Apr 2022 09:53:40 -0700
Message-ID: <CABCOCHQvWu6K=Wr1hJU0gC=Rsx6UBy36eHg=FVJNKoGSFMwv1A@mail.gmail.com>
To: "Fengchong (frank)" <frank.fengchong@huawei.com>
Cc: NetMod WG <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000057130a05dd2cf489"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/i37h3Eq0e2ZlUaBM_LZJ3QbcY7w>
Subject: Re: [netmod] NBC changes and warnings
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 21 Apr 2022 16:53:57 -0000

On Wed, Apr 20, 2022 at 7:51 PM Fengchong (frank) <
frank.fengchong@huawei.com> wrote:

> Andy,
>
>        Server don’t know how the client’s yang modules is, so server can
> not judge whether the NBC changes exist.
>
>
>

The client does not have YANG modules.
The client loads the modules to match the server's YANG library.

YANG status-stmt is not correct, but the current best practice in the
software world
for NBC changes.  (1) Warn First (2) Then Change.
A deprecation warning (quite common in modern tools) means
"This operation still works now, but it will change or go away soon".

Andy


*发件人:* netmod [mailto:netmod-bounces@ietf.org] *代表 *Andy Bierman
> *发送时间:* 2022年4月21日 0:30
> *收件人:* NetMod WG <netmod@ietf.org>
> *主题:* [netmod] NBC changes and warnings
>
>
>
> Hi,
>
>
>
> Before any significant NBC change can be introduced, a process needs
>
> to be in place to minimize the disruption that the NBC change will cause.
>
>
>
> Consider the recent change by GitHub to remove support for SSH passwords
>
> and require keys instead.  They warned people for about 2 years this change
>
> was coming.  Not just on the WEB site, but in the tools. Every time
>
> a user logged in over SSH with a password, a warning was printed.
>
>
>
> For those willing to read the warning and act upon it, there was no
>
> service disruption at all when SSH passwords were finally turned off.
>
>
>
> When NETCONF was introduced in 2006, everything was new.
>
> The NETCONF error-severity=warning did not even work, and nobody cared.
>
> It still doesn't work.
>
>
>
> There are other possibilities besides
>
> "We can never make an NBC change because nobody will read the warning
>
> in the description-stmt anyway."  That's true. So let's fix it in the
> protocols
>
> and in the YANG language, so they do get the warning.
>
>
>
>
>
> Andy
>
>
>