Skip to content

Commit

Permalink
Merge pull request #521 from DUNE-DAQ/eflumerf/IOManager_OKS
Browse files Browse the repository at this point in the history
Configure IOManager using OKS objects
  • Loading branch information
eflumerf authored Oct 14, 2024
2 parents 4b4bd22 + c46080f commit ffe3cbb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/daqconf/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1119,13 +1119,15 @@ def generate_session(oksfile, include, session_name, op_env):
db.update_dal(detconf)

conn_svc = db.get_dal(class_name="ConnectionService", uid="local-connection-server")
conn_svc_cfg = db.get_dal(class_name="ConnectivityService", uid="local-connectivity-service-config")
opmon_svc = db.get_dal(class_name="OpMonURI", uid="local-opmon-uri")

sessiondal = dal.Session(
session_name,
environment=db.get_dal(
class_name="VariableSet", uid="local-variables"
).contains,
connectivity_service=conn_svc_cfg,
segment=seg,
detector_configuration=detconf,
infrastructure_applications=[conn_svc],
Expand Down

0 comments on commit ffe3cbb

Please sign in to comment.