netconfcentral logo

YANG Data Modeling Language

yang as source code

 

NETMOD WG

The NETCONF Data Modeling Language Working Group (NETMOD) is developing a high-level data modeling language for the NETCONF protocol, called YANG.

The NETMOD Wiki contains up-to-date information about the Internet Drafts under development by this WG.


Standards Work in Progress

draft-ietf-netmod-yang

YANG is a data modeling language used to model configuration and state data manipulated by the Network Configuration Protocol (NETCONF) protocol, NETCONF remote procedure calls, and NETCONF notifications.

Intended Status: Proposed Standard RFC, mandatory-to-implement

YANG - A data modeling language for NETCONF

draft-ietf-netmod-yang-types

This document introduces a collection of common data types to be used with the YANG data modeling language.

Intended Status: Proposed Standard RFC, mandatory-to-implement

Common YANG Data Types

draft-ietf-netmod-dsdl-map

This draft specifies the mapping rules for translating YANG data models into Document Schema Definition Languages (DSDL), a coordinated set of XML schema languages standardized as ISO 19757. The following DSDL schema languages are used by the mapping: RELAX NG, Schematron and DSRL. The mapping takes one or more YANG modules and produces a set of DSDL schemas for a selected target document type - datastore content, NETCONF PDU etc. Procedures for schema- based validation of such documents are also discussed.

Intended Status: Proposed Standard RFC, optional-to-implement

Mapping YANG to Document Schema Definition Languages and Validating NETCONF Content

draft-ietf-netmod-arch

NETCONF gives access to native capabilities of the devices within a network, defining methods for manipulating configuration databases, retrieving operational data, and invoking specific operations. YANG provides the means to define the content carried via NETCONF, both data and operations. Using both technologies, standard modules can be defined to give interoperability and commonality to devices, while still allowing devices to express their unique capabilities.

This document describes how NETCONF and YANG help build network management applications that meet the needs of network operators.

Intended Status: Informational RFC, nothing-to-implement

An NETCONF- and NETMOD-based Architecture for Network Management

draft-ietf-netmod-yang-usage

This memo provides guidelines for authors and reviewers of standards track specifications containing YANG data model modules. Applicable portions may be used as a basis for reviews of other YANG data model documents. Recommendations and procedures are defined, which are intended to increase interoperability and usability of NETCONF implementations which utilize YANG data model modules.

Intended Status: Informational RFC, nothing-to-implement

Guidelines for Authors and Reviewers of YANG Data Model Documents

 

YANG Central

The WEB home for YANG information is YANG Central, which has news and information about the YANG language.

There are some tutorials and examples that may be helpful as well.

Additional Resources

  • NETMOD WG home page.
  • libsmi contains smidump, which can be used to automatically convert SMIv2 modules to YANG modules.
  • Another YANG tutorial , still a work-in-progress