acl-plugin: VAT: add an option to load entire ACL from a ClassBench ruleset file... 50/13050/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Fri, 18 May 2018 16:10:16 +0000 (18:10 +0200)
committerDamjan Marion <dmarion@me.com>
Thu, 14 Jun 2018 14:38:10 +0000 (14:38 +0000)
Add a command "acl_add_replace_from_file" to VAT which can load a ruleset and
add an ACL with it. There are a few options which augment the ACL being created:

"permit+reflect" or "permit" alter the default action from deny on the ACEs
created.

"append-default-permit" adds an entry in the end with the "permit+reflect"
if the default action has been changed to permit+reflect, or with a simple
permit otherwise.

This command is IPv4-only because the available datasets were IPv4-only.

Change-Id: I26b9f33ecb6b59e051d1d9cbafedbc47e8203392
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>

No differences found