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

Merging master to fork #1

Merged

Conversation

anand-kumar-subramanian
Copy link
Owner

Merging master to fork

* Translib changes phase I

* Translib changes phase I

* Resolved the review comments

* Returning nil for the error parameter
YGOT:-

To improve the performance of the Unmarshal and EmitJSON methods.
Caching the schema information to path instead of finding the schema for the path every time.
Disabled the validation of the response while marshaling the ygot object.
Added the debug check for the debug logs to get generated/printed only when the debug flag is enabled
Fixes in the Unmarshal method for the node leaf-list, and leaf contains union which has enum as one of its type.
Added changes in the Unmarshal method to throw an error if the request payload has the state information.
Request Binder:-

Added the method validateObjectType - to check and throw an error if the given request payload contains state information.
Added the changes not to validate the request payload if the model of the payload is sonic yang, since CVL validates the sonic yang model request
Package update:-

Updated the ygot package to the version v0.7.1
Updated the goyang package to the version v0.0.0-20200309174518-a00bece872fc
Updated the gnmi package to the version v0.0.0-20200307010808-e7106f7f5493
@anand-kumar-subramanian anand-kumar-subramanian merged commit 23c0892 into anand-kumar-subramanian:master Jul 8, 2020
anand-kumar-subramanian pushed a commit that referenced this pull request Jul 31, 2020
…ges (sonic-net#18)

- Why I did it

As part of CVL code update and new features addition, the existing CVL code has to be reorganized and common infra needs to be changed.

- How I did it

N/A.
Please refer to change log for more details.

- How to verify it

No specific test cases to be executed. Run cvl go test cases using - 'make cvl-test'.

- Description for the changelog

Modify Makefiles
Modify CVL Makefile for cleanall rule
Modify Makefile for CVL YIN schema generation
Modify Makefile for CVL test YIN schema generation
Moved cache, syntax and semantic related code from cvl.go to cvl_cache.go, cvl_syntax.go and cvl_semantics.go respectively .
Added new API signatures for integration. Implementation will be added in subsequent PRs.
Copied sonic-port.yang and sonic-acl.yang to CVL own's test folder.
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.

2 participants