aboutsummaryrefslogtreecommitdiffstats
path: root/models-tosca/src/test/resources/onap.policies.NoVersion.yaml
blob: 2dda556a632420773cd968d00fc5e1654d00a8d4 (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
35
tosca_definitions_version: tosca_simple_yaml_1_0_0
policy_types:
   onap.policies.Optimization:
      derived_from: tosca.policies.Root
      version: 1.0.0
      description: The base policy type for all policies that govern optimization
   onap.policies.NoVersion:
      derived_from: onap.policies.Optimization
      version: 0.0.1
      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