[Rtg-yang-coord] Code posted (was: IETF draft -> YANG module extraction -> compilation )

Benoit Claise <bclaise@cisco.com> Thu, 26 March 2015 20:57 UTC

Return-Path: <bclaise@cisco.com>
X-Original-To: rtg-yang-coord@ietfa.amsl.com
Delivered-To: rtg-yang-coord@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 65E4B1B2EF2 for <rtg-yang-coord@ietfa.amsl.com>; Thu, 26 Mar 2015 13:57:02 -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_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] 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 t7N7Eh6DVH4e for <rtg-yang-coord@ietfa.amsl.com>; Thu, 26 Mar 2015 13:57:00 -0700 (PDT)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 97D951A89E1 for <rtg-yang-coord@ietf.org>; Thu, 26 Mar 2015 13:57:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7745; q=dns/txt; s=iport; t=1427403420; x=1428613020; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; bh=ZnONpinZ5eSTH9f7BEQD9nfCvp3TVXcZwkjXTLiACvs=; b=h11IVH5hIzXIGxwurse3kS9up/BG9PF+7WE61Ct6rBPgzzd+ObpIY1+C cciZ6SmtgXGQd2TkJekG5t5Md5VJV/xZVTBqBmFIRPUEmU5B4yq9ay4a9 JEyUfrKr+rmhlQtVvGjr8cCc2XB5XO1rLzoXcjTWHeLzTsu1mcgRUPkJX I=;
X-IronPort-AV: E=Sophos;i="5.11,474,1422921600"; d="scan'208,217";a="406972929"
Received: from rcdn-core-11.cisco.com ([173.37.93.147]) by rcdn-iport-5.cisco.com with ESMTP; 26 Mar 2015 20:57:00 +0000
Received: from [10.82.235.27] (rtp-vpn5-792.cisco.com [10.82.235.27]) by rcdn-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id t2QKuxjA004605; Thu, 26 Mar 2015 20:56:59 GMT
Message-ID: <5514729B.70101@cisco.com>
Date: Thu, 26 Mar 2015 15:56:59 -0500
From: Benoit Claise <bclaise@cisco.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: "Thomas D. Nadeau" <tnadeau@lucidvision.com>
References: <5514198F.8030006@cisco.com> <EEEB2A15-4509-4CA2-981C-C866056351A5@lucidvision.com> <55141E0E.8020208@cisco.com>
In-Reply-To: <55141E0E.8020208@cisco.com>
Content-Type: multipart/alternative; boundary="------------000602060104020205060308"
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/dgn66ZOBf4iZO7YL3DhtZZQB950>
Cc: "Rtg-yang-coord@ietf.org" <rtg-yang-coord@ietf.org>, "jmedved Medved \(jmedved\)" <jmedved@cisco.com>
Subject: [Rtg-yang-coord] Code posted (was: IETF draft -> YANG module extraction -> compilation )
X-BeenThere: rtg-yang-coord@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "\"List to discuss coordination between the Routing related YANG models\"" <rtg-yang-coord.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-yang-coord>, <mailto:rtg-yang-coord-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtg-yang-coord/>
List-Post: <mailto:rtg-yang-coord@ietf.org>
List-Help: <mailto:rtg-yang-coord-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-yang-coord>, <mailto:rtg-yang-coord-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Mar 2015 20:57:02 -0000

Dear all,

The extraction function has been posted at 
https://github.com/YangModels/yang/tree/master/tools/xym
The page generation function will need some clean up and hence some time.

Regards, Benoit
> Tom,
>
>>
>> When are you going to make the code available?
> Somewhere next week.
>
> Regards, Benoit
>> There are additions that some have talked about making.
>>
>> --Tom
>>
>>> On Mar 26, 2015:10:37 AM, at 10:37 AM, Benoit Claise 
>>> <bclaise@cisco.com <mailto:bclaise@cisco.com>> wrote:
>>>
>>> Dear all,
>>>
>>> Part of the IETF 92 hackathon, Jan Medved and I developed a tool for 
>>> YANG modules extraction and compilation.
>>> The outcome is right now on my private web site at 
>>> http://www.claise.be/IETFYANGPageCompilation.html, but you should 
>>> really bookmark 
>>> http://www.ietf.org/iesg/directorate/yang-model-coordination-group.html 
>>> and follow the WIKI link.
>>>
>>> Please make sure your YANG modules compile. Btw, don't forget the 
>>> pyang --ietf option.
>>> Some numbers:
>>>
>>>   * Number of YANG models in IETF drafts that passed compilation:
>>>     28/113
>>>   * Number of all YANG models in IETF drafts (good, bad, example,
>>>     badly formatted, etc. ): 189
>>>
>>> There is room for improvement.
>>> Some of the draft authors have been notified about specific mistakes 
>>> in their module
>>>
>>> Next steps:
>>>     - include this tool part of the idnits
>>>     - cron job to create this page
>>>     - post the code (currently polishing it)
>>>     - produce a similar page for opendaylight
>>>
>>> Regards, Benoit
>>> _______________________________________________
>>> Rtg-yang-coord mailing list
>>> Rtg-yang-coord@ietf.org <mailto:Rtg-yang-coord@ietf.org>
>>> https://www.ietf.org/mailman/listinfo/rtg-yang-coord
>>
>
>
>
> _______________________________________________
> Rtg-yang-coord mailing list
> Rtg-yang-coord@ietf.org
> https://www.ietf.org/mailman/listinfo/rtg-yang-coord