-
Notifications
You must be signed in to change notification settings - Fork 53
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
Support for YANG RPCs #172
base: master
Are you sure you want to change the base?
Conversation
86250a3
to
f26f194
Compare
TOP_DIR := $(abspath ..) | ||
MGMT_COMMON_DIR := $(TOP_DIR)/sonic-mgmt-common | ||
TOPDIR := . | ||
MGMT_COMMON_DIR := $(TOPDIR)/../sonic-mgmt-common |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MGMT_COMMON_DIR must be an absolute path.. It is used to set env variables like CVL_SCHEMA_PATH etc, used during gotests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sachinholla . corrected..
260d7be
to
150ffe6
Compare
06ba032
to
cfc2fc8
Compare
@kwangsuk please review |
cfc2fc8
to
19ef472
Compare
Can you pls update go.mod and go.sum? |
Can you please update the following items?
|
The YANG RPC is supported using gNOI. The protobufs are auto-generated as part of build from YANG files. The gNOI clients also gets built.
19ef472
to
913c789
Compare
The YANG RPC is supported using gNOI.
The protobufs are auto-generated as part of build from YANG files. The gNOI clients also gets built.
Why I did it
This PR brings in support for YANG RPCs in sonic-gnmi service via gNOI.
How I did it
Generated protobufs from YANG RPCs this is done using pyang plugin and it is hooked up in the sonic-gnmi build.
Protobufs contain RPCs which can be invoked using gNOI.
How to verify it
The gnoi_client application exposes the RPCs generated from YANG, this can be used to verify them.
Which release branch to backport (provide reason below if selected)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)