NOTE: The module-tagmap parameter applies to YumaPro SDK 17.10-7+.


The module-tagmap configuration parameter for netconfd-pro is a leaf-list of module name to module-tag mappings.
This leaf-list specifies a module tag mapping for use in module tags registry.


The format is <modname>@<tag-string>. Strings should follow the format in the ietf-module-tags YANG module.


The <get> and <get-config> operations accept the –module-tag parameter which is used as a filter to include only data nodes from modules that match the specified module-tag.

Examples:

  • ietf-system@ietf:system-management
  • openconfig-system@vendor:openconfig:system-management
  • example-system@vendor:example.com:system-management


The module-tagmap parameter will be ignored unless the with-modtags parameter is set to 'true', which is the default.


The module-tagmap parameter can be set via the command line when booting netconfd-pro:


user@system> netconfd-pro --module-tagmap=test1@test --module-tagmap=test2@test


or configured in netconfd-pro's configuration file, which is located by default at /etc/yumapro/netconfd-pro.conf:


#### leaf-list module-tagmap
#
# Specifies a module tag mapping for use in module tags registry.
# The format is <modname>@<tag-string>.
# Examples:
#   ietf-system@ietf:system-management
#   openconfig-system@vendor:openconfig:system-management
#   example-system@vendor:example.com:system-management
#
# no default for module-tagmap
#

module-tagmap test1@test
module-tagmap test2@test