Satya,

I am just now going mostly offline for the next 9 calendar days. Normally what 
you are doing should work. 

The usual “use the force trick” with gdb applies and gerrit with fixes are 
welcome if you get to the root cause and the fix to it, while I am away.

If not - you can post your code/working example somewhere so I can build and 
debug it when I am back. 

There are more than one user of acl at the moment I think and they get unique 
IDs; so looking at the differences with how you use it might help clarify the 
things too - I might have missed something. 

--a

> On 31 May 2019, at 11:43, Satya Murthy <satyamurthy1...@gmail.com> wrote:
> 
> Hi ,
> 
> I am trying to register my plugin as an ACL user by using 
> register_user_module().
> I am getting a user_id of value 0. ( by looking at my logs, I could confirm 
> this ) 
> 
> However, when I see  vppctl CLI "show acl-plugin lookup user" , its showing 
> "abp" plugin got registered with
> user_id index=0.
> 
> Basically, it looks like, ABP plugin is overwriting my plugin's registration.
> 
> Is there anything that I need to wait on, before calling on 
> register_user_module() of ACL plugin ?
> I have looked at ABF and GBP plugin's implementation, and I didnt find 
> anything of this sort.
> 
> Also, one more trial I did in my plugin is: 
> Call register_user_module, on the receipt of first data packet ( just to 
> check, if some delay can help me ).
> And this seems to be solving my issue.
> But, I can not keep this mechanism in my product code.
> 
> Any hints on what could have been happening.
> 
> 
> 
> 
> 
> -- 
> Thanks & Regards,
> Murthy
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#13191): https://lists.fd.io/g/vpp-dev/message/13191
> 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 (#13194): https://lists.fd.io/g/vpp-dev/message/13194
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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to