kelvin-onlab | b769f56 | 2015-07-15 17:05:10 -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 |
Jon Hall | 53c5e66 | 2016-04-13 16:06:56 -0700 | [diff] [blame^] | 27 | dependencies folder. You should run the topology file to check for any |
kelvin-onlab | b769f56 | 2015-07-15 17:05:10 -0700 | [diff] [blame] | 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 | |
GlennRC | 0243c3f | 2015-11-24 13:25:38 -0800 | [diff] [blame] | 32 | NOTE: |
| 33 | This test is being updated to use Scapy for host discovery and verification of flows. |
| 34 | So, Scapy will be required to run the test in the future. |
| 35 | |
kelvin-onlab | b769f56 | 2015-07-15 17:05:10 -0700 | [diff] [blame] | 36 | VLAN configuration: |
| 37 | Execute command: |
| 38 | $ sudo apt-get install vlan |
| 39 | Configuration: |
| 40 | $ sudo modprobe 8021q |
| 41 | NOTE:To make this configuration permanent |
| 42 | $ sudo su -c 'echo "8021q" >> /etc/modules' |
| 43 | |
GlennRC | 0243c3f | 2015-11-24 13:25:38 -0800 | [diff] [blame] | 44 | Scapy install: |
| 45 | sudo apt-get install Scapy |
| 46 | |