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
There is code for checking RPC replies but for various reasons it is not enabled.
They are somewhat special in the sense the errors are generated by the server itself, such as plugin code, not the client message. In those parts where it is enabled it has the tag: "internal error", with the actual error in the message.
In a few instances I noted they reduced performance such as CLICON_VALIDATE_STATE_XML in which case it is recommended to enable it during development only.
* Stricter checking of outgoing RPC replies from server
* See [RPC output not verified by yang](#283)
* This lead to some corrections of RPC replies in system code
Hi olof,
Currently the netconf RPC output not verified by yang, my test case is below:
RPC define in yang:
code of C callback
RPC calling with restconf and the output is
log in backend:
Backend should check the mandatory value
result/v0
and the range ofresult/v1
, but both not checked.The text was updated successfully, but these errors were encountered: