summaryrefslogtreecommitdiffstats
path: root/app/data/shared_model/policy/translate.yaml
blob: 1c349c2667cbbf6a5a165d0e25a5a49237ab598d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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}