sonic-mgmt-framework icon indicating copy to clipboard operation
sonic-mgmt-framework copied to clipboard

Add support for all Yang models in the REST API

Open Purnimayeggina opened this issue 1 year ago • 0 comments

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 models/yangs/sonic directory in the sonic-mgmt-framework repository. So is there any other modifications to be done in sonic-mgmt-framework 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.

Purnimayeggina avatar May 17 '23 03:05 Purnimayeggina