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

Ladislav Lhotka <lhotka@nic.cz> Thu, 25 February 2016 13:47 UTC

Return-Path: <lhotka@nic.cz>
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 D20341ACCF6; Thu, 25 Feb 2016 05:47:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.357
X-Spam-Level:
X-Spam-Status: No, score=-5.357 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-5, 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 a1KmjLc35zMM; Thu, 25 Feb 2016 05:47:06 -0800 (PST)
Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5D4181ACCE3; Thu, 25 Feb 2016 05:47:06 -0800 (PST)
Received: from [IPv6:2001:718:1a02:1:e195:2630:b6d8:3b02] (unknown [IPv6:2001:718:1a02:1:e195:2630:b6d8:3b02]) by mail.nic.cz (Postfix) with ESMTPSA id E13071813B7; Thu, 25 Feb 2016 14:47:04 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1456408025; bh=44ZhpkVX/8N1Yerpys4ZsJ5I/uFeWLv90U7F1ldcW9k=; h=From:Date:To; b=FaIrHDX+5z5HUqjnRCf8rnhd/HcLZd6wQwPEDmo7iTKvt92hUneIG5UMYcluaXX/4 KZuP39gUkXTC5PRs5UUkOoNOoQEhUZdcpFR/eTyUHiQh+saInm5K0BSXslOnid2vBm vxqOqDb/paZTpjXCCcONupFkWcp5Cp9elBi3hKUE=
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Subject: Re: Last Call: <draft-ietf-netmod-yang-json-08.txt> (JSON Encoding of Data Modeled with YANG) to Proposed Standard
From: Ladislav Lhotka <lhotka@nic.cz>
In-Reply-To: <20160225134355.GA20008@elstar.local>
Date: Thu, 25 Feb 2016 14:47:16 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <D818E8AD-6BD9-4C15-AA6C-19EBB5DED8B7@nic.cz>
References: <20160224140746.29017.27133.idtracker@ietfa.amsl.com> <036401d16fca$511a2580$4001a8c0@gateway.2wire.net> <20160225134355.GA20008@elstar.local>
To: Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de>
X-Mailer: Apple Mail (2.3112)
X-Virus-Scanned: clamav-milter 0.98.7 at mail
X-Virus-Status: Clean
Archived-At: <http://mailarchive.ietf.org/arch/msg/ietf/MSDG_V5q5vfgdj7_nCOpAqQdp9U>
Cc: netmod-chairs@ietf.org, kwatsen@juniper.net, ietf@ietf.org, draft-ietf-netmod-yang-json@ietf.org
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
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:47:08 -0000

> On 25 Feb 2016, at 14:43, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote:
> 
> 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.

OK, this makes sense.

Lada

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

--
Ladislav Lhotka, CZ.NIC Labs
PGP Key ID: E74E8C0C