Re: [netmod] WGLC on draft-ietf-netmod-node-tags-06

Andy Bierman <andy@yumaworks.com> Tue, 19 April 2022 18:13 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 63AF43A00AF for <netmod@ietfa.amsl.com>; Tue, 19 Apr 2022 11:13:50 -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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lE0mXl0tSfBG for <netmod@ietfa.amsl.com>; Tue, 19 Apr 2022 11:13:45 -0700 (PDT)
Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) (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 967EC3A00AD for <netmod@ietf.org>; Tue, 19 Apr 2022 11:13:45 -0700 (PDT)
Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-2ef4a241cc5so174766947b3.2 for <netmod@ietf.org>; Tue, 19 Apr 2022 11:13:45 -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=JKROJyYt794KOfW2hERup5Nl2yrTEPgJ6znOfiomI1E=; b=bCgY9Pge994OrNbAjrRetKr5aB1AOWb+WjXoKYIxagQOBGyBEh2ZJr1a+u2MwzCYbY pMnlRobmump4dz8ipSBs9tEikrFIrJLiP7p2/bbjsDfZ/IRAlOZT2QH5SH5qHY/m6rZL /GGFSpOIOdz44p/gts6z1tQmw1fFAKI3D+Rgo5zw1NPfpHpqasOtuDzodHAZAG/FqqNn EkOcxF1rDwSCNZNZZ5TPM+7/OuJnGpehTy3moq9UL0+0Yxuj4YDTHbunh1O5XaK14DFi oQp5N3raptYoyiGG4yIHiriAtAc0Lc1dGOMVKB1JQh2y7vY4Vh+SPES4pC8TAD4XHsbB RXZw==
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=JKROJyYt794KOfW2hERup5Nl2yrTEPgJ6znOfiomI1E=; b=AceSpXIPVMZWXs03FWU55hqdUzGS8XFAq+rJb9C+2WbYoOSs4P9YqFRIgtIibmGBsg UvgeBDs6LJci35+PweNqkHsPg8QgNYv54yyreha1zmOPx6GKGOE9+nMqDe8vTsDqWhDe k6OFFG4FdFvfUZn3yMDS5E7dgmwEVPW5doVH05OoJjNVU0mrnElt3+3wmRsaFsatKcOX cu8BGpaQohCbHrAb/ptZaQJJPHDfVbSkersTDlR0KDCoY9VFZnYt+9yN3tSQ918we32u 7N3yzZlRTAtubgIfPwJt45L78RRoB9Yi3oPqumbUo0QwganJz9MrAxTm1bBLbjwldnP7 09FA==
X-Gm-Message-State: AOAM532ZGuTkMkBFokNQca+Z4c/+hAFPaivAbzvrVpbiRiEYD4F/7ts/ oNYm9ItvR37+4cKQMJyQojGB26K3RPFykZ43qZdlOAFD558=
X-Google-Smtp-Source: ABdhPJyTsZUIIdx/hXUy2qNYUa0GO7Cy3zwPxTqFeNuH1EoqegaSyo0/X/uOvAdQH1+EPPaCH6eZC6QxRuCjuQ10sfo=
X-Received: by 2002:a81:92c8:0:b0:2eb:ef8e:b3b3 with SMTP id j191-20020a8192c8000000b002ebef8eb3b3mr17199416ywg.433.1650392024241; Tue, 19 Apr 2022 11:13:44 -0700 (PDT)
MIME-Version: 1.0
References: <7bacf3e79dce46579ab6318de8f1f502@huawei.com> <VI1PR0701MB23519C369E1D4346F13FCD70F0F29@VI1PR0701MB2351.eurprd07.prod.outlook.com> <04EABC0C-09B5-4F5D-B63B-3D3FE5812C19@tail-f.com>
In-Reply-To: <04EABC0C-09B5-4F5D-B63B-3D3FE5812C19@tail-f.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 19 Apr 2022 11:13:33 -0700
Message-ID: <CABCOCHSg9t44xNVnrmT0hNamc4eX6tLjsrOud7j66MiQVk-9Jg@mail.gmail.com>
To: Jan Lindblad <janl@tail-f.com>
Cc: Balázs Lengyel <balazs.lengyel=40ericsson.com@dmarc.ietf.org>, "netmod@ietf.org" <netmod@ietf.org>, Qin Wu <bill.wu=40huawei.com@dmarc.ietf.org>
Content-Type: multipart/alternative; boundary="000000000000586b7905dd05d613"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/HbuikGn-tM3y15PEhfviTOJ9sAU>
Subject: Re: [netmod] WGLC on draft-ietf-netmod-node-tags-06
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: Tue, 19 Apr 2022 18:13:51 -0000

On Tue, Apr 19, 2022 at 1:26 AM Jan Lindblad <janl@tail-f.com> wrote:

> Balázs, Qin, WG,
>
> >> - for each extension statement the following should be described
> >>  + Changing this extension statement is a backwards-compatible change
> >> yes/no/editorial-only
> > [Qin Wu] Can you provide an example for this issue or reference
> document, I can not find any guideline in RFC7950.
> >
> > BALAZS: It is the first question you get from a customer at any model
> update/upgrade: are the changes backwards compatible?
> > The modeler and the customer needs to understand whether a change in the
> extension statements is backwards compatible or not.
> > The new YANG versioning drafts also require this knowledge.
> > E.g.
> > Removing the nacm:default-deny-all extension from a leaf is backwards
> compatible as all earlier operations will still work
> > Adding the nacm:default-deny-all extension to a leaf is not  backwards
> compatible as writing to the leaf might not work anymore.
>
> This is a great example of why backwards compatibility is a really hard
> subject.
>
> A manager relying on nacm:default-deny-all might not be injecting the
> right NACM rules to make the managed system secure after the version
> change. While all management operations will succeed, the change opens up a
> security hole for managers unaware of the change. I believe such a change
> should not be described as backwards compatible.
>
> My point is that while in the YANG versioning design team are working to
> define hard and fast rules for what constitutes backwards compatibility,
> reality is a few magnitudes more complex than any viable rule set.
>
>

+1

Classifying a change and encoding the classification into a semver does not
actually fix anything.
Only advancements in tooling and protocols will fix anything. There needs
to be standardized warnings.

1) YANG compiler
   - standard extensions to trigger deprecation and NBC warnings
   - needed at the definition-level, not the module level

2) NETCONF and RESTCONF protocols
    - need standard error-tag to allow error-serverity=warning
    - need standard warnings reports


As a developer, I want to see warnings about a specific issue, and
suggestions on how to fix it,
just like I get from my C++ compiler.  The YANG language and YANG-based
protocols are
still quite primitive compared to modern tools.



> Best Regards,
> /jan
>
>
Andy


> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>