Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openconfig/oc-pyang
OpenConfig plugins for the pyang validator
https://github.com/openconfig/oc-pyang
Last synced: about 2 months ago
JSON representation
OpenConfig plugins for the pyang validator
- Host: GitHub
- URL: https://github.com/openconfig/oc-pyang
- Owner: openconfig
- License: apache-2.0
- Created: 2016-06-05T05:56:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-05-06T16:22:49.000Z (8 months ago)
- Last Synced: 2024-05-06T17:43:31.127Z (8 months ago)
- Language: Python
- Size: 364 KB
- Stars: 31
- Watchers: 12
- Forks: 13
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
# oc-pyang
OpenConfig plugins for pyangPlugins for the [pyang](https://github.com/mbj4668/pyang) YANG parser / compiler for working with
OpenConfig and other YANG data models.## Contents
* *openconfig.py* - pyang plugin to check OpenConfig YANG [style guidelines](https://github.com/openconfig/public/blob/master/doc/openconfig_style_guide.md)
* *yangpath.py* - pyang plugin to list and analyze schema paths in YANG modules## Using the plugins
1. Install [pyang](https://github.com/mbj4668/pyang) (plugins have been developed and tested for pyang v1.6)
2. Clone / download this repository
3. `pyang --plugindir <.../path/to/repo/plugins> `
* `pyang --plugindir <.../path/to/repo/plugins> --help` to see options#### Note: these files are not part of any official Google product