Satya, Gbp plugin uses acl plugin in the way I suggested.
Another use is in abf plugin... what are you doing different compared to those two ? I wonder if the reason you can’t call init function is the same as the registration issue - could be that acl plugin is not loaded ? Please publish a draft with your plugin skeleton code that shows the problem with acl init func and that successfully calls another function - then I can take a look. --a > On 7 Jun 2019, at 08:54, Satya Murthy <satyamurthy1...@gmail.com> wrote: > > Hi Andrew, > > I was trying to get this info on one other thread and did not realize your > message in this thread. > > If I put this in feature_enable function, I need to trigger this function via > API (or) CLI, which we want to avoid. > We want to get the registration as part of our plugin initialization. > > I see that there is some issue in the way ACL plugin is setup compared to > other plugins. > I could call many other plugin's init functions using > vlib_call_init_function, except for ACL init function acl_init. > > For the last one week, I am kind of stuck with this issue and not able > proceed further with different options I tried. > I also tried to get the vlib_get_plugin_symbol() for acl_init function, but > it is not able to get it. > > Can you please try calling acl_init from any other plugin and see if this is > a possible thing or a known limitation. > Appreciate your help on this. > > > > > > > > > > -- > Thanks & Regards, > Murthy > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#13233): https://lists.fd.io/g/vpp-dev/message/13233 > Mute This Topic: https://lists.fd.io/mt/31878554/675608 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [ayour...@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13238): https://lists.fd.io/g/vpp-dev/message/13238 Mute This Topic: https://lists.fd.io/mt/31878554/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-