summaryrefslogtreecommitdiff
path: root/modules/CIAO/DAnCE/bin/PythonDAnCE/generator/home_inst.py
blob: 6d24a5c5986c9f2e141c0369e0f4f7ffd2b6a48e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from templet import stringfunction

@stringfunction
def template (component_name) :
    """
  <instance xmi:id="${component_name}HomeInstance">
    <name>${component_name}Home</name>
    <node>NodeOne</node>
    <!-- hostname -->
    <source/>
    <implementation xmi:idref="${component_name}HomeImplementation" />
  </instance>
    """