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

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Thu, 26 March 2015 22:20 UTC

Return-Path: <rrahman@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 3AA141A0270 for <rtg-yang-coord@ietfa.amsl.com>; Thu, 26 Mar 2015 15:20:09 -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 OuIE9wPK7hAW for <rtg-yang-coord@ietfa.amsl.com>; Thu, 26 Mar 2015 15:20:05 -0700 (PDT)
Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8975D1A00E2 for <rtg-yang-coord@ietf.org>; Thu, 26 Mar 2015 15:20:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9612; q=dns/txt; s=iport; t=1427408400; x=1428618000; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=dnSC6p4QodgUtfBLnzcRoLn6LFYtIkHvcBFw5V5jLAs=; b=G3PjLoTd6Hp5wOFAvsp9hJgQtsu+Y/b1rylNc9LZEjr3IhnIC/IUPaX6 XsE0tujyBMVxL92Eje5mSVz2USE+YjJ1YBJmYp+tVYfwcFOu+xSI1EwcW G/+asprKdMoyg3HVw9zGEM36CpAulSshYM4n/b2VclS4hKtibuqYUHcuA E=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AQBQCihRRV/51dJa1cgkNDUloExSMBC4VzAoFFTAEBAQEBAX2EFAEBAQQBAQEkRwsQAgEIEQMBAigHJwsUCQgCBAENBQmIJg3MFwEBAQEBAQEBAQEBAQEBAQEBAQEBAReLKIJeggkRB4QtBY5Cgg6Db4YAgRuDMIwbg0cigjKBPG8BgUN/AQEB
X-IronPort-AV: E=Sophos;i="5.11,475,1422921600"; d="scan'208,217";a="135732896"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by alln-iport-1.cisco.com with ESMTP; 26 Mar 2015 22:19:42 +0000
Received: from xhc-aln-x08.cisco.com (xhc-aln-x08.cisco.com [173.36.12.82]) by rcdn-core-6.cisco.com (8.14.5/8.14.5) with ESMTP id t2QMJgQf011665 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 26 Mar 2015 22:19:42 GMT
Received: from xmb-rcd-x03.cisco.com ([169.254.7.184]) by xhc-aln-x08.cisco.com ([173.36.12.82]) with mapi id 14.03.0195.001; Thu, 26 Mar 2015 17:19:42 -0500
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: "Benoit Claise (bclaise)" <bclaise@cisco.com>, "Thomas D. Nadeau" <tnadeau@lucidvision.com>
Thread-Topic: [Rtg-yang-coord] Code posted (was: IETF draft -> YANG module extraction -> compilation )
Thread-Index: AQHQaAdsIwxj1c4h3kKu43gYwLJcFZ0vVfOA
Date: Thu, 26 Mar 2015 22:19:41 +0000
Message-ID: <D139F001.A59C9%rrahman@cisco.com>
References: <5514198F.8030006@cisco.com> <EEEB2A15-4509-4CA2-981C-C866056351A5@lucidvision.com> <55141E0E.8020208@cisco.com> <5514729B.70101@cisco.com>
In-Reply-To: <5514729B.70101@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.4.8.150116
x-originating-ip: [10.86.250.98]
Content-Type: multipart/alternative; boundary="_000_D139F001A59C9rrahmanciscocom_"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/Y2h3s86mW754YlojmkqshTNtiDg>
Cc: "Rtg-yang-coord@ietf.org" <rtg-yang-coord@ietf.org>, "Jan Medved \(jmedved\)" <jmedved@cisco.com>
Subject: Re: [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 22:20:09 -0000

Someone misspelled <CODE BEGINS> :-)

If set to 'True' <CDE BEGINS> / <CODE ENDS> are "



From: "Benoit Claise (bclaise)" <bclaise@cisco.com<mailto:bclaise@cisco.com>>
Date: Thursday, March 26, 2015 at 4:56 PM
To: "Thomas D. Nadeau" <tnadeau@lucidvision.com<mailto:tnadeau@lucidvision.com>>
Cc: "Rtg-yang-coord@ietf.org<mailto:Rtg-yang-coord@ietf.org>" <rtg-yang-coord@ietf.org<mailto:rtg-yang-coord@ietf.org>>, "Jan Medved (jmedved)" <jmedved@cisco.com<mailto:jmedved@cisco.com>>
Subject: [Rtg-yang-coord] Code posted (was: IETF draft -> YANG module extraction -> compilation )

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