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

Add support for all Yang models in the REST API #85

Open
Purnimayeggina opened this issue May 17, 2023 · 0 comments
Open

Add support for all Yang models in the REST API #85

Purnimayeggina opened this issue May 17, 2023 · 0 comments

Comments

@Purnimayeggina
Copy link

This pull request addresses the issue of incomplete support for Yang models in the REST API on the SONiC target board. The changes made in this pull request ensure that all Yang models are properly supported by the REST API.
The problem revolves around the REST API on the SONiC target board, which is not providing full support for all the Yang models present in the usr/local/yang-model path. While some Yang models are successfully supported by the REST API in the rest_ui folder, we are experiencing limitations with other Yang models.
To overcome this issue thought of doing modifications in sonic-mgmt-framework by doing modification.
Modifications Made:
Added all the Yang models that require REST API support to the sonic-build-image/src/sonic-mgmt-common/models/yang/sonic directory in the sonic-mgmt-common repository.
So is there any other modifications to be done in sonic-mgmt-common to get support from rest api for yang models on SONiC target board. Can you please suggest some advice regarding tis issue?

Thank you for reviewing this pull request.

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

No branches or pull requests

1 participant