Nested Dependency issues
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / subinterface / vlantagging / pattern1c2 / differentNodesConnectedOut / out / MainServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 topology_template:
10   inputs:
11     pd_flavor_name:
12       label: PD flavor name
13       hidden: false
14       immutable: false
15       annotations:
16         source:
17           type: org.openecomp.annotations.Source
18           properties:
19             vf_module_label:
20             - main
21             source_type: HEAT
22             param_name: pd_flavor_name
23       type: string
24       description: flavor name of PD instance
25       default: m3.xlarge
26     dummy_net_name_1:
27       label: csb internal network name
28       hidden: false
29       immutable: false
30       annotations:
31         source:
32           type: org.openecomp.annotations.Source
33           properties:
34             vf_module_label:
35             - main
36             source_type: HEAT
37             param_name: dummy_net_name_1
38       type: string
39       description: csb internal network name
40       default: mog_dummy_1
41     dummy_net_name_0:
42       label: csb internal network name
43       hidden: false
44       immutable: false
45       annotations:
46         source:
47           type: org.openecomp.annotations.Source
48           properties:
49             vf_module_label:
50             - main
51             source_type: HEAT
52             param_name: dummy_net_name_0
53       type: string
54       description: csb internal network name
55       default: mog_dummy_0
56     dummy_net_cidr_0:
57       label: csb ineternal cidr
58       hidden: false
59       immutable: false
60       annotations:
61         source:
62           type: org.openecomp.annotations.Source
63           properties:
64             vf_module_label:
65             - main
66             source_type: HEAT
67             param_name: dummy_net_cidr_0
68       type: string
69       description: csb internal cidr
70       default: 169.254.1.0/24
71     availabilityzone_name:
72       label: availabilityzone name
73       hidden: false
74       immutable: false
75       annotations:
76         source:
77           type: org.openecomp.annotations.Source
78           properties:
79             vf_module_label:
80             - main
81             source_type: HEAT
82             param_name: availabilityzone_name
83       type: string
84       description: availabilityzone name
85       default: nova
86     sl_net_floating_ip:
87       label: mog sl net virtual ip
88       hidden: false
89       immutable: false
90       annotations:
91         source:
92           type: org.openecomp.annotations.Source
93           properties:
94             vf_module_label:
95             - main
96             source_type: HEAT
97             param_name: sl_net_floating_ip
98       type: string
99       description: mog sl net virtual ip
100       default: 107.239.45.6
101     repl_net_ips:
102       label: repl network ips
103       hidden: false
104       immutable: false
105       annotations:
106         source:
107           type: org.openecomp.annotations.Source
108           properties:
109             vf_module_label:
110             - main
111             source_type: HEAT
112             param_name: repl_net_ips
113       type: list
114       description: ips of repl network
115       default:
116       - 107.239.33.57
117       - 107.239.33.58
118       entry_schema:
119         type: string
120     sl_net_name:
121       label: silver lining network name
122       hidden: false
123       immutable: false
124       annotations:
125         source:
126           type: org.openecomp.annotations.Source
127           properties:
128             vf_module_label:
129             - main
130             source_type: HEAT
131             param_name: sl_net_name
132       type: string
133       description: id of the sl network
134       default: exn_protected_net_0
135     rx_net_floating_ip:
136       label: mog rx net virtual ip
137       hidden: false
138       immutable: false
139       annotations:
140         source:
141           type: org.openecomp.annotations.Source
142           properties:
143             vf_module_label:
144             - main
145             source_type: HEAT
146             param_name: rx_net_floating_ip
147       type: string
148       description: mog rx net virtual ip
149       default: 107.239.34.5
150     pd_image_name:
151       label: image name
152       hidden: false
153       immutable: false
154       annotations:
155         source:
156           type: org.openecomp.annotations.Source
157           properties:
158             vf_module_label:
159             - main
160             source_type: HEAT
161             param_name: pd_image_name
162       type: string
163       description: PD image name
164       default: MOG_BASE_8.0
165     pd_server_names:
166       label: PD server names
167       hidden: false
168       immutable: false
169       annotations:
170         source:
171           type: org.openecomp.annotations.Source
172           properties:
173             vf_module_label:
174             - main
175             source_type: HEAT
176             param_name: pd_server_names
177       type: list
178       description: name of the PD instance
179       default:
180       - ZRDM1MOGX01MPD001
181       - ZRDM1MOGX01MPD002
182       entry_schema:
183         type: string
184     sm_server_names:
185       label: SM server names
186       hidden: false
187       immutable: false
188       annotations:
189         source:
190           type: org.openecomp.annotations.Source
191           properties:
192             vf_module_label:
193             - main
194             source_type: HEAT
195             param_name: sm_server_names
196       type: list
197       description: name of the SM instance
198       default:
199       - ZRDM1MOGX01MSM001
200       - ZRDM1MOGX01MSM002
201       entry_schema:
202         type: string
203     csb_net_start:
204       label: csb internal start
205       hidden: false
206       immutable: false
207       annotations:
208         source:
209           type: org.openecomp.annotations.Source
210           properties:
211             vf_module_label:
212             - main
213             source_type: HEAT
214             param_name: csb_net_start
215       type: string
216       description: csb internal start
217       default: 172.26.0.1
218     dummy_net_netmask_0:
219       hidden: false
220       immutable: false
221       annotations:
222         source:
223           type: org.openecomp.annotations.Source
224           properties:
225             vf_module_label:
226             - main
227             source_type: HEAT
228             param_name: dummy_net_netmask_0
229       type: string
230       description: CSB internal network subnet mask
231       default: 255.255.255.0
232     cm_image_name:
233       label: image name
234       hidden: false
235       immutable: false
236       annotations:
237         source:
238           type: org.openecomp.annotations.Source
239           properties:
240             vf_module_label:
241             - main
242             source_type: HEAT
243             param_name: cm_image_name
244       type: string
245       description: CM image name
246       default: MOG_BASE_8.0
247     ran_net_floating_ip:
248       label: mog ran net virtual ip
249       hidden: false
250       immutable: false
251       annotations:
252         source:
253           type: org.openecomp.annotations.Source
254           properties:
255             vf_module_label:
256             - main
257             source_type: HEAT
258             param_name: ran_net_floating_ip
259       type: string
260       description: mog ran net virtual ip
261       default: 107.239.36.5
262     sm_flavor_name:
263       label: SM flavor name
264       hidden: false
265       immutable: false
266       annotations:
267         source:
268           type: org.openecomp.annotations.Source
269           properties:
270             vf_module_label:
271             - main
272             source_type: HEAT
273             param_name: sm_flavor_name
274       type: string
275       description: flavor name of SM instance
276       default: m2.xlarge4
277     ran_net_ips:
278       label: RAN network ips
279       hidden: false
280       immutable: false
281       annotations:
282         source:
283           type: org.openecomp.annotations.Source
284           properties:
285             vf_module_label:
286             - main
287             source_type: HEAT
288             param_name: ran_net_ips
289       type: list
290       description: RAN network ip
291       default:
292       - 107.239.36.3
293       - 107.239.36.4
294       entry_schema:
295         type: string
296     ps_image_name:
297       label: PS image name
298       hidden: false
299       immutable: false
300       annotations:
301         source:
302           type: org.openecomp.annotations.Source
303           properties:
304             vf_module_label:
305             - main
306             source_type: HEAT
307             param_name: ps_image_name
308       type: string
309       description: PS image name
310       default: MOG_BASE_8.0
311     dummy_net_end_0:
312       label: csb internal end
313       hidden: false
314       immutable: false
315       annotations:
316         source:
317           type: org.openecomp.annotations.Source
318           properties:
319             vf_module_label:
320             - main
321             source_type: HEAT
322             param_name: dummy_net_end_0
323       type: string
324       description: csb internal end
325       default: 169.254.1.254
326     oam_image_name:
327       label: image name
328       hidden: false
329       immutable: false
330       annotations:
331         source:
332           type: org.openecomp.annotations.Source
333           properties:
334             vf_module_label:
335             - main
336             source_type: HEAT
337             param_name: oam_image_name
338       type: string
339       description: OAM image name
340       default: MOG_BASE_8.0
341     oam_server_names:
342       label: OAM server names
343       hidden: false
344       immutable: false
345       annotations:
346         source:
347           type: org.openecomp.annotations.Source
348           properties:
349             vf_module_label:
350             - main
351             source_type: HEAT
352             param_name: oam_server_names
353       type: list
354       description: name of the OAM instance
355       default:
356       - ZRDM1MOGX01OAM001
357       - ZRDM1MOGX01OAM002
358       entry_schema:
359         type: string
360     oam_net_name:
361       label: oam network name
362       hidden: false
363       immutable: false
364       annotations:
365         source:
366           type: org.openecomp.annotations.Source
367           properties:
368             vf_module_label:
369             - main
370             source_type: HEAT
371             param_name: oam_net_name
372       type: string
373       description: name of the oam network
374       default: oam_protected_net_0
375     oam_net_ips:
376       label: internet network ips
377       hidden: false
378       immutable: false
379       annotations:
380         source:
381           type: org.openecomp.annotations.Source
382           properties:
383             vf_module_label:
384             - main
385             source_type: HEAT
386             param_name: oam_net_ips
387       type: list
388       description: ip of the OAM network
389       default:
390       - 107.250.172.213
391       - 107.250.172.214
392       - 107.250.172.215
393       - 107.250.172.216
394       - 107.250.172.217
395       entry_schema:
396         type: string
397     csb_net_cidr:
398       label: csb ineternal cidr
399       hidden: false
400       immutable: false
401       annotations:
402         source:
403           type: org.openecomp.annotations.Source
404           properties:
405             vf_module_label:
406             - main
407             source_type: HEAT
408             param_name: csb_net_cidr
409       type: string
410       description: csb internal cidr
411       default: 172.26.0.0/24
412     ran_net_name:
413       label: RAN network name
414       hidden: false
415       immutable: false
416       annotations:
417         source:
418           type: org.openecomp.annotations.Source
419           properties:
420             vf_module_label:
421             - main
422             source_type: HEAT
423             param_name: ran_net_name
424       type: string
425       description: RAN network name
426       default: gn_direct_net_0
427     cm_server_names:
428       label: CM server names
429       hidden: false
430       immutable: false
431       annotations:
432         source:
433           type: org.openecomp.annotations.Source
434           properties:
435             vf_module_label:
436             - main
437             source_type: HEAT
438             param_name: cm_server_names
439       type: list
440       description: name of the CM instance
441       default:
442       - ZRDM1MOGX01MCM001
443       entry_schema:
444         type: string
445     sl_net_ips:
446       label: silver lining network ips
447       hidden: false
448       immutable: false
449       annotations:
450         source:
451           type: org.openecomp.annotations.Source
452           properties:
453             vf_module_label:
454             - main
455             source_type: HEAT
456             param_name: sl_net_ips
457       type: list
458       description: ips of the sl network
459       default:
460       - 107.239.45.4
461       - 107.239.45.5
462       entry_schema:
463         type: string
464     rx_net_name:
465       label: Rx network name
466       hidden: false
467       immutable: false
468       annotations:
469         source:
470           type: org.openecomp.annotations.Source
471           properties:
472             vf_module_label:
473             - main
474             source_type: HEAT
475             param_name: rx_net_name
476       type: string
477       description: Rx network name
478       default: cor_direct_net_1
479     csb_net_netmask:
480       hidden: false
481       immutable: false
482       annotations:
483         source:
484           type: org.openecomp.annotations.Source
485           properties:
486             vf_module_label:
487             - main
488             source_type: HEAT
489             param_name: csb_net_netmask
490       type: string
491       description: CSB internal network subnet mask
492       default: 255.255.255.0
493     oam_flavor_name:
494       label: OAM flavor name
495       hidden: false
496       immutable: false
497       annotations:
498         source:
499           type: org.openecomp.annotations.Source
500           properties:
501             vf_module_label:
502             - main
503             source_type: HEAT
504             param_name: oam_flavor_name
505       type: string
506       description: flavor name of OAM instance
507       default: m3.xlarge
508     repl_net_name:
509       label: Replication network name
510       hidden: false
511       immutable: false
512       annotations:
513         source:
514           type: org.openecomp.annotations.Source
515           properties:
516             vf_module_label:
517             - main
518             source_type: HEAT
519             param_name: repl_net_name
520       type: string
521       description: name of the replication network
522       default: cor_direct_net_0
523     csb_net_end:
524       label: csb internal end
525       hidden: false
526       immutable: false
527       annotations:
528         source:
529           type: org.openecomp.annotations.Source
530           properties:
531             vf_module_label:
532             - main
533             source_type: HEAT
534             param_name: csb_net_end
535       type: string
536       description: csb internal end
537       default: 172.26.0.254
538     dummy_net_start_0:
539       label: csb internal start
540       hidden: false
541       immutable: false
542       annotations:
543         source:
544           type: org.openecomp.annotations.Source
545           properties:
546             vf_module_label:
547             - main
548             source_type: HEAT
549             param_name: dummy_net_start_0
550       type: string
551       description: csb internal start
552       default: 169.254.1.4
553     jsa_net_name:
554       hidden: false
555       immutable: false
556       annotations:
557         source:
558           type: org.openecomp.annotations.Source
559           properties:
560             vf_module_label:
561             - main
562             source_type: HEAT
563             param_name: jsa_net_name
564       type: string
565       description: network name of jsa log network
566     cm_flavor_name:
567       label: CM flavor name
568       hidden: false
569       immutable: false
570       annotations:
571         source:
572           type: org.openecomp.annotations.Source
573           properties:
574             vf_module_label:
575             - main
576             source_type: HEAT
577             param_name: cm_flavor_name
578       type: string
579       description: flavor name of CM instance
580       default: m3.xlarge
581     sm_image_name:
582       label: image name
583       hidden: false
584       immutable: false
585       annotations:
586         source:
587           type: org.openecomp.annotations.Source
588           properties:
589             vf_module_label:
590             - main
591             source_type: HEAT
592             param_name: sm_image_name
593       type: string
594       description: SM image name
595       default: MOG_BASE_8.0
596     csb_net_name:
597       label: csb internal network name
598       hidden: false
599       immutable: false
600       annotations:
601         source:
602           type: org.openecomp.annotations.Source
603           properties:
604             vf_module_label:
605             - main
606             source_type: HEAT
607             param_name: csb_net_name
608       type: string
609       description: csb internal network name
610       default: int_mog_csb_net
611     ps_server_names:
612       label: PS server names
613       hidden: false
614       immutable: false
615       annotations:
616         source:
617           type: org.openecomp.annotations.Source
618           properties:
619             vf_module_label:
620             - main
621             source_type: HEAT
622             param_name: ps_server_names
623       type: list
624       description: name of the PS instance
625       default:
626       - ZRDM1MOGX01MPS001
627       - ZRDM1MOGX01MPS002
628       - ZRDM1MOGX01MPS003
629       - ZRDM1MOGX01MPS004
630       entry_schema:
631         type: string
632     csb_net_ips:
633       hidden: false
634       immutable: false
635       annotations:
636         source:
637           type: org.openecomp.annotations.Source
638           properties:
639             vf_module_label:
640             - main
641             source_type: HEAT
642             param_name: csb_net_ips
643       type: list
644       description: mog_csb_net IP addresses
645       default:
646       - 172.26.0.10
647       - 172.26.0.11
648       - 172.26.0.12
649       - 172.26.0.13
650       - 172.26.0.14
651       - 172.26.0.15
652       - 172.26.0.16
653       - 172.26.0.17
654       - 172.26.0.18
655       - 172.26.0.19
656       - 172.26.0.20
657       entry_schema:
658         type: string
659     ps_flavor_name:
660       label: PS flavor name
661       hidden: false
662       immutable: false
663       annotations:
664         source:
665           type: org.openecomp.annotations.Source
666           properties:
667             vf_module_label:
668             - main
669             source_type: HEAT
670             param_name: ps_flavor_name
671       type: string
672       description: flavor name of PS instance
673       default: m3.xlarge
674     rx_net_ips:
675       label: Rx network ips
676       hidden: false
677       immutable: false
678       annotations:
679         source:
680           type: org.openecomp.annotations.Source
681           properties:
682             vf_module_label:
683             - main
684             source_type: HEAT
685             param_name: rx_net_ips
686       type: list
687       description: Rx network ips
688       default:
689       - 107.239.34.3
690       - 107.239.34.4
691       entry_schema:
692         type: string
693   node_templates:
694     test_net2:
695       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
696       properties:
697         shared: true
698         network_name:
699           get_input: jsa_net_name
700     test_net1:
701       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
702       properties:
703         shared: true
704         network_name:
705           get_input: jsa_net_name
706     abstract_pd_server_0:
707       type: org.openecomp.resource.abstract.nodes.pd_server
708       directives:
709       - substitutable
710       properties:
711         compute_pd_server_availability_zone:
712         - get_input: availabilityzone_name
713         compute_pd_server_name:
714         - get_input:
715           - pd_server_names
716           - 1
717         subinterface_nested_service_template_filter_count:
718         - 9
719         vm_flavor_name:
720           get_input: pd_flavor_name
721         subinterface_nested_p1:
722         - pd01_port_1
723         port_pd01_port_mac_requirements:
724           mac_count_required:
725             is_required: false
726         vm_image_name:
727           get_input: pd_image_name
728         port_pd01_port_ip_requirements:
729         - ip_version: 4
730           ip_count_required:
731             is_required: false
732           floating_ip_count_required:
733             is_required: false
734         port_pd01_port_network:
735         - get_input: oam_net_name
736         subinterface_nested_net1:
737         - test_net1
738         port_pd01_port_network_role_tag: oam
739         compute_pd_server_user_data_format:
740         - RAW
741         service_template_filter:
742           substitute_service_template: Nested_pd_serverServiceTemplate.yaml
743           count: 1
744         index_value:
745           get_property:
746           - SELF
747           - service_template_filter
748           - index_value
749       requirements:
750       - subinterface_link_template_Vlan_vmi_1_pd_server_pd01_port_nested:
751           capability: tosca.capabilities.network.Linkable
752           node: test_net1
753           relationship: tosca.relationships.network.LinksTo
754     abstract_pd_server_1:
755       type: org.openecomp.resource.abstract.nodes.pd_server
756       directives:
757       - substitutable
758       properties:
759         compute_pd_server_availability_zone:
760         - get_input: availabilityzone_name
761         compute_pd_server_name:
762         - get_input:
763           - pd_server_names
764           - 0
765         subinterface_nested_service_template_filter_count:
766         - 19
767         vm_flavor_name:
768           get_input: pd_flavor_name
769         subinterface_nested_p1:
770         - pd01_port_0
771         port_pd01_port_mac_requirements:
772           mac_count_required:
773             is_required: false
774         vm_image_name:
775           get_input: pd_image_name
776         port_pd01_port_ip_requirements:
777         - ip_version: 4
778           ip_count_required:
779             is_required: false
780           floating_ip_count_required:
781             is_required: false
782         port_pd01_port_network:
783         - get_input: oam_net_name
784         subinterface_nested_net1:
785         - test_net1
786         port_pd01_port_network_role_tag: oam
787         compute_pd_server_user_data_format:
788         - RAW
789         service_template_filter:
790           substitute_service_template: Nested_pd_serverServiceTemplate.yaml
791           count: 1
792         index_value:
793           get_property:
794           - SELF
795           - service_template_filter
796           - index_value
797       requirements:
798       - subinterface_link_template_Vlan_vmi_1_pd_server_pd01_port_nested:
799           capability: tosca.capabilities.network.Linkable
800           node: test_net1
801           relationship: tosca.relationships.network.LinksTo
802   groups:
803     main_group:
804       type: org.openecomp.groups.heat.HeatStack
805       properties:
806         heat_file: ../Artifacts/main.yml
807         description: heat template that creates MOG stack
808       members:
809       - test_net2
810       - test_net1
811       - abstract_pd_server_0
812       - abstract_pd_server_1