I wonder If there is a way to set leaf to ‘Config True/False dynamically’.
for example, There are 2 YANG Leaf, A and B.
if A value = ON, then B is ‘config true’
else A value = OFF, then B is ‘config false’.
and There should be no issue for loading DB, when the system reforks or restarts.