[sonic-gnmi] Support GNMI native write (#10948)
Why I did it Provide GNMI native write interface for configuration. How I did it Add configuration parameters for GNMI native write. How to verify it Check build pipeline.
This commit is contained in:
parent
62698c7992
commit
c16b8dbcc5
@ -37,6 +37,9 @@
|
||||
# * ENABLE_TRANSLIB_WRITE: Enable translib write/config operations via the gNMI interface.
|
||||
# * Default: unset
|
||||
# * Values: y
|
||||
# * ENABLE_NATIVE_WRITE: Enable native write/config operations via the gNMI interface.
|
||||
# * Default: unset
|
||||
# * Values: y
|
||||
# * SONIC_DPKG_CACHE_METHOD: Specifying method of obtaining the Debian packages from cache: none or cache
|
||||
# * SONIC_DPKG_CACHE_SOURCE: Debian package cache location when cache enabled for debian packages
|
||||
# * BUILD_LOG_TIMESTAMP: Set timestamp in the build log (simple/none)
|
||||
@ -480,6 +483,7 @@ SONIC_BUILD_INSTRUCTION := $(MAKE) \
|
||||
SONIC_INCLUDE_RESTAPI=$(INCLUDE_RESTAPI) \
|
||||
SONIC_INCLUDE_MUX=$(INCLUDE_MUX) \
|
||||
ENABLE_TRANSLIB_WRITE=$(ENABLE_TRANSLIB_WRITE) \
|
||||
ENABLE_NATIVE_WRITE=$(ENABLE_NATIVE_WRITE) \
|
||||
EXTRA_DOCKER_TARGETS=$(EXTRA_DOCKER_TARGETS) \
|
||||
BUILD_LOG_TIMESTAMP=$(BUILD_LOG_TIMESTAMP) \
|
||||
SONIC_ENABLE_IMAGE_SIGNATURE=$(ENABLE_IMAGE_SIGNATURE) \
|
||||
|
@ -160,6 +160,10 @@ ENABLE_AUTO_TECH_SUPPORT = y
|
||||
# Uncomment to enable:
|
||||
# ENABLE_TRANSLIB_WRITE = y
|
||||
|
||||
# ENABLE_NATIVE_WRITE - Enable native write/config operations via the gNMI interface.
|
||||
# Uncomment to enable:
|
||||
# ENABLE_NATIVE_WRITE = y
|
||||
|
||||
# INCLUDE_MACSEC - build docker-macsec for macsec support
|
||||
INCLUDE_MACSEC = y
|
||||
|
||||
|
1
slave.mk
1
slave.mk
@ -396,6 +396,7 @@ $(info "INCLUDE_BOOTCHART : "$(INCLUDE_BOOTCHART)")
|
||||
$(info "ENABLE_BOOTCHART : "$(ENABLE_BOOTCHART)")
|
||||
$(info "ENABLE_FIPS_FEATURE" : "$(ENABLE_FIPS_FEATURE)")
|
||||
$(info "ENABLE_TRANSLIB_WRITE" : "$(ENABLE_TRANSLIB_WRITE)")
|
||||
$(info "ENABLE_NATIVE_WRITE" : "$(ENABLE_NATIVE_WRITE)")
|
||||
$(info "ENABLE_AUTO_TECH_SUPPORT" : "$(ENABLE_AUTO_TECH_SUPPORT)")
|
||||
$(info "PDDF_SUPPORT" : "$(PDDF_SUPPORT)")
|
||||
$(info "MULTIARCH_QEMU_ENVIRON" : "$(MULTIARCH_QEMU_ENVIRON)")
|
||||
|
Loading…
Reference in New Issue
Block a user