Re: [netmod] YANG next

Ladislav Lhotka <lhotka@nic.cz> Thu, 25 July 2019 01:18 UTC

Return-Path: <lhotka@nic.cz>
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 8A4AA120625 for <netmod@ietfa.amsl.com>; Wed, 24 Jul 2019 18:18:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.997
X-Spam-Level:
X-Spam-Status: No, score=-6.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
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 ZAxOm6pNpvyx for <netmod@ietfa.amsl.com>; Wed, 24 Jul 2019 18:18:18 -0700 (PDT)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EEC3E1200B9 for <netmod@ietf.org>; Wed, 24 Jul 2019 18:18:17 -0700 (PDT)
Received: from birdie (unknown [IPv6:2001:67c:1232:144:1a4f:a84b:2bfd:c611]) by mail.nic.cz (Postfix) with ESMTPSA id 0A67D140B73; Thu, 25 Jul 2019 03:18:13 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1564017494; bh=6rcqz5YmFCpv7cX+eZE1QX7P9udiCG5Y7h2NS9B60+c=; h=From:To:Date; b=LvyzjQ3qNLx0rXrajHxCvK1PmEH7c41+DT5UaSs61V151B6pJXvD5oUW9AL4+47fM 5/EiraFSddQc1SdsihXgJmxJpzachDiB4+ORDON9O+tJNDjikFmf8W+smIDuVcg9GQ sFgPaOh7pdRU8JJx7JA8/CQYp5vO/yDKO/A4qZxw=
Message-ID: <8548e1419a4c6d39223b3ea05f8749e59ca14344.camel@nic.cz>
From: Ladislav Lhotka <lhotka@nic.cz>
To: Robert Varga <nite@hq.sk>, Andy Bierman <andy@yumaworks.com>, Kent Watsen <kent@watsen.net>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Date: Wed, 24 Jul 2019 21:18:12 -0400
In-Reply-To: <9d817e6a-3df5-aebc-2380-e12cb98ec7d5@hq.sk>
References: <ff5d90b51872df190abb226cb10d51a635e88521.camel@nic.cz> <CABCOCHRxfKWh1OS3bUJAabk3XAqTCiOswiE65JtMC8eyxMUxMA@mail.gmail.com> <02c4110737b4ff23f966e6153fad764f04436089.camel@nic.cz> <CABCOCHQoKAiugVsDhuHSvhfnCbP2D2caLU88cF-AkkH0aCSOUA@mail.gmail.com> <c35ae918e65411575b7e18dfd24547cbbf9d216d.camel@nic.cz> <856cce29-f524-be31-b5e5-bcb679721e9a@hq.sk> <0100016c25074dba-bffd4eea-f851-4913-83da-df3da8774f76-000000@email.amazonses.com> <CABCOCHR5MJLuRVtZBa_VbBXX4nrRJMUQBpU13P8a1oRE1_6C2g@mail.gmail.com> <9d817e6a-3df5-aebc-2380-e12cb98ec7d5@hq.sk>
Organization: CZ.NIC
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.32.4
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: clamav-milter 0.100.3 at mail.nic.cz
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/uhH_19enq9BJrrWJyxuTFg6cfyE>
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: Thu, 25 Jul 2019 01:18:20 -0000

On Wed, 2019-07-24 at 22:37 +0200, Robert Varga wrote:
> On 24/07/2019 20:32, Andy Bierman wrote:
> > On Wed, Jul 24, 2019 at 10:28 AM Kent Watsen <kent@watsen.net
> > <mailto:kent@watsen.net>> wrote:
> > 
> > 
> > > > >     So you want to work on YANG 1.2, but just the parts you want to
> > > > >     change? ;-)
> > > >     I am actually fine with not doing any changes to YANG 1.1 at all,
> > > >     except perhaps
> > > >     bug fixes. This doesn't necessarily mean closing the NETMOD WG,
> > > >     it would IMO be
> > > >     immensely useful to rewrite the language specification and remove
> > > >     NETCONF- and
> > > >     XML-specific part.
> > > 
> > >     +1. There are plenty of ambiguities and NETCONF/XML pollution in the
> > >     spec. Having the specifications in a DAG would be immensely useful :)
> > 
> >     Agreed and I should've mentioned before that Martin said in Prague
> >     that he'd already started this effort, seeing it as a necessary
> >     pre-step before making other changes.  I'm unsure if the intention
> >     is to release this by itself as an RFC 7950 bis but, if looking for
> >     a minimal change, that might be it.  The next rung up would be to
> >     just add clarifications.  The next rung up from there would be to
> >     add only backwards-compatible changes (currently targeted by [1]). 
> >     The last rung being to also target NBC changes (there's no consensus
> >     to do this).
> > 
> > 
> > This WG sure likes to spend time refactoring documents.
> 
> Sorry, I am not watching very closely so I have not noticed.
> 
> I regard the NETCONF coupling in RFC6020/RFC7950 as technical debt,
> which when addressed will allow us to have better discussions about
> modeling intent vs. XML representation.

Absolutely. Also note that in RFC 7950 we even don't have a sound definition of
an instance data tree.

> 
> > Moving lots of text will create bugs and strong coupling, and only help
> > the standards purists.
> 
> Not necessarily. I agree with limiting the amount (and type) of text
> being moved and modifications done in between.
> 
> > It will be a lot of work for the WG and IESG to review such a massive
> > document split,
> > and in the end we have no improvement in YANG, just more RFCs to read.
> 
> No improvement in to YANG in terms of number of features, yes.
> 
> Even if it ends up being more documents, if they are smaller and more
> logically structured, they are more approachable.

Right. The base YANG spec should only define the language and rules for
validating instance data.

> 
> Reading RFC7950 (216 pages) is far from sufficient for understanding
> YANG, as you also need to understand NETCONF, which leads you down the
> RFC6241 rabbit hole.
> 
> If we can get a more approachable first document, lowering the entry
> barrier will be beneficial to people outside the WG(s).

I again fully agree. The entry barrier is unnecessarily high, which may not be
apparent to vintage members of the NETCONF/NETMOD gang.

Lada

> 
> Regards,
> Robert
> 
-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67