Re: [netmod] some comments on revised-datastores-01

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Sun, 19 March 2017 18:16 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 8CD70128D40 for <netmod@ietfa.amsl.com>; Sun, 19 Mar 2017 11:16:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, 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 NsWjnba3h5Nx for <netmod@ietfa.amsl.com>; Sun, 19 Mar 2017 11:16:30 -0700 (PDT)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F2F11128CD5 for <netmod@ietf.org>; Sun, 19 Mar 2017 11:16:29 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id 6ACAF12CF; Sun, 19 Mar 2017 19:16:27 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.205]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id nkkhvbPeyaVj; Sun, 19 Mar 2017 19:16:24 +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 atlas3.jacobs-university.de (Postfix) with ESMTPS; Sun, 19 Mar 2017 19:16:27 +0100 (CET)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 25F3920035; Sun, 19 Mar 2017 19:16:27 +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 xLp8UOe4y9oX; Sun, 19 Mar 2017 19:16:26 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id ABE6F20033; Sun, 19 Mar 2017 19:16:26 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id C6D473EEE58C; Sun, 19 Mar 2017 19:16:30 +0100 (CET)
Date: Sun, 19 Mar 2017 19:16:30 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Kent Watsen <kwatsen@juniper.net>
Cc: Martin Bjorklund <mbj@tail-f.com>, "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <20170319181630.GA32188@elstar.local>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Kent Watsen <kwatsen@juniper.net>, Martin Bjorklund <mbj@tail-f.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <CABCOCHQDWqDXtkVtQH4dsRRO4HFAJELU1_06TBvhjnZZtj9t8g@mail.gmail.com> <20170319.094733.1957440769000198080.mbj@tail-f.com> <CEDE2294-1BCB-451A-B79E-9E60294419FF@juniper.net> <20170319.173702.1332458451679178380.mbj@tail-f.com> <E5EC05F0-F65A-4C2F-A3F5-99E0088D075A@juniper.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <E5EC05F0-F65A-4C2F-A3F5-99E0088D075A@juniper.net>
User-Agent: Mutt/1.6.0 (2016-04-01)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/rwM7WW5NkzyNOZ6JkZfoJBHo5Gs>
Subject: Re: [netmod] some comments on revised-datastores-01
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: Sun, 19 Mar 2017 18:16:33 -0000

On Sun, Mar 19, 2017 at 06:11:35PM +0000, Kent Watsen wrote:
> 
> Wait, I think you're mixing things up.  I'm not talking about using YANG Library to identify which datastores a module can be accessed in, so much as knowing which datastores are implemented in the first place.  
> 
> For instance, assuming the "ephemeral" datastore example example in the draft, a client knows a server implements it because ietf-ds-ephemeral is listed in YANG Library.   And so it is with all dynamic datastores, but not so for built-in (non-dynamic) datastores (e.g. intended) because there isn't a module to advertise for them (yet).
>

Obviously, relying on module names does not work if a module defines
multiple datastores. So either the set of datastores is identified
from reading the whole yang-library list or we provide a separate list
(and I think we should provide a separate list).

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