Re: [netmod] [Netconf] Alternative YANG library structure for 7895bis

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 13 December 2017 08:31 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 5C38812700F; Wed, 13 Dec 2017 00:31:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 ZJQDRTHDedlb; Wed, 13 Dec 2017 00:31:43 -0800 (PST)
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 ABEE4120726; Wed, 13 Dec 2017 00:31:42 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 554B54C6; Wed, 13 Dec 2017 09:31:41 +0100 (CET)
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 OYAL1pQSCqi3; Wed, 13 Dec 2017 09:31:41 +0100 (CET)
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; Wed, 13 Dec 2017 09:31:41 +0100 (CET)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 412392012E; Wed, 13 Dec 2017 09:31:41 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id KXLy__gk6Is9; Wed, 13 Dec 2017 09:31:40 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 94BF12012C; Wed, 13 Dec 2017 09:31:40 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 96A704196B76; Wed, 13 Dec 2017 09:29:39 +0100 (CET)
Date: Wed, 13 Dec 2017 09:29:39 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Vladimir Vassilev <vladimir@transpacket.com>
Cc: Martin Bjorklund <mbj@tail-f.com>, Netconf <netconf@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <20171213082939.thmjs6zf4nfwtsrd@elstar.local>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Vladimir Vassilev <vladimir@transpacket.com>, Martin Bjorklund <mbj@tail-f.com>, Netconf <netconf@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
References: <20171208.160306.109290175567894287.mbj@tail-f.com> <20171208150614.axuynu4atpg7aaj2@elstar.local> <b3159aa5-93e4-23eb-406e-083289a4767d@transpacket.com> <20171212.202001.1743562517319162368.mbj@tail-f.com> <ba42f0ee-3926-071a-3611-199af31910aa@transpacket.com> <1c97862a-9bc5-6101-6a79-3438573a9aca@transpacket.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
X-Clacks-Overhead: GNU Terry Pratchett
Content-Transfer-Encoding: 8bit
In-Reply-To: <1c97862a-9bc5-6101-6a79-3438573a9aca@transpacket.com>
User-Agent: NeoMutt/20170714 (1.8.3)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/pJozWHYjHBtifqgWQNEryTfASMc>
Subject: Re: [netmod] [Netconf] Alternative YANG library structure for 7895bis
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: Wed, 13 Dec 2017 08:31:45 -0000

On Wed, Dec 13, 2017 at 08:50:33AM +0100, Vladimir Vassilev wrote:
> 
> At the current point I think all issues raised are addressed with the
> following model (notice the added anydata option which can replace the use
> of yang-library-datastore and if implemented as an alternative can make
> retrieval as a single tree):
> 
> module: ietf-datastores
>     +--ro datastores-state
>        +--ro datastore* [name]
>        +--ro module-set-id             string
>        +--ro (model)?
>           +--:(same-as-operational)
>           +--:(constrained-to-operational)
>           |  +--ro not-implemented* [name revision]
>           |     +--ro name        -> /yanglib:module-state/module/name
>           |     +--ro revision    -> /yanglib:module-state/module/revision
>           +--:(unconstrained-datastore-instance)
>           |  +--ro yang-library-datastore    identityref
>           +--:(unconstrained-anydata)
>              +--ro yang-library?             <anydata>
> 
>   augment /yanglib:yang-library-change:
>     +---- datastore?   identityref
>

It is (a) architecturally backwards to have ietf-datastores depend on
ietf-yang-library and (b) the proposal does not solve the issue that
you are silently changing the semantics of the definitions in the old
ietf-yang-library. It remains unclear to me which problem this is
approach solving, i.e., what the benfit is over the other proposals
(since the semantics of ietf-yang-library change, it is _not_
backwards compatible).

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