Merge pull request #4852 from mitza-oci/enum-replacement
[OpenDDS.git] / performance-tests / bench / example / config / worker / ci-mixed_master.json
blob109ac34327cb7f73d3bf1bcf8abbcabba1f9f47c
2   "create_time": { "sec": -2, "nsec": 0 },
3   "enable_time": { "sec": -2, "nsec": 0 },
4   "start_time": { "sec": -2, "nsec": 0 },
5   "stop_time": { "sec": -30, "nsec": 0 },
6   "destruction_time": { "sec": -2, "nsec": 0 },
8   "properties": [
9     { "name": "default_stat_median_buffer_size",
10       "value": { "$discriminator": "PVK_ULL", "ull_prop": 2000 }
11     }
12   ],
14   "process": {
15     "config_sections": [
16       { "name": "common",
17         "properties": [
18           { "name": "DCPSGlobalTransportConfig",
19             "value": "config_01"
20           },
21           { "name": "DCPSDefaultDiscovery",
22             "value": "rtps_discovery"
23           },
24           { "name": "DCPSTransportDebugLevel",
25             "value": "0"
26           },
27           { "name": "DCPSDebugLevel",
28             "value": "0"
29           },
30           { "name": "DCPSPendingTimeout",
31             "value": "3"
32           }
33         ]
34       },
35       { "name": "rtps_discovery/rtps_discovery",
36         "properties": [
37           { "name": "SedpMulticast",
38             "value": "1"
39           },
40           { "name": "ResendPeriod",
41             "value": "5"
42           },
43           { "name": "TTL",
44             "value": "3"
45           }
46         ]
47       },
48       { "name": "config/config_01",
49         "properties": [
50           { "name": "transports",
51             "value": "rtps_transport_01"
52           },
53           { "name": "passive_connect_duration",
54             "value": "30000"
55           }
56         ]
57       },
58       { "name": "config/config_02",
59         "properties": [
60           { "name": "transports",
61             "value": "rtps_transport_02"
62           },
63           { "name": "passive_connect_duration",
64             "value": "30000"
65           }
66         ]
67       },
68       { "name": "transport/rtps_transport_01",
69         "properties": [
70           { "name": "transport_type",
71             "value": "rtps_udp"
72           },
73           { "name": "multicast_group_address",
74             "value": "239.255.7.2:7401"
75           }
76         ]
77       },
78       { "name": "transport/rtps_transport_02",
79         "properties": [
80           { "name": "transport_type",
81             "value": "rtps_udp"
82           },
83           { "name": "multicast_group_address",
84             "value": "239.255.17.2:7401"
85           }
86         ]
87       }
88     ],
89     "participants": [
90       { "name": "participant_A1",
91         "domain": 7,
92         "transport_config_name": "config_01",
94         "qos": { "entity_factory": { "autoenable_created_entities": false } },
95         "qos_mask": { "entity_factory": { "has_autoenable_created_entities": false } },
97         "topics": [
98           { "name": "topic_T1",
99             "type_name": "Bench::Data"
100           }
101         ],
102         "subscribers": [
103           { "name": "subscriber_A1",
105             "qos": { "partition": { "name": [ "bench_partition" ] } },
106             "qos_mask": { "partition": { "has_name": true } },
108             "datareaders": [
109               { "name": "datareader_A1_T1",
110                 "topic_name": "topic_T1",
111                 "listener_type_name": "bench_drl",
112                 "listener_status_mask": 4294967295,
113                 "listener_properties": [
114                   { "name": "expected_match_count",
115                     "value": { "$discriminator": "PVK_ULL", "ull_prop": 6 }
116                   }
117                 ],
119                 "qos": { "reliability": { "kind": "RELIABLE_RELIABILITY_QOS" },
120                          "durability": { "kind": "TRANSIENT_LOCAL_DURABILITY_QOS" },
121                          "history": { "kind": "KEEP_ALL_HISTORY_QOS" }
122                        },
123                 "qos_mask": { "reliability": { "has_kind": true },
124                               "durability": { "has_kind": true },
125                               "history": { "has_kind": true }
126                             }
127               }
128             ]
129           }
130         ],
131         "publishers": [
132           { "name": "publisher_A1",
134             "qos": { "partition": { "name": [ "bench_partition" ] } },
135             "qos_mask": { "partition": { "has_name": true } },
137             "datawriters": [
138               { "name": "datawriter_A1_T1",
139                 "topic_name": "topic_T1",
140                 "listener_type_name": "bench_dwl",
141                 "listener_status_mask": 4294967295,
142                 "listener_properties": [
143                   { "name": "expected_match_count",
144                     "value": { "$discriminator": "PVK_ULL", "ull_prop": 6 }
145                   }
146                 ],
148                 "qos": { "reliability": { "kind": "RELIABLE_RELIABILITY_QOS" },
149                          "durability": { "kind": "TRANSIENT_LOCAL_DURABILITY_QOS" },
150                          "history": { "kind": "KEEP_ALL_HISTORY_QOS" }
151                        },
152                 "qos_mask": { "reliability": { "has_kind": true },
153                               "durability": { "has_kind": true },
154                               "history": { "has_kind": true }
155                             }
156               }
157             ]
158           }
159         ]
160       },
161       { "name": "participant_A2",
162         "domain": 17,
163         "transport_config_name": "config_02",
165         "qos": { "entity_factory": { "autoenable_created_entities": false } },
166         "qos_mask": { "entity_factory": { "has_autoenable_created_entities": false } },
168         "topics": [
169           { "name": "topic_T2",
170             "type_name": "Bench::Data"
171           },
172           { "name": "topic_T4",
173             "type_name": "Bench::Data"
174           }
175         ],
176         "subscribers": [
177           { "name": "subscriber_A2",
179             "qos": { "partition": { "name": [ "bench_partition" ] } },
180             "qos_mask": { "partition": { "has_name": true } },
182             "datareaders": [
183               { "name": "datareader_A2_T2",
184                 "topic_name": "topic_T2",
185                 "listener_type_name": "bench_drl",
186                 "listener_status_mask": 4294967295,
187                 "listener_properties": [
188                   { "name": "expected_match_count",
189                     "value": { "$discriminator": "PVK_ULL", "ull_prop": 6 }
190                   }
191                 ],
193                 "qos": { "reliability": { "kind": "RELIABLE_RELIABILITY_QOS" } },
194                 "qos_mask": { "reliability": { "has_kind": true } }
195               },
196               { "name": "datareader_A2_T4",
197                 "topic_name": "topic_T4",
198                 "listener_type_name": "bench_drl",
199                 "listener_status_mask": 4294967295,
200                 "listener_properties": [
201                   { "name": "expected_match_count",
202                     "value": { "$discriminator": "PVK_ULL", "ull_prop": 6 }
203                   }
204                 ],
206                 "qos": { "reliability": { "kind": "RELIABLE_RELIABILITY_QOS" } },
207                 "qos_mask": { "reliability": { "has_kind": true } }
208               }
209             ]
210           }
211         ],
212         "publishers": [
213           { "name": "publisher_A2",
215             "qos": { "partition": { "name": [ "bench_partition" ] } },
216             "qos_mask": { "partition": { "has_name": true } },
218             "datawriters": [
219               { "name": "datawriter_A2_T2",
220                 "topic_name": "topic_T2",
221                 "listener_type_name": "bench_dwl",
222                 "listener_status_mask": 4294967295,
223                 "listener_properties": [
224                   { "name": "expected_match_count",
225                     "value": { "$discriminator": "PVK_ULL", "ull_prop": 6 }
226                   }
227                 ],
229                 "qos": { "reliability": { "kind": "RELIABLE_RELIABILITY_QOS" } },
230                 "qos_mask": { "reliability": { "has_kind": true } }
231               },
232               { "name": "datawriter_A2_T4",
233                 "topic_name": "topic_T4",
234                 "listener_type_name": "bench_dwl",
235                 "listener_status_mask": 4294967295,
236                 "listener_properties": [
237                   { "name": "expected_match_count",
238                     "value": { "$discriminator": "PVK_ULL", "ull_prop": 6 }
239                   }
240                 ],
242                 "qos": { "reliability": { "kind": "RELIABLE_RELIABILITY_QOS" } },
243                 "qos_mask": { "reliability": { "has_kind": true } }
244               }
245             ]
246           }
247         ]
248       }
249     ]
250   },
251   "actions": [
252     {
253       "name": "write_action_A1_T1",
254       "type": "write",
255       "writers": [ "datawriter_A1_T1" ],
256       "params": [
257         { "name": "data_buffer_bytes",
258           "value": { "$discriminator": "PVK_ULL", "ull_prop": 123 }
259         },
260         { "name": "write_period",
261           "value": { "$discriminator": "PVK_DOUBLE", "double_prop": 3.21 }
262         },
263         { "name": "max_count",
264           "value": { "$discriminator": "PVK_ULL", "double_prop": 10 }
265         }
266       ]
267     },
268     {
269       "name": "write_action_A2_T2",
270       "type": "write",
271       "writers": [ "datawriter_A2_T2" ],
272       "params": [
273         { "name": "data_buffer_bytes",
274           "value": { "$discriminator": "PVK_ULL", "ull_prop": 321 }
275         },
276         { "name": "write_period",
277           "value": { "$discriminator": "PVK_DOUBLE", "double_prop": 1.23 }
278         },
279         { "name": "max_count",
280           "value": { "$discriminator": "PVK_ULL", "double_prop": 10 }
281         }
282       ]
283     },
284     {
285       "name": "write_action_A2_T4",
286       "type": "write",
287       "writers": [ "datawriter_A2_T4" ],
288       "params": [
289         { "name": "data_buffer_bytes",
290           "value": { "$discriminator": "PVK_ULL", "ull_prop": 222 }
291         },
292         { "name": "write_period",
293           "value": { "$discriminator": "PVK_DOUBLE", "double_prop": 2.22 }
294         }
295       ]
296     }
297   ]