Re: [netmod] schema mount and YANG library

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Tue, 19 December 2017 09:05 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 3AA5C1205F0 for <netmod@ietfa.amsl.com>; Tue, 19 Dec 2017 01:05:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01, 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 2ac9Q99chNMH for <netmod@ietfa.amsl.com>; Tue, 19 Dec 2017 01:05:45 -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 60F691201F2 for <netmod@ietf.org>; Tue, 19 Dec 2017 01:05:45 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 348A969; Tue, 19 Dec 2017 10:05:44 +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 EifoZqaKku6p; Tue, 19 Dec 2017 10:05: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; Tue, 19 Dec 2017 10:05:44 +0100 (CET)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id 2206020073; Tue, 19 Dec 2017 10:05:44 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id u0wN7KBxdjdV; Tue, 19 Dec 2017 10:05:43 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id BB36020130; Tue, 19 Dec 2017 10:05:43 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 9F44741F20D6; Tue, 19 Dec 2017 10:05:43 +0100 (CET)
Date: Tue, 19 Dec 2017 10:05:43 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Ladislav Lhotka <lhotka@nic.cz>
Cc: NETMOD WG <netmod@ietf.org>
Message-ID: <20171219090543.klkffqbdnfifznmt@elstar.local>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Ladislav Lhotka <lhotka@nic.cz>, NETMOD WG <netmod@ietf.org>
References: <1512747137.3467.71.camel@nic.cz> <87zi6kay8b.fsf@nic.cz> <30ba994a-96b5-880c-ea43-b67469933a94@labn.net> <1513663919.478.7.camel@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <1513663919.478.7.camel@nic.cz>
User-Agent: NeoMutt/20171215
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/dvaClAPe9UEdykGf-4cnO3L-mbA>
Subject: Re: [netmod] schema mount and YANG library
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, 19 Dec 2017 09:05:52 -0000

On Tue, Dec 19, 2017 at 07:11:59AM +0100, Ladislav Lhotka wrote:
> On Mon, 2017-12-18 at 15:30 -0500, Lou Berger wrote:
> > lada,
> > 
> >     See below.
> > 
> > 
> > On 12/15/2017 8:59 AM, Ladislav Lhotka wrote:
> > > Hi,
> > > 
> > > unfortunately, using an action for querying embedded YANG library data
> > > (needed for the "inline" case of schema mount) doesn't work either
> > > because now under NMDA actions can be used only on instances in the
> > > <operational> datastore.
> > 
> > but the inline/embedded library would (only) be present in the in the
> > operational datastore, so what's the issue?
> 
> Well, the issue is described in my initial mail of this thread: the current text
> requires that every instance of an inline mount point contains the embedded YANG library. Tha latter is state data, so the above requirement cannot be satisfied if the mount point instance is in a configuration datastore.
>

Lada,

probably a stupid question (since I am not really familiar with the
details of the mount work): What speaks against augmenting the yang
library with a list of mount points and then mount point list elements
can refer to the schema used at the mount point?

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