Re: [netmod] YANG next

Balázs Lengyel <balazs.lengyel@ericsson.com> Wed, 24 July 2019 14:28 UTC

Return-Path: <balazs.lengyel@ericsson.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 297251202C1 for <netmod@ietfa.amsl.com>; Wed, 24 Jul 2019 07:28:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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=ericsson.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 SROds4f-4Ws3 for <netmod@ietfa.amsl.com>; Wed, 24 Jul 2019 07:28:50 -0700 (PDT)
Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30077.outbound.protection.outlook.com [40.107.3.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7949012032F for <netmod@ietf.org>; Wed, 24 Jul 2019 07:28:37 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DtXtSIl5qp80ruQev1mW/lzXh4Nlkwl+/IAt51I6m8znsQzT+0WklnN4tum8+F3YlIaUr+r8vlekLYjle7jPC224vl0NY5rAa1tp/E/xd4OMQ/QCvFVhqigqjntzUjI4cYoEG3l0hEFmYvVM44yy7c81hMRGyk0mFBfKBNgqJaLG5GXzcAHdY2HuY0ORDKiiMRpvzuYh0VXPXW2AVpuYAM0ljF86o1KFbKJOoHJqLhoLdJ/8l+UyWQPSypgt9RIBbkVcBvMb4AGB8yM8PhoZpIjBi/mQvkm/Mr7F6etM9uy2TTf4F0jqB6fZMe2CWF9Nse3KIKZask8OXEZM2C2WeQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7bvJv81lr9Q03X1lmpWIdZdNFR+TdMHWMsiGn9GQMBQ=; b=iprJ3FwNj20G3roOU+zEGhzTn9YPq6rlc4FSkUlJLo7MNPGQFNC2+iYM7YIF53ZSK/w7nStqK3gFuN96C/Mms+WyM5Uv7pyOOZ3SUBVPrnlRYT1vqN/SL0pF9JDvaAaFSxeB84g0rwu6CTchYka0FJiD4cN3x2Wh41iChutFmkcRfWXN0F88mUN6u4ablKxTlDQCFDzS2at3zXw/U3tlOpZ94tzPYdbb69T6mwKNzMAN57andGt216l7q3FCGX9ceoUF4hwWvxvTWoOeZhFjR3g4Qz2SzvCo48ynuuDwD9wYOKvPlqzkb/RDfv5YXZe1ClXSk4KgqQ8pUC4BIqQbxg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=ericsson.com;dmarc=pass action=none header.from=ericsson.com;dkim=pass header.d=ericsson.com;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7bvJv81lr9Q03X1lmpWIdZdNFR+TdMHWMsiGn9GQMBQ=; b=RrPs8nTIF03ZPB6ikeMdKEyXjpmz+WO5wmBJH7U+1H8GSgRrF4V2yvowwQ3Otml4AGcUkbUGm/llCTgXPgtXy9GUfwX2BPvjN3nAGB36zxEoKcEddRUnrXuzGQpsn/87YJSb5yRLJSd9B+r3wvSNLdxxzhyadrsiBV9RtbVxIc8=
Received: from VI1PR0701MB2286.eurprd07.prod.outlook.com (10.169.137.153) by VI1PR0701MB2637.eurprd07.prod.outlook.com (10.173.79.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.10; Wed, 24 Jul 2019 14:28:35 +0000
Received: from VI1PR0701MB2286.eurprd07.prod.outlook.com ([fe80::5556:4c20:cd8d:686a]) by VI1PR0701MB2286.eurprd07.prod.outlook.com ([fe80::5556:4c20:cd8d:686a%11]) with mapi id 15.20.2115.005; Wed, 24 Jul 2019 14:28:35 +0000
From: Balázs Lengyel <balazs.lengyel@ericsson.com>
To: Andy Bierman <andy@yumaworks.com>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, NETMOD WG <netmod@ietf.org>
Thread-Topic: [netmod] YANG next
Thread-Index: AQHVQXA4NNSdyaU74E+3vDu/k+DKb6bYYs2AgAAbWICAAAZQAIABRogAgAAFM4CAAAPZsA==
Date: Wed, 24 Jul 2019 14:28:34 +0000
Message-ID: <VI1PR0701MB228689D8A6A3C3596CD20F82F0C60@VI1PR0701MB2286.eurprd07.prod.outlook.com>
References: <ff5d90b51872df190abb226cb10d51a635e88521.camel@nic.cz> <CABCOCHRxfKWh1OS3bUJAabk3XAqTCiOswiE65JtMC8eyxMUxMA@mail.gmail.com> <02c4110737b4ff23f966e6153fad764f04436089.camel@nic.cz> <20190723182304.5yrp54q26zhv7uvb@anna.jacobs.jacobs-university.de> <87sgqvlevh.fsf@nic.cz> <CABCOCHS-K=5nhZv7UH_xzDGGrQD4n1QYeMN6xWdJ0OHf809+=A@mail.gmail.com>
In-Reply-To: <CABCOCHS-K=5nhZv7UH_xzDGGrQD4n1QYeMN6xWdJ0OHf809+=A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=balazs.lengyel@ericsson.com;
x-originating-ip: [2001:67c:1232:144:1816:c5a7:7b6a:280f]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: df00bef7-5daf-4677-1988-08d710433609
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(49563074)(7193020); SRVR:VI1PR0701MB2637;
x-ms-traffictypediagnostic: VI1PR0701MB2637:
x-microsoft-antispam-prvs: <VI1PR0701MB26375F447D446401858E134DF0C60@VI1PR0701MB2637.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0108A997B2
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(366004)(376002)(346002)(136003)(39860400002)(199004)(189003)(76116006)(229853002)(6506007)(186003)(486006)(6116002)(7696005)(790700001)(102836004)(46003)(53546011)(52536014)(85182001)(66616009)(478600001)(76176011)(66476007)(66446008)(64756008)(66556008)(110136005)(86362001)(2906002)(66946007)(6306002)(5660300002)(81156014)(33656002)(55016002)(53936002)(25786009)(316002)(236005)(66574012)(14444005)(99936001)(256004)(81166006)(14454004)(74316002)(6436002)(476003)(11346002)(446003)(606006)(9686003)(68736007)(71200400001)(71190400001)(85202003)(6246003)(99286004)(8936002)(54896002)(8676002)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0701MB2637; H:VI1PR0701MB2286.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: Oqxr4k5UMfCEwQR3PcLePktt21ic8y6gSsB9QRZ0pD4dGNu82/OT8ta3l5IaIrrO6ktzJMZPp4QniUh4gAnQfyCu7hyiDdP2z0RWAHWo973Jp/YUhPdMkYcX41qWYtsssRPL9aPHvWCQX2aN87VAFKepkl9PL5c4kGt8ISboToY8yd+7CaN3ywSXinLlgz03FKesJ/HkgLIOu+rrUEi2q37LG+fL+btRRJebBeQkP6B7cO4rUEmPLMbC5S7Cr9IRf7KW8kvoKzCKiSv6dHr2bw1kqeDWfmLyoXRUwlPeL54GlF5K4Ik/OpTyI586IVZWN8BEH/dgYzK+KPaO7uXa0sx4MabruG4ILAaIAPEB+zgqtkihXjM12pFIayCufQBGELKXWyH5acCqNdFJvFt4EaaVx8vD/lTXmCsBGLs9mhY=
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_046C_01D5420A.8B2658F0"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: df00bef7-5daf-4677-1988-08d710433609
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2019 14:28:35.0144 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: balazs.lengyel@ericsson.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB2637
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/Fi6ewmlPNDaWLgZNpmxW5WpMl0c>
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:28:59 -0000

We already have some RFCs and drafts that propose extensions that would/could go into YANG 1.2.  I would like to have an “official” agreement/document/wiki that lists what is planned to go into 1.2 whenever it happens. That would help us to have a platform that contains a well defined set of additions beyond YANG 1.1.

Regards Balazs

 

From: netmod <netmod-bounces@ietf.org> On Behalf Of Andy Bierman
Sent: 2019. július 24., szerda 10:10
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>; Andy Bierman <andy@yumaworks.com>; NETMOD WG <netmod@ietf.org>
Subject: Re: [netmod] YANG next

 

 

 

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

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de <mailto: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