Skip to content

Commit a4a168f

Browse files
committed
DPL: pass-through a few FairMQ options
This is required for DDS & Control integration to work properly.
1 parent 750c06c commit a4a168f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Framework/Core/src/DeviceSpecHelpers.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,9 @@ boost::program_options::options_description DeviceSpecHelpers::getForwardedDevic
704704
// - child-driver is not a FairMQ device option but used per device to start to process
705705
bpo::options_description forwardedDeviceOptions;
706706
forwardedDeviceOptions.add_options() //
707+
("plugin,P", bpo::value<std::string>(), "FairMQ plugin list") //
708+
("plugin-search-path,S", bpo::value<std::string>(), "FairMQ plugins search path") //
709+
("control-port", bpo::value<std::string>(), "Utility port to be used by O2 Control") //
707710
("rate", bpo::value<std::string>(), "rate for a data source device (Hz)") //
708711
("monitoring-backend", bpo::value<std::string>(), "monitoring connection string") //
709712
("infologger-mode", bpo::value<std::string>(), "INFOLOGGER_MODE override") //

Framework/Core/src/runDataProcessing.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ int doMain(int argc, char** argv, o2::framework::WorkflowSpec const& workflow,
10051005
("help,h", "print this help") //
10061006
("quiet,q", bpo::value<bool>()->zero_tokens()->default_value(false), "quiet operation") //
10071007
("stop,s", bpo::value<bool>()->zero_tokens()->default_value(false), "stop before device start") //
1008-
("single-step,S", bpo::value<bool>()->zero_tokens()->default_value(false), "start in single step mode") //
1008+
("single-step", bpo::value<bool>()->zero_tokens()->default_value(false), "start in single step mode") //
10091009
("batch,b", bpo::value<bool>()->zero_tokens()->default_value(false), "batch processing mode") //
10101010
("start-port,p", bpo::value<unsigned short>()->default_value(22000), "start port to allocate") //
10111011
("port-range,pr", bpo::value<unsigned short>()->default_value(1000), "ports in range") //

0 commit comments

Comments
 (0)