forked from sonic-net/sonic-swss
-
Notifications
You must be signed in to change notification settings - Fork 0
ACL Design, Implementation, Testing
Andriy Moroz edited this page May 16, 2017
·
4 revisions
-
- sonic-swss: Orchestration Agent (https://github.com/Azure/sonic-swss/tree/master/orchagent)
- sonic-sairedis (https://github.com/Azure/sonic-sairedis)
-
Database (Redis DB)
- Schema (https://github.com/Azure/sonic-swss/blob/master/doc/swss-schema.md)
- APP_DB (#0) + ASIC_DB (#1)
docker exec -it database redis-cli
-
Testing (https://github.com/Azure/sonic-mgmt)
- Testbed tests
- Development (sanity) tests
- Code (https://github.com/Azure/sonic-mgmt/blob/master/ansible/roles/test/tasks/acl.yml)
- How to use
Setup: One DUT + one host + one connection
+---------------+ +---------------+
| Ethernet0|<------>|eth0 |
| | | |
| DUT | | Host |
+---------------+ +---------------+
ansible-playbook -i inventory --limit {DUT_NAME} test_sonic.yml -b --tags acl -e "ptf_host={PTF_HOST} ptf_host_if=eth1 switch_if=Ethernet0"
-
- Design: create new/update existing document (https://github.com/Azure/SONiC/wiki/Design-Guidelines)
- Design review (community meeting?)
- Coding/Testing/Debugging (see Testing chapter)
- Contributing
- GitHub way: fork/change/push/pull-request/(receive comments-fix)/merged
- Same with the tests (if needed)