diff options
Diffstat (limited to 'modules/CIAO/DAnCE/tests/CIAO/NodeManager-Deployments/SimpleProcessColocation_Default.cdp')
-rw-r--r-- | modules/CIAO/DAnCE/tests/CIAO/NodeManager-Deployments/SimpleProcessColocation_Default.cdp | 208 |
1 files changed, 208 insertions, 0 deletions
diff --git a/modules/CIAO/DAnCE/tests/CIAO/NodeManager-Deployments/SimpleProcessColocation_Default.cdp b/modules/CIAO/DAnCE/tests/CIAO/NodeManager-Deployments/SimpleProcessColocation_Default.cdp new file mode 100644 index 00000000000..68ea0ce0c70 --- /dev/null +++ b/modules/CIAO/DAnCE/tests/CIAO/NodeManager-Deployments/SimpleProcessColocation_Default.cdp @@ -0,0 +1,208 @@ +<Deployment:DeploymentPlan + xmlns:Deployment="http://www.omg.org/Deployment" + xmlns:xmi="http://www.omg.org/XMI" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> + <label>SimpleComponent_Home</label> + <UUID>SimpleComponent_Home</UUID> + + <!-- Implementations declarations --> + + <!-- Server Dance implementation--> + <implementation xmi:id="ProcessColocationComponentImplementation"> + <name>ProcessColocationComponentImplementation</name> + <source/> + <artifact xmi:idref="ProcessColocation_ExecArtifact" /> + <artifact xmi:idref="ProcessColocation_SvntArtifact" /> + <execParameter> + <!-- entrypoint as exec parameter (see ยง10.6.1) --> + <name>component factory</name> + <value> + <type> + <kind>tk_string</kind> + </type> + <value> + <string>create_Simple_ProcessColocation_Impl</string> + </value> + </value> + </execParameter> + <execParameter> + <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name> + <value> + <type> + <kind>tk_string</kind> + </type> + <value> + <string>create_Simple_ProcessColocation_Servant</string> + </value> + </value> + </execParameter> + <execParameter> + <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name> + <value> + <type> + <kind>tk_string</kind> + </type> + <value> + <string>ProcessColocation_svnt</string> + </value> + </value> + </execParameter> + <execParameter> + <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name> + <value> + <type> + <kind>tk_string</kind> + </type> + <value> + <string>ProcessColocation_exec</string> + </value> + </value> + </execParameter> + </implementation> + + <instance xmi:id="ProcessColocationComponentInstance_Default_1"> + <name>ProcessColocationComponent_Default_One</name> + <node>Node</node> + <!-- hostname --> + <source/> + <implementation xmi:idref="ProcessColocationComponentImplementation" /> + + <configProperty> + <name>process_name</name> + <value> + <type> + <kind>tk_string</kind> + </type> + <value> + <string>Default Process</string> + </value> + </value> + </configProperty> + </instance> + + <instance xmi:id="ProcessColocationComponentInstance_Default_2"> + <name>ProcessColocationComponent_Default_Two</name> + <node>Node</node> + <!-- hostname --> + <source/> + <implementation xmi:idref="ProcessColocationComponentImplementation" /> + + <configProperty> + <name>process_name</name> + <value> + <type> + <kind>tk_string</kind> + </type> + <value> + <string>Default Process</string> + </value> + </value> + </configProperty> + </instance> + + <instance xmi:id="ProcessColocationComponentInstance_1"> + <name>ProcessColocationComponent_One</name> + <node>Node</node> + <!-- hostname --> + <source/> + <implementation xmi:idref="ProcessColocationComponentImplementation" /> + + <configProperty> + <name>process_name</name> + <value> + <type> + <kind>tk_string</kind> + </type> + <value> + <string>Process One</string> + </value> + </value> + </configProperty> + </instance> + + <instance xmi:id="ProcessColocationComponentInstance_1_2"> + <name>ProcessColocationComponent_One_Two</name> + <node>Node</node> + <!-- hostname --> + <source/> + <implementation xmi:idref="ProcessColocationComponentImplementation" /> + + <configProperty> + <name>process_name</name> + <value> + <type> + <kind>tk_string</kind> + </type> + <value> + <string>Process One</string> + </value> + </value> + </configProperty> + </instance> + + <instance xmi:id="ProcessColocationComponentInstance_2"> + <name>ProcessColocationComponent_Two</name> + <node>Node</node> + <!-- hostname --> + <source/> + <implementation xmi:idref="ProcessColocationComponentImplementation" /> + <configProperty> + <name>process_name</name> + <value> + <type> + <kind>tk_string</kind> + </type> + <value> + <string>Process Two</string> + </value> + </value> + </configProperty> + </instance> + + <instance xmi:id="ProcessColocationComponentInstance_2_2"> + <name>ProcessColocationComponent_Two_Two</name> + <node>Node</node> + <!-- hostname --> + <source/> + <implementation xmi:idref="ProcessColocationComponentImplementation" /> + <configProperty> + <name>process_name</name> + <value> + <type> + <kind>tk_string</kind> + </type> + <value> + <string>Process Two</string> + </value> + </value> + </configProperty> + </instance> + + <!-- Artifacts declarations --> + <artifact xmi:id="ProcessColocation_ExecArtifact"> + <name>ProcessColocation_exec</name> + <source/> + <node/> + <location>ProcessColocation_exec</location> + </artifact> + <artifact xmi:id="ProcessColocation_SvntArtifact"> + <name>ProcessColocation_svnt</name> + <source/> + <node/> + <location>ProcessColocation_svnt</location> + </artifact> + + <localityConstraint> + <constraint>SameProcess</constraint> + <constrainedInstance xmi:idref="ProcessColocationComponentInstance_1" /> + <constrainedInstance xmi:idref="ProcessColocationComponentInstance_1_2" /> + </localityConstraint> + + <localityConstraint> + <constraint>SameProcess</constraint> + <constrainedInstance xmi:idref="ProcessColocationComponentInstance_2" /> + <constrainedInstance xmi:idref="ProcessColocationComponentInstance_2_2" /> + </localityConstraint> + + </Deployment:DeploymentPlan> |