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

Yang library advertisement and yang file download #65

Merged
merged 2 commits into from Oct 28, 2020

Conversation

sachinholla
Copy link
Contributor

1) Enhanced REST server to handle "GET /restconf/yang-library-version"
request to advertise yang library version (RFC8040, section 3.3.3).
Always returns "2016-06-21".

2) REST server now supports "GET /models/yang/xxxxx.yang" requests to
download yang files from the device. These links are also advertised
through schema URLs in the ietf-yang-library responses. Schema URL uses
an ipv4 address of eth0. Requires restart of REST server to reflect
changes to eth0 ip address.

Enhanced REST server to handle "GET /restconf/yang-library-version"
request to advertise yang library version (RFC8040, section 3.3.3).
Always returns "2016-06-21".
REST server now supports "GET /models/yang/xxxxx.yang" requests to
download yang files from the device. These links are also advertised
through schema URLs in the ietf-yang-library responses. Schema URL uses
an ipv4 address of eth0. Requires restart of REST server to reflect
changes to eth0 ip address.
@renukamanavalan renukamanavalan merged commit a7c10e4 into sonic-net:master Oct 28, 2020
@sachinholla sachinholla deleted the yanglib branch October 29, 2020 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants