2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
6 # http://www.apache.org/licenses/LICENSE-2.0
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
14 tosca_definitions_version: tosca_simple_yaml_1_1
19 description: The TOSCA Policy Type all other TOSCA Policy Types derive from
20 tosca.policies.Placement:
21 derived_from: tosca.policies.Root
22 description: The TOSCA Policy Type definition that is used to govern placement of TOSCA nodes or groups of nodes.
23 tosca.policies.Scaling:
24 derived_from: tosca.policies.Root
25 description: The TOSCA Policy Type definition that is used to govern scaling of TOSCA nodes or groups of nodes.
26 tosca.policies.Update:
27 derived_from: tosca.policies.Root
28 description: The TOSCA Policy Type definition that is used to govern update of TOSCA nodes or groups of nodes.
29 tosca.policies.Performance:
30 derived_from: tosca.policies.Root
31 description: The TOSCA Policy Type definition that is used to declare performance requirements for TOSCA nodes or groups of nodes.
32 org.openecomp.policies.placement.Antilocate:
33 derived_from: tosca.policies.Placement
34 description: My placement policy for separation based upon container type value
38 description: The name of the policy
43 description: container type
51 org.openecomp.policies.placement.Colocate:
52 derived_from: tosca.policies.Placement
53 description: Keep associated nodes (groups of nodes) based upon affinity value
57 description: The name of the policy
70 org.openecomp.policies.placement.valet.Diversity:
71 derived_from: tosca.policies.Placement
72 description: Valet Diversity
76 description: diversity
84 org.openecomp.policies.placement.valet.Exclusivity:
85 derived_from: tosca.policies.Placement
86 description: Valet Exclusivity
90 description: exclusivity
98 org.openecomp.policies.placement.valet.Affinity:
99 derived_from: tosca.policies.Placement
100 description: Valet Affinity
104 description: affinity
112 org.openecomp.policies.scaling.Fixed:
113 derived_from: tosca.policies.Scaling
116 description: the exact number of instances to keep up
119 org.openecomp.policies.External:
120 derived_from: tosca.policies.Root
121 description: externally managed policy (for example, type="network assignment", source="Policy Manager", name="route target")
125 description: The name of the server that exposes the policy with predefined type and name.
129 description: The type (category) of the policy same as it is defined in the source.
133 description: The name of the policy, that related to specific type, same as it is defined in the source.