Re: [Rtg-yang-coord] IETF draft -> YANG module extraction -> compilation

Benoit Claise <bclaise@cisco.com> Thu, 26 March 2015 15:59 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 CC1E21A87AF for <rtg-yang-coord@ietfa.amsl.com>; Thu, 26 Mar 2015 08:59:35 -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 fKIK81_ZvN11 for <rtg-yang-coord@ietfa.amsl.com>; Thu, 26 Mar 2015 08:59:34 -0700 (PDT)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0F9021A024E for <rtg-yang-coord@ietf.org>; Thu, 26 Mar 2015 08:59:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4688; q=dns/txt; s=iport; t=1427385574; x=1428595174; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; bh=o0z7Tru1hi79NELesL+8duK3Dj+tsXqxrL2JXfe/TBg=; b=JC0gzpGr05a4QyTw6MJ38WTCmKdfb7+rghPlzO+1fm6rTt7z5nQjrq4K KOOBAn42Vz9gbVW1nL6tjt/87zzoAji3GeaWJpw2wFx6OcMD8Tvlflt6y TxAUyLCPRpHXmxP4ecNwuY00Wim9J5QNGhi6oa6nrspyewl4sBvl7RJJh 0=;
X-IronPort-AV: E=Sophos;i="5.11,473,1422921600"; d="scan'208,217";a="135677534"
Received: from alln-core-5.cisco.com ([173.36.13.138]) by alln-iport-4.cisco.com with ESMTP; 26 Mar 2015 15:59:33 +0000
Received: from [10.82.221.202] (rtp-vpn3-1476.cisco.com [10.82.221.202]) by alln-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id t2QFxWA9024109; Thu, 26 Mar 2015 15:59:33 GMT
Message-ID: <55142CE4.8070304@cisco.com>
Date: Thu, 26 Mar 2015 10:59:32 -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: "Rtg-yang-coord@ietf.org" <rtg-yang-coord@ietf.org>
References: <5514198F.8030006@cisco.com>
In-Reply-To: <5514198F.8030006@cisco.com>
Content-Type: multipart/alternative; boundary="------------010206020004060700060102"
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/3qdfmH0BBzrnanqYfp_SR_8AG-Q>
Cc: "Jan Medved \(jmedved\)" <jmedved@cisco.com>
Subject: Re: [Rtg-yang-coord] 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 15:59:35 -0000

On 26/03/2015 09:37, Benoit Claise 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
>
Improved code + just run with the latest set of drafts

  * Number of YANG models in IETF drafts that passed compilation: 28/118
  * Number of all YANG models in IETF drafts (good, bad, example, badly
    formatted, etc. ): 212

Regards, Benoit

> 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
> https://www.ietf.org/mailman/listinfo/rtg-yang-coord