Skip to content

Commit

Permalink
[dash]: ACL orchagent (sonic-net#2470)
Browse files Browse the repository at this point in the history
What I did
Add DASH ACL orchagent implementation.

Why I did it
DASH needs ACL function.

How I verified it

$ sudo pytest -sv --num-ports=2 test_dash_acl.py --pdb
================================ test session starts ================================
platform linux -- Python 3.8.10, pytest-4.6.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: .pytest_cache
plugins: flaky-3.7.0
collected 4 items

test_dash_acl.py::TestAcl::test_acl_flow PASSED
test_dash_acl.py::TestAcl::test_acl_group PASSED
test_dash_acl.py::TestAcl::test_acl_rule PASSED
test_dash_acl.py::test_nonflaky_dummy PASSED

============================= 4 passed in 54.83 seconds =============================

Signed-off-by: Ze Gan <ganze718@gmail.com>
Co-authored-by: Prince Sunny <prince.sunny@microsoft.com>
  • Loading branch information
2 people authored and theasianpianist committed Jul 25, 2023
1 parent 2bbea9e commit 2eb306a
Show file tree
Hide file tree
Showing 8 changed files with 1,236 additions and 1 deletion.
3 changes: 2 additions & 1 deletion orchagent/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ orchagent_SOURCES = \
nvgreorch.cpp \
dash/dashorch.cpp \
dash/dashrouteorch.cpp \
dash/dashvnetorch.cpp
dash/dashvnetorch.cpp \
dash/dashaclorch.cpp

orchagent_SOURCES += flex_counter/flex_counter_manager.cpp flex_counter/flex_counter_stat_manager.cpp flex_counter/flow_counter_handler.cpp flex_counter/flowcounterrouteorch.cpp
orchagent_SOURCES += debug_counter/debug_counter.cpp debug_counter/drop_counter.cpp
Expand Down
Loading

0 comments on commit 2eb306a

Please sign in to comment.