Charles Chan | 78a737f | 2019-09-12 13:55:22 -0700 | [diff] [blame] | 1 | Testing Guide |
| 2 | ************* |
Zack Williams | 553a363 | 2019-08-09 17:14:43 -0700 | [diff] [blame] | 3 | |
Charles Chan | cc71f62 | 2019-09-17 11:27:56 -0700 | [diff] [blame] | 4 | We use two open source test tools to test Trellis behavior. |
| 5 | |
| 6 | - **Data Plane Testing - OFTest** |
Zack Williams | d63d35b | 2020-06-23 14:12:46 -0700 | [diff] [blame^] | 7 | |
| 8 | We use **OFTest** to verify the **behavior of a hardware switch** is the |
| 9 | same as described in the OF-DPA specification. |
| 10 | |
Charles Chan | 8299f07 | 2019-09-23 11:32:26 -0700 | [diff] [blame] | 11 | This tool was originally developed by Big Switch and later modified by Accton. |
Zack Williams | d63d35b | 2020-06-23 14:12:46 -0700 | [diff] [blame^] | 12 | |
Charles Chan | 8299f07 | 2019-09-23 11:32:26 -0700 | [diff] [blame] | 13 | The test cases for verifying OF-DPA behavior were written by ONF. |
Zack Williams | d63d35b | 2020-06-23 14:12:46 -0700 | [diff] [blame^] | 14 | |
| 15 | To learn more about OFTest and how we use it for OF-DPA verification, |
| 16 | please visit :doc:`Data Plane Testing <testing/data-plane-testing>`. |
Charles Chan | cc71f62 | 2019-09-17 11:27:56 -0700 | [diff] [blame] | 17 | |
| 18 | - **Control Plane Testing - TestON** |
Zack Williams | d63d35b | 2020-06-23 14:12:46 -0700 | [diff] [blame^] | 19 | |
| 20 | We use **TestON** to verify the **Trellis control application behavior** |
| 21 | when used for a leaf-spine fabric. |
| 22 | |
Charles Chan | 8299f07 | 2019-09-23 11:32:26 -0700 | [diff] [blame] | 23 | These tests are merged into ONOS test repository and run nightly. |
Zack Williams | d63d35b | 2020-06-23 14:12:46 -0700 | [diff] [blame^] | 24 | |
| 25 | To learn more about TestON, please visit :doc:`Control Plane Testing |
| 26 | <testing/control-plane-testing>`. |
Charles Chan | cc71f62 | 2019-09-17 11:27:56 -0700 | [diff] [blame] | 27 | |
| 28 | .. toctree:: |
| 29 | :maxdepth: 1 |
| 30 | :hidden: |
| 31 | |
| 32 | testing/data-plane-testing |
Zack Williams | d63d35b | 2020-06-23 14:12:46 -0700 | [diff] [blame^] | 33 | testing/control-plane-testing |