The --with-gnmi parameter controls whether the gNMI protocol is enabled or not.


This feature is only available if the server image is built with the flag WITH_GNMI=1.

If set to 'true', then the gNMI protocol will be enabled. If set to 'false', the gNMI protocol will not be enabled.

The incoming connection will be dropped if the protocol is disabled. The default is 'false'.


The --with-gnmi parameter can be set via the command line when booting netconfd-pro:


user@system> netconfd-pro --with-gnmi=true


or configured in netconfd-pro's configuration file, usually /etc/yumapro/netconfd-pro.conf:


#
#### leaf with-gnmi
# This feature is only available if the server image
# is built with the flags WITH_GNMI=1.
# If set to 'true', then the gNMI protocol will be enabled.
# Otherwise, the gNMI protocol will not be enabled.
# The incoming connection will be dropped if the protocol
# is disabled.
#
# with-gnmi false
#
with-gnmi true


For details on YumaPro's gNMI implementation please refer to the YumaPro gNMI Manual.