xena: Throughput method implementation for Xena Networks
[vswitchperf.git] / tools / pkt_gen / xena / profiles / baseconfig.x2544
1 {
2   "copyright": [
3    "# Copyright 2015-2016 Xena Networks.",
4    "#",
5    "# Licensed under the Apache License, Version 2.0 (the 'License');",
6    "# you may not use this file except in compliance with the License.",
7    "# You may obtain a copy of the License at\n",
8    "#",
9    "#   http://www.apache.org/licenses/LICENSE-2.0",
10    "#",
11    "# Unless required by applicable law or agreed to in writing, software",
12    "# distributed under the License is distributed on an 'AS IS' BASIS,",
13    "# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.",
14    "# See the License for the specific language governing permissions and\n",
15    "# limitations under the License."
16   ],
17   "PortHandler": {
18     "EntityList": [
19       {
20         "PortRef": {
21           "ChassisId": "4605b3c9-70cc-42d9-9d8c-16c34989a4c1",
22           "ModuleIndex": 3,
23           "PortIndex": 0
24         },
25         "PortGroup": "UNDEFINED",
26         "PairPeerRef": null,
27         "PairPeerId": "",
28         "MulticastRole": "Undefined",
29         "PortSpeed": "AUTO",
30         "InterFrameGap": 20,
31         "PauseModeOn": false,
32         "AutoNegEnabled": true,
33         "AdjustPpm": 0,
34         "LatencyOffset": 0,
35         "MdiMdixMode": "AUTO",
36         "EnableFec": true,
37         "ReplyArpRequests": true,
38         "ReplyPingRequests": true,
39         "IpV4Address": "192.168.199.10",
40         "IpV4RoutingPrefix": 24,
41         "IpV4Gateway": "192.168.199.1",
42         "IpV6Address": "::",
43         "IpV6RoutingPrefix": 64,
44         "IpV6Gateway": "::",
45         "IpGatewayMacAddress": "AAAAAAAA",
46         "PublicIpAddress": "",
47         "PublicIpRoutingPrefix": 24,
48         "PublicIpAddressV6": "",
49         "PublicIpRoutingPrefixV6": 64,
50         "RemoteLoopIpAddress": "",
51         "RemoteLoopIpAddressV6": "",
52         "RemoteLoopMacAddress": "AAAAAAAA",
53         "EnablePortRateCap": false,
54         "PortRateCapValue": 1000.0,
55         "PortRateCapProfile": "Physical Port Rate",
56         "PortRateCapUnit": "Mbps",
57         "MultiStreamMap": null,
58         "ItemID": "4faf0f0c-2fc6-44a7-87ea-5f47b02d4c1a",
59         "ParentID": "",
60         "Label": ""
61       },
62       {
63         "PortRef": {
64           "ChassisId": "4605b3c9-70cc-42d9-9d8c-16c34989a4c1",
65           "ModuleIndex": 3,
66           "PortIndex": 1
67         },
68         "PortGroup": "UNDEFINED",
69         "PairPeerRef": null,
70         "PairPeerId": "",
71         "MulticastRole": "Undefined",
72         "PortSpeed": "AUTO",
73         "InterFrameGap": 20,
74         "PauseModeOn": false,
75         "AutoNegEnabled": true,
76         "AdjustPpm": 0,
77         "LatencyOffset": 0,
78         "MdiMdixMode": "AUTO",
79         "EnableFec": true,
80         "ReplyArpRequests": true,
81         "ReplyPingRequests": true,
82         "IpV4Address": "192.168.199.11",
83         "IpV4RoutingPrefix": 24,
84         "IpV4Gateway": "192.168.199.1",
85         "IpV6Address": "::",
86         "IpV6RoutingPrefix": 64,
87         "IpV6Gateway": "::",
88         "IpGatewayMacAddress": "AAAAAAAA",
89         "PublicIpAddress": "",
90         "PublicIpRoutingPrefix": 24,
91         "PublicIpAddressV6": "",
92         "PublicIpRoutingPrefixV6": 64,
93         "RemoteLoopIpAddress": "",
94         "RemoteLoopIpAddressV6": "",
95         "RemoteLoopMacAddress": "AAAAAAAA",
96         "EnablePortRateCap": false,
97         "PortRateCapValue": 1000.0,
98         "PortRateCapProfile": "Physical Port Rate",
99         "PortRateCapUnit": "Mbps",
100         "MultiStreamMap": null,
101         "ItemID": "1b88dc59-1b1a-43f5-a314-673219f47545",
102         "ParentID": "",
103         "Label": ""
104       }
105     ]
106   },
107   "StreamHandler": {
108     "StreamConnectionList": [
109       {
110         "ConnectionId": 0,
111         "Port1Id": "4faf0f0c-2fc6-44a7-87ea-5f47b02d4c1a",
112         "Port2Id": "1b88dc59-1b1a-43f5-a314-673219f47545",
113         "AddressOffset1": 2,
114         "AddressOffset2": 3,
115         "ItemID": "244b9295-9a5a-4405-8404-a62074152783",
116         "ParentID": "",
117         "Label": ""
118       }
119     ]
120   },
121   "StreamProfileHandler": {
122     "ProfileAssignmentMap": {
123       "guid_1b88dc59-1b1a-43f5-a314-673219f47545": "033f23c9-3986-40c9-b7e4-9ac1176f3c0b",
124       "guid_4faf0f0c-2fc6-44a7-87ea-5f47b02d4c1a": "106a3aa6-ea43-4dd7-84b5-51424a52ac87"
125     },
126     "EntityList": [
127       {
128         "StreamConfig": {
129           "SwModifier": null,
130           "HwModifiers": [],
131           "FieldValueRanges": [],
132           "StreamDescrPrefix": "Stream",
133           "ResourceIndex": -1,
134           "TpldId": -1,
135           "EnableState": "OFF",
136           "RateType": "Fraction",
137           "PacketLimit": 0,
138           "RateFraction": 100.0,
139           "RatePps": 0.0,
140           "RateL2Mbps": 0.0,
141           "UseBurstValues": false,
142           "BurstSize": 0,
143           "BurstDensity": 100,
144           "HeaderSegments": [],
145           "PacketLengthType": "FIXED",
146           "PacketMinSize": 64,
147           "PacketMaxSize": 64,
148           "PayloadDefinition": {
149             "PayloadType": "Incrementing",
150             "PayloadPattern": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
151           },
152           "ResourceUsed": false,
153           "ChildResourceUsed": false
154         },
155         "ItemID": "106a3aa6-ea43-4dd7-84b5-51424a52ac87",
156         "ParentID": "",
157         "Label": ""
158       },
159       {
160         "StreamConfig": {
161           "SwModifier": null,
162           "HwModifiers": [],
163           "FieldValueRanges": [],
164           "StreamDescrPrefix": "Stream",
165           "ResourceIndex": -1,
166           "TpldId": -1,
167           "EnableState": "OFF",
168           "RateType": "Fraction",
169           "PacketLimit": 0,
170           "RateFraction": 100.0,
171           "RatePps": 0.0,
172           "RateL2Mbps": 0.0,
173           "UseBurstValues": false,
174           "BurstSize": 0,
175           "BurstDensity": 100,
176           "HeaderSegments": [],
177           "PacketLengthType": "FIXED",
178           "PacketMinSize": 64,
179           "PacketMaxSize": 64,
180           "PayloadDefinition": {
181             "PayloadType": "Incrementing",
182             "PayloadPattern": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
183           },
184           "ResourceUsed": false,
185           "ChildResourceUsed": false
186         },
187         "ItemID": "033f23c9-3986-40c9-b7e4-9ac1176f3c0b",
188         "ParentID": "",
189         "Label": ""
190       }
191     ]
192   },
193   "TestOptions": {
194     "TestTypeOptionMap": {
195       "Throughput": {
196         "$type": "XenaCommon.TestConfig.Xena2544.TestTypeOptions.ThroughputTestOptions, Xena2544",
197         "RateIterationOptions": {
198           "SearchType": "BinarySearch",
199           "AcceptableLoss": 0.0,
200           "ResultScope": "CommonResult",
201           "FastBinarySearch": false,
202           "InitialValue": 10.0,
203           "MinimumValue": 0.1,
204           "MaximumValue": 100.0,
205           "ValueResolution": 0.5,
206           "UsePassThreshold": false,
207           "PassThreshold": 0.0
208         },
209         "ReportPropertyOptions": [
210           "b"
211         ],
212         "TestType": "Throughput",
213         "Enabled": true,
214         "DurationType": "Seconds",
215         "Duration": 1.0,
216         "DurationFrames": 1,
217         "DurationFrameUnit": "Mframes",
218         "Iterations": 3,
219         "ItemID": "5ba8b4d4-9a52-4697-860a-4af1b97d2a5c",
220         "ParentID": "",
221         "Label": ""
222       },
223       "Latency": {
224         "$type": "XenaCommon.TestConfig.Xena2544.TestTypeOptions.LatencyTestOptions, Xena2544",
225         "RateSweepOptions": {
226           "StartValue": 50.0,
227           "EndValue": 100.0,
228           "StepValue": 50.0
229         },
230         "LatencyMode": "Last_To_Last",
231         "RateRelativeTputMaxRate": true,
232         "TestType": "Latency",
233         "Enabled": false,
234         "DurationType": "Seconds",
235         "Duration": 1.0,
236         "DurationFrames": 1,
237         "DurationFrameUnit": "Mframes",
238         "Iterations": 1,
239         "ItemID": "c63c0362-96a6-434b-9c67-6be518492a49",
240         "ParentID": "",
241         "Label": ""
242       },
243       "Loss": {
244         "$type": "XenaCommon.TestConfig.Xena2544.TestTypeOptions.LossTestOptions, Xena2544",
245         "RateSweepOptions": {
246           "StartValue": 50.0,
247           "EndValue": 100.0,
248           "StepValue": 50.0
249         },
250         "UsePassFailCriteria": false,
251         "AcceptableLoss": 0.0,
252         "AcceptableLossType": "Percent",
253         "TestType": "Loss",
254         "Enabled": false,
255         "DurationType": "Seconds",
256         "Duration": 1.0,
257         "DurationFrames": 1,
258         "DurationFrameUnit": "Mframes",
259         "Iterations": 1,
260         "ItemID": "f5cf336e-c983-4c48-a8cb-88447b3e2adb",
261         "ParentID": "",
262         "Label": ""
263       },
264       "Back2Back": {
265         "$type": "XenaCommon.TestConfig.Xena2544.TestTypeOptions.Back2BackTestOptions, Xena2544",
266         "RateSweepOptions": {
267           "StartValue": 50.0,
268           "EndValue": 100.0,
269           "StepValue": 50.0
270         },
271         "ResultScope": "CommonResult",
272         "BurstResolution": 100.0,
273         "TestType": "Back2Back",
274         "Enabled": false,
275         "DurationType": "Seconds",
276         "Duration": 1.0,
277         "DurationFrames": 1,
278         "DurationFrameUnit": "Mframes",
279         "Iterations": 1,
280         "ItemID": "2c494ee2-16f1-4a40-b28b-aff6ad7464e3",
281         "ParentID": "",
282         "Label": ""
283       }
284     },
285     "PacketSizes": {
286       "PacketSizeType": "CustomSizes",
287       "CustomPacketSizes": [
288         512.0
289       ],
290       "SwPacketStartSize": 100,
291       "SwPacketEndSize": 1500,
292       "SwPacketStepSize": 100,
293       "HwPacketMinSize": 64,
294       "HwPacketMaxSize": 1500,
295       "MixedSizesWeights": []
296     },
297     "TopologyConfig": {
298       "Topology": "MESH",
299       "Direction": "BIDIR"
300     },
301     "FlowCreationOptions": {
302       "FlowCreationType": "StreamBased",
303       "MacBaseAddress": "4,244,188",
304       "UseGatewayMacAsDmac": true,
305       "EnableMultiStream": false,
306       "PerPortStreamCount": 1,
307       "MultiStreamAddressOffset": 2,
308       "MultiStreamAddressIncrement": 1,
309       "MultiStreamMacBaseAddress": "4,244,188",
310       "UseMicroTpldOnDemand": false
311     },
312     "LearningOptions": {
313       "MacLearningMode": "EveryTrial",
314       "MacLearningRetries": 1,
315       "ArpRefreshEnabled": true,
316       "ArpRefreshPeriod": 4000.0,
317       "UseFlowBasedLearningPreamble": false,
318       "FlowBasedLearningFrameCount": 1,
319       "FlowBasedLearningDelay": 500,
320       "LearningRatePercent": 1.0,
321       "LearningDuration": 5000.0
322     },
323     "ToggleSyncState": true,
324     "SyncOffDuration": 1,
325     "SyncOnDuration": 1,
326     "PayloadDefinition": {
327       "PayloadType": "Incrementing",
328       "PayloadPattern": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
329     },
330     "EnableSpeedReductSweep": false,
331     "UsePortSyncStart": false,
332     "PortStaggerSteps": 0,
333     "ShouldStopOnLos": true,
334     "PortResetDelay": 5
335   },
336   "CreationDate": "2016-02-24 13:33:50Z",
337   "ChassisManager": {
338     "ChassisList": [
339       {
340         "ChassisID": "4605b3c9-70cc-42d9-9d8c-16c34989a4c1",
341         "HostName": "10.19.15.19",
342         "PortNumber": 22606,
343         "Password": "xena",
344         "ConnectionType": "Native",
345         "UsedModuleList": [],
346         "ResourceIndex": 0,
347         "ResourceUsed": false,
348         "ChildResourceUsed": false
349       }
350     ]
351   },
352   "ReportConfig": {
353     "CustomerName": "Xena Networks",
354     "CustomerServiceID": "",
355     "CustomerAccessID": "",
356     "Comments": "",
357     "RateUnitTerminology": "FPS",
358     "IncludeTestPairInfo": true,
359     "IncludePerStreamInfo": false,
360     "IncludeGraphs": true,
361     "PlotThroughputUnit": "Pps",
362     "GeneratePdf": false,
363     "GenerateHtml": false,
364     "GenerateXml": true,
365     "GenerateCsv": false,
366     "SaveIntermediateResults": false,
367     "ReportFilename": "xena2544-report",
368     "AppendTimestamp": false
369   },
370   "TidAllocationScope": "ConfigScope",
371   "FormatVersion": 10,
372   "ApplicationVersion": "2.39.5876.25884"
373 }