aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2018-10-06 09:26:02 +0200
committerJohn Lo <loj@cisco.com>2018-10-20 15:15:45 +0000
commitc1f87942da3f6daeb4c30002929828e86035cee2 (patch)
tree677181dba699066b3c1f1d6e827ad9e43005fbbe /test
parent270055a41accbb421d9016eb972fcd4ea0343671 (diff)
acl-plugin: use the L2 feature arc infrastructure instead of L2 classifier for plumbing
This makes ACL plugin use the new feature arcs, which slightly increases performance. Since for ethertype whitelisting we were using the L2 classifier, to retain the functionality, make a simple node doing that, and plug it into non-ip L2 feature arc whenever needed. Change-Id: I3add377a6c790117dd3fd056e5615cb4c4438cf4 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/test_acl_plugin.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_acl_plugin.py b/test/test_acl_plugin.py
index fd45b4a27e7..5ccfa39e525 100644
--- a/test/test_acl_plugin.py
+++ b/test/test_acl_plugin.py
@@ -154,6 +154,14 @@ class TestACLplugin(VppTestCase):
"""
super(TestACLplugin, self).tearDown()
if not self.vpp_dead:
+ cli = "show vlib graph l2-input-feat-arc"
+ self.logger.info(self.vapi.ppcli(cli))
+ cli = "show vlib graph l2-input-feat-arc-end"
+ self.logger.info(self.vapi.ppcli(cli))
+ cli = "show vlib graph l2-output-feat-arc"
+ self.logger.info(self.vapi.ppcli(cli))
+ cli = "show vlib graph l2-output-feat-arc-end"
+ self.logger.info(self.vapi.ppcli(cli))
self.logger.info(self.vapi.ppcli("show l2fib verbose"))
self.logger.info(self.vapi.ppcli("show acl-plugin acl"))
self.logger.info(self.vapi.ppcli("show acl-plugin interface"))