Skip to content

Commit

Permalink
[dash]: ACL orchagent (#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
Pterosaur and prsunny authored Jan 5, 2023
1 parent ef1178e commit e328c46
Show file tree
Hide file tree
Showing 9 changed files with 1,237 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/build-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
clean: true
submodules: true
- script: |
sudo apt-get install -y libhiredis0.14 libhiredis-dev
sudo apt-get install -y libhiredis0.14 libhiredis-dev libgmock-dev
sudo apt-get install -y libzmq5 libzmq3-dev
sudo apt-get install -qq -y \
libhiredis-dev \
Expand Down
3 changes: 2 additions & 1 deletion orchagent/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,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 e328c46

Please sign in to comment.