Skip to content

networktocode/oc-pyang

 
 

Repository files navigation

oc-pyang

OpenConfig plugins for pyang

Plugins for the pyang YANG parser / compiler for working with OpenConfig and other YANG data models.

Contents

  • openconfig.py - pyang plugin to check OpenConfig YANG style guidelines
  • yangpath.py - pyang plugin to list and analyze schema paths in YANG modules

Using the plugins

  1. Install pyang (plugins have been developed and tested for pyang v1.6)

  2. Clone / download this repository

  3. pyang --plugindir <.../path/to/repo/plugins> <options> <YANG modules>

  • pyang --plugindir <.../path/to/repo/plugins> --help to see options

Note: these files are not part of any official Google product

About

OpenConfig plugins for the pyang validator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 84.4%
  • Makefile 6.8%
  • CSS 3.0%
  • JavaScript 2.1%
  • Shell 2.0%
  • HTML 1.7%