|
63 | 63 |
|
64 | 64 | <oks-data> |
65 | 65 |
|
66 | | -<info name="" type="" num-of-items="49" oks-format="data" oks-version="862f2957270" created-by="gjc" created-on="thinkpad" creation-time="20231207T105615" last-modified-by="eflumerf" last-modified-on="ironvirt9.mshome.net" last-modification-time="20260202T153912"/> |
| 66 | +<info name="" type="" num-of-items="62" oks-format="data" oks-version="862f2957270" created-by="gjc" created-on="thinkpad" creation-time="20231207T105615" last-modified-by="dergonul" last-modified-on="np04-srv-015.cern.ch" last-modification-time="20260305T122304"/> |
67 | 67 |
|
68 | 68 | <include> |
69 | 69 | <file path="schema/confmodel/dunedaq.schema.xml"/> |
70 | 70 | <file path="schema/appmodel/application.schema.xml"/> |
71 | 71 | <file path="schema/appmodel/fdmodules.schema.xml"/> |
72 | 72 | <file path="schema/appmodel/wiec.schema.xml"/> |
| 73 | + <file path="schema/appmodel/socket.schema.xml"/> |
73 | 74 | <file path="config/daqsystemtest/connections.data.xml"/> |
74 | 75 | <file path="config/daqsystemtest/moduleconfs.data.xml"/> |
75 | 76 | <file path="config/daqsystemtest/hosts.data.xml"/> |
|
103 | 104 | <comment creation-time="20250325T145413" created-by="dergonul" created-on="np04-srv-015.cern.ch" author="dergonul" text="Disabled TP"/> |
104 | 105 | <comment creation-time="20250526T125136" created-by="dergonul" created-on="np04-srv-031.cern.ch" author="dergonul" text="Added crt-bern and crt-grenoble"/> |
105 | 106 | <comment creation-time="20250805T092423" created-by="dergonul" created-on="np04-srv-028.cern.ch" author="dergonul" text="Emu CRT configs"/> |
| 107 | + <comment creation-time="20260225T104925" created-by="dergonul" created-on="np04-srv-015.cern.ch" author="dergonul" text="Introduced SocketDetectorToDaqConnection"/> |
106 | 108 | </comments> |
107 | 109 |
|
108 | 110 |
|
109 | | -<obj class="CRTReaderApplication" id="crt-data-source-01"> |
| 111 | +<obj class="CRTFrameBuilderApplication" id="crt-data-source-01"> |
110 | 112 | <attr name="application_name" type="string" val="daq_application"/> |
111 | 113 | <rel name="runs_on" class="VirtualHost" id="vlocalhost"/> |
112 | 114 | <rel name="exposes_service"> |
|
117 | 119 | <ref class="ActionPlan" id="crt-readout-start"/> |
118 | 120 | <ref class="ActionPlan" id="crt-readout-stop"/> |
119 | 121 | </rel> |
120 | | - <rel name="data_writers"> |
121 | | - <ref class="SocketWriterConf" id="def-socket-writer-conf"/> |
122 | | - </rel> |
123 | | - <rel name="data_reader" class="CRTReaderConf" id="def-emu-crt-receiver-conf"/> |
| 122 | + <rel name="queue_rules"> |
| 123 | + <ref class="QueueConnectionRule" id="crt-bern-sender-input-queue-rule"/> |
| 124 | + </rel> |
| 125 | + <rel name="detector_frame_builder" class="CRTBernFrameBuilderConf" id="def-crt-bern-frame-builder-conf"/> |
| 126 | + <rel name="data_writer" class="SocketWriterConf" id="def-socket-writer-conf"/> |
124 | 127 | <rel name="detector_connections"> |
125 | | - <ref class="NetworkDetectorToDaqConnection" id="socket_crt"/> |
| 128 | + <ref class="SocketDetectorToDaqConnection" id="socket_crt"/> |
126 | 129 | </rel> |
127 | | - <rel name="callback_desc" class="DataMoveCallbackDescriptor" id="crt-bern-raw-input"/> |
128 | 130 | </obj> |
129 | 131 |
|
130 | 132 | <obj class="DPDKPortConfiguration" id="dpdk_e810_conf"> |
|
158 | 160 |
|
159 | 161 | <obj class="DetectorStream" id="stream_1007"> |
160 | 162 | <attr name="source_id" type="u32" val="1007"/> |
161 | | - <rel name="geo_id" class="GeoId" id="g_13_1_1_0"/> |
| 163 | + <rel name="geo_id" class="GeoId" id="g_12_1_1_0"/> |
| 164 | +</obj> |
| 165 | + |
| 166 | +<obj class="DetectorStream" id="stream_1008"> |
| 167 | + <attr name="source_id" type="u32" val="1008"/> |
| 168 | + <rel name="geo_id" class="GeoId" id="g_12_1_1_1"/> |
| 169 | +</obj> |
| 170 | + |
| 171 | +<obj class="DetectorStream" id="stream_1009"> |
| 172 | + <attr name="source_id" type="u32" val="1009"/> |
| 173 | + <rel name="geo_id" class="GeoId" id="g_12_2_1_0"/> |
162 | 174 | </obj> |
163 | 175 |
|
164 | 176 | <obj class="DetectorStream" id="stream_101"> |
165 | 177 | <attr name="source_id" type="u32" val="101"/> |
166 | 178 | <rel name="geo_id" class="GeoId" id="g_3_1_1_1"/> |
167 | 179 | </obj> |
168 | 180 |
|
| 181 | +<obj class="DetectorStream" id="stream_1010"> |
| 182 | + <attr name="source_id" type="u32" val="1010"/> |
| 183 | + <rel name="geo_id" class="GeoId" id="g_12_2_1_1"/> |
| 184 | +</obj> |
| 185 | + |
169 | 186 | <obj class="DetectorStream" id="stream_102"> |
170 | 187 | <attr name="source_id" type="u32" val="102"/> |
171 | 188 | <rel name="geo_id" class="GeoId" id="g_3_1_1_2"/> |
|
202 | 219 | <attr name="slot_id" type="u32" val="1"/> |
203 | 220 | </obj> |
204 | 221 |
|
| 222 | +<obj class="GeoId" id="g_12_1_1_1"> |
| 223 | + <attr name="detector_id" type="u32" val="12"/> |
| 224 | + <attr name="crate_id" type="u32" val="1"/> |
| 225 | + <attr name="slot_id" type="u32" val="1"/> |
| 226 | + <attr name="stream_id" type="u32" val="1"/> |
| 227 | +</obj> |
| 228 | + |
| 229 | +<obj class="GeoId" id="g_12_2_1_0"> |
| 230 | + <attr name="detector_id" type="u32" val="12"/> |
| 231 | + <attr name="crate_id" type="u32" val="2"/> |
| 232 | + <attr name="slot_id" type="u32" val="1"/> |
| 233 | +</obj> |
| 234 | + |
| 235 | +<obj class="GeoId" id="g_12_2_1_1"> |
| 236 | + <attr name="detector_id" type="u32" val="12"/> |
| 237 | + <attr name="crate_id" type="u32" val="2"/> |
| 238 | + <attr name="slot_id" type="u32" val="1"/> |
| 239 | + <attr name="stream_id" type="u32" val="1"/> |
| 240 | +</obj> |
| 241 | + |
205 | 242 | <obj class="GeoId" id="g_13_1_1_0"> |
206 | 243 | <attr name="detector_id" type="u32" val="13"/> |
207 | 244 | <attr name="crate_id" type="u32" val="1"/> |
208 | 245 | <attr name="slot_id" type="u32" val="1"/> |
209 | 246 | </obj> |
210 | 247 |
|
| 248 | +<obj class="GeoId" id="g_13_1_1_1"> |
| 249 | + <attr name="detector_id" type="u32" val="13"/> |
| 250 | + <attr name="crate_id" type="u32" val="1"/> |
| 251 | + <attr name="slot_id" type="u32" val="1"/> |
| 252 | + <attr name="stream_id" type="u32" val="1"/> |
| 253 | +</obj> |
| 254 | + |
| 255 | +<obj class="GeoId" id="g_13_2_1_0"> |
| 256 | + <attr name="detector_id" type="u32" val="13"/> |
| 257 | + <attr name="crate_id" type="u32" val="2"/> |
| 258 | + <attr name="slot_id" type="u32" val="1"/> |
| 259 | +</obj> |
| 260 | + |
| 261 | +<obj class="GeoId" id="g_13_2_1_1"> |
| 262 | + <attr name="detector_id" type="u32" val="13"/> |
| 263 | + <attr name="crate_id" type="u32" val="2"/> |
| 264 | + <attr name="slot_id" type="u32" val="1"/> |
| 265 | + <attr name="stream_id" type="u32" val="1"/> |
| 266 | +</obj> |
| 267 | + |
211 | 268 | <obj class="GeoId" id="g_3_1_1_0"> |
212 | 269 | <attr name="detector_id" type="u32" val="3"/> |
213 | 270 | <attr name="crate_id" type="u32" val="1"/> |
|
300 | 357 | <rel name="net_receiver" class="DPDKReceiver" id="ru-2-rcv"/> |
301 | 358 | </obj> |
302 | 359 |
|
303 | | -<obj class="NetworkDetectorToDaqConnection" id="socket_crt"> |
304 | | - <rel name="net_senders"> |
305 | | - <ref class="SocketDataSender" id="socket_sender_crt"/> |
306 | | - </rel> |
307 | | - <rel name="net_receiver" class="SocketReceiver" id="socket-ru-1-rcv"/> |
308 | | -</obj> |
309 | | - |
310 | 360 | <obj class="NetworkDevice" id="ru_1_readout"> |
311 | 361 | <attr name="mac_address" type="string" val="00:00:00:00:00:00"/> |
312 | 362 | <attr name="ip_address" type="string"> |
|
330 | 380 | <obj class="NetworkInterface" id="crt_101_asio0"> |
331 | 381 | <attr name="mac_address" type="string" val="00:00:00:00:00:00"/> |
332 | 382 | <attr name="ip_address" type="string"> |
333 | | - <data val="123.456.101.000"/> |
| 383 | + <data val="127.0.0.1"/> |
| 384 | + </attr> |
| 385 | + <attr name="interface_name" type="string" val="asio0"/> |
| 386 | + <attr name="network_name" type="enum" val="Control"/> |
| 387 | +</obj> |
| 388 | + |
| 389 | +<obj class="NetworkInterface" id="crt_101_asio1"> |
| 390 | + <attr name="mac_address" type="string" val="00:00:00:00:00:00"/> |
| 391 | + <attr name="ip_address" type="string"> |
| 392 | + <data val="127.0.0.1"/> |
| 393 | + </attr> |
| 394 | + <attr name="interface_name" type="string" val="asio1"/> |
| 395 | + <attr name="network_name" type="enum" val="Control"/> |
| 396 | +</obj> |
| 397 | + |
| 398 | +<obj class="NetworkInterface" id="socket_ru_1_readout"> |
| 399 | + <attr name="mac_address" type="string" val="00:00:00:00:00:00"/> |
| 400 | + <attr name="ip_address" type="string"> |
| 401 | + <data val="127.0.0.1"/> |
334 | 402 | </attr> |
335 | 403 | <attr name="interface_name" type="string" val="asio0"/> |
336 | 404 | <attr name="network_name" type="enum" val="Control"/> |
|
486 | 554 | <rel name="data_reader" class="SocketReaderConf" id="def-socket-reader-conf"/> |
487 | 555 | <rel name="fragment_aggregator" class="FragmentAggregatorConf" id="frag-agg-01"/> |
488 | 556 | <rel name="detector_connections"> |
489 | | - <ref class="NetworkDetectorToDaqConnection" id="socket_crt"/> |
| 557 | + <ref class="SocketDetectorToDaqConnection" id="socket_crt"/> |
490 | 558 | </rel> |
491 | 559 | <rel name="callback_desc" class="DataMoveCallbackDescriptor" id="crt-bern-raw-input"/> |
492 | 560 | </obj> |
|
504 | 572 |
|
505 | 573 | <obj class="Segment" id="socket-ru-segment"> |
506 | 574 | <rel name="applications"> |
507 | | - <ref class="CRTReaderApplication" id="crt-data-source-01"/> |
| 575 | + <ref class="CRTFrameBuilderApplication" id="crt-data-source-01"/> |
508 | 576 | <ref class="ReadoutApplication" id="socket-ru-01"/> |
509 | 577 | </rel> |
510 | 578 | <rel name="controller" class="RCApplication" id="socket-ru-controller"/> |
511 | 579 | </obj> |
512 | 580 |
|
513 | 581 | <obj class="SocketDataSender" id="socket_sender_crt"> |
514 | | - <attr name="port" type="u32" val="1234"/> |
515 | | - <attr name="control_host" type="string" val="localhost"/> |
| 582 | + <attr name="socket_type" type="enum" val="UDP"/> |
| 583 | + <attr name="local_port" type="u32" val="12345"/> |
| 584 | + <attr name="remote_port" type="u32" val="20001"/> |
516 | 585 | <rel name="streams"> |
517 | 586 | <ref class="DetectorStream" id="stream_1007"/> |
| 587 | + <ref class="DetectorStream" id="stream_1008"/> |
518 | 588 | </rel> |
519 | 589 | <rel name="uses" class="NetworkInterface" id="crt_101_asio0"/> |
520 | 590 | </obj> |
521 | 591 |
|
| 592 | +<obj class="SocketDataSender" id="socket_sender_crt_2"> |
| 593 | + <attr name="socket_type" type="enum" val="TCP"/> |
| 594 | + <attr name="local_port" type="u32" val="12346"/> |
| 595 | + <attr name="remote_port" type="u32" val="20002"/> |
| 596 | + <rel name="streams"> |
| 597 | + <ref class="DetectorStream" id="stream_1009"/> |
| 598 | + <ref class="DetectorStream" id="stream_1010"/> |
| 599 | + </rel> |
| 600 | + <rel name="uses" class="NetworkInterface" id="crt_101_asio1"/> |
| 601 | +</obj> |
| 602 | + |
| 603 | +<obj class="SocketDetectorToDaqConnection" id="socket_crt"> |
| 604 | + <rel name="net_senders"> |
| 605 | + <ref class="SocketDataSender" id="socket_sender_crt"/> |
| 606 | + <ref class="SocketDataSender" id="socket_sender_crt_2"/> |
| 607 | + </rel> |
| 608 | + <rel name="net_receiver" class="SocketReceiver" id="socket-ru-1-rcv"/> |
| 609 | +</obj> |
| 610 | + |
522 | 611 | <obj class="SocketReceiver" id="socket-ru-1-rcv"> |
523 | | - <rel name="uses" class="NetworkDevice" id="ru_1_readout"/> |
| 612 | + <rel name="uses" class="NetworkInterface" id="socket_ru_1_readout"/> |
524 | 613 | </obj> |
525 | 614 |
|
526 | 615 | <obj class="SourceIDConf" id="tp-srcid-1000"> |
|
0 commit comments