Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# oc-pyang
OpenConfig plugins for pyang

Plugins 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