+1 in general, but we should be careful
toggle quoted messageShow quoted text
with respect to clients.
Perhaps choose a suffix different from _dump,
so users can infer the return value structure more easily?
From: vpp-api-dev@... <vpp-api-dev@...> On Behalf Of Dave Wallace
Sent: Tuesday, 2019-June-18 16:12
Cc: Dave Barach (dbarach) <@vppguy
Subject: Re: [vpp-api-dev] RFC: New model for stream messages
On 6/18/2019 3:02 AM, Ole Troan wrote:
Dave made a suggestion to get rid of the control_ping wrapper hack that we use to detect last message in a stream for dump/details.
We have implemented something in:
Instead of having to wrap dump/detail calls in control ping, send
details messages in between a normal reply / request pair. As expressed in the below service statement.
rpc map_domain_dump returns map_domain_dump_reply
autoreply define map_domain_dump
It's backwards compatible, so only those messages that have the service definition will use the new model.
But of course all language bindings will have to support this.