Re: [Rtg-yang-coord] IETF draft -> YANG module extraction -> compilation
Anees Shaikh <aashaikh@google.com> Thu, 26 March 2015 16:02 UTC
Return-Path: <aashaikh@google.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 EFB541A8713
for <rtg-yang-coord@ietfa.amsl.com>; Thu, 26 Mar 2015 09:02:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.388
X-Spam-Level:
X-Spam-Status: No, score=-1.388 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001,
SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
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 4nQCaFGXiSJX for <rtg-yang-coord@ietfa.amsl.com>;
Thu, 26 Mar 2015 09:02:15 -0700 (PDT)
Received: from mail-oi0-x22c.google.com (mail-oi0-x22c.google.com
[IPv6:2607:f8b0:4003:c06::22c])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id 7248D1A00F4
for <rtg-yang-coord@ietf.org>; Thu, 26 Mar 2015 09:02:15 -0700 (PDT)
Received: by oiag65 with SMTP id g65so52978218oia.2
for <rtg-yang-coord@ietf.org>; Thu, 26 Mar 2015 09:02:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:cc:content-type;
bh=/LgMvzWLOnC3J10COFkfYQ9EyC/3isDek8mOYw7noGY=;
b=UjZyFOLbRaWPztxxb29j4zBRgvaznsO1rUlZBBp5+exxc4g2Qs4FktdYZOAu/uifez
71UQzWS4jce7KhxiT0wbiF52JHBmytMahJetuZPbqaKtu1sB/6RMv19LRMTmt3m6wUob
1XX31FeezyC0gOQoqP7QKLnfFS71RLyxpYF1HNsLM6zGzt9cmw6LTXOlnhCxGSkP5tFt
mU4FzEgDfqGRhy304FFOQQ47j7iKdF2HGyVmFxDobEZRPoln/HoucNodkQ0a5T1ZpOcO
0VCnOofPjqN5l8fnZL+wobegmZVxrvRHwlR6BjXeWbqJE/LfT9MT4sGPmiuuvsAUVJfW
xzZA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:in-reply-to:references:date
:message-id:subject:from:to:cc:content-type;
bh=/LgMvzWLOnC3J10COFkfYQ9EyC/3isDek8mOYw7noGY=;
b=mDMJ+RnHOVFtv88ZfLj0vBr8Zqwy43+bE0pvPXZbZKXe8zNFe8WIEoeYjAm2M2dRzn
Z2AjPdgCi15l4TEKb+PkP9AlOG6semilTsZdV3rDclCv8HgxbH2Fbkw8YmmtRYjo4VDs
sPyG+HH+p6Kc8oCq6hHwJMUQjl0Om8efjlFk+zWc8zHKf3UKzpLUJlr6ZX1MgiUwM699
HO53tEUmOKezIZ7P1zLYh6qgTgJz75VTVeL3tEoCxEwq+RvTp4+/NQxxmMZQU7Bqf/az
N7M+jdAv/fZqZNhfCn81bbIEuVW6jjzI1da4ltoFjU2vhb429U3UdDoba5LTu5yWajTb
4Xhg==
X-Gm-Message-State: ALoCoQkzoIKToi6Bh/ACji34cxZD6F9tdFgLY0TG7TxqJcemNfDos/wNbbjm1TGMoPpxjOu1stF6
MIME-Version: 1.0
X-Received: by 10.182.72.225 with SMTP id g1mr12822398obv.80.1427385730486;
Thu, 26 Mar 2015 09:02:10 -0700 (PDT)
Received: by 10.182.73.137 with HTTP; Thu, 26 Mar 2015 09:02:10 -0700 (PDT)
In-Reply-To: <55142CE4.8070304@cisco.com>
References: <5514198F.8030006@cisco.com>
<55142CE4.8070304@cisco.com>
Date: Thu, 26 Mar 2015 11:02:10 -0500
Message-ID: <CAJK7ZqJhf6ZVV4B_EBK4H7qOBuoDn9_kY5Ji4H6uTT7qmvgKZw@mail.gmail.com>
From: Anees Shaikh <aashaikh@google.com>
To: Benoit Claise <bclaise@cisco.com>
Content-Type: multipart/alternative; boundary=001a11c360346e964905123323a5
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/IZ_7p_-frO6RGVnbWyHMvXA6yjM>
Cc: "Rtg-yang-coord@ietf.org" <rtg-yang-coord@ietf.org>,
"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 16:02:17 -0000
Benoit, Jan, thanks for putting this together -- should be useful to improve submitted YANG modules. Regarding room for improvement, before making this part of idnits, etc. I'd suggest (i) we don't want to fail modules that don't use an IETF namespace until the corresponding draft becomes a WG draft, gets renamed, etc., and (ii) need a way to follow dependencies on modules in other namespaces. Per Carl's suggestion, I will try to copy these into issues in the github when the code is posted. thanks again. -- Anees On Thu, Mar 26, 2015 at 10:59 AM, Benoit Claise <bclaise@cisco.com> wrote: > 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 listRtg-yang-coord@ietf.orghttps://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 > >
- [Rtg-yang-coord] IETF draft -> YANG module extrac… Benoit Claise
- Re: [Rtg-yang-coord] IETF draft -> YANG module ex… Thomas D. Nadeau
- Re: [Rtg-yang-coord] IETF draft -> YANG module ex… Benoit Claise
- Re: [Rtg-yang-coord] IETF draft -> YANG module ex… Jan Medved (jmedved)
- Re: [Rtg-yang-coord] IETF draft -> YANG module ex… Thomas D. Nadeau
- Re: [Rtg-yang-coord] IETF draft -> YANG module ex… Carl Moberg (camoberg)
- Re: [Rtg-yang-coord] IETF draft -> YANG module ex… Benoit Claise
- Re: [Rtg-yang-coord] IETF draft -> YANG module ex… Benoit Claise
- Re: [Rtg-yang-coord] IETF draft -> YANG module ex… Anees Shaikh
- Re: [Rtg-yang-coord] IETF draft -> YANG module ex… Benoit Claise
- [Rtg-yang-coord] Code posted (was: IETF draft -> … Benoit Claise
- Re: [Rtg-yang-coord] Code posted (was: IETF draft… Reshad Rahman (rrahman)