summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/import/tosca/policy-types/policyTypes.yml
blob: 57f4b45abee2a883b7b34eb4d62c0b407f964e5a (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
tosca.policies.Root:
  description: The TOSCA Policy Type all other TOSCA Policy Types derive from
tosca.policies.Placement:
  derived_from: tosca.policies.Root
  description: The TOSCA Policy Type definition that is used to govern placement of TOSCA nodes or groups of nodes.
tosca.policies.Scaling:
  derived_from: tosca.policies.Root
  description: The TOSCA Policy Type definition that is used to govern scaling of TOSCA nodes or groups of nodes.
tosca.policies.Update:
  derived_from: tosca.policies.Root
  description: The TOSCA Policy Type definition that is used to govern update of TOSCA nodes or groups of nodes.
tosca.policies.Performance:
  derived_from: tosca.policies.Root
  description: The TOSCA Policy Type definition that is used to declare performance requirements for TOSCA nodes or groups of nodes.
org.openecomp.policies.placement.Antilocate:
  derived_from: tosca.policies.Placement
  description: My placement policy for separation based upon container type value
  properties:
    name:
      type: string
      description: The name of the policy
      required: false
      status: SUPPORTED
    container_type:
      type: string
      description: container type
      required: false
      status: SUPPORTED
      constraints:
      - valid_values:
        - host
        - region
        - compute
org.openecomp.policies.placement.Colocate:
  derived_from: tosca.policies.Placement
  description: Keep associated nodes (groups of nodes) based upon affinity value
  properties:
    name:
      type: string
      description: The name of the policy
      required: false
      status: SUPPORTED
    affinity:
      type: string
      description: affinity
      required: true
      status: SUPPORTED
      constraints:
      - valid_values:
        - host
        - region
        - compute
org.openecomp.policies.placement.valet.Diversity:
  derived_from: tosca.policies.Placement
  description: Valet Diversity
  properties:
    level:
      type: string
      description: diversity
      required: false
      default: host
      status: SUPPORTED
      constraints:
      - valid_values:
        - host
        - rack
org.openecomp.policies.placement.valet.Exclusivity:
  derived_from: tosca.policies.Placement
  description: Valet Exclusivity
  properties:
    level:
      type: string
      description: exclusivity
      required: false
      default: host
      status: SUPPORTED
      constraints:
      - valid_values:
        - host
        - rack
org.openecomp.policies.placement.valet.Affinity:
  derived_from: tosca.policies.Placement
  description: Valet Affinity
  properties:
    level:
      type: string
      description: affinity
      required: false
      default: host
      status: SUPPORTED
      constraints:
      - valid_values:
        - host
        - rack
org.openecomp.policies.scaling.Fixed:
  derived_from: tosca.policies.Scaling
  properties:
    quantity:
      description: the exact number of instances to keep up
      type: integer
      required: true
org.openecomp.policies.External:
  derived_from: tosca.policies.Root
  description: externally managed policy (for example, type="network assignment", source="Policy Manager", name="route target")
  properties:
    source:
      type: string
      description: The name of the server that exposes the policy with predefined type and name.
      required: false
    type:
      type: string
      description: The type (category) of the policy same as it is defined in the source.
      required: false
    name:
      type: string
      description: The name of the policy, that related to specific type, same as it is defined in the source.
      required: false