OpenConfig plugins for pyang
Plugins for the pyang YANG parser / compiler for working with OpenConfig and other YANG data models.
- openconfig.py - pyang plugin to check OpenConfig YANG style guidelines
- yangpath.py - pyang plugin to list and analyze schema paths in YANG modules
-
Install pyang (plugins have been developed and tested for pyang v1.6)
-
Clone / download this repository
-
pyang --plugindir <.../path/to/repo/plugins> <options> <YANG modules>
pyang --plugindir <.../path/to/repo/plugins> --help
to see options