blob: ccca1d9de6f5af9cce3a25e1f3b29dade8e97e35 [file] [log] [blame]
Charles Chan78a737f2019-09-12 13:55:22 -07001Testing Guide
2*************
Zack Williams553a3632019-08-09 17:14:43 -07003
Charles Chancc71f622019-09-17 11:27:56 -07004We use two open source test tools to test Trellis behavior.
5
6- **Data Plane Testing - OFTest**
Zack Williamsd63d35b2020-06-23 14:12:46 -07007
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 Chan8299f072019-09-23 11:32:26 -070011 This tool was originally developed by Big Switch and later modified by Accton.
Zack Williamsd63d35b2020-06-23 14:12:46 -070012
Charles Chan8299f072019-09-23 11:32:26 -070013 The test cases for verifying OF-DPA behavior were written by ONF.
Zack Williamsd63d35b2020-06-23 14:12:46 -070014
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 Chancc71f622019-09-17 11:27:56 -070017
18- **Control Plane Testing - TestON**
Zack Williamsd63d35b2020-06-23 14:12:46 -070019
20 We use **TestON** to verify the **Trellis control application behavior**
21 when used for a leaf-spine fabric.
22
Charles Chan8299f072019-09-23 11:32:26 -070023 These tests are merged into ONOS test repository and run nightly.
Zack Williamsd63d35b2020-06-23 14:12:46 -070024
25 To learn more about TestON, please visit :doc:`Control Plane Testing
26 <testing/control-plane-testing>`.
Charles Chancc71f622019-09-17 11:27:56 -070027
28.. toctree::
29 :maxdepth: 1
30 :hidden:
31
32 testing/data-plane-testing
Zack Williamsd63d35b2020-06-23 14:12:46 -070033 testing/control-plane-testing