Re: [netmod] Fwd: New Version Notification for draft-lengyel-netmod-yang-instance-data-01.txt
Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 13 June 2018 15: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 AD492127148 for <netmod@ietfa.amsl.com>; Wed, 13 Jun 2018 08:26:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 7I4qQE8iG7BT for <netmod@ietfa.amsl.com>; Wed, 13 Jun 2018 08:26:43 -0700 (PDT)
Received: from anna.localdomain (anna.eecs.jacobs-university.de [IPv6:2001:638:709:5::7]) by ietfa.amsl.com (Postfix) with ESMTP id AD0B4130EC7 for <netmod@ietf.org>; Wed, 13 Jun 2018 08:26:41 -0700 (PDT)
Received: by anna.localdomain (Postfix, from userid 501) id 07DFC222B78A; Wed, 13 Jun 2018 17:26:39 +0200 (CEST)
Date: Wed, 13 Jun 2018 17:26:39 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Robert Wilton <rwilton=40cisco.com@dmarc.ietf.org>
Cc: Balazs Lengyel <balazs.lengyel@ericsson.com>, "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <20180613152639.gb7k2eshscmzqpiz@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Robert Wilton <rwilton=40cisco.com@dmarc.ietf.org>, Balazs Lengyel <balazs.lengyel@ericsson.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <152889763632.15168.12247537431295038165.idtracker@ietfa.amsl.com> <75383a97-d08b-b202-70a6-eab064963af8@ericsson.com> <b58d21a9-d27e-c8b3-e8e3-483dd6942c9e@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <b58d21a9-d27e-c8b3-e8e3-483dd6942c9e@cisco.com>
User-Agent: NeoMutt/20180512
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/sgwgE2pJtzHhKxPNOQp77yA1Wi0>
Subject: Re: [netmod] Fwd: New Version Notification for draft-lengyel-netmod-yang-instance-data-01.txt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.26
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: Wed, 13 Jun 2018 15:26:58 -0000
On Wed, Jun 13, 2018 at 03:40:31PM +0100, Robert Wilton wrote: > > 5) I'm wondering whether there needs to be some sort of identifier about > what type data is held. E.g. does it represent data that can be consumed as > part of one of the configuration datastores, or does it represent the > equivalent of operational state, or is it data for an RPC, etc. > Yes. I think I requested this before. There should be a way to indicate which datastore instance-data belongs to. I also do not understand why we have instance-data-set if the set is limited to exactly one instance-data element. Perhaps room to find a better name for the outer container or the anyxml (perhaps change instance-data-set to instance-data and instance-data to simply data). Or alternatively allow multiple instance-data portions but then meta data would need to be associated with instance-data and not instance-data-set, so we would actually need another layer. Also, given that this is supposed to be serialized in XML (or JSON I assume), would it make sense to include an XML preamble in the examples, i.e., <?xml version="1.0" encoding="UTF-8"?> <instance-data xmlns=...> <name>...</name> <datastore>ds:operational</datastore> <data> <yang-library xmlns="urn:ietf:params:xml:ns:yang:ietf-yang-library"> </yang-library> </data> </instance-data> /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/>
- Re: [netmod] Fwd: New Version Notification for dr… Robert Wilton
- Re: [netmod] Fwd: New Version Notification for dr… Balazs Lengyel
- Re: [netmod] Fwd: New Version Notification for dr… Joe Clarke
- Re: [netmod] Fwd: New Version Notification for dr… Juergen Schoenwaelder
- Re: [netmod] Fwd: New Version Notification for dr… Martin Bjorklund
- Re: [netmod] Fwd: New Version Notification for dr… Robert Wilton
- Re: [netmod] Fwd: New Version Notification for dr… Robert Wilton
- Re: [netmod] Fwd: New Version Notification for dr… Ladislav Lhotka
- Re: [netmod] Fwd: New Version Notification for dr… Juergen Schoenwaelder
- Re: [netmod] Fwd: New Version Notification for dr… Robert Wilton
- Re: [netmod] Fwd: New Version Notification for dr… Juergen Schoenwaelder
- Re: [netmod] Fwd: New Version Notification for dr… Balazs Lengyel
- Re: [netmod] Fwd: New Version Notification for dr… Juergen Schoenwaelder
- Re: [netmod] Fwd: New Version Notification for dr… Balazs Lengyel
- Re: [netmod] Fwd: New Version Notification for dr… Balazs Lengyel
- Re: [netmod] Fwd: New Version Notification for dr… Robert Wilton
- Re: [netmod] Fwd: New Version Notification for dr… Ladislav Lhotka
- Re: [netmod] Fwd: New Version Notification for dr… Balazs Lengyel
- Re: [netmod] Fwd: New Version Notification for dr… Balazs Lengyel
- Re: [netmod] Fwd: New Version Notification for dr… Juergen Schoenwaelder
- Re: [netmod] Fwd: New Version Notification for dr… Balazs Lengyel
- Re: [netmod] Fwd: New Version Notification for dr… Robert Wilton
- Re: [netmod] Fwd: New Version Notification for dr… Balazs Lengyel
- Re: [netmod] Fwd: New Version Notification for dr… Balazs Lengyel
- Re: [netmod] Fwd: New Version Notification for dr… Balazs Lengyel
- Re: [netmod] Fwd: New Version Notification for dr… Balazs Lengyel
- Re: [netmod] Fwd: New Version Notification for dr… Robert Wilton
- Re: [netmod] Fwd: New Version Notification for dr… Juergen Schoenwaelder
- Re: [netmod] Fwd: New Version Notification for dr… Balazs Lengyel
- Re: [netmod] Fwd: New Version Notification for dr… Joe Clarke
- Re: [netmod] Fwd: New Version Notification for dr… Martin Bjorklund
- Re: [netmod] New Version Notification for draft-l… Einar Nilsen-Nygaard (einarnn)
- Re: [netmod] Fwd: New Version Notification for dr… Alexander Clemm
- Re: [netmod] Fwd: New Version Notification for dr… Ladislav Lhotka
- Re: [netmod] Fwd: New Version Notification for dr… Juergen Schoenwaelder
- Re: [netmod] Fwd: New Version Notification for dr… Robert Wilton
- [netmod] Fwd: New Version Notification for draft-… Balazs Lengyel
- [netmod] Fwd: New Version Notification for draft-… Balazs Lengyel
- Re: [netmod] Fwd: New Version Notification for dr… Balazs Lengyel
- Re: [netmod] Fwd: New Version Notification for dr… Juergen Schoenwaelder
- Re: [netmod] Fwd: New Version Notification for dr… Juergen Schoenwaelder
- Re: [netmod] New Version Notification for draft-l… Balazs Lengyel