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