blob: d77eec3ad21201f2da69bd9fa969d0fe9bc723e0 [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>
Devin Lim58046fa2017-07-05 16:55:00 -070019 <pull>False</pull>
20 <branch>master</branch>
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>
Devin Lim142b5342017-07-20 15:22:39 -070059 <CFG>
60 <defaultTopo>org.onosproject.net.topology.impl.DefaultTopologyProvider</defaultTopo>
61 </CFG>
cameron@onlab.us21106ea2015-07-23 15:32:51 -070062 <TEST>
63 #'on' or 'off' debug mode.
64 #If on, logging will be more verbose and
65 #tshark pcap will be enabled
66 #pcap file located at /tmp/'capture_name'
67 <debugMode>off</debugMode>
68 <onosLogFile>/opt/onos/log/karaf*</onosLogFile>
69 <mci>off</mci>
70
chengchiyu08303a02016-09-08 17:40:26 -070071 <MaxWrong>20</MaxWrong>
72
73 <ResultRange>
74 <Min>0</Min>
75 <Max>500</Max>
76 </ResultRange>
77
78 <SearchTerm>
79 <up>DEVICE_ADDED</up>
80 <down>DEVICE_AVAILABILITY_CHANGED</down>
81 </SearchTerm>
82
cameron@onlab.us21106ea2015-07-23 15:32:51 -070083 <topoConfigFile>
84 single_topo_event_accumulator.cfg
85 </topoConfigFile>
86 <topoConfigName>
87 org.onlab.onos.net.topology.impl.DefaultTopologyProvider.cfg
88 </topoConfigName>
89
cameron@onlab.us21106ea2015-07-23 15:32:51 -070090 #Number of iterations to ignore initially
YPZhang38fb1192016-08-11 11:03:38 -070091 <warmUp>5</warmUp>
92
93 #Number of times to iterate each case
94 <sampleSize>20</sampleSize>
95 <device>s3</device>
96 <tsharkResultPath>
97 <up>
chengchiyu08303a02016-09-08 17:40:26 -070098 <ALL>/tmp/Tshark_ALL</ALL>
YPZhang38fb1192016-08-11 11:03:38 -070099 <TCP>/tmp/Tshark_TCP</TCP>
100 <RQ>/tmp/Tshark_RQ</RQ> #role request
101 <RR>/tmp/Tshark_RR</RR> #role reply OF output
102 <Feature>/tmp/Tshark_Feature</Feature>
103 </up>
104
105 <down>
chengchiyu08303a02016-09-08 17:40:26 -0700106 <ALL>/tmp/Tshark_ALL</ALL> #Fin_ack and Ack
YPZhang38fb1192016-08-11 11:03:38 -0700107 <FA>/tmp/Tshark_FA</FA>#Fin_ack
108 <ACK>/tmp/Tshark_ACK</ACK>
109 </down>
YPZhang38fb1192016-08-11 11:03:38 -0700110 </tsharkResultPath>
cameron@onlab.us21106ea2015-07-23 15:32:51 -0700111
112 <singleSwThreshold>0,1000</singleSwThreshold>
Charles Chan029be652015-08-24 01:46:10 +0800113
cameron@onlab.us21106ea2015-07-23 15:32:51 -0700114 <tabletFile>tablets_3node.json</tabletFile>
115 </TEST>
116
YPZhang38fb1192016-08-11 11:03:38 -0700117 <SLEEP>
118 <startup>5</startup>
119 <measure>5</measure>
120 <mininet>5</mininet>
chengchiyu08303a02016-09-08 17:40:26 -0700121 <deleteSW>10</deleteSW>
YPZhang38fb1192016-08-11 11:03:38 -0700122 </SLEEP>
123
124 <DATABASE>
125 <dbName>/tmp/switchEventResultDb</dbName>
126 </DATABASE>
cameron@onlab.us21106ea2015-07-23 15:32:51 -0700127
128 <JSON>
129 <deviceTimestamp>topologyDeviceEventTimestamp</deviceTimestamp>
130 <hostTimestamp>topologyHostEventTimestamp</hostTimestamp>
131 <linkTimestamp>topologyLinkEventTimestamp</linkTimestamp>
132 <graphTimestamp>topologyGraphEventTimestamp</graphTimestamp>
133 </JSON>
134</PARAMS>