summaryrefslogtreecommitdiffstats
path: root/models-tosca/src/test/resources/onap.policies.NoVersion.yaml
blob: 7d1262b7ddb2bd3238d36777073e36dc96106fea (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
tosca_definitions_version: tosca_simple_yaml_1_0_0
policy_types:
   onap.policies.NoVersion:
      derived_from: onap.policies.Optimization
      properties:
         applicableResources:
            type: list
            required: true
            entry_schema:
               type: string
               constraints:
               -  valid_values:
                  - any
                  - all
         affinityProperties:
            type: policy.data.affinityProperties_properties
            required: true
data_types:
   policy.data.affinityProperties_properties:
      derived_from: tosca.nodes.Root
      properties:
         qualifier:
            type: string
            constraints:
            -  valid_values:
               - same
               - different
         category:
            type: string
            required: true