summaryrefslogtreecommitdiffstats
path: root/app/data/shared_model/policy/translate.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'app/data/shared_model/policy/translate.yaml')
-rw-r--r--app/data/shared_model/policy/translate.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/app/data/shared_model/policy/translate.yaml b/app/data/shared_model/policy/translate.yaml
new file mode 100644
index 0000000..1c349c2
--- /dev/null
+++ b/app/data/shared_model/policy/translate.yaml
@@ -0,0 +1,23 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: policy_translate
+imports:
+- schema: schema.yaml
+topology_template:
+ inputs:
+ policy_name:
+ type: string
+ policy_id:
+ type: string
+
+ substitution_mappings:
+ node_type: tosca.dcae.nodes.policy
+ capabilities:
+ policy:
+ - NO_PREFIX
+ - policy
+ node_templates:
+ NO_PREFIX:
+ type: dcae.nodes.policy
+ properties:
+ policy_id: {get_input: policy_id} \ No newline at end of file