I am using openconfig-interfaces.yang as base module to augment/annotate interfaces as per my requirement.
We have ethernet module augmented in openconfig-if-ethernet.yang to use when interface type is “ethernetCsmacd”.
We have multiple ethernet interfaces and few ethernet leafs are not supported for few interfaces when it matches with a specific name like “DataIntf”.
As i read that “Conditional Deviation” is not supported" i used “tailf:display-when”/when to show
these leafs when it matches with interface name “DataIntf”.
This is working fine in confd cli. But when i do GET operation using RESTCONF(using curl) all parameters are getting displayed irrespective of condition.
I tried with both “tailf:display-when” and “when”, but result is same.
Can someone throw some light on this and help me in identifying if there is any limitation in display of parameters in RESTCONF?
Thanks in advance.