r41 - 2014-01-04 - 13:35:12 - LadaLhotkaYou are here: TWiki >  Main Web > YangTools


  • The latest version of libsmi contains a YANG output driver for the smidump tool. It generates YANG modules from SMI/SMIv2 MIBs.

  • pyang (manual page) is an extensible YANG validator written in Python. It can be used standalone as a validator of YANG modules, or to generate YIN, YANG, DSDL and XSD from YANG and YIN. It can also be integrated in other applications, which can, for example, generate vendor-specific stub code. Validation of instance XML documents (datastore contents or NETCONF PDUs) using pyang is explained in DSDLMappingTutorial and yang2dsdl manual page.

  • pyang can also be used to generate UML diagrams from YANG data models. See UML Output Example.

  • jYang is a YANG validator and translator written in Java

  • yang-mode.el is an emacs mode for editing YANG files. RFC 6020 compliant. Requires cc-mode 5.30 or later.
    NOTE With emacs 23, you need to do (for details, see the comment in the file):
    • In .emacs, use autoload instead of require (autoload 'yang-mode "yang-mode" "Major mode for editing YANG models." t)
    • Possibly delete cc-mode.elc

  • yang.vim is a VIM syntax file for editing YANG files. RFC 6020 compliant.

  • rfcstrip is a program that extracts YANG modules, MIB modules, and other marked code components from RFCs and Internet-Drafts.

  • RELAX NG schema for YIN

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r49 | r43 < r42 < r41 < r40 | More topic actions...
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback