Re: [netmod] backward compatibility requirements in draft-verdt-netmod-yang-versioning-reqs-00

Andy Bierman <andy@yumaworks.com> Sat, 21 July 2018 16:25 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 CACE4130DE3 for <netmod@ietfa.amsl.com>; Sat, 21 Jul 2018 09:25:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] 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 pDo66tZJgyYH for <netmod@ietfa.amsl.com>; Sat, 21 Jul 2018 09:25:23 -0700 (PDT)
Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) (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 3CD50130DE9 for <netmod@ietf.org>; Sat, 21 Jul 2018 09:25:22 -0700 (PDT)
Received: by mail-lj1-x232.google.com with SMTP id f1-v6so11877380ljc.9 for <netmod@ietf.org>; Sat, 21 Jul 2018 09:25:22 -0700 (PDT)
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=7c+tN8yXZl5rDOjMO9Ek+i2lBs08ZO+yjVXb2ivfv8s=; b=JRUj5rtbJ1kKulsW2FSpvm4OjASWw4R51OCCPLgEMK+qbcXC3xoykCtiOZrQ6eeC1/ ifNYqjCti+6v0Ph2bra1FJ2p2hT7BEmtWf/zT6eoRn29yrxrxP0NEoHA56Az1vqVOiQp SV5mfyn81qEyn5DUaniencEtkPnMw1g3OjGzqaLRtdrGoZhIT6hxv5Gsv3SqwlZRRkyF V8VQZto5wdv5usfm3SVV97ZCuNQPR/kuEDc3dLGut/kATC9mvPj9WVk6n/KXYOuO4LNw X1pRqGt6DyElPgluzVYFlhYiDG7s5In5WuDkJ3948YwEgCQfaCUPhOi8xTa9FzlcGP37 YOEw==
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=7c+tN8yXZl5rDOjMO9Ek+i2lBs08ZO+yjVXb2ivfv8s=; b=HJdYmuYz+WisqU74xszsGs8E+zcc2AbpRN2qnB/AsmHTYPTk6pL2DbrwOSkUgjIQ4O 54V0ZIhf4psZr76u215zt86HdWmXBoeK4nvN5tvbYwhruPXIJolb+Y8bAJtBHypYFiqd e3NP46RyghxuYEg73pB4LhIlH28euN0ILInw/bTGuysPDNkdFC5j1QUkiwGFkDkSEEzU YQQRZpKkjMe6lY1fC3dpvZS858t07R8tFT/kAYeoQ4rC8YEwVvklhUqeMOIF4vFNJUVN yLfkDOBWfvDxR+0JE5aZavX5Yx4Cjs5Iuyi245/X5K2Ogwm5MlwDlD+qgH885HuW6Z0G sDYg==
X-Gm-Message-State: AOUpUlFwJL6uTwk5nv2RoQOcWYg/yE5qkv64qfbKdPpsKv1agtJYUSqU rnAArufiwDgBvbjtJ1NH7d/ZUatpgOOwTyCDvG5Jzw==
X-Google-Smtp-Source: AAOMgpdosyfMJUua5Sy/aAvUGpH3S33ZqZb16ZVm4rTvcd9Rq+lUuGCRb3ykLi5VkmNPbuw/RIVji8WnbAlm3dCIweo=
X-Received: by 2002:a2e:4401:: with SMTP id r1-v6mr4821326lja.21.1532190320330; Sat, 21 Jul 2018 09:25:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:aa46:0:0:0:0:0 with HTTP; Sat, 21 Jul 2018 09:25:19 -0700 (PDT)
In-Reply-To: <87va981svk.fsf@chopps.org>
References: <CABCOCHQ47ztJTPaZMZK7FWHsRPk1jN6SuuAWtg08rmtVgUPEWw@mail.gmail.com> <87va981svk.fsf@chopps.org>
From: Andy Bierman <andy@yumaworks.com>
Date: Sat, 21 Jul 2018 09:25:19 -0700
Message-ID: <CABCOCHSkpn_=04qJP9m6TUA+doCjk0=BFG6jX9T4awj+CO-QdA@mail.gmail.com>
To: Christian Hopps <chopps@chopps.org>
Cc: NetMod WG <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c59ea1057184db68"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/PnfT_93r3b0Xv0L2fEtNW4-11IU>
Subject: Re: [netmod] backward compatibility requirements in draft-verdt-netmod-yang-versioning-reqs-00
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.27
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: Sat, 21 Jul 2018 16:25:26 -0000

On Sat, Jul 21, 2018 at 9:00 AM, Christian Hopps <chopps@chopps.org> wrote:

> As I pointed out at the mic @102 this requirement derives directly from
> the 1.x requirement of not changing the name of the module/namespace. If
> you allow for changing the namespace/module name for "major" (i.e.,
> incompatible) changes (i.e., like today) then this 3.1 requirement goes
> away.
>
> I think the plan is to reword some of these to get closer to the intention
> which I believe is to allow for smoother transition from one module to the
> next while making incompatible but mostly non-impacting changes.
>
>
You may find that reality interferes with your requirement.
The term "incompatible" should be a clue.  If the change is genuinely
incompatible
then the underlying system change may be incompatible as well.
Passive operations like <get> are not a problem, but configuration
datastores
are a problem.  There are good reasons that RFC 7950 says only 1 revision
of a module can be advertised by a server.

There is already a practical solution that is available today.
A vendor can implement the server in a way that allows their customer to
select the appropriate revision for their use-cases and tools environment.

So how does YANG validation work?
There is only 1 instance of <intended>.
E.g., i there are 3 versions of module A and 2 versions of module B,
then which versions does module C use for XPath validation that reference
modules A and B?  Is a new version of XPath needed for YANG?

It is possible to make a standard so complicated that nobody implements it.


Thanks,
> Chris.
>
>
Andy


> Andy Bierman <andy@yumaworks.com> writes:
>
> Hi,
>>
>> I strongly object to requirement 3.1:
>>
>>
>>     3.1  The solution MUST provide a mechanism to allow servers to
>>             support existing clients in a backward compatible way.
>>
>>
>>
>> This is not what servers do today at all.
>> They provide only one version of an implemented module, as specified in
>> RFC
>> 7950.
>>
>> It is a vendor and operator decision when to upgrade a server such that
>> non-backward compatible changes are made. They must decide if/when it is
>> ok
>> based on the client applications in use.
>>
>> This requirement says you cannot make backward-incompatible changes
>> which completely contradicts requirements 1.1 and 1.2.
>>
>> IMO requirement 3.1 should be removed, or change MUST to MAY
>>
>>
>> Andy
>> _______________________________________________
>> netmod mailing list
>> netmod@ietf.org
>> https://www.ietf.org/mailman/listinfo/netmod
>>
>
>