Skip to content

Avoid duplicate ocbinds schema loading#73

Merged
anand-kumar-subramanian merged 4 commits intosonic-net:masterfrom
sachinholla:ocbinds_getschema
May 11, 2023
Merged

Avoid duplicate ocbinds schema loading#73
anand-kumar-subramanian merged 4 commits intosonic-net:masterfrom
sachinholla:ocbinds_getschema

Conversation

@sachinholla
Copy link
Copy Markdown
Contributor

Introduced a new function ocbinds.GetSchema(), which is equivalent of the generated function ocbinds.Schema(), but loads the schema only once. Translib request_binder and transformer components will use the new function. Avoids duplicate schema loads during init.

Introduced a new function ocbinds.GetSchema(), which is equivalent of
the generated function ocbinds.Schema(), but loads the schema only
once. Translib request_binder and transformer are changed to use the
new GetSchema() function. Avoids duplicate schema loads during init.

Signed-off-by: Sachin Holla <sachin.holla@broadcom.com>
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented May 10, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

@anand-kumar-subramanian anand-kumar-subramanian merged commit 80e8035 into sonic-net:master May 11, 2023
@sachinholla sachinholla deleted the ocbinds_getschema branch June 18, 2023 03:41
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.

3 participants