Hi Alok,
There are a few examples of these sort of “want” APIs. For example, from
src/vnet/interface.api:
service {
rpc want_interface_events returns want_interface_events_reply
events sw_interface_event;
};
/neale
From: [email protected] <[email protected]> on behalf of Alok Tiwari via
lists.fd.io <[email protected]>
Date: Thursday, 15 December 2022 at 17:22
To: [email protected] <[email protected]>
Subject: [vpp-dev] Procedure to send API from VPP to agent based on event
Hi Folks,
I understand that VPP handles two types of API exchanges
1. There is a simple "request and reply" type.
2. The second type of message exchange is a "dump" request and a repeated
reply message in the form of multiple "details".
In our case, I have a requirement to send some event based information from VPP
to the agent without any request from the agent. Please guide how I can
achieve this through VPP.
Regards,
Alok
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22340): https://lists.fd.io/g/vpp-dev/message/22340
Mute This Topic: https://lists.fd.io/mt/95684042/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-