Weitao, > I'm using Python binding for the VPP API. I want to receive some asynchronous > messages and use the register_event_callback to register a > papi_event_handler, just like wiki Python Language Binding does. > > But I dont know how to distinguish what kind of messages I received > asynchronously, so I want to know the message IDs for all API messages. > > Is there any other way to do this without knowing message IDs?
The callback is called with msgname and result (named tuple). You should be able to demux based on the message name. Best regards, Ole
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev