Re: [vpp-dev] acl priority

2017-09-06 Thread Andrew Yourtchenko
Hi,

If we you talk about acl plugin then the ACLs are evaluated in the order of 
them applied and same about the ACEs within an acl - to change the order you 
can apply a differently sorted list or call acl_add_replace with new contents 
of the ACL.

If you talk the built in ACLs using classifier tables, then within the same 
table the rules don't overlap so there is no order. And to change the order of 
evaluation of multiple tables, in case you have more than one, you need to 
recreate the entire chain.

Hope this helps!

--a

> On 6 Sep 2017, at 11:17, "yug...@telincn.com"  wrote:
> 
> Hi all,
> Does vpp acl sourpport ajust priority? 
> I have configured ten acl rules, if i want to move the tenth acl to be the 
> first acl, is there a easy way to do this?
> 
> Regards,
> Ewan
> 
> yug...@telincn.com
> ___
> vpp-dev mailing list
> vpp-dev@lists.fd.io
> https://lists.fd.io/mailman/listinfo/vpp-dev
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] acl priority

2017-09-06 Thread yug...@telincn.com
Hi all,
Does vpp acl sourpport ajust priority? 
I have configured ten acl rules, if i want to move the tenth acl to be the 
first acl, is there a easy way to do this?

Regards,
Ewan



yug...@telincn.com
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev