Skip to content

Commit 97a4e47

Browse files
committed
Update submodule for sonic-gnmi and add configuration parameters for GNMI native write.
1 parent 35c4e99 commit 97a4e47

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

Makefile.work

+4
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
# * ENABLE_TRANSLIB_WRITE: Enable translib write/config operations via the gNMI interface.
3838
# * Default: unset
3939
# * Values: y
40+
# * ENABLE_NATIVE_WRITE: Enable native write/config operations via the gNMI interface.
41+
# * Default: unset
42+
# * Values: y
4043
# * SONIC_DPKG_CACHE_METHOD: Specifying method of obtaining the Debian packages from cache: none or cache
4144
# * SONIC_DPKG_CACHE_SOURCE: Debian package cache location when cache enabled for debian packages
4245
# * BUILD_LOG_TIMESTAMP: Set timestamp in the build log (simple/none)
@@ -480,6 +483,7 @@ SONIC_BUILD_INSTRUCTION := $(MAKE) \
480483
SONIC_INCLUDE_RESTAPI=$(INCLUDE_RESTAPI) \
481484
SONIC_INCLUDE_MUX=$(INCLUDE_MUX) \
482485
ENABLE_TRANSLIB_WRITE=$(ENABLE_TRANSLIB_WRITE) \
486+
ENABLE_NATIVE_WRITE=$(ENABLE_NATIVE_WRITE) \
483487
EXTRA_DOCKER_TARGETS=$(EXTRA_DOCKER_TARGETS) \
484488
BUILD_LOG_TIMESTAMP=$(BUILD_LOG_TIMESTAMP) \
485489
SONIC_ENABLE_IMAGE_SIGNATURE=$(ENABLE_IMAGE_SIGNATURE) \

rules/config

+4
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ ENABLE_AUTO_TECH_SUPPORT = y
160160
# Uncomment to enable:
161161
# ENABLE_TRANSLIB_WRITE = y
162162

163+
# ENABLE_NATIVE_WRITE - Enable native write/config operations via the gNMI interface.
164+
# Uncomment to enable:
165+
# ENABLE_NATIVE_WRITE = y
166+
163167
# INCLUDE_MACSEC - build docker-macsec for macsec support
164168
INCLUDE_MACSEC = y
165169

slave.mk

+1
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ $(info "INCLUDE_BOOTCHART : "$(INCLUDE_BOOTCHART)")
396396
$(info "ENABLE_BOOTCHART : "$(ENABLE_BOOTCHART)")
397397
$(info "ENABLE_FIPS_FEATURE" : "$(ENABLE_FIPS_FEATURE)")
398398
$(info "ENABLE_TRANSLIB_WRITE" : "$(ENABLE_TRANSLIB_WRITE)")
399+
$(info "ENABLE_NATIVE_WRITE" : "$(ENABLE_NATIVE_WRITE)")
399400
$(info "ENABLE_AUTO_TECH_SUPPORT" : "$(ENABLE_AUTO_TECH_SUPPORT)")
400401
$(info "PDDF_SUPPORT" : "$(PDDF_SUPPORT)")
401402
$(info "MULTIARCH_QEMU_ENVIRON" : "$(MULTIARCH_QEMU_ENVIRON)")

0 commit comments

Comments
 (0)