[netmod] YANG modules tool automation hackathon project

"Fengchong (frank)" <frank.fengchong@huawei.com> Tue, 25 October 2022 06:50 UTC

Return-Path: <frank.fengchong@huawei.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 115C2C14CE37; Mon, 24 Oct 2022 23:50:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Umx_2Y8edqTV; Mon, 24 Oct 2022 23:50:39 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EBF26C14F6E5; Mon, 24 Oct 2022 23:50:38 -0700 (PDT)
Received: from fraeml706-chm.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4MxMtf1gKLz689Mm; Tue, 25 Oct 2022 14:47:06 +0800 (CST)
Received: from dggpemm100001.china.huawei.com (7.185.36.93) by fraeml706-chm.china.huawei.com (10.206.15.55) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2375.31; Tue, 25 Oct 2022 08:50:35 +0200
Received: from dggpemm500003.china.huawei.com (7.185.36.56) by dggpemm100001.china.huawei.com (7.185.36.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 25 Oct 2022 14:50:33 +0800
Received: from dggpemm500003.china.huawei.com ([7.185.36.56]) by dggpemm500003.china.huawei.com ([7.185.36.56]) with mapi id 15.01.2375.031; Tue, 25 Oct 2022 14:50:33 +0800
From: "Fengchong (frank)" <frank.fengchong@huawei.com>
To: "hackathon@ietf.org" <hackathon@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: YANG modules tool automation hackathon project
Thread-Index: AdjoPc09GwBxiACrTvKpfD6BiTN+lA==
Date: Tue, 25 Oct 2022 06:50:33 +0000
Message-ID: <2acca84234da4bf4a475d1d95028ab0d@huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.136.97.178]
Content-Type: multipart/alternative; boundary="_000_2acca84234da4bf4a475d1d95028ab0dhuaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/0FWW9IgkQdAd2QBKCOV2SM8Y93o>
Subject: [netmod] YANG modules tool automation hackathon project
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Oct 2022 06:50:44 -0000

Hi all,
Happy to announce our hackathon project: YANG modules tool automation, which is available now at https://wiki.ietf.org/en/meeting/115/hackathon,

Following are some direct information regarding this project:
Motivation
1.            As a YANG designer or user, if you want to validate a set of YANG modules, you have to search all dependencies manually.
2.            As a YANG publisher, you have to publish those import-only YANG modules which do not belong to your organization only for a successful compilation.
3.            Currently, no tool is available to compare two revision of YANG modules according to customized BC/NBC rules.

We expect a YANG automation tool to compile YANG modules by resolving dependencies automatically and provide plugin system to support customized functions
(e.g. support YANG schema comparison according customized update rules).

So we are developing two tools:
1.            Yang Compiler : Validate the Schema of a YANG module w/o consideration of its dependency to other YANG modules
2.            Yang Schema Comparison plugin: compare two revision of YANG Schema, output the compatibility report according to user-defined compatibility rules.

GitHub repository:
*             https://github.com/yang-central/yang-compiler
*             https://github.com/HuaweiDatacomm/yang-comparator

If you have any interest in this project, please visit these two repos, contributions are welcome.