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

Robert Wilton <rwilton@cisco.com> Wed, 13 June 2018 14:40 UTC

Return-Path: <rwilton@cisco.com>
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 427FB130E35 for <netmod@ietfa.amsl.com>; Wed, 13 Jun 2018 07:40:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.51
X-Spam-Level:
X-Spam-Status: No, score=-14.51 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
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 8-piQ97dOhQV for <netmod@ietfa.amsl.com>; Wed, 13 Jun 2018 07:40:34 -0700 (PDT)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 07FD6130E34 for <netmod@ietf.org>; Wed, 13 Jun 2018 07:40:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=12577; q=dns/txt; s=iport; t=1528900834; x=1530110434; h=subject:to:references:from:message-id:date:mime-version: in-reply-to; bh=CFEafjpPAZ50In+oeNIgKCGiINRHOl9v0b/+YA1IoSg=; b=cH7CePJX1h9I0zrrLwpenciKBbthNYkZWwV6eQAXhDqO3EBZ04T9AF5N u160QIwutlzz5f1stegpUGL6mpIyuiLnoTc7VEUZe70lqA5Z1HjpX6MPP /HUT1tSv7sQyVgyMY2P+QLlrxhhiB2GAkwvTMg+pjnxG458vQCxRYxLVE M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0B3AwDNKyFb/xbLJq1dGQEBAQEBAQE?= =?us-ascii?q?BAQEBAQcBAQEBAYMegQxtEiiDeYhjjWApj2uEfhSBZAsYAQyEAUYCglg2FgE?= =?us-ascii?q?CAQEBAQEBAm0cDIUoAQEBAQMBARsGCjoHCRILEQMBAgEqAgInKAgGAQwGAgE?= =?us-ascii?q?Bgx4CgX8Pq2mCHB+EO4NsgWiKHz+BM4JogxEBAQIBARaBEwESAQk2gmGCVQK?= =?us-ascii?q?HVgWEXYxSCYV0iQEGgT9Bgz2CRSODfIETigqBeoU5gUgHKiY7cTMaCBsVGiG?= =?us-ascii?q?CQwmCQGkBCIdWhT8+MAGMYw0XB4IbAQE?=
X-IronPort-AV: E=Sophos;i="5.51,219,1526342400"; d="scan'208,217";a="4514435"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jun 2018 14:40:31 +0000
Received: from [10.63.23.97] (dhcp-ensft1-uk-vla370-10-63-23-97.cisco.com [10.63.23.97]) by aer-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id w5DEeVTq023636; Wed, 13 Jun 2018 14:40:31 GMT
To: 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>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <b58d21a9-d27e-c8b3-e8e3-483dd6942c9e@cisco.com>
Date: Wed, 13 Jun 2018 15:40:31 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
MIME-Version: 1.0
In-Reply-To: <75383a97-d08b-b202-70a6-eab064963af8@ericsson.com>
Content-Type: multipart/alternative; boundary="------------941A3F0CA847000EF6713F69"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/7uvYkBooCoJijXg5emleYcCAfKc>
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 14:40:38 -0000

Hi,

I would support this draft (if/when a call for adoption is made).

A few comments from a quick review :

1) I think that it would be useful to allow a file to contain multiple 
"instance data sets".  I could easily imagine that multiple different 
blocks of instance data may need to be provided and allowing these to be 
carried within a single file seems helpful.

2) I wonder whether these instance-data blocks could be used to hold 
examples in drafts/RFCs.  It would be nice if the examples could be 
automatically extracted and validated.  Possibly this draft could help 
with this, although I appreciate it is not its main focus.

3) Possibly a comment should be made about whitespace, although I think 
that it is fairly obvious how whitespace would be handled, i.e. as 
defined by the encoding.

4) "YANG instance data files SHOULD be used to provide design time 
information about server capabilities." sounds quite strong. I think 
that this should either be a MAY, or the sentence should be predicated.  
E.g . "If the server provides design time information about server 
capabilities then YANG instance data files SHOULD be used to allow them 
to be easily read and consumed by clients"

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.

6) If this data is to be stored in a file, should it state that it must 
be stored as UTF-8 character encoding?

7) It might want to include a semantic version number for an 
instance-data-set, depending on whether the YANG versioning discussions 
ends up.

Thanks,
Rob


On 13/06/2018 15:06, Balazs Lengyel wrote:
>
> Hello,
>
> I submitted a new version of the yang-instance-data draft updated with 
> comments from the last IETF and others. I would like to get this 
> adopted as a workgroup item. Please review it and if you like it 
> please indicate that you support it as a workgroup item.
>
> Changes:
>    o  Redefined using yang-data-ext
>    o  Moved meta data into ordinary leafs/leaf-lists
>    o  Corrections, clarifications
>
> regards Balazs
>
>
> -------- Forwarded Message --------
> Subject: 	New Version Notification for 
> draft-lengyel-netmod-yang-instance-data-01.txt
> Date: 	Wed, 13 Jun 2018 06:47:16 -0700
> From: 	internet-drafts@ietf.org
> To: 	Benoit Claise <bclaise@cisco.com>;, Balazs Lengyel 
> <balazs.lengyel@ericsson.com>;
>
>
>
> A new version of I-D, draft-lengyel-netmod-yang-instance-data-01.txt
> has been successfully submitted by Balazs Lengyel and posted to the
> IETF repository.
>
> Name:		draft-lengyel-netmod-yang-instance-data
> Revision:	01
> Title:		YANG Instance Data Files and their use for Documenting Server Capabilities
> Document date:	2018-06-13
> Group:		Individual Submission
> Pages:		10
> URL:https://www.ietf.org/internet-drafts/draft-lengyel-netmod-yang-instance-data-01.txt
> Status:https://datatracker.ietf.org/doc/draft-lengyel-netmod-yang-instance-data/
> Htmlized:https://tools.ietf.org/html/draft-lengyel-netmod-yang-instance-data-01
> Htmlized:https://datatracker.ietf.org/doc/html/draft-lengyel-netmod-yang-instance-data
> Diff:https://www.ietf.org/rfcdiff?url2=draft-lengyel-netmod-yang-instance-data-01
>
> Abstract:
>     This document specifies a standard file format for YANG instance
>     data, that is data that could be stored in a datastore and whose
>     syntax and semantics is defined by YANG models.  Instance data files
>     can be used to provide information that is defined in design time.
>     There is a need to document Server capabilities (which are often
>     specified in design time), which should be done using instance data
>     files.
>
>                                                                                    
>
>
> Please note that it may take a couple of minutes from the time of submission
> until the htmlized version and diff are available at tools.ietf.org.
>
> The IETF Secretariat
>
> -- 
> 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