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
rpc dataplane-control {
input {
leaf operation {
mandatory true;
type ngcom:service-operation;
description
"The operation to perform";
}
leaf option {
type string;
description
"Option on operation";
}
}
output {
leaf stdout {
type string;
}
}
}
When I invoke this RPC via restconf, the reply that is generated by the backend callback that is registered for this RPC only contains <ok/>. Restconf interprets this as an invalid reply:
I have an RPC defined in my data model:
When I invoke this RPC via restconf, the reply that is generated by the backend callback that is registered for this RPC only contains
<ok/>
. Restconf interprets this as an invalid reply:RFC 7950 section 7.14.4 says:
The output parameter for the RPC is not mandatory, so a reply of
<ok/>
seems RFC-compliant.The text was updated successfully, but these errors were encountered: