Re: [netmod] missing YANG versioning requirements

Andy Bierman <andy@yumaworks.com> Mon, 12 November 2018 16:15 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 41CD4130E68 for <netmod@ietfa.amsl.com>; Mon, 12 Nov 2018 08:15:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, 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.20150623.gappssmtp.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 2-f1Z-ZWcRuT for <netmod@ietfa.amsl.com>; Mon, 12 Nov 2018 08:15:52 -0800 (PST)
Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) (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 227DE130E79 for <netmod@ietf.org>; Mon, 12 Nov 2018 08:15:52 -0800 (PST)
Received: by mail-lj1-x233.google.com with SMTP id q186-v6so8123820ljb.5 for <netmod@ietf.org>; Mon, 12 Nov 2018 08:15:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=MQSgqDm+w1QrI7SDrhIm5tBK0nf9gZSWz2Lwd67aUu8=; b=XYkgHWHZKEG/0RB9JB7CNcZ15xvSoaYwV0XIvTJK3ouaLDCGANjTzxqIpMXxCqtD4d Sn/jH88LXwt4JOiZXlE8XqqhBHYN8kHZvSapLHYBlyEzqCAFaotjamnbFubwXXwhbNQl somv99XSBT51N5Mbb1YPGf020vOd/7IjKeAsuzqwSYC2PLDA3xuFOi0ejPFLd+aZ32AI t1hahI9Ly1iir67EEiti7siB4BETqrxUQkbVoT7RWQaXINGp5SysPmMGa48f0d/Ee7ca hymwG7BexNq+/jlR//zzVetAMoyujraHeM4X2jdr10X9Ru9oegeMQp08XJyz8OvQw7mN T0kw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=MQSgqDm+w1QrI7SDrhIm5tBK0nf9gZSWz2Lwd67aUu8=; b=TO43dXHMijxMdBwPHah3lNMFxAuYWzk+CriSiQrjIZjlEl1jjdmJZTot2CrH6mOcgG TQxNF0FHkQlE4vt08s8zAQ0Ix+v1Tvgyz8MZCu6/j/ikT0WXBZgtCFocqUAU8vuAJsi8 SEeiaOjj3HDwoGNOow3L9xxpDA8R8+NiC8VD+nhw0ZL0HjoGIIpAYho6EkGUG3/rTM1t QFG0V7ea8APemqjU8pH3e2FzPoXhveOPrKerOieLvLCR/vRWArbrcmfQk2B5dRpHuYRa GvHeEwlTRxWLgAArm0c1/nW9P/ypu4xIHBflZFN+/rnpLJa7dk46JVqMoAaCObHD5ZYj ywVw==
X-Gm-Message-State: AGRZ1gKimdzYr0oLLa21qy8kA82EnlXIW8xs7O+WFVdyeiaiuOvwSeEK CE+2cZi9QMXI/LDq6pcgGmFOTCUcKAxBDAAPHEeIsgfs
X-Google-Smtp-Source: AJdET5chzueKiyqyxaSB1KseIb5lrGI96yerw9MzqHf0r1GUqQMP+CgBLvPXdk1vt30ksj8ie8XnQFXhwf67irI7K3M=
X-Received: by 2002:a2e:145a:: with SMTP id 26-v6mr1102341lju.116.1542039350066; Mon, 12 Nov 2018 08:15:50 -0800 (PST)
MIME-Version: 1.0
Received: by 2002:a19:1f87:0:0:0:0:0 with HTTP; Mon, 12 Nov 2018 08:15:49 -0800 (PST)
In-Reply-To: <5d8a14f4-94a9-c6eb-4a7c-6d6a155e0c84@cisco.com>
References: <CABCOCHQG0kCXUVqD9OBfmsAvFTgwzDzV8MP0=PRYHgiJR_Uvqg@mail.gmail.com> <5d8a14f4-94a9-c6eb-4a7c-6d6a155e0c84@cisco.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Mon, 12 Nov 2018 08:15:49 -0800
Message-ID: <CABCOCHT9DJDvep5qXh5sQpZ9aHuBYhb4AcLLx+Oo1QGhqy4puw@mail.gmail.com>
To: Robert Wilton <rwilton@cisco.com>
Cc: NetMod WG <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000b0d9b7057a7a03ce"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/BfGYXTvH80hymdjPqsiPvMEEQ5I>
Subject: Re: [netmod] missing YANG versioning requirements
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: Mon, 12 Nov 2018 16:15:55 -0000

On Mon, Nov 12, 2018 at 7:01 AM, Robert Wilton <rwilton@cisco.com> wrote:

>
>
> On 09/11/2018 18:35, Andy Bierman wrote:
>
> Hi,
>
> I think the requirements doc should state that
>
> 1) there are many more readers, operators, and client developers than
> server developers so the solution MUST take into account the numbers
> of people affected when finding a balance between client and server
> complexity.
>
> OK.  So you would like the solution to be weighted towards clients, but
> yet you do not want servers to have to implement any sort of version
> selection, instead pushing the problem on to the client? :-)
>
>

I support some aspects of this work:
  - SEMVER
  - import-stmt
  - status-stmt

I strongly oppose the simultaneous implemented revisions requirement
because it is actually
a solution, not a requirement at all, and a bad solution.

For any given buggy data node, a replacement sibling can be created so the
new node and the deprecated
buggy node can both be implemented.

YANG represents a customer-facing API, like the CLI.  Vendors understand
that customers
don't like it when CLI keywords change meaning from release to release.
Vendors are careful
to introduce new keywords so the old ones keep working.



> More seriously, I'm looking for a solution where we it up to the market to
> decide whether the complexity should be pushed to client, server, or a 3rd
> party controller.  I think that some sort of version selection should be
> able to achieve this.
>
>
>
I do not agree the standards should be changed to support this solution
approach.


>
> 2) if existing protocol and YANG solutions exist then they MUST be used
> in favor of developing new solutions.
>
> If you replace the "MUST" with a "SHOULD" then I sort of think that this
> one is obvious.  I think that we are only trying to develop next solutions
> where the existing ones do not appear to be working well.  There are
> examples in the earlier text in the requirements draft, and also
> draft-clacla-netmod-yang-model-update to provide the background and
> justify why we need to do something different than the status quo.
>
>

It would help to have real examples where deprecate-and-replace was an
unworkable solution.
IMO it is OK to update a data node because sub-statements are incorrect
(e.g. pattern, type).
In this case, the old definition is not worth preserving.

Note that changes between I-Ds are not interesting.  Only changes from RFC
to RFC are interesting.
Vendors need to review their own modules and do a better job identifying
stable vs. unstable releases.


Thanks,
> Rob
>
>

Andy


>
>
>
> Andy
>
>
>
> _______________________________________________
> netmod mailing listnetmod@ietf.orghttps://www.ietf.org/mailman/listinfo/netmod
>
>
>