blob: c7cc4a2c9f6f094a4b09e62c3b45e096552ec07f [file] [log] [blame]
cameron@onlab.us21106ea2015-07-23 15:32:51 -07001<PARAMS>
You Wang03d90e72019-02-19 16:11:52 -08002 <testcases>0,1,2,1,2,1,2</testcases>
cameron@onlab.us21106ea2015-07-23 15:32:51 -07003
Jeremy Ronquillo7f8fb572017-11-14 08:28:41 -08004 <GRAPH>
5 <nodeCluster>BM</nodeCluster>
6 <builds>20</builds>
7 </GRAPH>
8
You Wang03d90e72019-02-19 16:11:52 -08009 <SCALE>1,3,5</SCALE>
10 <max>5</max>
cameron@onlab.us21106ea2015-07-23 15:32:51 -070011
12 <ENV>
13 <cellName>topo_perf_test</cellName>
14 <cellApps>drivers,metrics,openflow</cellApps>
15 </ENV>
16
YPZhang38fb1192016-08-11 11:03:38 -070017 <DEPENDENCY>
18 <path>/tests/SCPF/SCPFswitchLat/dependencies/</path>
19 <topology>topo-perf-1sw.py</topology>
20 <function>switchFunc</function>
21 </DEPENDENCY>
22
cameron@onlab.us21106ea2015-07-23 15:32:51 -070023 <GIT>
Devin Lim58046fa2017-07-05 16:55:00 -070024 <pull>False</pull>
25 <branch>master</branch>
cameron@onlab.us21106ea2015-07-23 15:32:51 -070026 </GIT>
27
28 <CTRL>
Jon Hall53c5e662016-04-13 16:06:56 -070029 <user>sdn</user>
cameron@onlab.us21106ea2015-07-23 15:32:51 -070030 <ip1>OC1</ip1>
31 <ip2>OC2</ip2>
32 <ip3>OC3</ip3>
Charles Chan029be652015-08-24 01:46:10 +080033 <ip4>OC4</ip4>
cameron@onlab.us21106ea2015-07-23 15:32:51 -070034 <ip5>OC5</ip5>
35 <ip6>OC6</ip6>
36 <ip7>OC7</ip7>
37 </CTRL>
38
39 <MN>
YPZhangf7d80602016-06-23 13:59:47 -070040 <ip1>OCN</ip1>
cameron@onlab.us21106ea2015-07-23 15:32:51 -070041 </MN>
42
YPZhang38fb1192016-08-11 11:03:38 -070043 <TIMEOUT>
44 <timeout>60</timeout>
45 </TIMEOUT>
46
cameron@onlab.us21106ea2015-07-23 15:32:51 -070047 <BENCH>
48 <ip>localhost</ip>
49 </BENCH>
50
51 <TSHARK>
You Wanga5954442020-10-28 18:45:24 -070052 <tsharkInterface>lo</tsharkInterface>
YPZhang38fb1192016-08-11 11:03:38 -070053 <up>
You Wang1ecfd0a2019-06-21 15:00:45 -070054 <TCP>6653\ \[SYN\]</TCP> #1
55 <RQ>OpenFlow 90 Type: OFPT_ROLE_REQUEST</RQ> #2
56 <RR>OpenFlow 90 Type: OFPT_ROLE_REPLY</RR> #3
57 <Feature>OpenFlow 98 Type: OFPT_FEATURES_REPLY</Feature> #4
YPZhang38fb1192016-08-11 11:03:38 -070058 </up>
59
60 <down>
61 <FA>\[FIN,\ ACK\]</FA>
You Wang1ecfd0a2019-06-21 15:00:45 -070062 <ACK>6653\ \[ACK\]</ACK>
YPZhang38fb1192016-08-11 11:03:38 -070063 </down>
cameron@onlab.us21106ea2015-07-23 15:32:51 -070064 </TSHARK>
You Wang03d90e72019-02-19 16:11:52 -080065
Devin Lim142b5342017-07-20 15:22:39 -070066 <CFG>
67 <defaultTopo>org.onosproject.net.topology.impl.DefaultTopologyProvider</defaultTopo>
68 </CFG>
You Wang03d90e72019-02-19 16:11:52 -080069
cameron@onlab.us21106ea2015-07-23 15:32:51 -070070 <TEST>
71 #'on' or 'off' debug mode.
72 #If on, logging will be more verbose and
73 #tshark pcap will be enabled
74 #pcap file located at /tmp/'capture_name'
75 <debugMode>off</debugMode>
76 <onosLogFile>/opt/onos/log/karaf*</onosLogFile>
77 <mci>off</mci>
78
chengchiyu08303a02016-09-08 17:40:26 -070079 <MaxWrong>20</MaxWrong>
80
81 <ResultRange>
82 <Min>0</Min>
83 <Max>500</Max>
84 </ResultRange>
85
86 <SearchTerm>
87 <up>DEVICE_ADDED</up>
88 <down>DEVICE_AVAILABILITY_CHANGED</down>
89 </SearchTerm>
90
cameron@onlab.us21106ea2015-07-23 15:32:51 -070091 <topoConfigFile>
92 single_topo_event_accumulator.cfg
93 </topoConfigFile>
94 <topoConfigName>
95 org.onlab.onos.net.topology.impl.DefaultTopologyProvider.cfg
96 </topoConfigName>
97
cameron@onlab.us21106ea2015-07-23 15:32:51 -070098 #Number of iterations to ignore initially
YPZhang38fb1192016-08-11 11:03:38 -070099 <warmUp>5</warmUp>
100
101 #Number of times to iterate each case
102 <sampleSize>20</sampleSize>
103 <device>s3</device>
104 <tsharkResultPath>
105 <up>
chengchiyu08303a02016-09-08 17:40:26 -0700106 <ALL>/tmp/Tshark_ALL</ALL>
YPZhang38fb1192016-08-11 11:03:38 -0700107 <TCP>/tmp/Tshark_TCP</TCP>
108 <RQ>/tmp/Tshark_RQ</RQ> #role request
109 <RR>/tmp/Tshark_RR</RR> #role reply OF output
110 <Feature>/tmp/Tshark_Feature</Feature>
111 </up>
112
113 <down>
chengchiyu08303a02016-09-08 17:40:26 -0700114 <ALL>/tmp/Tshark_ALL</ALL> #Fin_ack and Ack
YPZhang38fb1192016-08-11 11:03:38 -0700115 <FA>/tmp/Tshark_FA</FA>#Fin_ack
116 <ACK>/tmp/Tshark_ACK</ACK>
117 </down>
YPZhang38fb1192016-08-11 11:03:38 -0700118 </tsharkResultPath>
cameron@onlab.us21106ea2015-07-23 15:32:51 -0700119
120 <singleSwThreshold>0,1000</singleSwThreshold>
Charles Chan029be652015-08-24 01:46:10 +0800121
cameron@onlab.us21106ea2015-07-23 15:32:51 -0700122 <tabletFile>tablets_3node.json</tabletFile>
You Wang03d90e72019-02-19 16:11:52 -0800123 </TEST>
cameron@onlab.us21106ea2015-07-23 15:32:51 -0700124
YPZhang38fb1192016-08-11 11:03:38 -0700125 <SLEEP>
126 <startup>5</startup>
127 <measure>5</measure>
128 <mininet>5</mininet>
chengchiyu08303a02016-09-08 17:40:26 -0700129 <deleteSW>10</deleteSW>
YPZhang38fb1192016-08-11 11:03:38 -0700130 </SLEEP>
131
132 <DATABASE>
133 <dbName>/tmp/switchEventResultDb</dbName>
134 </DATABASE>
cameron@onlab.us21106ea2015-07-23 15:32:51 -0700135
136 <JSON>
137 <deviceTimestamp>topologyDeviceEventTimestamp</deviceTimestamp>
138 <hostTimestamp>topologyHostEventTimestamp</hostTimestamp>
139 <linkTimestamp>topologyLinkEventTimestamp</linkTimestamp>
140 <graphTimestamp>topologyGraphEventTimestamp</graphTimestamp>
141 </JSON>
You Wang03d90e72019-02-19 16:11:52 -0800142
143 <ALARM>
You Wang3e7de742019-12-17 13:09:02 -0800144 <maxSwitchUpAvg>75,75,75</maxSwitchUpAvg>
You Wang03d90e72019-02-19 16:11:52 -0800145 <maxSwitchUpStd>10,10,10</maxSwitchUpStd>
You Wang012300d2019-02-21 17:55:39 -0800146 <maxSwitchDownAvg>5,5,8</maxSwitchDownAvg>
You Wang03d90e72019-02-19 16:11:52 -0800147 <maxSwitchDownStd>2,2,2</maxSwitchDownStd>
148 </ALARM>
cameron@onlab.us21106ea2015-07-23 15:32:51 -0700149</PARAMS>