Hi,
I have a model where 3 leaves are defined: leaf-a, leaf-b and leaf-c.
The value of leaf-c is directly dependent on the values of leaf-a and leaf-b. For instance, if a request with
“leaf-a = 10” and “leaf-b = 20” is sent, leaf-c will be set as 55
“leaf-a = 48” and “leaf-b = 12” is sent, leaf-c will be set as 82
according to a lookup table. Is it possible to define this relation on YANG model? If not, that means I need to implement it at application side and define leaf-c as state data, I guess.
To be honest, it does not seem like a valid use case but I wanted to be sure before implementation.