Re: [netmod] YANG next

Andy Bierman <andy@yumaworks.com> Wed, 24 July 2019 14:10 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 7CE66120271 for <netmod@ietfa.amsl.com>; Wed, 24 Jul 2019 07:10:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 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_HELO_NONE=0.001, 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 Bg2HkqFfzj6s for <netmod@ietfa.amsl.com>; Wed, 24 Jul 2019 07:10:37 -0700 (PDT)
Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (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 14D97120240 for <netmod@ietf.org>; Wed, 24 Jul 2019 07:10:37 -0700 (PDT)
Received: by mail-lj1-x229.google.com with SMTP id v18so44613877ljh.6 for <netmod@ietf.org>; Wed, 24 Jul 2019 07:10:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ropafWM9/N+wDUy1xiFPQCIKYwernGvzNAUFsI4dEkE=; b=SXxY9Ev5UAn5sBAQfK140gK8nD2HDjzFLHNfNGM1g55EbtY9BnMkD81LUMnX2/iTUE Kxksi3cD9AYbO2hzG9rjwtavTgFycD0c9YLqyUUUnAWHVr0vsXBLudtsj4XYmTWBIbBl XbYbJN2Z8+vXyYY4h249XMqhHNjzmCpl0V0LQysPfjKf+zq4Mu2hKd30jL+FZd9cwppn 5N12z3xD3Zn/7XIjGb3uQdz0PtXJWIozasfeKCTodfApUupnQOcqumIx3wuFEHVeRZb2 pxpXylC6q9OGcmk0mvcUsJAjyRR56SB7b4M4tvL1rsJqfDVZ+HXcberLoyBJTTDWaJrw D97w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ropafWM9/N+wDUy1xiFPQCIKYwernGvzNAUFsI4dEkE=; b=H/yEbQ3dlznF9pa82orqID0XeVJDwK3iOfQUMtEwNLHDc/FWfXQ4t54R5QLEcIgxHZ 4E5Thk36cXnti09hyC4x21RNx3T9G3xrYualvJLWCu0XGK/kOLW3+h2gcZ2BJIeh+h0t +YKBHytwkCIg4JTk/G2L/5gPS7/k2/4JuaEAb9F0/EWSZBoWB+gEdxubZcywXeeoY6v1 E4KbXsQkV+++4DzFBK0TFwb55QyBUNG72SUhMOSCI28YRw/DQ60tfs6qWmhjwoiMo7s+ KKtppG/Q/Hy7ZunwtaflrmLy/9UDesvSg78eVSbqdawIF+fqhk9i1X0wYp/+zcAUP7PJ 2bcQ==
X-Gm-Message-State: APjAAAXcOFcMUCHVR2lnZWwErpV6ObIbuq9/Q/4HRImdAyUhJxRhEGNy ZYupSh+csHd6vJjurkQs8Z0TzDIy76Yt7VtRK0IHjA==
X-Google-Smtp-Source: APXvYqwl1n1ecD/fGTdqSj6+4qPNzb8BP2wX45g8biLSHxGHr2lhPr/yGKuPXmhc7kdESgUXgX5Dl/Oe8AjgdGothJo=
X-Received: by 2002:a2e:8ecb:: with SMTP id e11mr4730936ljl.218.1563977434985; Wed, 24 Jul 2019 07:10:34 -0700 (PDT)
MIME-Version: 1.0
References: <ff5d90b51872df190abb226cb10d51a635e88521.camel@nic.cz> <CABCOCHRxfKWh1OS3bUJAabk3XAqTCiOswiE65JtMC8eyxMUxMA@mail.gmail.com> <02c4110737b4ff23f966e6153fad764f04436089.camel@nic.cz> <20190723182304.5yrp54q26zhv7uvb@anna.jacobs.jacobs-university.de> <87sgqvlevh.fsf@nic.cz>
In-Reply-To: <87sgqvlevh.fsf@nic.cz>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 24 Jul 2019 07:10:23 -0700
Message-ID: <CABCOCHS-K=5nhZv7UH_xzDGGrQD4n1QYeMN6xWdJ0OHf809+=A@mail.gmail.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Andy Bierman <andy@yumaworks.com>, NETMOD WG <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000730a46058e6ddf9a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/7HF3A9du3ljku32UzbvVZ6DelgY>
Subject: Re: [netmod] YANG next
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: Wed, 24 Jul 2019 14:10:41 -0000

On Wed, Jul 24, 2019 at 6:52 AM Ladislav Lhotka <lhotka@nic.cz> wrote:

> Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> writes:
>
> > On Tue, Jul 23, 2019 at 02:00:29PM -0400, Ladislav Lhotka wrote:
> >>
> >> This problem is actually not limited to YANG itself - people are
> reporting
> >> problems with the transition to NMDA.
> >>
> >
> > The YANG update from 1 to 1.1 mostly affected compiler writers - and
> > to a much lesser extend module authors and module implementors. NMDA,
> > affects client and server implementors much more directly, additional
> > instrumentation on the server side needs to be written, application
> > logic on the client side needs to be adjusted. NMDA is an evolution of
> > architectural principles and this already indicates that there is a
> > certain investment to make.
>
> But both updates induced some changes in YANG modules that affect users
> and integrators. Take ietf-ospf module as an example: it is of course a
> great addition to the YANG module collection, but in order to use it, all
> tools have to support
>
> - YANG 1.1, e.g. because of the special XPath functions, and
>
> - NMDA, because otherwise state data are missing.
>
> Despite the fact that YANG 1.1 and NMDA are undoubtedly improvements,
> users may get frustrated if lazy authors (including myself) don't update
> their tools in a timely manner.
>
> >
> > If we discuss YANG next, we should compare it to the YANG 1 to 1.1
> > transition and not to the NMDA transition. When we started YANG 1.1
>
> Both types of changes may have similar effects on YANG users.
>
> > work, there were people who said that nobody would implement it. But
> > then implementations were adopted relatively fast when we finalized
> > YANG 1.1.
>
> When we started YANG 1.1, there were only a few YANG modules around with
> little practical use, so nobody really cared. The situation is now very
> different.
>
>
Not that different.
The IETF does not value stability that much.
Maybe customer expectations are different, but some of us have to follow 2
simple rules:

   - Whatever works SHALL continue to work
   - If you changed how it works, you broke it (even if you fixed it)

Some customers even think they should be able to upgrade from any existing
version to any new version,
and these rules still hold. Therefore every change in server behavior must
be "opt-in" by the vendor and
maybe the client as well. Instead of automatically upgrading because of
course you want the spiffy
new features, vendors want the behavior to stay exactly the same (unless
they choose to change it).

There is no real need for YANG 1.2 unless and until NBC changes need to be
made,
and we try to avoid doing that.


Lada
>
>

Andy


> >
> > While a collection of patches (updates) of YANG 1.1 may sound simpler,
> > I am not sure this is really true. We will loose a common baseline and
> > instead get complexity since we will get systems that all support
> > different sets of patches (updates) of YANG 1.1. I believe we are all
> > much better off if we have a common baseline language and tools that
> > support the common baseline language. Again, if done right, YANG next
> > will mostly affect compiler writers and tool makers and not so much
> > module authors and implementors.
> >
> > /js
> >
> > --
> > Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> > Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> > Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
>
> --
> Ladislav Lhotka
> Head, CZ.NIC Labs
> PGP Key ID: 0xB8F92B08A9F76C67
>