Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use YANG modules to configure and operate OpenALTO #39

Open
fno2010 opened this issue Mar 20, 2023 · 1 comment
Open

Use YANG modules to configure and operate OpenALTO #39

fno2010 opened this issue Mar 20, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request IETF-Hackathon-116

Comments

@fno2010
Copy link
Member

fno2010 commented Mar 20, 2023

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
Copy link
Member Author

fno2010 commented Mar 29, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request IETF-Hackathon-116
Projects
None yet
Development

No branches or pull requests

1 participant