OpenCloudOS-Kernel/tools/net/ynl/lib
Jakub Kicinski 5c6674f6eb tools: ynl: load jsonschema on demand
The CLI script tries to validate jsonschema by default.
It's seems better to validate too many times than too few.
However, when copying the scripts to random servers having
to install jsonschema is tedious. Load jsonschema via
importlib, and let the user opt out.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-01-31 20:36:03 -08:00
..
__init__.py tools: ynl: add an object hierarchy to represent parsed spec 2023-01-31 20:36:03 -08:00
nlspec.py tools: ynl: load jsonschema on demand 2023-01-31 20:36:03 -08:00
ynl.py tools: ynl: use operation names from spec on the CLI 2023-01-31 20:36:03 -08:00