The --max-strlen parameter for netconfd-pro defines The maximum number of bytes in length that will be accepted for a quoted string, by the internal token parser.

This affects YANG and JSON input processing. Set this value to allow large binary leafs to be parsed by the server and large JSON input to be parsed. This value includes 1 byte for the string termination character.  range "65536 .. max".


The --max-strlen parameter can be set via the command line when booting netconfd-pro:


user@system> netconfd-pro --max-strlen=262144


or configured in the /etc/yumapro/netconfd-pro.conf file:


#### leaf max-strlen
#
# The maximum number of bytes in length that will be accepted
# for a quoted string, by the internal token parser.
# This affects YANG and JSON input processing.
# Set this value to allow large binary leafs to be
# parsed by the server. This value includes 1 byte for the
# string termination character.  range "65536 .. max"
#
# max-strlen 262144
#