Graphical user interface to configure container definitions for the NSCLDAQ manager subsystem. config-file is the path to the configuration database file.
The top level window of this program is a list of container names on the left side and a list of filesystem bindings on the right. Clicking a container name populates the bindings list box with the bindings for the seleted container.
Clicking the contents of the configuration file are stored in the database so that the initialization script is stable under edits to the original file.
button displays the initialization script for the container. The initialization script is a script that is run prior to running every program in the container. It allows you to perform common environment setup operations (e.g. sourcing the correct daqconfig.bash file). TheThe
and bring up a dialog that allows you to define a container. The only difference between the two buttons is that pre-populates the dialog with the definition of the selected container. You can use this dialog to set the container image file, add/remove bindings, set the container name, and pull in the contents of an initialization script.When the
button is clicked, the definition is saved. If is clicked, the definition is discarded.When the dialog is brought up with
retains the old definition. Furthermore if is clicked but you change the name of the container, a new container defintion is created using that name. This allows you to create a new container definition beginning with the definition of an existing container as a starting point.When the dialog is brought up with the
, makes no changes to the database, saves the new container definition. Take care not to duplicate the name of an existing container.Note that the
button directly modifies the database. This is why there is no button on the main window.