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.


Completed RFC Specifications

RFC 6020

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.

Status: Proposed Standard RFC, mandatory-to-implement

YANG - A Data Modeling Language for the Network Configuration Protocol (NETCONF)

RFC 6021

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

Status: Proposed Standard RFC, mandatory-to-implement

Common YANG Data Types

RFC 6087

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.

Status: Informational RFC, nothing-to-implement

Guidelines for Authors and Reviewers of YANG Data Model Documents

RFC 6110

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.

Status: Proposed Standard RFC, optional-to-implement

Mapping YANG to Document Schema Definition Languages and Validating NETCONF Content

RFC 6244

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.

Status: Informational RFC, nothing-to-implement

An NETCONF- and NETMOD-based Architecture for Network Management

RFC 6643

YANG is a data modeling language used to model configuration and state data manipulated by the NETCONF protocol, NETCONF remote procedure calls, and NETCONF notifications. The Structure of Management Information (SMIv2) defines fundamental data types, an object model, and the rules for writing and revising MIB modules for use with the SNMP protocol. This document defines a translation of SMIv2 MIB modules into YANG modules, enabling read-only access to data objects defined in SMIv2 MIB modules via NETCONF.

This document contains the algorithms to translate SMIv2 to YANG.

Status: Proposed Standard RFC, optional-to-implement

Translation of SMIv2 MIB Modules to YANG Modules


Standards Work in Progress

draft-ietf-netmod-iana-if-type

This document defines the initial version of the iana-if-type YANG module. This module reflects IANA's "ifType definitions" registry. The latest revision of the module can be obtained from the IANA web site.

This document contains the module iana-if-type.yang.

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

IANA Interface Type YANG Module

draft-ietf-netmod-iana-timezones

This document defines the initial version of the iana-timezones YANG module. The module contains a typedef enumerating all the timezone strings in the timezone database. The ietf-system.yang module uses this typedef for the 'timezone-location' object.

This document contains the module iana-timezones.yang.

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

IANA Interface Type YANG Module

draft-ietf-netmod-interfaces-cfg

This document defines a YANG [RFC6020] data model for the configuration of network interfaces. It is expected that interface type specific configuration data models augment the generic interfaces data model defined in this document.

Network interfaces are central to the configuration of many Internet protocols. Thus, it is important to establish a common data model for how interfaces are identified and configured.

This document contains the module ietf-interfaces.yang.

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

A YANG Data Model for Interface Configuration

draft-ietf-netmod-ip-cfg

This document defines a YANG [RFC6020] data model for configuration of IP addresses on network interfaces.

This document contains the module ietf-ip.yang.

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

A YANG Data Model for IP Configuration

draft-ietf-netmod-routing-cfg

This document contains a specification of two YANG modules that together provide a data model for essential configuration of a routing subsystem. It is expected that this module will serve as a basis for further development of data models for individual routing protocols and other related functions. The present data model defines the building blocks for such configurations - routing processes, routes and routing tables, routing protocol instances and route filters.

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

A YANG Data Model for Routing Configuration

draft-ietf-netmod-snmp-cfg

This document defines a collection of YANG definitions for configuring SNMP engines.

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

This document contains the module ietf-snmp.yang.

A YANG Data Model for SNMP Configuration

draft-ietf-netmod-system-mgmt

This document defines a YANG data model for the configuration and identification of the management system of a device.

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

This document contains the module ietf-system.yang.

YANG Data Model for System Management

 

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