It is possible in YANG to “tag” certain nodes with an “if-feature” statement.
The syntax is: if-feature ;
The goal of features in YANG is to achieve a conditional support of data trees based on the hardware capabilities. This is specified during the compilation time of YANG modules.
In order to make use of the “if-feature” capability, developers needs to define the associated feature in YANG.
I have a pyang build error with if-feature, always i got “bad value “my expression” (should be if-feature-expr)”
I 'am using 1.15 pyang programm version
When working with ConfD, you should only use the version of pyang which comes with your ConfD distribution. You should not use the open source distribution of pyang from github. The pyang in the ConfD distribution includes some extra things for working with ConfD.
We have an issue after upgrading the confd version to 6.3.0.2, In the previous version if-feature works fine without any issue. In the below code “mandatory true;” not worked.
Looks like it is enabled by default. How do we enable specific