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