Re: [netmod] YANG next

Robert Varga <nite@hq.sk> Wed, 24 July 2019 14:31 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 561281202BB for <netmod@ietfa.amsl.com>; Wed, 24 Jul 2019 07:31:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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] 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 B_DEKMnwq7MG for <netmod@ietfa.amsl.com>; Wed, 24 Jul 2019 07:31:13 -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 8996B12032C for <netmod@ietf.org>; Wed, 24 Jul 2019 07:31:13 -0700 (PDT)
Received: from nitebug.nitenet.local (46.229.239.158.host.vnet.sk [46.229.239.158]) by mail.hq.sk (Postfix) with ESMTPSA id 88E66241ED3; Wed, 24 Jul 2019 16:31:11 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hq.sk; s=mail; t=1563978671; bh=AAonTGpP3BeCoCQQvfl/MwyCm1dQPHcW80Ltd/9+8Qg=; h=Subject:To:References:From:Date:In-Reply-To; b=PFV6gnXgSIR2xUe+Kj6ZW14r/HXWqoxPDFSmwyThoJY2zZPURNDepdU70bBESOsoJ lEWEzzcqRoSmGvcvgxIaQs44Du0BBJ0bsD7n/UXbNBBS4cvCUxuWxAW60iP/PD4qAv ou2JcW4gPrT4GYnMpumYZJNzMoxdgH7z1I4rW3c0=
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Andy Bierman <andy@yumaworks.com>, NETMOD WG <netmod@ietf.org>
References: <ff5d90b51872df190abb226cb10d51a635e88521.camel@nic.cz> <CABCOCHRxfKWh1OS3bUJAabk3XAqTCiOswiE65JtMC8eyxMUxMA@mail.gmail.com> <02c4110737b4ff23f966e6153fad764f04436089.camel@nic.cz> <20190723182304.5yrp54q26zhv7uvb@anna.jacobs.jacobs-university.de> <87sgqvlevh.fsf@nic.cz>
From: Robert Varga <nite@hq.sk>
Openpgp: preference=signencrypt
Message-ID: <a20f1d15-aef2-acbf-82ef-12b6fa9a2b6b@hq.sk>
Date: Wed, 24 Jul 2019 16:31:05 +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: <87sgqvlevh.fsf@nic.cz>
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="kvMNW74H50cENThB8hQcm604mcGZnPi8S"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/ZLWhoOtsVimDlmCo4T1Sk3T5UM0>
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:31:21 -0000

On 24/07/2019 15:51, Ladislav Lhotka wrote:
> 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.

Well, honestly, YANG 1.1, while compatible when viewed from the
perspective of a client processing XML, has a different metamodel than
YANG 1.0.

One example for all: YANG 1.0 metamodel did not require multiple
inheritence anywhere, whereas YANG 1.1 requires it to deal with 'base'
being '0..n' instead of '0..1'.

While it is a relatively simple change on the surface, making it happen
in a software ecosystem (with API stability guarantees, release cycles,
etc.) does frustrate users even in presence of non-lazy authors (who
also get frustrated)...

Regards,
Robert