summaryrefslogtreecommitdiffstats
path: root/app/data/shared_model/policies/translate.yaml
blob: c0daffb1741ed366063668cf4c3a57ff9d35a24d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
  template_name: policies_translate
imports:
- schema: schema.yaml
topology_template:
  inputs: 
    policyName: 
      type: string
    configName:
      type: string
    onapName:
      type: string
    configAttributes:
      type: string
    unique:
      type: boolean
   
  substitution_mappings:
    node_type: tosca.dcae.nodes.policies
    capabilities:
      policy:
      - NO_PREFIX
      - policy
  node_templates:
    NO_PREFIX:
      type: dcae.nodes.policies
      properties:
        policy_filter: 
          policyName: {get_input: policyName}
          configName: {get_input: configName}
          onapName:   {get_input: onapName}
          configAttributes: {get_input: configAttributes}
          unique:     {get_input: unique}