Pyang 2.6.0/2.6.1 onwards we see that the yang files report warning for any when conditions set on a config false leaf as shown below. Why this is a warning for pyang, If we remove config false from the when condition leaf then the warning goes away. Also is there any way to mask this error.
NOTE: The feature supported may be config false based on different conditions and may not be configurable
pyang abc-example.yang
abc-example.yang:44: warning: node "abc-example::feature" is config false and is not part of the accessible tree
abc-example.yang:44: warning: node "abc-example::feature" is config false and is not part of the accessible tree
module: abc-example
+--rw mycontainer
+--rw mylist* [key1]
+--rw key1 uint32
+--ro feature? boolean
+--rw feature-dependent-value? uint8
Pyang 2.6.0/2.6.1 onwards we see that the yang files report warning for any when conditions set on a config false leaf as shown below. Why this is a warning for pyang, If we remove config false from the when condition leaf then the warning goes away. Also is there any way to mask this error.