Re: [netmod] augment YANG 1.0 with YANG 1.1 OK?

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Tue, 24 October 2017 17:22 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 EE9C41391C3 for <netmod@ietfa.amsl.com>; Tue, 24 Oct 2017 10:22:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 AwFClns7BSdY for <netmod@ietfa.amsl.com>; Tue, 24 Oct 2017 10:22:53 -0700 (PDT)
Received: from atlas5.jacobs-university.de (atlas5.jacobs-university.de [212.201.44.20]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4D784138103 for <netmod@ietf.org>; Tue, 24 Oct 2017 10:22:53 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 1F18BEFF; Tue, 24 Oct 2017 19:22:52 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas5.jacobs-university.de ([10.70.0.217]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10032) with ESMTP id QrwnYKc8g_dj; Tue, 24 Oct 2017 19:22:49 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas5.jacobs-university.de (Postfix) with ESMTPS; Tue, 24 Oct 2017 19:22:52 +0200 (CEST)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id 0AD3320108; Tue, 24 Oct 2017 19:22:52 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius3.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id 2im-sGu1tqI7; Tue, 24 Oct 2017 19:22:51 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 82F81200FC; Tue, 24 Oct 2017 19:22:51 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id AB41B413B10A; Tue, 24 Oct 2017 19:21:25 +0200 (CEST)
Date: Tue, 24 Oct 2017 19:21:25 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@yumaworks.com>
Cc: Robert Wilton <rwilton@cisco.com>, Martin Bjorklund <mbj@tail-f.com>, "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <20171024172125.l6l3yhocakfkcoh2@elstar.local>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Andy Bierman <andy@yumaworks.com>, Robert Wilton <rwilton@cisco.com>, Martin Bjorklund <mbj@tail-f.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <CABCOCHQhPHxen2YD-ZPHqpGZN5YrE_7RVe7_3qUkdazL+PTSmg@mail.gmail.com> <20171015.095206.5556973134711466.mbj@tail-f.com> <CABCOCHR_q8DTF2agDi_VH9pSL8DWV1ttuX=ZZDO9OmNXhAeEsg@mail.gmail.com> <20171018143651.kdsf77r65ptlu4mq@elstar.local> <CABCOCHRVdkjV5PgQ+UtwJMKPLeFRKs_=ogAfTaCGZsWEdgP5uw@mail.gmail.com> <20171018213601.hdkt2qtqsno6vr4u@elstar.local> <CABCOCHS72TVrurJ1mTRi4eGQR3=G1=bx3wk_NK07NOB8OaZfKg@mail.gmail.com> <bacb34ef-d3d9-babd-467e-188146c1084d@cisco.com> <CABCOCHR6tSg9RRW7gZ50qp6F5frWGm-P1qK_0xEEQdiNursB7A@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CABCOCHR6tSg9RRW7gZ50qp6F5frWGm-P1qK_0xEEQdiNursB7A@mail.gmail.com>
User-Agent: NeoMutt/20170714 (1.8.3)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/QcxROmVLnw1JDwIhvhVa_nRh4ZQ>
Subject: Re: [netmod] augment YANG 1.0 with YANG 1.1 OK?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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, 24 Oct 2017 17:22:55 -0000

On Tue, Oct 24, 2017 at 10:13:35AM -0700, Andy Bierman wrote:
> 
> IMO the more complex NMDA is to implement, the less likely it will
> be implemented.  If you want the tools to figure out the correct
> datastore(s) from description-stmts instead of something
> deterministic and machine-usable, NMDA is less likely to be
> implemented.

There is nothing machine readable today that tells you which argument
of get-config identifies the datastore that is being accessed by
get-config. Our reasoning is that for most actions that default is
going to do the right thing. If there is a need to have further
language support to handle the cases where operations may relate to
datastores different than operational, then this should be taken up by
a future version of YANG.

> Given that the same objects can be defined differently in each
> datastore in NMDA, it is especially useful to know which set of YANG
> modules applies, before parsing instance data against those modules.

I am not sure I parse this correctly.

> (2) Define <action2>:
> >
> > I'm not convinced that this is really required/helpful, given that most
> > actions are likely to only apply to operational.  If it turns out that this
> > is particularly useful then I would propose that this is deferred until a
> > future revision of NETCONF, particularly because we are trying to keep the
> > NETCONF NMDA and RESTCONF NMDA drafts as small as possible.
> >
> > Is this OK?
> >
> 
> The NMDA theme has been to declare things that are possible in pre-NMDA
> but not supported in post-NMDA to be not useful, so this can be left to
> vendors I guess.

Not sure I understand this either.

If you have a concrete change proposal, perhaps the discussion becomes
more concrete and productive.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>