[Isis-wg] ietf-isis draft as an example for the yangbuilder

Michal Novák <it.novakmi@gmail.com> Mon, 15 June 2015 19:58 UTC

Return-Path: <it.novakmi@gmail.com>
X-Original-To: isis-wg@ietfa.amsl.com
Delivered-To: isis-wg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 732201A89B8 for <isis-wg@ietfa.amsl.com>; Mon, 15 Jun 2015 12:58:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.7
X-Spam-Level:
X-Spam-Status: No, score=-1.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001] 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 P9ycKmR1MqFO for <isis-wg@ietfa.amsl.com>; Mon, 15 Jun 2015 12:58:31 -0700 (PDT)
Received: from mail-wg0-x242.google.com (mail-wg0-x242.google.com [IPv6:2a00:1450:400c:c00::242]) (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 265AA1A89B3 for <isis-wg@ietf.org>; Mon, 15 Jun 2015 12:58:31 -0700 (PDT)
Received: by wggz12 with SMTP id z12so4177674wgg.2 for <isis-wg@ietf.org>; Mon, 15 Jun 2015 12:58:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; bh=naqjXE+0D2qZH5Qh4FRa2Q7x4FBlGSrV2nyzCWG9hNU=; b=J11TR2kxyX5efRjTEg3jZMozUE+WVJbr+1w332s4SEd6Lce/Agx2LaAAM2qzdsuw1y K4wUZQPRbKztK4Uoiu/mDFGcx3JXTM7oSA26OQLbhKw5edbIppTyoN6/tFuIpzPZnoqZ kw9skdRvOHN8VIRtsWTsQwPk4meFcro1S2BlsSN2IstY0I878XyLuO1bwwDTK8gh/eQ2 n0v94YmfxSWSHaKL7tK40YctKJ8kbmyvtOMF/cVrEe6NH2fNJr3CSlGIHop9IN7OYS7i tiL4nlQ//qAP8+lswQyl9bk+1GdIykUFIn0JfCC5uRkk8ov2Blb/klkpKXbFXgWkU4j5 aSpA==
X-Received: by 10.194.89.70 with SMTP id bm6mr52130057wjb.146.1434398309884; Mon, 15 Jun 2015 12:58:29 -0700 (PDT)
Received: from [192.168.1.123] (ip-89-177-141-14.net.upcbroadband.cz. [89.177.141.14]) by mx.google.com with ESMTPSA id a8sm17402751wic.22.2015.06.15.12.58.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jun 2015 12:58:28 -0700 (PDT)
Message-ID: <557F2E64.1040900@gmail.com>
Date: Mon, 15 Jun 2015 21:58:28 +0200
From: Michal Novák <it.novakmi@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: isis-wg@ietf.org
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/isis-wg/xqlLyX5Tgi36dMqgPp851FmRfHw>
X-Mailman-Approved-At: Wed, 17 Jun 2015 03:46:21 -0700
Cc: llhotka@nic.cz, kkoushik@brocade.com, deanb@juniper.net, yiya@cisco.com, zzhang@juniper.net, myeung@cisco.com
Subject: [Isis-wg] ietf-isis draft as an example for the yangbuilder
X-BeenThere: isis-wg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF IS-IS working group <isis-wg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/isis-wg>, <mailto:isis-wg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/isis-wg/>
List-Post: <mailto:isis-wg@ietf.org>
List-Help: <mailto:isis-wg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/isis-wg>, <mailto:isis-wg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Jun 2015 20:04:41 -0000

Hello isis-wg members,

    I just want to let you know I have used the draft version of  the 
ietf-isis.yang as an example for the yangbuilder. I found it to be one 
of the
    publicly available yang files, where most features of the 
yangbuilder could be demonstrated (like reuse, "compact yang", 
definition of the new elements,
    programming of the yang in the groovy programming language).

    This piece of work has nothing to do with IS-IS or networking. It 
merely serves as an yangbuilder related example. The groovy file (from 
which the yang is generated)
    is put under MIT license. I have referenced original file 
https://github.com/igp-yang/isis-yang/blob/master/ietf-isis.yang/, so I 
hope everything is OK.
    If not, please let me know. Thanks.

    See:
https://bitbucket.org/novakmi/yangbuilder/src/7a32c04e7ebe/templates/scripts/ietf-isis/?at=master 
(ietf-isis-1.groovy and ietf-isis-2.groovy)
    https://bitbucket.org/novakmi/yangbuilder

Best regards,

Michal Novak