> On 4 Jun 2019, at 09:08, Satya Murthy <[email protected]> wrote:
>
> Hi Damjan,
>
> In the example you mentioned where bar_init() is trying to find if foo_plugin
> is really loaded or not.
> If foo_plugin is found to be not loaded, a warning is printed and returning a
> 0.
>
> But this does not gaurantee that bar_init() is called once again after a
> while, isnt it ?
> So, in this case, where we want to call bar_init() only after the foo_plugin
> is loaded, how we can achieve this.
>
> The real use case of this would be for example is: "ACL as a service"
> framework, where ACL plugin is needed to be loaded, before any plugin
> subscribes to this ACL-plugin service.
> Any inputs on this please.
All plugins are loaded before init functions are called.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13211): https://lists.fd.io/g/vpp-dev/message/13211
Mute This Topic: https://lists.fd.io/mt/10642182/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-