Re: Last Call: <draft-ietf-netmod-yang-json-08.txt> (JSON Encoding of Data Modeled with YANG) to Proposed Standard

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 25 February 2016 13:44 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 70A271ACC87; Thu, 25 Feb 2016 05:44:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.856
X-Spam-Level:
X-Spam-Status: No, score=-3.856 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 KAb3tWv9PIok; Thu, 25 Feb 2016 05:43:59 -0800 (PST)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3E6721ACCDF; Thu, 25 Feb 2016 05:43:59 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id 0B43914E4; Thu, 25 Feb 2016 14:43:58 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.220]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id wfS_Lk7-z2M9; Thu, 25 Feb 2016 14:43:40 +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 atlas3.jacobs-university.de (Postfix) with ESMTPS; Thu, 25 Feb 2016 14:43:57 +0100 (CET)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id 3F95020036; Thu, 25 Feb 2016 14:43:57 +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 oZQ_ybNRNLFV; Thu, 25 Feb 2016 14:43:56 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id F34012002C; Thu, 25 Feb 2016 14:43:55 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id AEF9C39FDBB0; Thu, 25 Feb 2016 14:43:55 +0100 (CET)
Date: Thu, 25 Feb 2016 14:43:55 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "tom p." <daedulus@btconnect.com>
Subject: Re: Last Call: <draft-ietf-netmod-yang-json-08.txt> (JSON Encoding of Data Modeled with YANG) to Proposed Standard
Message-ID: <20160225134355.GA20008@elstar.local>
Mail-Followup-To: "tom p." <daedulus@btconnect.com>, ietf@ietf.org, bclaise@cisco.com, netmod-chairs@ietf.org, draft-ietf-netmod-yang-json@ietf.org, kwatsen@juniper.net
References: <20160224140746.29017.27133.idtracker@ietfa.amsl.com> <036401d16fca$511a2580$4001a8c0@gateway.2wire.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <036401d16fca$511a2580$4001a8c0@gateway.2wire.net>
User-Agent: Mutt/1.4.2.3i
Archived-At: <http://mailarchive.ietf.org/arch/msg/ietf/CwLGn6WLhe4fmUcgM9XUQLiVts4>
Cc: netmod-chairs@ietf.org, draft-ietf-netmod-yang-json@ietf.org, kwatsen@juniper.net, ietf@ietf.org
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Feb 2016 13:44:01 -0000

On Thu, Feb 25, 2016 at 12:42:03PM +0000, tom p. wrote:
> In the interests of clarity
> 
> - datastores are not mentioned.  These loom large in YANG and NETCONF
> and, I think, have been misunderstood by those wishing to extend YANG in
> various, new directions.  Therefore I think that the I-D should say
> something, even if it is that the concept of datastore is alien to the
> envisaged uses of JSON (I could envisage a use where datastores do
> apply, but it is probably an unrealistic use:-)
>

I do not see why an encoding document should talk about datastores.
Is there anything unclear how YANG defined data is encoded in JSON? If
not, then this document does its job.

> -YANG 1.0 ditto.  I realise that this I-D normatively references YANG
> 1.1 but there is a lot of YANG 1.0 about.  My sense is that this I-D
> cannot work with YANG 1.0, in which case, I think that that needs
> stating.

The JSON encoding works just fine with YANG 1.0. Perhaps this can be
stated explicitly with an informative reference to RFC 6020 if that
helps to avoid confusion.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>