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

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Mon, 12 February 2018 11:41 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 AC76A1275C5 for <netmod@ietfa.amsl.com>; Mon, 12 Feb 2018 03:41:04 -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 JV_hDdWq-1yl for <netmod@ietfa.amsl.com>; Mon, 12 Feb 2018 03:41:03 -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 9C2E81201FA for <netmod@ietf.org>; Mon, 12 Feb 2018 03:41:02 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id D43216AD; Mon, 12 Feb 2018 12:41:00 +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 lRu-DfHvhniH; Mon, 12 Feb 2018 12:40:58 +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 12:41:00 +0100 (CET)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id BAD1B20150; Mon, 12 Feb 2018 12:41:00 +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 k3KODEqko0BX; Mon, 12 Feb 2018 12:41:00 +0100 (CET)
Received: from elstar.local (unknown [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 597712014E; Mon, 12 Feb 2018 12:41:00 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id E2818424301F; Mon, 12 Feb 2018 12:40:58 +0100 (CET)
Date: Mon, 12 Feb 2018 12:40:58 +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: <20180212114058.w7tmwzimfjipoyk2@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: <151802453050.4811.17681759233520578672.idtracker@ietfa.amsl.com> <fbf20002-e114-c55a-d595-bb5710e7de7e@ericsson.com> <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>
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: <2af89159-7fa3-1017-3105-59675ca1f62e@ericsson.com>
User-Agent: NeoMutt/20171215
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/m2kca-FLGh4aDV69gQx5Bn0e1PQ>
Subject: Re: [netmod] 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 11:41:05 -0000

On Mon, Feb 12, 2018 at 12:14:11PM +0100, Balazs Lengyel wrote:
> 
> BALAZS:  Sorry but where is the guessing?

If there is no config false instance, how do I decide?

> The YANG model explicitly states whether data is config=false or true.
> For config=true data it is always the running datastore
> For config=false data it only depends on the NMDA support. E.g. the yanglib
> model will be used on new and old servers too.
> Also it is an explicit aim of the draft that we should allow mixing of
> config=true and config=false data in the same instance data set.
> 
> Would you prefer that I add as metadata "ida:config-datastore=XXX" ? Here
> XXX could be running or some dynamic (e.g. SDN) with default being running.
> Or do you see any use case for documenting/loading candidate, startup,
> intended or operational data for config=true ? If so please describe.
> 
> Config=false data it will always go into operational or "other" in case of a
> preNMDA server; so I don't see a need for any extra selector here.

I see a use case of having examples in documents (which likely are not
even complete) and I think tools prefer to know upfront which
datastore the example belongs to without first doing complex
processing.

/js

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