Commit 9dfe1e7f authored by Georgios P. Katsikas's avatar Georgios P. Katsikas
Browse files

doc: update README

parent b042d3f7
Loading
Loading
Loading
Loading
+15 −7
Original line number Diff line number Diff line
@@ -72,13 +72,21 @@ The `./setup.sh` script copies from this directory. If you need to change the P4
A set of tests is implemented, each focusing on different aspects of TFS.
For each of these tests, an auxiliary bash script allows to run it with less typing.

|                 Test                 |              Bash Runner           |                Purpose             |
| ------------------------------------ | ---------------------------------- | ---------------------------------- |
| -                                    | setup.sh                           | Copy P4 artifacts into the SBI pod |
| test_functional_bootstrap.py         | run_test_01_bootstrap.sh           | Connect TFS to the P4 switch       |
| test_functional_rules_provision.py   | run_test_02_rules_provision.sh     | Install rules on the P4 switch     |
| test_functional_rules_deprovision.py | run_test_03_rules_deprovision.sh   | Uninstall rules from the P4 switch |
| test_functional_cleanup.py           | run_test_04_cleanup.sh             | Disconnect TFS from the P4 switch  |
|              Bash Runner                      |                Purpose                                                      |
| --------------------------------------------- | --------------------------------------------------------------------------- |
| setup.sh                                      | Copy P4 artifacts into the SBI pod                                          |
| run_test_01_bootstrap.sh                      | Connect TFS to the P4 switch                                                |
| run_test_02a_sbi_provision_int_l2_l3_acl.sh   | Install L2, L3, INT, and ACL rules on the P4 switch via the SBI service     |
| run_test_02b_sbi_deprovision_int_l2_l3_acl.sh | Uninstall L2, L3, INT, and ACL rules from the P4 switch via the SBI service |
| run_test_03a_service_provision_l2.sh          | Install L2 forwarding rules via a dedicated P4 L2 service handler           |
| run_test_03b_service_deprovision_l2.sh        | Uninstall L2 forwarding rules via a dedicated P4 L2 service handler         |
| run_test_04a_service_provision_l3.sh          | Install L3 routing rules via a dedicated P4 L3 service handler              |
| run_test_04b_service_deprovision_l3.sh        | Uninstall L3 routing rules via a dedicated P4 L3 service handler            |
| run_test_05a_service_provision_acl.sh         | Install ACL rules via a dedicated P4 ACL service handler                    |
| run_test_05b_service_deprovision_acl.sh       | Uninstall ACL rules via a dedicated P4 ACL service handler                  |
| run_test_06a_service_provision_int.sh         | Install INT rules via a dedicated P4 INT service handler                    |
| run_test_06b_service_deprovision_int.sh       | Uninstall INT rules via a dedicated P4 INT service handler                  |
| run_test_07_cleanup.sh                        | Clean-up context and topology and disconnect TFS from the P4 switch         |

Each of the tests above is described in detail below.