The –sil-test-get-when parameter specifies the global default for evaluating when-stmts on operational data nodes during retrieval operations. If 'true', the server will evaluate 'when' statements for GET2 callback requests for config=false nodes. If 'false' then the SIL or SIL-SA callback is expected to test the 'when' condition internally somehow and return a no-instance error if the condition is 'false'. The default is 'false'.


This parameter can be overridden by the ywx:sil-test-get-when YANG extension. If that extension is found for an operational data node then its value will be used instead of this parameter.


The --sil-test-get-when parameter can be set via the command line when booting netconfd-pro:


user@system> netconfd-pro --sil-test-get-when=true


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


#
#### leaf sil-test-get-when
#
# If 'true', the server will evaluate 'when' statements
# for GET2 callback requests for config=false nodes.
# If 'false' then the SIL or SIL-SA callback is expected
# to test the 'when' condition internally somehow and return
# a no-instance error if the condition is 'false'.
#
# This parameter can be overridden by the ywx:sil-test-get-when
# YANG extension. If that extension is found for an
# operational data node then its value will be used instead
# of this parameter.
#
# sil-test-get-when false
#
sil-test-get-when true