The loadpath parameter for netconfd-pro specifies a directory load path for YANG or YIN modules.

This will be checked before the modpath setting (if present) when finding modules.


After all module and bundle parameters have been processed, this load path will be checked and

the server will attempt to load any modules not already loaded.  The loadpath parameter overrides

the YUMA_LOADPATH environment variable.  There is no default for the loadpath parameter.


The loadpath parameter can be invoked via the command line when starting

netconfd-pro. This command instructs netconfd-pro to load all modules in the

/home/user/test-YANG directory:


user@system> netconfd-pro --loadpath=~/test-YANG


The loadpath parameter can also be set in netconfd-pro's configuration file, located by default in the /etc/yumapro directory:


#### leaf loadpath
#
# Directory load path for YANG or YIN modules.
# This will be checked before the modpath setting
# if present when finding modules. After all module
# and bundle parameters have been processed, this
# load path will be checked and the server will
# attempt to load any modules not already loaded.
# Overrides the YUMA_LOADPATH environment variable.
#
#  no default for loadpath
#
loadpath /home/user/test-YANG