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

Benoit Claise <bclaise@cisco.com> Sat, 28 March 2015 20:17 UTC

Return-Path: <bclaise@cisco.com>
X-Original-To: 92hackathon@ietfa.amsl.com
Delivered-To: 92hackathon@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A0E881A1AFC for <92hackathon@ietfa.amsl.com>; Sat, 28 Mar 2015 13:17:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -12.611
X-Spam-Level:
X-Spam-Status: No, score=-12.611 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, 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 bams2s528luD for <92hackathon@ietfa.amsl.com>; Sat, 28 Mar 2015 13:17:53 -0700 (PDT)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 80B081A1B00 for <92hackathon@ietf.org>; Sat, 28 Mar 2015 13:17:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=10500; q=dns/txt; s=iport; t=1427573874; x=1428783474; h=message-id:date:from:mime-version:to:subject:references: in-reply-to; bh=5UspJQYYR5kX/3lWK9D784NQ+xyM1eOpD09jtB72kyM=; b=aPo9r2OxboL/NZOH1Lag7X2rc5ARlMbvObEKWu2h5Vl5czbyBrlMqMeT 9oCwigDwP8Mc6A2ph2suWsLz+bew2pA3x6i+yaq7/Ig9hH4cOhdweCT0X Y7aZkynsrQdkE8L+k6oWaW4tTBMwV5GPpZP8j94Tf2e4RBjM4P+Y7jVwX 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AOBQDRCxdV/4gNJK1cgwZSXMVEAQuFcQKBJEwBAQEBAQF9hBQBAQEEAQEBJEcKERwDAQIBCRYIBwkDAgECARUfBwIIEwYCAQEFiCYNy0YBAQEBAQEEAQEBAQEBHIspgl6BOBEBPxgGhCcFixqDNIV/hgOBHIMygjmJZoNIIoIygVogMQGBCoE4AQEB
X-IronPort-AV: E=Sophos;i="5.11,485,1422921600"; d="scan'208,217";a="407390604"
Received: from alln-core-3.cisco.com ([173.36.13.136]) by rcdn-iport-7.cisco.com with ESMTP; 28 Mar 2015 20:17:53 +0000
Received: from [10.82.219.225] (rtp-vpn3-989.cisco.com [10.82.219.225]) by alln-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id t2SKHpPk007103 for <92hackathon@ietf.org>; Sat, 28 Mar 2015 20:17:52 GMT
Message-ID: <5516FB44.1090801@cisco.com>
Date: Sat, 28 Mar 2015 14:04:36 -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: 92hackathon@ietf.org
References: <5514729B.70101@cisco.com>
In-Reply-To: <5514729B.70101@cisco.com>
X-Forwarded-Message-Id: <5514729B.70101@cisco.com>
Content-Type: multipart/alternative; boundary="------------030604050607040408010008"
Archived-At: <http://mailarchive.ietf.org/arch/msg/92hackathon/whQ4w9qA-XFan05ZWf3INMuZ6QQ>
Subject: [92hackathon] Fwd: Code posted (was: [Rtg-yang-coord] IETF draft -> YANG module extraction -> compilation )
X-BeenThere: 92hackathon@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF 92 Hackathon <92hackathon.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/92hackathon>, <mailto:92hackathon-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/92hackathon/>
List-Post: <mailto:92hackathon@ietf.org>
List-Help: <mailto:92hackathon-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/92hackathon>, <mailto:92hackathon-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Mar 2015 20:17:55 -0000

Dear all,

Email forwarded, per Charles' request.

Retards, Benoit


-------- Forwarded Message --------
Subject: 	Code posted (was: [Rtg-yang-coord] IETF draft -> YANG module 
extraction -> compilation )
Date: 	Thu, 26 Mar 2015 15:56:59 -0500
From: 	Benoit Claise <bclaise@cisco.com>
To: 	Thomas D. Nadeau <tnadeau@lucidvision.com>
CC: 	Rtg-yang-coord@ietf.org <rtg-yang-coord@ietf.org>rg>, jmedved Medved 
(jmedved) <jmedved@cisco.com>



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