forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transformer Infra memory optimization and enhancements (sonic-net#80)
* Transformer infra initialization, application(common_app) enhancements for following: *Transformer infra memory and startup time optimizations *Support for gNMI style PUT/REPLACE on leaf-list. *Sort DB keys for tables having mutli-element key with optional elements(sonic-yang container representing the table has multiple lists) before DB operation. *Modifications to improve debuggability/logging. * Transformer infra SET(CREATE/REPLACE/UPDATE) and GET code flow modifications to incorporate following: *Support gNMI style PUT/REPLACE on leaf-list in SET flow *Conditionally invoke subtree only once to improve SET request performance *Support for key-transformer on sonic-yang GET request. *Improve debuggability/logging. * Transformer infra utility enhacements for CRUD and SET *Add utility functions in transformer infra for CRUD AND GET cases to retrieve yang node info *Key-transformer support on Sonic-Yang list for GET flow *Call back error message packaging *Changes to Improve debuggability and logging * Transformer infra enhacements for DELETE flow *Json based table sorting for non CVL table ordering *Changes to Improve debuggability and logging. * REPLACE case bug-fix to use copy of original instance fields in common_app to handle leaf-list target PUT/REPLACE to swap contents of leaf-list. * Add copyright info * Use the new ocbinds.GetSchema() API from master * Addressed review comments --------- Co-authored-by: ranjinidn <[email protected]> Co-authored-by: ranjinidn <[email protected]> Co-authored-by: ranjinidn <[email protected]>
- Loading branch information
1 parent
df76c05
commit 1340e29
Showing
17 changed files
with
4,255 additions
and
3,314 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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.