Re: [netmod] YANG next

Andy Bierman <andy@yumaworks.com> Tue, 23 July 2019 16:22 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 97532120377 for <netmod@ietfa.amsl.com>; Tue, 23 Jul 2019 09:22:53 -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 yR79llkS74H4 for <netmod@ietfa.amsl.com>; Tue, 23 Jul 2019 09:22:51 -0700 (PDT)
Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (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 E0314120121 for <netmod@ietf.org>; Tue, 23 Jul 2019 09:22:50 -0700 (PDT)
Received: by mail-lf1-x130.google.com with SMTP id z15so25498135lfh.13 for <netmod@ietf.org>; Tue, 23 Jul 2019 09:22:50 -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 :cc; bh=MuBdT3meNNyYFaU8N4CqKcGcOfTlzWtSGZgpkyP9n8c=; b=pMaPb+mh421ZuGXn0gMTT1pAw1KzDj4ljycTWFsLNxaHh8HYSJo+vtyZIwha+5BLPB z6lkXxNKG1kUNe95vobaHcVnuDfF/sHKOY8/ttFwYE/R+2RfLZEZuDOze7+u5tWNbHKP viM+BF5Li+GeExThHkGq1TfdL2MU9kx/lOctDOnx7DKzQsGt6Zt/uiVzBuCZES3wKevQ QyJWOZ53v0a7cF8l7nfhJbEprGbJLpWEKMFOLoZxj52fccs0UHWRtYUMry/lRLBG5JHX oASOO8vCCSNf9dsCrmri+A3q5+A3PwSXP7NA4XpZmouxV0SlPhZceq3awMHO6OdcDeSp 7Kbg==
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:cc; bh=MuBdT3meNNyYFaU8N4CqKcGcOfTlzWtSGZgpkyP9n8c=; b=K1MxLqRDMn8OZoj/TXAAyy010uOSkX6F0ZirSoqlrWuZIElXgNkfXe7kXTDYyydGyI Qhetx4vOkODMtOBo2uMLuJOq6a2ILM+GWZI+CX0l50p/V0LerZ83yMI3/14ejc2w+S4Y 07xogGySc24eqvE3AwbMoLlcmaULR8xPVcT+vE9efhtqfy3BdK0NlKvvLjJpwMHWdMdH w9cji2IKKGE3Yqsv7EC9HvRVQfirt+g9ueoDWpLuAICpHNMpkGDCW9gCf8zxLTs6oVqm p8zTgLC8RdXhh2j1DELjwU4+t7utAtJAt6nAa+9I8dbVbCsnQvfAbnzJxJU+PUoe5voZ rUuQ==
X-Gm-Message-State: APjAAAWs+X1HzlWOnjZ1vYN+H9n3QKkGEvtFnjBdMxdwngwjbCyAoOBW IjqL/vJ78dmHaNdmEZffUk+tE38h2t0BGOnCVqfk3Q==
X-Google-Smtp-Source: APXvYqztVThlJIrcwmW9cdFcvucNhtv7YxGUaaJ5vBh0nSQTvd1RlsykXsQKr1WpH1EFakk9Qm0g/rO8MUgaCCJVgBs=
X-Received: by 2002:ac2:53a7:: with SMTP id j7mr2869304lfh.112.1563898968958; Tue, 23 Jul 2019 09:22:48 -0700 (PDT)
MIME-Version: 1.0
References: <ff5d90b51872df190abb226cb10d51a635e88521.camel@nic.cz>
In-Reply-To: <ff5d90b51872df190abb226cb10d51a635e88521.camel@nic.cz>
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 23 Jul 2019 09:22:37 -0700
Message-ID: <CABCOCHRxfKWh1OS3bUJAabk3XAqTCiOswiE65JtMC8eyxMUxMA@mail.gmail.com>
To: Ladislav Lhotka <lhotka@nic.cz>
Cc: NETMOD WG <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000082897d058e5b9ab5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/nrjhNh7_JLVLpDCzMVVfLF7Jt2M>
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: Tue, 23 Jul 2019 16:23:00 -0000

On Tue, Jul 23, 2019 at 9:03 AM Ladislav Lhotka <lhotka@nic.cz> wrote:

> Hi,
>
> this morning I attended the side meeting "Next Step of IETF YANG". I was
> somewhat misled into thinking that it would be about future evolution of
> YANG
> the language, which was not the case at all. However, my personal
> conclusion
> from the meeting is that it would be a total disaster to throw in a new
> version
> of YANG within the next few years or so.
>
>

I hope a summary of the meeting is posted to the WG mailing list.


> The operators and equipment vendors are busy putting together YANG modules
> and
> tools, filling the gaps, coping with NMDA, schema mount, IETF versus
> OpenConfig
> etc. A new YANG version (and modules written in it) would IMO be extremely
> counter-productive at this rather turbulent stage.
>
> So, if we want to continue the yang-next discussion, I think we first have
> to
> figure out how to evolve YANG without making waves in the current YANG
> pond and
> let the operators and vendors do their work, without which YANG can never
> succeed.
>
>
IMO a new version of YANG would not be disruptive (if done right).
The issue is whether it is cleaner in the long-run to introduce NBC changes
properly
with a new version number, or not so properly, through YANG extensions.

E.g -- adding a leaf to the datastore that says "I don't follow the rules
in 7950"
is still breaking the YANG 1.1 contract.  Using extensions instead of real
statements
is problematic because they are optional to implement (as you point out all
the time).

Seems like the WG is going the YANG extension route, which has its own set
of problems
compared to a new YANG language version.


Lada
>

Andy


>
> --
> Ladislav Lhotka
> Head, CZ.NIC Labs
> PGP Key ID: 0xB8F92B08A9F76C67
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>