Re: [netmod] YANG next

Robert Varga <nite@hq.sk> Wed, 24 July 2019 20:37 UTC

Return-Path: <nite@hq.sk>
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 DDC92120623 for <netmod@ietfa.amsl.com>; Wed, 24 Jul 2019 13:37:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.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_NONE=-0.0001, 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=hq.sk
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 exjJK6wcFFMB for <netmod@ietfa.amsl.com>; Wed, 24 Jul 2019 13:37:35 -0700 (PDT)
Received: from mail.hq.sk (hq.sk [81.89.59.181]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1F80F120494 for <netmod@ietf.org>; Wed, 24 Jul 2019 13:37:33 -0700 (PDT)
Received: from nitebug.nitenet.local (chello085216197060.chello.sk [85.216.197.60]) by mail.hq.sk (Postfix) with ESMTPSA id E75E124294C; Wed, 24 Jul 2019 22:37:30 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hq.sk; s=mail; t=1564000651; bh=izM6P96NH0+rePmVzvu5+XdwQxn6hZiicVhZ4A7PWKM=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=Bp7CyZXLVvoYyR5LLMVWZcAbuQ6C+bBJAGJxzbvw6Y0QKpXvZtWEIro/tkKe8sW5m OIcLdxe8q/CsSgkC7zXLedGPnod4drqXK0/glJ2fiIJeWviHYsp1/OHgAv8vEGIPvN KjEUlmSFmfF7greAJKlHJW3IO6vmRHe8MUO2o4Eo=
To: Andy Bierman <andy@yumaworks.com>, Kent Watsen <kent@watsen.net>
Cc: Ladislav Lhotka <lhotka@nic.cz>, "netmod@ietf.org" <netmod@ietf.org>
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>
From: Robert Varga <nite@hq.sk>
Openpgp: preference=signencrypt
Message-ID: <9d817e6a-3df5-aebc-2380-e12cb98ec7d5@hq.sk>
Date: Wed, 24 Jul 2019 22:37:24 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
MIME-Version: 1.0
In-Reply-To: <CABCOCHR5MJLuRVtZBa_VbBXX4nrRJMUQBpU13P8a1oRE1_6C2g@mail.gmail.com>
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="v3sSeUqGA6GEd77US0ZfK5ROdVAHX4Nkm"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/Hr4rS8k7jo1rVxAFHPr7sUSxm7M>
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 20:37:38 -0000

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.

> 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.

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).

Regards,
Robert