Re: [netmod] Toolchain upgraded to yangdump-pro 16.10-5 => 16.10-5.1

Ladislav Lhotka <lhotka@nic.cz> Tue, 07 March 2017 12:42 UTC

Return-Path: <lhotka@nic.cz>
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 68456129472 for <netmod@ietfa.amsl.com>; Tue, 7 Mar 2017 04:42:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] 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 vG5uure5SMsg for <netmod@ietfa.amsl.com>; Tue, 7 Mar 2017 04:42:16 -0800 (PST)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) by ietfa.amsl.com (Postfix) with ESMTP id C4D8D129460 for <netmod@ietf.org>; Tue, 7 Mar 2017 04:42:15 -0800 (PST)
Received: from localhost (nat-2.nic.cz [217.31.205.2]) by trail.lhotka.name (Postfix) with ESMTPSA id 6A5F11820044; Tue, 7 Mar 2017 13:42:53 +0100 (CET)
From: Ladislav Lhotka <lhotka@nic.cz>
To: Kent Watsen <kwatsen@juniper.net>, Benoit Claise <bclaise@cisco.com>, NETMOD Working Group <netmod@ietf.org>
In-Reply-To: <D8E38509-C61B-468B-94B7-A4AEF83B4DA7@juniper.net>
References: <ebd4f6be-b2f6-0613-1913-e8fda5dc7fff@cisco.com> <3ca36636-a532-e3eb-a2eb-71ee4fd950b4@cisco.com> <D8E38509-C61B-468B-94B7-A4AEF83B4DA7@juniper.net>
Date: Tue, 07 Mar 2017 13:42:11 +0100
Message-ID: <m27f41cl7g.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/u6-p884fv_R8SLZgLze1YYHBupk>
Subject: Re: [netmod] Toolchain upgraded to yangdump-pro 16.10-5 => 16.10-5.1
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
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: Tue, 07 Mar 2017 12:42:17 -0000

Kent Watsen <kwatsen@juniper.net> writes:

> Hi Benoit,
>
> You seem to know the ins and outs of many tools these days, maybe you
> can point me in the right direction...which tool is able to validate
> instance documents against YANG 1.1 modules?

Yangson can validate JSON documents:

https://github.com/CZ-NIC/yangson

>
> I've always used `yang2dsdl`, but currently it outputs "DSDL plugin
> supports only YANG version 1".

I considered updating the DSDL plugin to 1.1 but it turned up to be
immensely difficult - it would basically require a complete rewrite. And
even then, the Schematron implementation that is included in pyang
distribution won't support the new XPath functions.

Lada

>
> Kent // contributor
>
>
>
>> Dear all,
>>
>> yangdump-pro upgraded to 16.10-5.1
>> The stats look better: http://claise.be/IETFYANGPageCompilation.png
>> See http://www.claise.be/IETFYANGPageCompilation.html for the remaining 
>> open issues on your YANG modules.
>> Still a week to improve them.
>> 
>> Regards, Benoit
>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

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