openalto / alto

Standard Application-Layer Traffic Optimization (ALTO) Toolset.
MIT License
2 stars 6 forks source link

Use YANG modules to configure and operate OpenALTO #39

Open fno2010 opened 1 year ago

fno2010 commented 1 year ago

The current OpenALTO is based on the INI-style configuration. But it should be conceptually equivalent to the YANG-based configuration.

We first need to convert the INI-style config to JSON-style.

Then we can use yangson to translate the YANG-based configuration to the JSON data schema and instance.

https://github.com/ietf-wg-alto/draft-ietf-alto-oam-yang/blob/main/yang/yang-library-ietf-alto.json provides a valid yang library definition.

fno2010 commented 1 year ago

yangson is lightweight enough as a starting point, but it cannot separate config and operational datastores. Maybe sysrepo is a better choice.