Ravi, > We want to use API calls to create the ACL and ABF policies. We need a > blocking calls because we need to decide next action on the return values. > When I checked using the VAPI, I see only Asynchronous calls and we need to > register callback for return values but I need a blocking calls > For example If I want use Show version with blocking call and return values > how can I achieve. > Is there a way to use Blocking API calls and get return values. > If any example to use Blocking API calls that will be great.. thanks.
https://docs.fd.io/vpp/21.06/d4/d09/vapi_doc.html https://git.fd.io/vpp/tree/src/vpp-api/vapi/vapi_c_test.c#n424 Best regards, Ole
signature.asc
Description: Message signed with OpenPGP
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20045): https://lists.fd.io/g/vpp-dev/message/20045 Mute This Topic: https://lists.fd.io/mt/85224886/21656 Mute #binapi:https://lists.fd.io/g/vpp-dev/mutehashtag/binapi Mute #acl:https://lists.fd.io/g/vpp-dev/mutehashtag/acl Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-