Re: [vpp-dev] ABF and ACL co-existence on an Interface

2020-08-07 Thread Andrew Yourtchenko
> > On 8 Aug 2020, at 01:40, Venkat wrote: > >  > Thank you Andrew for the response. Will invest time to put together the test > cases. Could you please point me to sample test scripts for vpp for > reference? You can look in the “test” subdirectories of the ABF and acl plug-ins for the

Re: [vpp-dev] ABF and ACL co-existence on an Interface

2020-08-07 Thread Venkat
Thank you Andrew for the response. Will invest time to put together the test cases. Could you please point me to sample test scripts for vpp for reference? Or shall I compile a list of test cases I am executing using vpp dbg shell CLI commands? Also, do you think there are significant changes betw

Re: [vpp-dev] ABF and ACL co-existence on an Interface

2020-08-07 Thread Andrew Yourtchenko
Sure. Neither me nor Neale have k8s or ligato. If you invest some effort into building a small “make test” script(s) that show the issues then: 1) it will be possible for at least one of us to take a look at them 2) they won’t resurface again. Does this make sense? Also, probably ligato folks h

Re: [vpp-dev] ABF and ACL co-existence on an Interface

2020-08-07 Thread Venkat
Just to give more context on my test environment... I am using contiv vpp Kubernetes environment and configuring ABFs via etcdctl. eg. / # etcdctl --endpoints=10.43.255.42:12379 put /vnf-agent/eos-branch-1/config/vpp/abfs/v2/abf/4 '{"index":4,"acl_name":"023-sjcf w-icmp-deny","attached_interface

Re: [vpp-dev] ABF and ACL co-existence on an Interface

2020-08-07 Thread Andrew Yourtchenko
A contribution to “make test” that covers this scenario would be very much appreciated... --a > On 7 Aug 2020, at 19:07, Venkat wrote: > >  > Thank you for the response Balaji. > I have noticed VPP crashes when I configure an ABF on the interface that > already has an non-abf ACL attached t

Re: [vpp-dev] ABF and ACL co-existence on an Interface

2020-08-07 Thread Venkat
Thank you for the response Balaji. I have noticed VPP crashes when I configure an ABF on the interface that already has an non-abf ACL attached to the interface. And when I don't have non-abf ACL, then I am able to install ABF rule. Hence was wondering if it's a misconfiguration to have both ABF an

Re: [vpp-dev] ABF and ACL co-existence on an Interface

2020-08-07 Thread Balaji Venkatraman via lists.fd.io
Hi Venkat, Underlying the ABF is another ACL. When we attach an ABF to the interface, the ACL it inherits gets applied to the interface. Not sure if another ACL independent of the above can be attached to the same interface. But, in any case, it should not crash 😊 Thanks! -- Regards, Balaji.

[vpp-dev] ABF and ACL co-existence on an Interface

2020-08-07 Thread vdabbara
Hello, Experimenting ABF in VPP. Had a question regarding the co-existence of ABF and ACL on an interface. Seems like we can either attach ABF or ACL to an interface and not both. Is this the behavior or am I missing anything? When I try to install ABF rule on an interface that already has ACL att

Re: [vpp-dev] address sanitizer and unit tests not working

2020-08-07 Thread Benoit Ganne (bganne) via lists.fd.io
> If I clear the runner (gitlab) cache it causes a full rebuild, and then I > don't see the problem. > Shouldn't the generated file be going under build-root? I ask b/c it's > showing up in git status now. Maybe this also affects the cmake > dependency? Hmm great point, I'll see how to fix that.

Re: [vpp-dev] address sanitizer and unit tests not working

2020-08-07 Thread Christian Hopps
> On Aug 7, 2020, at 11:34 AM, Benoit Ganne (bganne) wrote: > >> I'm seeing some issues with src/vpp-api/python/vpp_papi/vpp_ffi.py not >> being generated using the provided fix in my CI test runs. I think it has >> something to do with an old build being present in the ci runner. > > Yep, I r

Re: [vpp-dev] address sanitizer and unit tests not working

2020-08-07 Thread Benoit Ganne (bganne) via lists.fd.io
> I'm seeing some issues with src/vpp-api/python/vpp_papi/vpp_ffi.py not > being generated using the provided fix in my CI test runs. I think it has > something to do with an old build being present in the ci runner. Yep, I ran into this once too but I am not sure which build dep is the issue. How

Re: [vpp-dev] address sanitizer and unit tests not working

2020-08-07 Thread Christian Hopps
I'm seeing some issues with src/vpp-api/python/vpp_papi/vpp_ffi.py not being generated using the provided fix in my CI test runs. I think it has something to do with an old build being present in the ci runner. ... make[2]: Leaving directory '/builds/4gc3WVUZ/0/oss/vpp/test/ext' Traceback (most

Re: [vpp-dev] VPP getting hanged after consecutive VAPI requests

2020-08-07 Thread Dave Barach via lists.fd.io
Looks like you forgot to write up the issue, to name one problem. Please refer to https://fd.io/docs/vpp/master/troubleshooting/reportingissues/reportingissues.html. From: vpp-dev@lists.fd.io On Behalf Of Chinmaya Aggarwal Sent: Friday, August 7, 2020 7:54 AM To: vpp-dev@lists.fd.io Subject: Re

Re: [vpp-dev] VPP getting hanged after consecutive VAPI requests

2020-08-07 Thread Chinmaya Aggarwal
Can anyone please suggest what is going wrong here? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17160): https://lists.fd.io/g/vpp-dev/message/17160 Mute This Topic: https://lists.fd.io/mt/75986184/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsu