[yang-doctors] Fwd: YANG Catalog Latest Developments
Benoit Claise <bclaise@cisco.com> Tue, 05 September 2017 06:29 UTC
Return-Path: <bclaise@cisco.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ADE0E13236D for <yang-doctors@ietfa.amsl.com>; Mon, 4 Sep 2017 23:29:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.498
X-Spam-Level:
X-Spam-Status: No, score=-14.498 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, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, WEIRD_PORT=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
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 b-nJcn7mdSMK for <yang-doctors@ietfa.amsl.com>; Mon, 4 Sep 2017 23:29:03 -0700 (PDT)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6E02B120727 for <yang-doctors@ietf.org>; Mon, 4 Sep 2017 23:29:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=14647; q=dns/txt; s=iport; t=1504592942; x=1505802542; h=subject:references:to:from:message-id:date:mime-version: in-reply-to; bh=1n3GD8qFOHWOc4YgviDCdazzre9Dfa7JuxwNnPO551w=; b=O+5widybpjNkFfdOzYsH2eJNx3szp04QNubLopbIeUNIY/FwaYopAF3e TuNSxAs8rl7R07KijIpR+rZ41rqCITlAu3X2jzCQNB1JT4wCMXfwDifYc IKtVKcrS6wY/KWnyoaRL5N/IoiI54lGmTQdLEkcDZ4vCtz4QNaY0sEEYt E=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0D9AgApQ65Z/xbLJq1dGgEBAQECAQEBAQgBAQEBhD6BFYN3ixSRHpBphT8OggQKGAEMhDUVTwKEXxYBAgEBAQEBAQFrKIUYAQIBAwEBISsgGxwBAgECDR4CAicKGAQCCAYIBQIEAQEBARkEihAQsFWCJyeLKwEBAQEBAQEBAgEBAQEBAQEBAQEegyqDUIFjK4J9hD0YAQE+gnOCYQWMI5N/UodbjHaCE1qIZySGeY1XhykDBgUCGYE5JgMugQ0yIQgcFUmHHT42CIhWDRcHghQBAQE
X-IronPort-AV: E=Sophos;i="5.41,478,1498521600"; d="scan'208,217";a="655428135"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Sep 2017 06:29:00 +0000
Received: from [10.55.221.36] (ams-bclaise-nitro3.cisco.com [10.55.221.36]) by aer-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id v856Sxsk006270 for <yang-doctors@ietf.org>; Tue, 5 Sep 2017 06:28:59 GMT
References: <d1247165-7950-8a3c-2836-ba56d41aa1fa@cisco.com>
To: YANG Doctors <yang-doctors@ietf.org>
From: Benoit Claise <bclaise@cisco.com>
X-Forwarded-Message-Id: <d1247165-7950-8a3c-2836-ba56d41aa1fa@cisco.com>
Message-ID: <6f76b716-4d6b-845d-f59b-f7c72dc49a3e@cisco.com>
Date: Tue, 05 Sep 2017 08:28:59 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <d1247165-7950-8a3c-2836-ba56d41aa1fa@cisco.com>
Content-Type: multipart/alternative; boundary="------------76EFFE1F64605B82C8831A90"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/wGEElOnwzbyt2tpq6vJAOjwXh6M>
Subject: [yang-doctors] Fwd: YANG Catalog Latest Developments
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Sep 2017 06:29:06 -0000
FYI. If interested, Subscribe <https://www.marcuscom.com/mailman/listinfo/yangcatalog-announce> to announce@yangcatalog.org to get updates about the YANG Catalog. Regards, Benoit -------- Forwarded Message -------- Subject: YANG Catalog Latest Developments Date: Tue, 5 Sep 2017 08:15:00 +0200 From: Benoit Claise <bclaise@cisco.com> To: announce@yangcatalog.org Dear all, On behalf of the full team of dedicated people, we would like to share the latest developments on the yangcatalog.org project. As a reminder, this is what we achieved over a month ago <http://www.claise.be/2017/07/yang-catalog-latest-development-ietf-99-hackathon/>. - We posted a new draft version: YANG module for yangcatalog.org <https://datatracker.ietf.org/doc/draft-clacla-netmod-model-catalog/>. It's used as the foundation for the APIs for yangcatalog.org. - As you can see in this YANG module, we added some additional per-module metadata. That is: leaf generated-from { type enumeration { enum mib { description "Module generated from Structure of Management Information (SMI) MIB per RFC6643."; } enum code { description "Module generated automatically from code."; } enum not-applicable { description "Module was not generated but it was authored manually."; } enum native { description "Module generated from platform internal or proprietary structure."; } } And: leaf tree-type { type enumeration { enum split { description "This module uses a split config/operational state layout."; } enum nmda-compatible { description "This module is compatible with the Network Management Datastores Architecture (NMDA) and combines config and operational state nodes."; } enum transitional-extra { description "This module is derived as a '-state' module to allow for transitioning to a full NMDA-compliant tree structure."; } enum openconfig { description "This module uses the Openconfig data element layout."; } enum unclassified { description "This module does not have a data element tree, or it does not belong to any category."; } enum not-applicable { description "This module is submodule."; } } description "The type of data element tree used by the module as it relates to the Network Management Datastores Architecture."; reference "draft-dsdt-nmda-guidelines Guidelines for YANG Module Authors (NMDA)"; } And, leaf module-classification { type enumeration { enum network-service { description "Network Service YANG Module that describes the configuration, state data, operations, and notifications of abstract representations of services implemented on one or multiple network elements."; } enum network-element { description "Network Element YANG Module that describes the configuration, state data, operations, and notifications of specific device-centric technologies or features."; } enum unknown { description "In case that there is not sufficient information about how to classify the module."; } enum not-applicable { description "The YANG module abstraction type is neither a Network Service YANG Module nor a Network Element YANG Module."; } } mandatory true; description "The high-level classification of the given YANG module."; reference "RFC8199 YANG Module Classification"; - The metadata are available for each YANG module. For example, using the YANG Catalog API, you can retrieve the metadata for the ietf-connectionless-oam.yang module at revision 2017-06-09 and the "ietf" organization using the GET request: https://yangcatalog.org:8443/search/modules/ietf-connectionless-oam.yang,2017-06-09,ietf This is key to quickly see if a YANG module is NMDA compliant (tree-type = "nmda-compatible"). - Full working API to read, delete, and add modules with data caching for optimize data retrieval integrated with YANG Catalog search application. - Created a logger with logs for the entire project. - Created caching for fast searching. - Regarding the YANG W3C Regex Expression Validator, we have a new look and feel. The messages are no longer separated by pattern number titles. You will only get messages for mis-matches, errors or in case the W3CGREP does not match the YANGRE result, making the display cleaner and more useful. Colors will still indicate if a certain pattern matches or not. Also, Pieter fixed some display bugs (error messages not showing in certain conditions) and added an "About" tab. - In terms of different Standard Development Organizations and Open Source projects, we now have YANG modules from the IETF, BBF, MEF, IEEE, and Openconfig; with the metadata populated for the IETF, MEF, and MEF. In terms of different vendors, we now have YANG modules from Cisco (with metadata) and from Huawei. Juniper also participated in the hackathon, and the work to add their respective YANG modules is under way. Regards, Joe and Benoit _______________________________________________ Yangcatalog-announce@yangcatalog.org mailing list https://marcuscom.com/mailman/listinfo/yangcatalog-announce To unsubscribe, send any mail to "Yangcatalog-announce-unsubscribe@yangcatalog.org"
- [yang-doctors] Fwd: YANG Catalog Latest Developme… Benoit Claise