yangify
yangify copied to clipboard
Library to help parsing/translating YANG models from/to native text/structures
Using "--no-cache-dir" flag in pip install ,make sure dowloaded packages by pip don't cached on system . This is a best practise which make sure to fetch ftom repo instead...
Since Sphinx moved to 3.0.0, the current documentation build fails because: ``` /yangify/yangify/linter/__init__.py:docstring of yangify.linter.LinterResult.children:1:duplicate object description of yangify.linter.LinterResult.children, other instance in api/linter, use :noindex: for one of them Makefile:62:...
Accessing config items via `self.yy` has caused some confusion as to what it actually is. It will be beneficial to rename variable to be more descriptive.
yangson 1.3.47 breaks two tests ``` tests/integration/test_integration.py::Test::test_parser[junos_openconfig-vlans] FAILED tests/integration/test_integration.py::Test::test_parser[ios_test_case_2] FAILED ``` Both errors are of the type ``` yangson.exceptions.SchemaError: [$path] config member-not-allowed: $path ```
https://github.com/networktocode/yangify/blob/develop/yangify/linter/__init__.py#L167 Add `to_dict` method to `RootLinterResult` so it can be used within the NTC Rosetta CLI tools as well as any other tool/use that may want it. Below is the...
In the main loop in parse_indented_config, allow for a filter callback argument to influence the text processing. The callback should return the new config 'line', or None. If None, the...