blob: 659a02caf003fda3602f5596b7e2c07016f285c6 [file] [log] [blame]
kelvin-onlabd48a68c2015-07-13 16:01:36 -07001<PARAMS>
kelvin-onlab5c706ff2015-07-20 10:56:52 -07002 # CASE - Description
3 # 1 - Variable initialization and optional pull and build ONOS package
4 # 2 - Install ONOS
Jon Halla3e02432015-07-24 15:55:42 -07005 # 8 - Compare Topology
kelvin-onlab5c706ff2015-07-20 10:56:52 -07006 # 9 - Report logs
acsmars62acd272015-09-11 10:07:38 -07007 # 10 - Start Mininet with Openflow 1.0
8 # 11 - Start Mininet with Openflow 1.3
kelvin-onlab5c706ff2015-07-20 10:56:52 -07009 # 12 - Assign switch to controller
Jeremy Songster1f39bf02016-01-20 17:17:25 -080010 # 13 - Create Scapy Components
11 # 14 - Discover hosts with Mininet Pingall
Jeremy42df2e72016-02-23 16:37:46 -080012 # 15 - Discover hosts with Scapy arping ( only discovers scapy hosts )
13 # 16 - Balance ownership of switches
Jeremy6e9748f2016-03-25 15:03:39 -070014 # 17 - Activate Flow Objectives
15 # 18 - Stop Mininet
Jeremy Songster17147f22016-05-31 18:30:52 -070016 # 19 - Copy karaf logs from ONOS nodes to TestON log directory
You Wang84f981d2018-01-12 16:11:50 -080017 # 100 - Connect to physical network and start scapy
18 # 101 - Stop physical scapy hosts
kelvin-onlab5c706ff2015-07-20 10:56:52 -070019 # 1000 - Test host intents
20 # 2000 - Test point intents
21 # 3000 - Test single to multi point intents
22 # 4000 - Test multi to single point intents
acsmars62acd272015-09-11 10:07:38 -070023 # 5000 - Test host mobility
Jeremy2f190ca2016-01-29 15:23:57 -080024 # 6000 - Test Multi Point intent End Point Failure
You Wang84f981d2018-01-12 16:11:50 -080025 # Sample testcases for physical network: 1,2,100,15,16,1000,2000,3000,4000,6000,101,19
26 # Note: set usePortstate to True for tests with physical switches
kelvin-onlabd48a68c2015-07-13 16:01:36 -070027
Jeremy Songster17147f22016-05-31 18:30:52 -070028 <testcases>1,[2,10,12,13,15,16,1000,2000,3000,4000,5000,6000,18,19]*2,[2,10,12,13,15,16,17,1000,2000,3000,4000,5000,6000,18,19]*2,[2,11,12,13,15,16,1000,2000,3000,4000,5000,6000,18,19]*2,[2,11,12,13,15,16,17,1000,2000,3000,4000,5000,6000,18,19]*2</testcases>
kelvin-onlabd48a68c2015-07-13 16:01:36 -070029
Jeremy Ronquillo7f8fb572017-11-14 08:28:41 -080030 <GRAPH>
31 <nodeCluster>VM</nodeCluster>
32 <builds>20</builds>
33 </GRAPH>
34
kelvin-onlabd48a68c2015-07-13 16:01:36 -070035 <SCALE>
Jeremy6e9748f2016-03-25 15:03:39 -070036 <size>1,3,1,3,1,3,1,3</size>
kelvin-onlabd48a68c2015-07-13 16:01:36 -070037 </SCALE>
38
39 <DEPENDENCY>
Jon Hall53c5e662016-04-13 16:06:56 -070040 <path>/tests/FUNC/FUNCintent/dependencies/</path>
Shreya Chowdhary6fbb96c2017-05-02 16:20:19 -070041 <filePath>/dependencies/allocations.txt</filePath>
kelvin-onlabd48a68c2015-07-13 16:01:36 -070042 <wrapper1>startUp</wrapper1>
43 <wrapper2>FuncIntentFunction</wrapper2>
Jon Halla3e02432015-07-24 15:55:42 -070044 <wrapper3>topo</wrapper3>
kelvin-onlabd48a68c2015-07-13 16:01:36 -070045 <topology>newFuncTopo.py</topology>
46 </DEPENDENCY>
47
48 <ENV>
49 <cellApps>drivers,openflow,proxyarp,mobility</cellApps>
50 </ENV>
51 <GIT>
52 <pull>False</pull>
53 <branch>master</branch>
54 </GIT>
55
You Wangf6574de2018-02-09 14:43:47 -080056 <TEST>
57 <usePortstate>False</usePortstate>
58 </TEST>
59
kelvin-onlabd48a68c2015-07-13 16:01:36 -070060 <SLEEP>
61 <startup>15</startup>
62 <reroute>5</reroute>
Devin Lima4f95bc2017-08-11 11:13:03 -070063 <removeintent>5</removeintent>
Jon Hallf539eb92017-05-22 17:18:42 -070064 <checkintent>5</checkintent>
kelvin-onlab0ad05d12015-07-23 14:21:15 -070065 <fwd>10</fwd>
acsmars62acd272015-09-11 10:07:38 -070066 <topoAttempts>3</topoAttempts>
Jeremy Songster306ed7a2016-07-19 10:59:07 -070067 <flowDuration>10</flowDuration>
Devin Lima4f95bc2017-08-11 11:13:03 -070068 <checkConnection>1</checkConnection> # because the scapyCheckConnection itself takes 12 seconds.
69 <checkFlowCount>5</checkFlowCount>
Jon Hallf539eb92017-05-22 17:18:42 -070070 <checkIntentHost>5</checkIntentHost>
71 <checkIntentPoint>5</checkIntentPoint>
kelvin-onlabd48a68c2015-07-13 16:01:36 -070072 </SLEEP>
73
Devin Lima4f95bc2017-08-11 11:13:03 -070074 <RETRY>
75 <generalAttempts>36</generalAttempts>
76 <middleAttempts>5</middleAttempts>
77 <minimumAttempts>1</minimumAttempts>
78 <checkConnectionAtt>15</checkConnectionAtt> # because the scapyCheckConnection itself takes 12 seconds.
79 <removeIntentAtt>20</removeIntentAtt>
80 </RETRY>
kelvin-onlabd48a68c2015-07-13 16:01:36 -070081 <MININET>
82 <switch>7</switch>
83 <links>20</links>
You Wangf6574de2018-02-09 14:43:47 -080084 <dpids>
85 <s4>of:0000000000000004</s4>
86 <s5>of:0000000000000005</s5>
87 <s6>of:0000000000000006</s6>
88 </dpids>
89 <ports>
90 <s4>
91 <s1>1</s1>
92 <s3>2</s3>
93 </s4>
94 <s5>
95 <s2>10</s2>
96 </s5>
97 <s6>
98 <s2>9</s2>
99 </s6>
100 </ports>
kelvin-onlabd48a68c2015-07-13 16:01:36 -0700101 </MININET>
102
Jeremy Songster1f39bf02016-01-20 17:17:25 -0800103 <SCAPY>
104 <HOSTNAMES>h1,h2,h3,h4,h5,h6,h7,h8,h9,h10,h11,h12,h13,h14,h15,h16,h17,h18,h19,h20,h21,h22,h23,h24</HOSTNAMES>
105 </SCAPY>
106
kelvin-onlabb769f562015-07-15 17:05:10 -0700107 # Intent tests params
108 <SDNIP>
109 <tcpProto>6</tcpProto>
Jeremy6f000c62016-02-25 17:02:28 -0800110 <ipPrototype>6</ipPrototype>
kelvin-onlab58dc39e2015-08-06 08:11:09 -0700111 <srcPort>5001</srcPort>
112 <dstPort>5001</dstPort>
kelvin-onlabb769f562015-07-15 17:05:10 -0700113 </SDNIP>
114
Jon Hall53c5e662016-04-13 16:06:56 -0700115</PARAMS>