as comfortable command line tooling.
adtf_config_tool
Usage:
adtf_config_tool --help
adtf_config_tool [--dry-run] [--environment <adtfenvironmentfile>] [--session
<adtfsessionfile>] [--graph <adtfgraphfile>] [--properties
<adtfgraphpropertiesfile>] [--system <adtfsystemfile>] [--system-properties
<adtfsystempropertiesfile>] [--validate-plugindescription] --execute
objects [--plugin-description]
adtf_config_tool [--dry-run] [--environment <adtfenvironmentfile>] [--session
<adtfsessionfile>] [--graph <adtfgraphfile>] [--properties
<adtfgraphpropertiesfile>] [--system <adtfsystemfile>] [--system-properties
<adtfsystempropertiesfile>] [--validate-plugindescription] --execute
systemobjects [--plugin-description]
adtf_config_tool [--dry-run] [--environment <adtfenvironmentfile>] [--session
<adtfsessionfile>] [--graph <adtfgraphfile>] [--properties
<adtfgraphpropertiesfile>] [--system <adtfsystemfile>] [--system-properties
<adtfsystempropertiesfile>] [--validate-plugindescription] --execute
plugindescription <graphobject>
adtf_config_tool [--dry-run] [--environment <adtfenvironmentfile>] [--session
<adtfsessionfile>] [--graph <adtfgraphfile>] [--properties
<adtfgraphpropertiesfile>] [--system <adtfsystemfile>] [--system-properties
<adtfsystempropertiesfile>] [--validate-plugindescription] --execute
isactive <graphobject>
adtf_config_tool [--dry-run] [--environment <adtfenvironmentfile>] [--session
<adtfsessionfile>] [--graph <adtfgraphfile>] [--properties
<adtfgraphpropertiesfile>] [--system <adtfsystemfile>] [--system-properties
<adtfsystempropertiesfile>] [--validate-plugindescription] --execute
activate <graphobject>
adtf_config_tool [--dry-run] [--environment <adtfenvironmentfile>] [--session
<adtfsessionfile>] [--graph <adtfgraphfile>] [--properties
<adtfgraphpropertiesfile>] [--system <adtfsystemfile>] [--system-properties
<adtfsystempropertiesfile>] [--validate-plugindescription] --execute
deactivate <graphobject>
adtf_config_tool [--dry-run] [--environment <adtfenvironmentfile>] [--session
<adtfsessionfile>] [--graph <adtfgraphfile>] [--properties
<adtfgraphpropertiesfile>] [--system <adtfsystemfile>] [--system-properties
<adtfsystempropertiesfile>] [--validate-plugindescription] --execute
listprops <graphobject>
adtf_config_tool [--dry-run] [--environment <adtfenvironmentfile>] [--session
<adtfsessionfile>] [--graph <adtfgraphfile>] [--properties
<adtfgraphpropertiesfile>] [--system <adtfsystemfile>] [--system-properties
<adtfsystempropertiesfile>] [--validate-plugindescription] --execute
listpropvalues <graphobject>
adtf_config_tool [--dry-run] [--environment <adtfenvironmentfile>] [--session
<adtfsessionfile>] [--graph <adtfgraphfile>] [--properties
<adtfgraphpropertiesfile>] [--system <adtfsystemfile>] [--system-properties
<adtfsystempropertiesfile>] [--validate-plugindescription] --execute
setprop <graphobject> <propertyname> <value>
adtf_config_tool [--dry-run] [--environment <adtfenvironmentfile>] [--session
<adtfsessionfile>] [--graph <adtfgraphfile>] [--properties
<adtfgraphpropertiesfile>] [--system <adtfsystemfile>] [--system-properties
<adtfsystempropertiesfile>] [--validate-plugindescription] --execute
getprop <graphobject> <propertyname>
adtf_config_tool [--dry-run] [--environment <adtfenvironmentfile>] [--session
<adtfsessionfile>] [--graph <adtfgraphfile>] [--properties
<adtfgraphpropertiesfile>] [--system <adtfsystemfile>] [--system-properties
<adtfsystempropertiesfile>] [--validate-plugindescription] --execute
addservice <classid> [--objectid <object id>] [--runlevel <runlevel>]
adtf_config_tool [--dry-run] [--environment <adtfenvironmentfile>] [--session
<adtfsessionfile>] [--graph <adtfgraphfile>] [--properties
<adtfgraphpropertiesfile>] [--system <adtfsystemfile>] [--system-properties
<adtfsystempropertiesfile>] [--validate-plugindescription] --execute
addcomponent <graph> <componenttype> <classid> <label>
adtf_config_tool [--dry-run] [--environment <adtfenvironmentfile>] [--session
<adtfsessionfile>] [--graph <adtfgraphfile>] [--properties
<adtfgraphpropertiesfile>] [--system <adtfsystemfile>] [--system-properties
<adtfsystempropertiesfile>] [--validate-plugindescription] --execute
connect <component> <component> [--output-pin <pin>] ([--input-pin <pin>] |
[--runner-pin <pin>]) [--mode <mode>]
adtf_config_tool [--dry-run] [--environment <adtfenvironmentfile>] [--session
<adtfsessionfile>] [--graph <adtfgraphfile>] [--properties
<adtfgraphpropertiesfile>] [--system <adtfsystemfile>] [--system-properties
<adtfsystempropertiesfile>] [--validate-plugindescription] --execute
create_session <folder> <session_name> [--graph-name <graphname>]
[--system-name <systemname>]
Options:
--help, -h Print the usage info and quit.
--dry-run Do not save changes to the files.
--environment <adtfenvironmentfile>
Specify an ADTF environment file that should be loaded. This overrides whatever
is specified in the settings file.
--session <adtfsessionfile>
Loads the given session file and its referenced system, graph and properties
files.
--graph <adtfgraphfile>
Loads the given graph file.
--properties <adtfgraphpropertiesfile>
Loads the given properties file.
--system <adtfsystemfile>
Loads the given system file.
--system-properties <adtfsystempropertiesfile>
Loads the given system properties file.
--validate-plugindescription
Activate the plugindescription validation
--execute, -e
Execute command and quit
Available commands:
objects [--plugin-description]
List all available graph objects.
--plugin-description
print plugin descriptions
systemobjects [--plugin-description]
List all available system objects.
--plugin-description
print plugin descriptions
plugindescription <graphobject>
List all available plugindescription information of graph object.
<graphobject>
The name of the graph object.
isactive <graphobject>
Prints whether the the given graph object is activated or deactivated.
<graphobject>
The name of the graph object.
activate <graphobject>
Activate the given graph object.
<graphobject>
The name of the graph object.
deactivate <graphobject>
Deactivate the given graph object.
<graphobject>
The name of the graph object.
listprops <graphobject>
List the properties of the given graph object.
<graphobject>
The name of the graph object.
listpropvalues <graphobject>
List the properties and their values of the given graph object.
<graphobject>
The name of the graph object.
setprop <graphobject> <propertyname> <value>
Set the given property value of the given graph object.
<graphobject>
The name of the graph object.
<propertyname>
The name of the property.
<value>
The new value of the property.
getprop <graphobject> <propertyname>
Get a property value of the given graph object.
<graphobject>
The name of the graph object.
<propertyname>
The name of the property.
addservice <classid> [--objectid <object id>] [--runlevel <runlevel>]
Add a service to the system.
<classid>
The class id of the service.
--objectid <object id>
The object id.
--runlevel <runlevel>
The runlevel at which the service should be initialized.
addcomponent <graph> <componenttype> <classid> <label>
Add a component to given graph.
<graph>
The name of the graph.
<componenttype>
The type of the component, one of: samplestream, bindingproxy, filter,
activerunner, sink, source
<classid>
The class id of the component.
<label>
The label of the component.
connect <component> <component> [--output-pin <pin>] ([--input-pin <pin>] | [--runner-pin
<pin>]) [--mode
<mode>]
Connect two given components in the same graph via given pins.
<component>
The name of the source component.
<component>
The name of the destination component.
--output-pin <pin>
Source data pin name.
--input-pin <pin>
Destination data pin name.
--runner-pin <pin>
Destination runner pin.
--mode <mode>
Connection mode (dynamic_output_pin, dynamic_input_pin and dynamic_trigger_pin
create_session <folder> <session_name> [--graph-name <graphname>] [--system-name
<systemname>]
<folder> <session_name> [--graph-name <graphname>] [--system-name <systemname>]
Create session
To reference any ADTF Component inside the ADTF Session you need to know its unique path. To list the path of all ADTF Components inside an ADTF Graph file issue the following command (either supply the name of an ADTF Session file or the name of ADTF Graph file):
Finally choose a name for the added ADTF Component in the ADTF Graph, the name must be unique.
The following example adds two Filters and establishes a connection beween these two ADTF Components.
Currently the ADTF Config Tool does not support batch processing. This mean, even in scripts, each command is a single interaction which triggers the model for validation, which may increase duration.