You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to be able to define an action when the value of a certain leaf is set to a (set of) specific value(s). For example: in case we want to reset specific HW components one might think to define a reset action, however certain components (identified by a HW class) might not be supporting a reset. A possible implementation would be that the device returns an error in this case. To me it looks cleaner if YANG would support this by allowing a when clause for the action RPC definition.
The text was updated successfully, but these errors were encountered:
It would be good to be able to define an action when the value of a certain leaf is set to a (set of) specific value(s). For example: in case we want to reset specific HW components one might think to define a reset action, however certain components (identified by a HW class) might not be supporting a reset. A possible implementation would be that the device returns an error in this case. To me it looks cleaner if YANG would support this by allowing a when clause for the action RPC definition.
The text was updated successfully, but these errors were encountered: