blob: a52690a28e638d8b2963d11018ddc15f47d04795 [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>
YPZhang38fb1192016-08-11 11:03:38 -070052 <up>
You Wang1ecfd0a2019-06-21 15:00:45 -070053 <TCP>6653\ \[SYN\]</TCP> #1
54 <RQ>OpenFlow 90 Type: OFPT_ROLE_REQUEST</RQ> #2
55 <RR>OpenFlow 90 Type: OFPT_ROLE_REPLY</RR> #3
56 <Feature>OpenFlow 98 Type: OFPT_FEATURES_REPLY</Feature> #4
YPZhang38fb1192016-08-11 11:03:38 -070057 </up>
58
59 <down>
60 <FA>\[FIN,\ ACK\]</FA>
You Wang1ecfd0a2019-06-21 15:00:45 -070061 <ACK>6653\ \[ACK\]</ACK>
YPZhang38fb1192016-08-11 11:03:38 -070062 </down>
cameron@onlab.us21106ea2015-07-23 15:32:51 -070063 </TSHARK>
You Wang03d90e72019-02-19 16:11:52 -080064
Devin Lim142b5342017-07-20 15:22:39 -070065 <CFG>
66 <defaultTopo>org.onosproject.net.topology.impl.DefaultTopologyProvider</defaultTopo>
67 </CFG>
You Wang03d90e72019-02-19 16:11:52 -080068
cameron@onlab.us21106ea2015-07-23 15:32:51 -070069 <TEST>
70 #'on' or 'off' debug mode.
71 #If on, logging will be more verbose and
72 #tshark pcap will be enabled
73 #pcap file located at /tmp/'capture_name'
74 <debugMode>off</debugMode>
75 <onosLogFile>/opt/onos/log/karaf*</onosLogFile>
76 <mci>off</mci>
77
chengchiyu08303a02016-09-08 17:40:26 -070078 <MaxWrong>20</MaxWrong>
79
80 <ResultRange>
81 <Min>0</Min>
82 <Max>500</Max>
83 </ResultRange>
84
85 <SearchTerm>
86 <up>DEVICE_ADDED</up>
87 <down>DEVICE_AVAILABILITY_CHANGED</down>
88 </SearchTerm>
89
cameron@onlab.us21106ea2015-07-23 15:32:51 -070090 <topoConfigFile>
91 single_topo_event_accumulator.cfg
92 </topoConfigFile>
93 <topoConfigName>
94 org.onlab.onos.net.topology.impl.DefaultTopologyProvider.cfg
95 </topoConfigName>
96
cameron@onlab.us21106ea2015-07-23 15:32:51 -070097 #Number of iterations to ignore initially
YPZhang38fb1192016-08-11 11:03:38 -070098 <warmUp>5</warmUp>
99
100 #Number of times to iterate each case
101 <sampleSize>20</sampleSize>
102 <device>s3</device>
103 <tsharkResultPath>
104 <up>
chengchiyu08303a02016-09-08 17:40:26 -0700105 <ALL>/tmp/Tshark_ALL</ALL>
YPZhang38fb1192016-08-11 11:03:38 -0700106 <TCP>/tmp/Tshark_TCP</TCP>
107 <RQ>/tmp/Tshark_RQ</RQ> #role request
108 <RR>/tmp/Tshark_RR</RR> #role reply OF output
109 <Feature>/tmp/Tshark_Feature</Feature>
110 </up>
111
112 <down>
chengchiyu08303a02016-09-08 17:40:26 -0700113 <ALL>/tmp/Tshark_ALL</ALL> #Fin_ack and Ack
YPZhang38fb1192016-08-11 11:03:38 -0700114 <FA>/tmp/Tshark_FA</FA>#Fin_ack
115 <ACK>/tmp/Tshark_ACK</ACK>
116 </down>
YPZhang38fb1192016-08-11 11:03:38 -0700117 </tsharkResultPath>
cameron@onlab.us21106ea2015-07-23 15:32:51 -0700118
119 <singleSwThreshold>0,1000</singleSwThreshold>
Charles Chan029be652015-08-24 01:46:10 +0800120
cameron@onlab.us21106ea2015-07-23 15:32:51 -0700121 <tabletFile>tablets_3node.json</tabletFile>
You Wang03d90e72019-02-19 16:11:52 -0800122 </TEST>
cameron@onlab.us21106ea2015-07-23 15:32:51 -0700123
YPZhang38fb1192016-08-11 11:03:38 -0700124 <SLEEP>
125 <startup>5</startup>
126 <measure>5</measure>
127 <mininet>5</mininet>
chengchiyu08303a02016-09-08 17:40:26 -0700128 <deleteSW>10</deleteSW>
YPZhang38fb1192016-08-11 11:03:38 -0700129 </SLEEP>
130
131 <DATABASE>
132 <dbName>/tmp/switchEventResultDb</dbName>
133 </DATABASE>
cameron@onlab.us21106ea2015-07-23 15:32:51 -0700134
135 <JSON>
136 <deviceTimestamp>topologyDeviceEventTimestamp</deviceTimestamp>
137 <hostTimestamp>topologyHostEventTimestamp</hostTimestamp>
138 <linkTimestamp>topologyLinkEventTimestamp</linkTimestamp>
139 <graphTimestamp>topologyGraphEventTimestamp</graphTimestamp>
140 </JSON>
You Wang03d90e72019-02-19 16:11:52 -0800141
142 <ALARM>
You Wang012300d2019-02-21 17:55:39 -0800143 <maxSwitchUpAvg>60,60,68</maxSwitchUpAvg>
You Wang03d90e72019-02-19 16:11:52 -0800144 <maxSwitchUpStd>10,10,10</maxSwitchUpStd>
You Wang012300d2019-02-21 17:55:39 -0800145 <maxSwitchDownAvg>5,5,8</maxSwitchDownAvg>
You Wang03d90e72019-02-19 16:11:52 -0800146 <maxSwitchDownStd>2,2,2</maxSwitchDownStd>
147 </ALARM>
cameron@onlab.us21106ea2015-07-23 15:32:51 -0700148</PARAMS>