Re: [netmod] Datastore metadata: Re: New Version Notification for draft-lengyel-netmod-yang-instance-data-00.txt

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Mon, 12 February 2018 14:26 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 A74BB129BBF for <netmod@ietfa.amsl.com>; Mon, 12 Feb 2018 06:26:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01] 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 1gFcovSUoPNP for <netmod@ietfa.amsl.com>; Mon, 12 Feb 2018 06:26: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 85AF0126C2F for <netmod@ietf.org>; Mon, 12 Feb 2018 06:26:43 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 554516BA; Mon, 12 Feb 2018 15:26:42 +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 FyfimFA0ryDc; Mon, 12 Feb 2018 15:26:39 +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; Mon, 12 Feb 2018 15:26:42 +0100 (CET)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 328F92014B; Mon, 12 Feb 2018 15:26:42 +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 W_joDhmoPxr7; Mon, 12 Feb 2018 15:26:41 +0100 (CET)
Received: from elstar.local (unknown [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 0E5D12014E; Mon, 12 Feb 2018 15:26:41 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id F1364424375B; Mon, 12 Feb 2018 15:26:40 +0100 (CET)
Date: Mon, 12 Feb 2018 15:26:40 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Balazs Lengyel <balazs.lengyel@ericsson.com>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <20180212142640.jupjqfes3hhy2cc7@elstar.local>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Balazs Lengyel <balazs.lengyel@ericsson.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <20180208092408.ir25jwkorxozq6gr@elstar.local> <75c8a52b-0c38-17b9-3102-2936c663fe61@ericsson.com> <20180209162526.5siyzlqgiru73nsb@elstar.local> <bdcec1b5-1210-5cf2-0e02-05da9bf7f67d@ericsson.com> <20180212104720.cydwwzeo5htxvibl@elstar.local> <2af89159-7fa3-1017-3105-59675ca1f62e@ericsson.com> <20180212114058.w7tmwzimfjipoyk2@elstar.local> <dc24122e-b296-f241-4741-81bf83e399f8@ericsson.com> <20180212131529.h6whdwwprbdruza7@elstar.local> <134cc8b0-21cb-1bc7-122c-15a79037d93e@ericsson.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <134cc8b0-21cb-1bc7-122c-15a79037d93e@ericsson.com>
User-Agent: NeoMutt/20171215
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/T9WBqeaXy72hRCQUYM91xc3cenI>
Subject: Re: [netmod] Datastore metadata: Re: New Version Notification for draft-lengyel-netmod-yang-instance-data-00.txt
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: Mon, 12 Feb 2018 14:26:49 -0000

Since you already have several attributes for the instance-data
element (ida:instance-data-set, ida:revision, ida:description,
ida:contact), adding ida:datastore may do the work (but not on a per
node basis, it needs to be restricted to be used only on the
instance-data element.

Note that some of these attributes are not well defined. I do not
understand "The annotation SHALL only be used on the top level <data>
element in RFC XXXX defined YANG Instance Data files." Perhaps you
want to restrict them to be only used on instance-data? (Which
namespace does this live in if any?) It is kind of unclear why you
define the attributes listed above in YANG but you do not define
instance-data itself in YANG. It seems you either define everything
about this format in YANG or nothing. But yes, this is a -00 so I
assume all of this can be improved.

/js

On Mon, Feb 12, 2018 at 03:09:08PM +0100, Balazs Lengyel wrote:
> Hello Jurgen,
> 
> What would be your preference? How should we specify datastore? Could you
> please provide some description.
> 
> regards Balazs
> 
> 
> On 2/12/2018 2:15 PM, Juergen Schoenwaelder wrote:
> > On Mon, Feb 12, 2018 at 01:51:30PM +0100, Balazs Lengyel wrote:
> > > Hello Jurgen,
> > > OK, I will add some text about:
> > > 
> > > datastore selection, default being running/operational for config true/false
> > > data, mentioning NMDA.
> > > 
> > Once again, this is ambiguous.
> > 
> > > I will add a ida:datastore metadata that can placed on any any data-node (?)
> > On any data node???
> 
> -- 
> Balazs Lengyel                       Ericsson Hungary Ltd.
> Senior Specialist
> Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

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