Hello, 

I have a use-case where vpp should be able to send data to an user-space daemon 
running on the same Linux box. 
The data should be sent periodically. Please let me know if there is any 
recommended way to achieve this.
     
So far, I have come across the options below. 

Events type vpp/api:
<The client can register for getting asynchronous notifications from the 
server. This is useful for getting interface state changes, periodic counters 
and so on. The method name for requesting notifications is conventionally 
prefixed with "want_". E.g. "want_interface_events". Which notification types 
results from an event registration is not defined in the API definition.>

Is there any example of a client receiving the event type messages from vpp? Is 
this communication happen over the vpp main thread? Or, can it be done over the 
worker threads as well? 

VLIB_REGISTER_THREAD:
I saw some example in stats.c code, but I am yet to figure out how this works? 
Is this something that can be used from the VPP threads (main and worker 
threads) to export information to another process?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9914): https://lists.fd.io/g/vpp-dev/message/9914
Mute This Topic: https://lists.fd.io/mt/23799196/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to