My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

News

2011-02-16 - Version 1.1 released

  • A new UML plugin has been added. It is used to generate UML diagrams for visualization of YANG data models. See UMLOutput for an example.
  • The DSDL plugin is updated to RFC 6110
  • ... and various bug fixes.

Overview

YANG (RFC 6020) is a data modeling language for NETCONF (RFC 4741), developed by the IETF NETMOD WG.

pyang is a YANG validator, transformator and code generator, written in python. It can be used to validate YANG modules for correctness, to transform YANG modules into other formats, and to generate code from the modules.

Compatibility

pyang-1.1 is compatible with the following IETF RFCs:

Features

  • Validate YANG modules.
  • Convert YANG modules to YIN, and YIN to YANG.
  • Translates YANG data models to DSDL schemas, which can be used to and validate instance documents (NETCONF PDUs and data store content). See DSDL Mapping Tutorial for an example.
  • Translates YANG data models to XSD.
  • Generate UML diagrams from YANG models. See UMLOutput for an example.
  • Generate compact tree representation of YANG models for quick visualization. See TreeOutput for an example.
  • Plugin framework for simple development of other outputs, such as code generation.

Documentation

See Documentation.

Powered by Google Project Hosting