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 10:47 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 5DF641273E2 for <netmod@ietfa.amsl.com>; Mon, 12 Feb 2018 02:47:31 -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 Hws3zbEQq1YF for <netmod@ietfa.amsl.com>; Mon, 12 Feb 2018 02:47:29 -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 C89CB120454 for <netmod@ietf.org>; Mon, 12 Feb 2018 02:47:28 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 2392D675; Mon, 12 Feb 2018 11:47:27 +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 NvGr_wWARbXA; Mon, 12 Feb 2018 11:47: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 atlas5.jacobs-university.de (Postfix) with ESMTPS; Mon, 12 Feb 2018 11:47:27 +0100 (CET)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id F25BC2014E; Mon, 12 Feb 2018 11:47:26 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius3.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id nVegIfAoUWTF; Mon, 12 Feb 2018 11:47:26 +0100 (CET)
Received: from elstar.local (unknown [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 87F8E2014B; Mon, 12 Feb 2018 11:47:26 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 99AB74242DE2; Mon, 12 Feb 2018 11:47:20 +0100 (CET)
Date: Mon, 12 Feb 2018 11:47:20 +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: <20180212104720.cydwwzeo5htxvibl@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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <bdcec1b5-1210-5cf2-0e02-05da9bf7f67d@ericsson.com>
User-Agent: NeoMutt/20171215
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/gaLO4jJbuc4Cbta8cNYwRNUymHU>
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 10:47:31 -0000

On Mon, Feb 12, 2018 at 10:49:48AM +0100, Balazs Lengyel wrote:
>    Hello Jurgen,
> 
>    IMHO once we know whether the data is config=false or true and know the
>    datastores the server supports the datastore the instance data is relevant
>    to is fixed. One exception is the possible loading of dynamic datastores.
>    However as I do not have a use-case for these and we do not have any
>    dynamic datastores defined, IMHO we can leave the usage of these
>    datastores out of scope. If I added the following paragraphs would that
>    help?
> 
>    "If the instance data specifies config false (state data) and the server
>    support the operational datastore, the instance data documents the
>    operational datastore. If  the operational datastore is not supported the
>    data documents additional state data that is stored outside the
>    configuration datastores. The instance data MAY be used to load the
>    relevant datastore or it MAY just be used to document its content.

Having to guess the datastore from the instance data feels wrong to
me. It is not robust.

>    If the instance data specifies config true (configuration data)  the
>    instance data documents the running datastore.  The instance data MAY be
>    used to load the running  datastore or it MAY just be used to document its
>    content. While the instance data format MAY be used to load other e.g.
>    dynamic datastores that is out of scope for this specification."
> 
>    Also further clarification may be provided for each use-case in the
>    relevant document.

Why not make the data format robust? What speaks against indicating
explicitly to which datastore data belongs?

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