oc-pyang
oc-pyang copied to clipboard
added opt flags to yangpath.py for --sparse, --config-after, and --prefix-module
Modification of the pyang OC plugin yangpath.py to enable alternative output formats, with the following option flags:
-
--sparsecauses the path to be output without extra whitespace -
--config-aftercauses the [ro] or [rw] config flag to be placed after the path, rather than before it -
--prefix-modulecauses the module name to be printed at the beginning of each line instead of as a section header