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.
135 onap.policies.Monitoring:
136 derived_from: tosca.policies.Root
137 description: A base policy type for all policies that governs monitoring provisioning
138 onap.policies.monitoring.cdap.tca.hi.lo.app:
139 derived_from: onap.policies.Monitoring
144 description: TCA Policy JSON
146 type: onap.datatypes.monitoring.tca_policy
147 tosca.policies.nfv.InstantiationLevels:
148 derived_from: tosca.policies.Root
149 description: The InstantiationLevels type is a policy type representing all the instantiation levels of resources to be instantiated within a deployment flavour and including default instantiation level in term of the number of VNFC instances to be created as defined in ETSI GS NFV-IFA 011 [1].
153 description: Describes the various levels of resources that can be used to instantiate the VNF using this flavour.
156 type: tosca.datatypes.nfv.InstantiationLevel
159 description: The default instantiation level for this flavour.
161 tosca.policies.nfv.VduInstantiationLevels:
162 derived_from: tosca.policies.Root
163 description: The VduInstantiationLevels type is a policy type representing all the instantiation levels of resources to be instantiated within a deployment flavour in term of the number of VNFC instances to be created from each vdu.Compute. as defined in ETSI GS NFV-IFA 011 [1]
167 description: Describes the Vdu.Compute levels of resources that can be used to instantiate the VNF using this flavour
170 type: tosca.datatypes.nfv.VduLevel
172 - tosca.nodes.nfv.Vdu.Compute
173 tosca.policies.nfv.VirtualLinkInstantiationLevels:
174 derived_from: tosca.policies.Root
175 description: The VirtualLinkInstantiationLevels type is a policy type representing all the instantiation levels of virtual link resources to be instantiated within a deployment flavour as defined in ETSI GS NFV-IFA 011 [1].
179 description: Describes the virtual link levels of resources that can be used to instantiate the VNF using this flavour.
182 type: tosca.datatypes.nfv.VirtualLinkBitrateLevel
184 - tosca.nodes.nfv.VnfVirtualLink
185 tosca.policies.nfv.ScalingAspects:
186 derived_from: tosca.policies.Root
187 description: The ScalingAspects type is a policy type representing the scaling aspects used for horizontal scaling as defined in ETSI GS NFV-IFA 011 [1].
191 description: Describe maximum scale level for total number of scaling steps that can be applied to a particular aspect
194 type: tosca.datatypes.nfv.ScalingAspect
195 tosca.policies.nfv.VduScalingAspectDeltas:
196 derived_from: tosca.policies.Root
197 description: The VduScalingAspectDeltas type is a policy type representing the Vdu.Compute detail of an aspect deltas used for horizontal scaling, as defined in ETSI GS NFV-IFA 011 [1].
201 description: Represents the scaling aspect to which this policy applies
205 description: Describes the Vdu.Compute scaling deltas to be applied for every scaling steps of a particular aspect.
208 type: tosca.datatypes.nfv.VduLevel
210 - tosca.nodes.nfv.Vdu.Compute
211 tosca.policies.nfv.VirtualLinkBitrateScalingAspectDeltas:
212 derived_from: tosca.policies.Root
213 description: The VirtualLinkBitrateScalingAspectDeltas type is a policy type representing the VnfVirtualLink detail of an aspect deltas used for horizontal scaling, as defined in ETSI GS NFV-IFA 011 [1].
217 description: Represents the scaling aspect to which this policy applies.
221 description: Describes the VnfVirtualLink scaling deltas to be applied for every scaling steps of a particular aspect.
224 type: tosca.datatypes.nfv.VirtualLinkBitrateLevel
226 - tosca.nodes.nfv.VnfVirtualLink
227 tosca.policies.nfv.VduInitialDelta:
228 derived_from: tosca.policies.Root
229 description: The VduInitialDelta type is a policy type representing the Vdu.Compute detail of an initial delta used for horizontal scaling, as defined in ETSI GS NFV-IFA 011 [1].
232 type: tosca.datatypes.nfv.VduLevel
233 description: Represents the initial minimum size of the VNF.
236 - tosca.nodes.nfv.Vdu.Compute
237 tosca.policies.nfv.VirtualLinkBitrateInitialDelta:
238 derived_from: tosca.policies.Root
239 description: The VirtualLinkBitrateInitialDelta type is a policy type representing the VnfVirtualLink detail of an initial deltas used for horizontal scaling, as defined in ETSI GS NFV-IFA 011 [1].
242 type: tosca.datatypes.nfv.VirtualLinkBitrateLevel
243 description: Represents the initial minimum size of the VNF.
246 - tosca.nodes.nfv.VnfVirtualLink
247 tosca.policies.nfv.SecurityGroupRule:
248 derived_from: tosca.policies.Root
249 description: The SecurityGroupRule type is a policy type specified the matching criteria for the ingress and/or egress traffic to/from visited connection points as defined in ETSI GS NFV-IFA 011 [1].
253 description: Human readable description of the security group rule.
257 description: The direction in which the security group rule is applied. The direction of 'ingress' or 'egress' is specified against the associated CP. I.e., 'ingress' means the packets entering a CP, while 'egress' means the packets sent out of a CP.
266 description: Indicates the protocol carried over the Ethernet layer.
275 description: Indicates the protocol carried over the IP layer. Permitted values include any protocol defined in the IANA protocol registry, e.g. TCP, UDP, ICMP, etc.
421 description: Indicates minimum port number in the range that is matched by the security group rule. If a value is provided at design-time, this value may be overridden at run-time based on other deployment requirements or constraints.
424 - greater_or_equal: 0
425 - less_or_equal: 65535
429 description: Indicates maximum port number in the range that is matched by the security group rule. If a value is provided at design-time, this value may be overridden at run-time based on other deployment requirements or constraints.
432 - greater_or_equal: 0
433 - less_or_equal: 65535
436 - tosca.nodes.nfv.VduCp
437 - tosca.nodes.nfv.VnfExtCp
438 tosca.policies.nfv.SupportedVnfInterface:
439 derived_from: tosca.policies.Root
440 description: this policy type represents interfaces produced by a VNF, the details to access them and the applicable connection points to use to access these interfaces
444 description: Identifies an interface produced by the VNF.
451 type: tosca.datatypes.nfv.InterfaceDetails
452 description: Provide additional data to access the interface endpoint
455 - tosca.nodes.nfv.VnfExtCp
456 - tosca.nodes.nfv.VduCp
457 tosca.policies.nfv.AffinityRule:
458 derived_from: tosca.policies.Placement
459 description: The AffinityRule describes the affinity rules applicable for the defined targets
463 description: scope of the rule is an NFVI_node, an NFVI_PoP, etc.
472 - tosca.nodes.nfv.Vdu.Compute
473 - tosca.nodes.nfv.VnfVirtualLink
474 - tosca.groups.nfv.PlacementGroup
475 tosca.policies.nfv.AntiAffinityRule:
476 derived_from: tosca.policies.Placement
477 description: The AntiAffinityRule describes the anti-affinity rules applicable for the defined targets
481 description: scope of the rule is an NFVI_node, an NFVI_PoP, etc.
490 - tosca.nodes.nfv.Vdu.Compute
491 - tosca.nodes.nfv.VnfVirtualLink
492 - tosca.groups.nfv.PlacementGroup