-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from DUNE-DAQ/eflumerf/IOManager_Issue70_idea
Using iomanager:eflumerf/Issue70_idea, have a test configuration with
- Loading branch information
Showing
4 changed files
with
207 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,196 @@ | ||
<?xml version="1.0" encoding="ASCII"?> | ||
|
||
<!-- oks-data version 2.2 --> | ||
|
||
|
||
<!DOCTYPE oks-data [ | ||
<!ELEMENT oks-data (info, (include)?, (comments)?, (obj)+)> | ||
<!ELEMENT info EMPTY> | ||
<!ATTLIST info | ||
name CDATA #IMPLIED | ||
type CDATA #IMPLIED | ||
num-of-items CDATA #REQUIRED | ||
oks-format CDATA #FIXED "data" | ||
oks-version CDATA #REQUIRED | ||
created-by CDATA #IMPLIED | ||
created-on CDATA #IMPLIED | ||
creation-time CDATA #IMPLIED | ||
last-modified-by CDATA #IMPLIED | ||
last-modified-on CDATA #IMPLIED | ||
last-modification-time CDATA #IMPLIED | ||
> | ||
<!ELEMENT include (file)*> | ||
<!ELEMENT file EMPTY> | ||
<!ATTLIST file | ||
path CDATA #REQUIRED | ||
> | ||
<!ELEMENT comments (comment)*> | ||
<!ELEMENT comment EMPTY> | ||
<!ATTLIST comment | ||
creation-time CDATA #REQUIRED | ||
created-by CDATA #REQUIRED | ||
created-on CDATA #REQUIRED | ||
author CDATA #REQUIRED | ||
text CDATA #REQUIRED | ||
> | ||
<!ELEMENT obj (attr | rel)*> | ||
<!ATTLIST obj | ||
class CDATA #REQUIRED | ||
id CDATA #REQUIRED | ||
> | ||
<!ELEMENT attr (data)*> | ||
<!ATTLIST attr | ||
name CDATA #REQUIRED | ||
type (bool|s8|u8|s16|u16|s32|u32|s64|u64|float|double|date|time|string|uid|enum|class|-) "-" | ||
val CDATA "" | ||
> | ||
<!ELEMENT data EMPTY> | ||
<!ATTLIST data | ||
val CDATA #REQUIRED | ||
> | ||
<!ELEMENT rel (ref)*> | ||
<!ATTLIST rel | ||
name CDATA #REQUIRED | ||
class CDATA "" | ||
id CDATA "" | ||
> | ||
<!ELEMENT ref EMPTY> | ||
<!ATTLIST ref | ||
class CDATA #REQUIRED | ||
id CDATA #REQUIRED | ||
> | ||
]> | ||
|
||
<oks-data> | ||
|
||
<info name="" type="" num-of-items="9" oks-format="data" oks-version="862f2957270" created-by="gjc" created-on="thinkpad" creation-time="20231116T105446" last-modified-by="eflumerf" last-modified-on="ironvirt9.mshome.net" last-modification-time="20241118T162311"/> | ||
|
||
<include> | ||
<file path="config/listrev-objects.data.xml"/> | ||
</include> | ||
|
||
<comments> | ||
<comment creation-time="20231116T122331" created-by="gjc" created-on="thinkpad" author="gjc" text="k"/> | ||
<comment creation-time="20231117T105205" created-by="gjc" created-on="thinkpad" author="gjc" text="ff"/> | ||
<comment creation-time="20231117T120703" created-by="gjc" created-on="thinkpad" author="gjc" text="n"/> | ||
<comment creation-time="20231117T121356" created-by="gjc" created-on="thinkpad" author="gjc" text="rename"/> | ||
<comment creation-time="20240516T142257" created-by="eflumerf" created-on="ironvirt9.mshome.net" author="eflumerf" text="Remove extra modules"/> | ||
<comment creation-time="20240516T142536" created-by="eflumerf" created-on="ironvirt9.mshome.net" author="eflumerf" text="Update network connections"/> | ||
<comment creation-time="20240516T142824" created-by="eflumerf" created-on="ironvirt9.mshome.net" author="eflumerf" text="Extend timeouts"/> | ||
</comments> | ||
|
||
|
||
<obj class="DaqApplication" id="listrev-g"> | ||
<attr name="application_name" type="string" val="daq_application"/> | ||
<rel name="runs_on" class="VirtualHost" id="vlocalhost"/> | ||
<rel name="exposes_service"> | ||
<ref class="Service" id="listrev-g_control"/> | ||
</rel> | ||
<rel name="opmon_conf" class="OpMonConf" id="all-monitoring"/> | ||
<rel name="modules"> | ||
<ref class="RandomDataListGenerator" id="rdlg0"/> | ||
<ref class="RandomDataListGenerator" id="rdlg1"/> | ||
</rel> | ||
</obj> | ||
|
||
<obj class="DaqApplication" id="listrev-rv"> | ||
<attr name="application_name" type="string" val="daq_application"/> | ||
<rel name="runs_on" class="VirtualHost" id="vlocalhost"/> | ||
<rel name="exposes_service"> | ||
<ref class="Service" id="listrev-rv_control"/> | ||
</rel> | ||
<rel name="opmon_conf" class="OpMonConf" id="all-monitoring"/> | ||
<rel name="modules"> | ||
<ref class="ListReverser" id="lr0"/> | ||
<ref class="ReversedListValidator" id="lrv"/> | ||
</rel> | ||
</obj> | ||
|
||
<obj class="ListReverser" id="lr0"> | ||
<attr name="request_timeout_ms" type="u32" val="1000"/> | ||
<attr name="send_timeout_ms" type="u32" val="1000"/> | ||
<rel name="inputs"> | ||
<ref class="Queue" id="lr0_request_queue"/> | ||
<ref class="NetworkConnection" id="lr0_list_connection"/> | ||
</rel> | ||
<rel name="outputs"> | ||
<ref class="NetworkConnection" id="rdlg0_request_connection"/> | ||
<ref class="NetworkConnection" id="rdlg1_request_connection"/> | ||
<ref class="Queue" id="validator_list_queue"/> | ||
</rel> | ||
</obj> | ||
|
||
<obj class="RandomDataListGenerator" id="rdlg0"> | ||
<attr name="request_timeout_ms" type="u32" val="10000"/> | ||
<attr name="send_timeout_ms" type="u32" val="1000"/> | ||
<rel name="inputs"> | ||
<ref class="NetworkConnection" id="rdlg0_request_connection"/> | ||
<ref class="NetworkConnection" id="creates"/> | ||
</rel> | ||
<rel name="outputs"> | ||
<ref class="NetworkConnection" id="lr0_list_connection"/> | ||
</rel> | ||
</obj> | ||
|
||
<obj class="RandomDataListGenerator" id="rdlg1"> | ||
<attr name="request_timeout_ms" type="u32" val="10000"/> | ||
<attr name="send_timeout_ms" type="u32" val="1000"/> | ||
<attr name="generator_id" type="u32" val="1"/> | ||
<rel name="inputs"> | ||
<ref class="NetworkConnection" id="rdlg1_request_connection"/> | ||
<ref class="NetworkConnection" id="creates"/> | ||
</rel> | ||
<rel name="outputs"> | ||
<ref class="NetworkConnection" id="lr0_list_connection"/> | ||
</rel> | ||
</obj> | ||
|
||
<obj class="RandomListGeneratorSet" id="genset"> | ||
<rel name="generators"> | ||
<ref class="RandomDataListGenerator" id="rdlg0"/> | ||
<ref class="RandomDataListGenerator" id="rdlg1"/> | ||
</rel> | ||
</obj> | ||
|
||
<obj class="ReversedListValidator" id="lrv"> | ||
<attr name="request_timeout_ms" type="u32" val="100000"/> | ||
<attr name="send_timeout_ms" type="u32" val="1000"/> | ||
<attr name="min_list_size" type="u32" val="5"/> | ||
<attr name="max_list_size" type="u32" val="20"/> | ||
<attr name="max_outstanding_requests" type="u32" val="100"/> | ||
<attr name="request_rate_hz" type="u32" val="1"/> | ||
<rel name="inputs"> | ||
<ref class="Queue" id="validator_list_queue"/> | ||
</rel> | ||
<rel name="outputs"> | ||
<ref class="NetworkConnection" id="creates"/> | ||
<ref class="Queue" id="lr0_request_queue"/> | ||
</rel> | ||
<rel name="generatorSet" class="RandomListGeneratorSet" id="genset"/> | ||
</obj> | ||
|
||
<obj class="Segment" id="root-segment"> | ||
<rel name="applications"> | ||
<ref class="DaqApplication" id="listrev-rv"/> | ||
<ref class="DaqApplication" id="listrev-g"/> | ||
</rel> | ||
<rel name="controller" class="RCApplication" id="root-controller"/> | ||
</obj> | ||
|
||
<obj class="Session" id="lr-session"> | ||
<attr name="data_request_timeout_ms" type="u32" val="1000"/> | ||
<attr name="data_rate_slowdown_factor" type="u32" val="1"/> | ||
<attr name="controller_log_level" type="enum" val="INFO"/> | ||
<rel name="connectivity_service" class="ConnectivityService" id="connectivity-service-config"/> | ||
<rel name="environment"> | ||
<ref class="VariableSet" id="common-env"/> | ||
</rel> | ||
<rel name="segment" class="Segment" id="root-segment"/> | ||
<rel name="infrastructure_applications"> | ||
<ref class="ConnectionService" id="local-connection-server"/> | ||
</rel> | ||
<rel name="detector_configuration" class="DetectorConfig" id="dummy-detector"/> | ||
<rel name="opmon_uri" class="OpMonURI" id="local-opmon-uri"/> | ||
</obj> | ||
|
||
</oks-data> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters