Dear all,

The good news is that the module-classification is already added as a metadata in the

       leaf module-classification {
         type enumeration {
           enum network-service {
               "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 {
               "Network Element YANG Module that describes the
   configuration, state
                data, operations, and notifications of specific
                technologies or features.";
           enum unknown {
               "In case that there is not sufficient information about
   how to classify the module.";
           enum not-applicable {
               "The YANG module abstraction type is neither a Network
   Service YANG Module
                nor a Network Element YANG Module.";
         mandatory true;
           "The high-level classification of the given YANG module.";
           "RFC8199 YANG Module Classification";
         "These leafs are shared among the yang-catalog and its API.";

This metadata can't be extracted from the module, but must be populated.
That's the reason why you would see "unknown" for most modules right now.

When populated, this will provide the ability to search for service versus network elements YANG modules.

Regards, Benoit
A new Request for Comments is now available in online RFC libraries.

RFC 8199

         Title:      YANG Module Classification
         Author:     D. Bogdanovic,
                     B. Claise,
                     C. Moberg
         Status:     Informational
         Stream:     IETF
         Date:       July 2017
         Pages:      11
         Characters: 23080
         Updates/Obsoletes/SeeAlso:   None

         I-D Tag:    draft-ietf-netmod-yang-model-classification-08.txt


         DOI:        10.17487/RFC8199

The YANG data modeling language is currently being considered for a
wide variety of applications throughout the networking industry at
large.  Many standards development organizations (SDOs), open-source
software projects, vendors, and users are using YANG to develop and
publish YANG modules for a wide variety of applications.  At the same
time, there is currently no well-known terminology to categorize
various types of YANG modules.

A consistent terminology would help with the categorization of YANG
modules, assist in the analysis of the YANG data modeling efforts in
the IETF and other organizations, and bring clarity to the YANG-
related discussions between the different groups.

This document describes a set of concepts and associated terms to
support consistent classification of YANG modules.

This document is a product of the NETCONF Data Modeling Language Working Group 
of the IETF.

INFORMATIONAL: This memo provides information for the Internet community.
It does not specify an Internet standard of any kind. Distribution of
this memo is unlimited.

This announcement is sent to the IETF-Announce and rfc-dist lists.
To subscribe or unsubscribe, see

For searching the RFC series, see
For downloading RFCs, see

Requests for special distribution should be addressed to either the
author of the RFC in question, or to  Unless
specifically noted otherwise on the RFC itself, all RFCs are for
unlimited distribution.

The RFC Editor Team
Association Management Solutions, LLC

netmod mailing list

netmod mailing list

Reply via email to