blob: c45fef85aff541e417f2867251e1d60ead262450 [file] [log] [blame]
cameron@onlab.us21106ea2015-07-23 15:32:51 -07001<PARAMS>
You Wangf9803832016-12-06 22:09:25 +00002 <testcases>0,1,2,1,2,1,2,1,2</testcases>
cameron@onlab.us21106ea2015-07-23 15:32:51 -07003
You Wangf9803832016-12-06 22:09:25 +00004 <SCALE>1,3,5,7</SCALE>
5 <max>7</max>
cameron@onlab.us21106ea2015-07-23 15:32:51 -07006
7 <ENV>
8 <cellName>topo_perf_test</cellName>
9 <cellApps>drivers,metrics,openflow</cellApps>
10 </ENV>
11
YPZhang38fb1192016-08-11 11:03:38 -070012 <DEPENDENCY>
13 <path>/tests/SCPF/SCPFswitchLat/dependencies/</path>
14 <topology>topo-perf-1sw.py</topology>
15 <function>switchFunc</function>
16 </DEPENDENCY>
17
cameron@onlab.us21106ea2015-07-23 15:32:51 -070018 <GIT>
YPZhang38fb1192016-08-11 11:03:38 -070019 <gitPull>off</gitPull>
20 <gitBranch>master</gitBranch>
cameron@onlab.us21106ea2015-07-23 15:32:51 -070021 </GIT>
22
23 <CTRL>
Jon Hall53c5e662016-04-13 16:06:56 -070024 <user>sdn</user>
cameron@onlab.us21106ea2015-07-23 15:32:51 -070025 <ip1>OC1</ip1>
26 <ip2>OC2</ip2>
27 <ip3>OC3</ip3>
Charles Chan029be652015-08-24 01:46:10 +080028 <ip4>OC4</ip4>
cameron@onlab.us21106ea2015-07-23 15:32:51 -070029 <ip5>OC5</ip5>
30 <ip6>OC6</ip6>
31 <ip7>OC7</ip7>
32 </CTRL>
33
34 <MN>
YPZhangf7d80602016-06-23 13:59:47 -070035 <ip1>OCN</ip1>
cameron@onlab.us21106ea2015-07-23 15:32:51 -070036 </MN>
37
YPZhang38fb1192016-08-11 11:03:38 -070038 <TIMEOUT>
39 <timeout>60</timeout>
40 </TIMEOUT>
41
cameron@onlab.us21106ea2015-07-23 15:32:51 -070042 <BENCH>
43 <ip>localhost</ip>
44 </BENCH>
45
46 <TSHARK>
YPZhang38fb1192016-08-11 11:03:38 -070047 <up>
YPZhang21adb602016-08-18 16:00:11 -070048 <TCP>openflow\ \[SYN\]</TCP> #1
YPZhang38fb1192016-08-11 11:03:38 -070049 <RQ>OF 1.3 90 of_role_request</RQ> #2
50 <RR>OF 1.3 90 of_role_reply</RR> #3
51 <Feature>OF 1.3 98 of_features_reply</Feature>#4
52 </up>
53
54 <down>
55 <FA>\[FIN,\ ACK\]</FA>
56 <ACK>openflow\ \[ACK\]</ACK>
57 </down>
cameron@onlab.us21106ea2015-07-23 15:32:51 -070058 </TSHARK>
59
60 <TEST>
61 #'on' or 'off' debug mode.
62 #If on, logging will be more verbose and
63 #tshark pcap will be enabled
64 #pcap file located at /tmp/'capture_name'
65 <debugMode>off</debugMode>
66 <onosLogFile>/opt/onos/log/karaf*</onosLogFile>
67 <mci>off</mci>
68
chengchiyu08303a02016-09-08 17:40:26 -070069 <MaxWrong>20</MaxWrong>
70
71 <ResultRange>
72 <Min>0</Min>
73 <Max>500</Max>
74 </ResultRange>
75
76 <SearchTerm>
77 <up>DEVICE_ADDED</up>
78 <down>DEVICE_AVAILABILITY_CHANGED</down>
79 </SearchTerm>
80
cameron@onlab.us21106ea2015-07-23 15:32:51 -070081 <topoConfigFile>
82 single_topo_event_accumulator.cfg
83 </topoConfigFile>
84 <topoConfigName>
85 org.onlab.onos.net.topology.impl.DefaultTopologyProvider.cfg
86 </topoConfigName>
87
cameron@onlab.us21106ea2015-07-23 15:32:51 -070088 #Number of iterations to ignore initially
YPZhang38fb1192016-08-11 11:03:38 -070089 <warmUp>5</warmUp>
90
91 #Number of times to iterate each case
92 <sampleSize>20</sampleSize>
93 <device>s3</device>
94 <tsharkResultPath>
95 <up>
chengchiyu08303a02016-09-08 17:40:26 -070096 <ALL>/tmp/Tshark_ALL</ALL>
YPZhang38fb1192016-08-11 11:03:38 -070097 <TCP>/tmp/Tshark_TCP</TCP>
98 <RQ>/tmp/Tshark_RQ</RQ> #role request
99 <RR>/tmp/Tshark_RR</RR> #role reply OF output
100 <Feature>/tmp/Tshark_Feature</Feature>
101 </up>
102
103 <down>
chengchiyu08303a02016-09-08 17:40:26 -0700104 <ALL>/tmp/Tshark_ALL</ALL> #Fin_ack and Ack
YPZhang38fb1192016-08-11 11:03:38 -0700105 <FA>/tmp/Tshark_FA</FA>#Fin_ack
106 <ACK>/tmp/Tshark_ACK</ACK>
107 </down>
YPZhang38fb1192016-08-11 11:03:38 -0700108 </tsharkResultPath>
cameron@onlab.us21106ea2015-07-23 15:32:51 -0700109
110 <singleSwThreshold>0,1000</singleSwThreshold>
Charles Chan029be652015-08-24 01:46:10 +0800111
cameron@onlab.us21106ea2015-07-23 15:32:51 -0700112 <tabletFile>tablets_3node.json</tabletFile>
113 </TEST>
114
YPZhang38fb1192016-08-11 11:03:38 -0700115 <SLEEP>
116 <startup>5</startup>
117 <measure>5</measure>
118 <mininet>5</mininet>
chengchiyu08303a02016-09-08 17:40:26 -0700119 <deleteSW>10</deleteSW>
YPZhang38fb1192016-08-11 11:03:38 -0700120 </SLEEP>
121
122 <DATABASE>
123 <dbName>/tmp/switchEventResultDb</dbName>
124 </DATABASE>
cameron@onlab.us21106ea2015-07-23 15:32:51 -0700125
126 <JSON>
127 <deviceTimestamp>topologyDeviceEventTimestamp</deviceTimestamp>
128 <hostTimestamp>topologyHostEventTimestamp</hostTimestamp>
129 <linkTimestamp>topologyLinkEventTimestamp</linkTimestamp>
130 <graphTimestamp>topologyGraphEventTimestamp</graphTimestamp>
131 </JSON>
132</PARAMS>