blob: c05562ffb40e96611365e28c8a822e63bf2ad7f2 [file] [log] [blame]
kelvin-onlabb769f562015-07-15 17:05:10 -07001Summary:
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
25Required:
26 This test requires Mininet topology file newFuncIntent.py that is in the
Jon Hall53c5e662016-04-13 16:06:56 -070027 dependencies folder. You should run the topology file to check for any
kelvin-onlabb769f562015-07-15 17:05:10 -070028 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
GlennRC0243c3f2015-11-24 13:25:38 -080032NOTE:
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-onlabb769f562015-07-15 17:05:10 -070036VLAN 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
GlennRC0243c3f2015-11-24 13:25:38 -080044Scapy install:
45 sudo apt-get install Scapy
46