Changing sdc directory to unzipped_sdc_csar
[integration/csit.git] / plans / so / integration-etsi-testing / config / distribution-test-unzipped / unzipped_sdc_csar / v1 / catalog / services / Manualdistributiontestservice / 1.0 / resourceInstances / manualdistributiontestvnf0 / artifacts / policies.yml
1 #
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
5 #
6 #      http://www.apache.org/licenses/LICENSE-2.0
7 #
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.
13 #
14 tosca_definitions_version: tosca_simple_yaml_1_1
15 imports:
16 - data.yml
17 policy_types:
18   tosca.policies.Root:
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
35     properties:
36       name:
37         type: string
38         description: The name of the policy
39         required: false
40         status: SUPPORTED
41       container_type:
42         type: string
43         description: container type
44         required: false
45         status: SUPPORTED
46         constraints:
47         - valid_values:
48           - host
49           - region
50           - compute
51   org.openecomp.policies.placement.Colocate:
52     derived_from: tosca.policies.Placement
53     description: Keep associated nodes (groups of nodes) based upon affinity value
54     properties:
55       name:
56         type: string
57         description: The name of the policy
58         required: false
59         status: SUPPORTED
60       affinity:
61         type: string
62         description: affinity
63         required: true
64         status: SUPPORTED
65         constraints:
66         - valid_values:
67           - host
68           - region
69           - compute
70   org.openecomp.policies.placement.valet.Diversity:
71     derived_from: tosca.policies.Placement
72     description: Valet Diversity
73     properties:
74       level:
75         type: string
76         description: diversity
77         required: false
78         default: host
79         status: SUPPORTED
80         constraints:
81         - valid_values:
82           - host
83           - rack
84   org.openecomp.policies.placement.valet.Exclusivity:
85     derived_from: tosca.policies.Placement
86     description: Valet Exclusivity
87     properties:
88       level:
89         type: string
90         description: exclusivity
91         required: false
92         default: host
93         status: SUPPORTED
94         constraints:
95         - valid_values:
96           - host
97           - rack
98   org.openecomp.policies.placement.valet.Affinity:
99     derived_from: tosca.policies.Placement
100     description: Valet Affinity
101     properties:
102       level:
103         type: string
104         description: affinity
105         required: false
106         default: host
107         status: SUPPORTED
108         constraints:
109         - valid_values:
110           - host
111           - rack
112   org.openecomp.policies.scaling.Fixed:
113     derived_from: tosca.policies.Scaling
114     properties:
115       quantity:
116         description: the exact number of instances to keep up
117         type: integer
118         required: true
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")
122     properties:
123       source:
124         type: string
125         description: The name of the server that exposes the policy with predefined type and name.
126         required: false
127       type:
128         type: string
129         description: The type (category) of the policy same as it is defined in the source.
130         required: false
131       name:
132         type: string
133         description: The name of the policy, that related to specific type, same as it is defined in the source.
134         required: false
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
140     version: 1.0.0
141     properties:
142       tca_policy:
143         type: map
144         description: TCA Policy JSON
145         entry_schema:
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].
150     properties:
151       levels:
152         type: map
153         description: Describes the various levels of resources that can be used to instantiate the VNF using this flavour.
154         required: true
155         entry_schema:
156           type: tosca.datatypes.nfv.InstantiationLevel
157       default_level:
158         type: string
159         description: The default instantiation level for this flavour.
160         required: false
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]
164     properties:
165       levels:
166         type: map
167         description: Describes the Vdu.Compute levels of resources that can be used to instantiate the VNF using this flavour
168         required: true
169         entry_schema:
170           type: tosca.datatypes.nfv.VduLevel
171     targets:
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].
176     properties:
177       levels:
178         type: map
179         description: Describes the virtual link levels of resources that can be used to instantiate the VNF using this flavour.
180         required: true
181         entry_schema:
182           type: tosca.datatypes.nfv.VirtualLinkBitrateLevel
183     targets:
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].
188     properties:
189       aspects:
190         type: map
191         description: Describe maximum scale level for total number of scaling steps that can be applied to a particular aspect
192         required: true
193         entry_schema:
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].
198     properties:
199       aspect:
200         type: string
201         description: Represents the scaling aspect to which this policy applies
202         required: true
203       deltas:
204         type: map
205         description: Describes the Vdu.Compute scaling deltas to be applied for every scaling steps of a particular aspect.
206         required: true
207         entry_schema:
208           type: tosca.datatypes.nfv.VduLevel
209     targets:
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].
214     properties:
215       aspect:
216         type: string
217         description: Represents the scaling aspect to which this policy applies.
218         required: true
219       deltas:
220         type: map
221         description: Describes the VnfVirtualLink scaling deltas to be applied for every scaling steps of a particular aspect.
222         required: true
223         entry_schema:
224           type: tosca.datatypes.nfv.VirtualLinkBitrateLevel
225     targets:
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].
230     properties:
231       initial_delta:
232         type: tosca.datatypes.nfv.VduLevel
233         description: Represents the initial minimum size of the VNF.
234         required: true
235     targets:
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].
240     properties:
241       initial_delta:
242         type: tosca.datatypes.nfv.VirtualLinkBitrateLevel
243         description: Represents the initial minimum size of the VNF.
244         required: true
245     targets:
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].
250     properties:
251       description:
252         type: string
253         description: Human readable description of the security group rule.
254         required: false
255       direction:
256         type: string
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.
258         required: false
259         constraints:
260         - valid_values:
261           - ingress
262           - egress
263         default: ingress
264       ether_type:
265         type: string
266         description: Indicates the protocol carried over the Ethernet layer.
267         required: false
268         constraints:
269         - valid_values:
270           - ipv4
271           - ipv6
272         default: ipv4
273       protocol:
274         type: string
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.
276         required: false
277         constraints:
278         - valid_values:
279           - hopopt
280           - icmp
281           - igmp
282           - ggp
283           - ipv4
284           - st
285           - tcp
286           - cbt
287           - egp
288           - igp
289           - bbn_rcc_mon
290           - nvp_ii
291           - pup
292           - argus
293           - emcon
294           - xnet
295           - chaos
296           - udp
297           - mux
298           - dcn_meas
299           - hmp
300           - prm
301           - xns_idp
302           - trunk_1
303           - trunk_2
304           - leaf_1
305           - leaf_2
306           - rdp
307           - irtp
308           - iso_tp4
309           - netblt
310           - mfe_nsp
311           - merit_inp
312           - dccp
313           - 3pc
314           - idpr
315           - xtp
316           - ddp
317           - idpr_cmtp
318           - tp++
319           - il
320           - ipv6
321           - sdrp
322           - ipv6_route
323           - ipv6_frag
324           - idrp
325           - rsvp
326           - gre
327           - dsr
328           - bna
329           - esp
330           - ah
331           - i_nlsp
332           - swipe
333           - narp
334           - mobile
335           - tlsp
336           - skip
337           - ipv6_icmp
338           - ipv6_no_nxt
339           - ipv6_opts
340           - cftp
341           - sat_expak
342           - kryptolan
343           - rvd
344           - ippc
345           - sat_mon
346           - visa
347           - ipcv
348           - cpnx
349           - cphb
350           - wsn
351           - pvp
352           - br_sat_mon
353           - sun_nd
354           - wb_mon
355           - wb_expak
356           - iso_ip
357           - vmtp
358           - secure_vmtp
359           - vines
360           - ttp
361           - iptm
362           - nsfnet_igp
363           - dgp
364           - tcf
365           - eigrp
366           - ospfigp
367           - sprite_rpc
368           - larp
369           - mtp
370           - ax.25
371           - ipip
372           - micp
373           - scc_sp
374           - etherip
375           - encap
376           - gmtp
377           - ifmp
378           - pnni
379           - pim
380           - aris
381           - scps
382           - qnx
383           - a/n
384           - ip_comp
385           - snp
386           - compaq_peer
387           - ipx_in_ip
388           - vrrp
389           - pgm
390           - l2tp
391           - ddx
392           - iatp
393           - stp
394           - srp
395           - uti
396           - smp
397           - sm
398           - ptp
399           - isis
400           - fire
401           - crtp
402           - crudp
403           - sscopmce
404           - iplt
405           - sps
406           - pipe
407           - sctp
408           - fc
409           - rsvp_e2e_ignore
410           - mobility
411           - udp_lite
412           - mpls_in_ip
413           - manet
414           - hip
415           - shim6
416           - wesp
417           - rohc
418         default: tcp
419       port_range_min:
420         type: integer
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.
422         required: false
423         constraints:
424         - greater_or_equal: 0
425         - less_or_equal: 65535
426         default: 0
427       port_range_max:
428         type: integer
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.
430         required: false
431         constraints:
432         - greater_or_equal: 0
433         - less_or_equal: 65535
434         default: 65535
435     targets:
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
441     properties:
442       interface_name:
443         type: string
444         description: Identifies an interface produced by the VNF.
445         required: true
446         constraints:
447         - valid_values:
448           - vnf_indicator
449           - vnf_configuration
450       details:
451         type: tosca.datatypes.nfv.InterfaceDetails
452         description: Provide additional data to access the interface endpoint
453         required: false
454     targets:
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
460     properties:
461       scope:
462         type: string
463         description: scope of the rule is an NFVI_node, an NFVI_PoP, etc.
464         required: true
465         constraints:
466         - valid_values:
467           - nfvi_node
468           - zone
469           - zone_group
470           - nfvi_pop
471     targets:
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
478     properties:
479       scope:
480         type: string
481         description: scope of the rule is an NFVI_node, an NFVI_PoP, etc.
482         required: true
483         constraints:
484         - valid_values:
485           - nfvi_node
486           - zone
487           - zone_group
488           - nfvi_pop
489     targets:
490     - tosca.nodes.nfv.Vdu.Compute
491     - tosca.nodes.nfv.VnfVirtualLink
492     - tosca.groups.nfv.PlacementGroup