forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CVL Changes #2: YValidator infra changes for evaluating xpath express…
…ion (sonic-net#19) Why I did it Adding YValidator support so that xpath expression (must/when/leafref) can be evaluated using custom xpath engine. Custom xpath engine will be integrated in subsequent PR. 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 Modifying cvl.go for adding new data structure to store cache in CVL session cache, add YValidator data type. Adding API to get Redis table name from YANG list. Modifying cvl_api.go and cvl_cache.go due to change in session cache. Modifying cvl_syntax.go due to change in API name. Modifying cvl_semantics.go to add various API which can operate on YValidator nodes.
- Loading branch information
1 parent
f3fc40f
commit 9d24a34
Showing
5 changed files
with
714 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.