summaryrefslogtreecommitdiffstats
path: root/models-tosca/src/test/resources/onap.policies.NoVersion.yaml
blob: c8562dad0ea7252f1dfc5bbd248036c9d1b0dcb4 (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_1_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