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

Benoit Claise <bclaise@cisco.com> Thu, 26 March 2015 14:37 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 2DC8B1A1A90 for <rtg-yang-coord@ietfa.amsl.com>; Thu, 26 Mar 2015 07:37:38 -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 wzLA2CUbWi8l for <rtg-yang-coord@ietfa.amsl.com>; Thu, 26 Mar 2015 07:37:31 -0700 (PDT)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 291B21A0367 for <rtg-yang-coord@ietf.org>; Thu, 26 Mar 2015 07:37:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2875; q=dns/txt; s=iport; t=1427380626; x=1428590226; h=message-id:date:from:mime-version:to:cc:subject; bh=BqHmj69A2NApmIWQ645DfCBVphj9gxB6/m3/5ZahSKA=; b=HtqFxP8RXx4bAV/i7vEIDfhjHvkJMXcvaizSKDlali5RiSnnqhuJmDXS /FLIJqeCL21vWbtUog6PM9RFufjCPAQIHUtO6GO997BQEJevw6QbyTpoZ 1eAmBFCrQ9BnUhiQWJ92jOGf1qdGGDQegrKpmk4Vzy+O78rmBgyAcFXeN k=;
X-IronPort-AV: E=Sophos;i="5.11,472,1422921600"; d="scan'208,217";a="406943461"
Received: from alln-core-2.cisco.com ([173.36.13.135]) by rcdn-iport-4.cisco.com with ESMTP; 26 Mar 2015 14:37:05 +0000
Received: from [10.82.239.43] (rtp-vpn5-1828.cisco.com [10.82.239.43]) by alln-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id t2QEb4sj019983; Thu, 26 Mar 2015 14:37:04 GMT
Message-ID: <5514198F.8030006@cisco.com>
Date: Thu, 26 Mar 2015 15:37:03 +0100
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>
Content-Type: multipart/alternative; boundary="------------090507080208030101040901"
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/synJEbZ8avA7ce9b7oZJHO9ZnuQ>
Cc: "Jan Medved \(jmedved\)" <jmedved@cisco.com>
Subject: [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 14:37:38 -0000

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