-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
63 additions
and
0 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,63 @@ | ||
<topology name="Example"> | ||
|
||
<declrequirement name="onlineReq" type="groupname" value="online"/> | ||
<declrequirement name="calibReq" type="groupname" value="calib"/> | ||
<declrequirement name="odc_nmin_Processors" type="custom" value="-1"/> | ||
|
||
<property name="fmqchan_data1" /> | ||
<property name="fmqchan_data2" /> | ||
|
||
<decltask name="Sampler"> | ||
<exe>odc-ex-sampler --color false --channel-config name=data1,type=push,method=bind --rate 100 -P odc --severity trace</exe> | ||
<env reachable="false">@CMAKE_INSTALL_PREFIX@/@PROJECT_INSTALL_BINDIR@/odc-ex-env.sh</env> | ||
<properties> | ||
<name access="write">fmqchan_data1</name> | ||
</properties> | ||
</decltask> | ||
|
||
<decltask name="Processor"> | ||
<exe>odc-ex-processor --color false --problem crash --problem-state init --problem-paths main/ProcessorGroup/Processors_.*/Processor_.* --channel-config name=data1,type=pull,method=connect name=data2,type=push,method=connect -P odc --severity trace</exe> | ||
<env reachable="false">@CMAKE_INSTALL_PREFIX@/@PROJECT_INSTALL_BINDIR@/odc-ex-env.sh</env> | ||
<properties> | ||
<name access="read">fmqchan_data1</name> | ||
<name access="read">fmqchan_data2</name> | ||
</properties> | ||
</decltask> | ||
|
||
<decltask name="Sink"> | ||
<exe>odc-ex-sink --color false --channel-config name=data2,type=pull,method=bind -P odc --severity trace</exe> | ||
<env reachable="false">@CMAKE_INSTALL_PREFIX@/@PROJECT_INSTALL_BINDIR@/odc-ex-env.sh</env> | ||
<properties> | ||
<name access="write">fmqchan_data2</name> | ||
</properties> | ||
</decltask> | ||
|
||
<declcollection name="SamplersSinks"> | ||
<requirements> | ||
<name>calibReq</name> | ||
</requirements> | ||
<tasks> | ||
<name>Sampler</name> | ||
<name>Sink</name> | ||
</tasks> | ||
</declcollection> | ||
|
||
<declcollection name="Processors"> | ||
<requirements> | ||
<name>onlineReq</name> | ||
<name>odc_nmin_Processors</name> | ||
</requirements> | ||
<tasks> | ||
<name>Processor</name> | ||
<name>Processor</name> | ||
</tasks> | ||
</declcollection> | ||
|
||
<main name="main"> | ||
<collection>SamplersSinks</collection> | ||
<group name="ProcessorGroup" n="4"> | ||
<collection>Processors</collection> | ||
</group> | ||
</main> | ||
|
||
</topology> |