kelvin-onlab | 4414780 | 2015-07-27 17:57:31 -0700 | [diff] [blame^] | 1 | Summary: |
| 2 | This test suite consist of basic intent functionality testing. |
| 3 | The following is an overview of how host intents is being tested. |
| 4 | Steps: |
| 5 | - Discover hosts |
| 6 | - Add host intents |
| 7 | - Check intents |
| 8 | - Verify flows |
| 9 | - Ping hosts |
| 10 | - Reroute |
| 11 | - Link down |
| 12 | - Verify flows |
| 13 | - Check topology |
| 14 | - Ping hosts |
| 15 | - Link up |
| 16 | - Verify flows |
| 17 | - Check topology |
| 18 | - Ping hosts |
| 19 | - Remove intents |
| 20 | This test suite includes testing of different types of intents such as |
| 21 | host, point, single-to-multi and multi-to-single ( More intent types to |
| 22 | add later ). The same steps above is being performed to other type of |
| 23 | intents. |
| 24 | |
| 25 | Required: |
| 26 | This test requires Mininet topology file newFuncIntent.py that is in the |
| 27 | Dependency folder. You should run the topology file to check for any |
| 28 | missing packages. The mininet topology file has different type of hosts |
| 29 | including VLAN hosts. Therefore you need to install VLAN module to build |
| 30 | the topology correctly. |
| 31 | |
| 32 | VLAN configuration: |
| 33 | Execute command: |
| 34 | $ sudo apt-get install vlan |
| 35 | Configuration: |
| 36 | $ sudo modprobe 8021q |
| 37 | NOTE:To make this configuration permanent |
| 38 | $ sudo su -c 'echo "8021q" >> /etc/modules' |
| 39 | |