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: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> on behalf of Alok Tiwari via lists.fd.io <alok1984=gmail....@lists.fd.io> Date: Thursday, 15 December 2022 at 17:22 To: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> 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: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-