746966189d64ab7b017b6df124cf480f5028bed8
[sdc.git] /
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 node_types:
8   org.openecomp.resource.vfc.nodes.heat.FSB2:
9     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
10   org.openecomp.resource.vfc.nodes.heat.FSB1:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     Internal2_name:
15       label: Internal2_name
16       hidden: false
17       immutable: false
18       annotations:
19         source:
20           type: org.openecomp.annotations.Source
21           properties:
22             vf_module_label:
23             - ep-jsa_net
24             source_type: HEAT
25             param_name: Internal2_name
26       type: string
27       description: Internal2_name
28     FSB1_volume_name:
29       label: FSB1_volume
30       hidden: false
31       immutable: false
32       annotations:
33         source:
34           type: org.openecomp.annotations.Source
35           properties:
36             vf_module_label:
37             - ep-jsa_net
38             source_type: HEAT
39             param_name: FSB1_volume_name
40       type: string
41       description: FSB1_volume_1
42     jsa_cidr:
43       label: jsa_cidr
44       hidden: false
45       immutable: false
46       annotations:
47         source:
48           type: org.openecomp.annotations.Source
49           properties:
50             vf_module_label:
51             - ep-jsa_net
52             source_type: HEAT
53             param_name: jsa_cidr
54       type: string
55       description: jsa_cidr
56     availabilityzone_name:
57       label: availabilityzone_name
58       hidden: false
59       immutable: false
60       annotations:
61         source:
62           type: org.openecomp.annotations.Source
63           properties:
64             vf_module_label:
65             - ep-jsa_net
66             source_type: HEAT
67             param_name: availabilityzone_name
68       type: string
69       description: availabilityzone_name
70     Internal2_external:
71       label: Internal2_external
72       hidden: false
73       immutable: false
74       annotations:
75         source:
76           type: org.openecomp.annotations.Source
77           properties:
78             vf_module_label:
79             - ep-jsa_net
80             source_type: HEAT
81             param_name: Internal2_external
82       type: string
83       description: Internal2_external
84     vipr_atm_name_0:
85       hidden: false
86       immutable: false
87       annotations:
88         source:
89           type: org.openecomp.annotations.Source
90           properties:
91             vf_module_label:
92             - ep-jsa_net
93             source_type: HEAT
94             param_name: vipr_atm_name_0
95       type: string
96       description: prop
97     Internal2_forwarding_mode:
98       label: Internal2_forwarding_mode
99       hidden: false
100       immutable: false
101       annotations:
102         source:
103           type: org.openecomp.annotations.Source
104           properties:
105             vf_module_label:
106             - ep-jsa_net
107             source_type: HEAT
108             param_name: Internal2_forwarding_mode
109       type: string
110       description: Internal2_forwarding_mode
111     pcrf_vnf_id:
112       hidden: false
113       immutable: false
114       annotations:
115         source:
116           type: org.openecomp.annotations.Source
117           properties:
118             vf_module_label:
119             - ep-jsa_net
120             source_type: HEAT
121             param_name: pcrf_vnf_id
122       type: string
123       description: prop
124     FSB_1_image:
125       label: MME_FSB1
126       hidden: false
127       immutable: false
128       annotations:
129         source:
130           type: org.openecomp.annotations.Source
131           properties:
132             vf_module_label:
133             - ep-jsa_net
134             source_type: HEAT
135             param_name: FSB_1_image
136       type: string
137       description: MME_FSB1_15B-CP04-r5a01
138     fsb1-Internal1-mac:
139       label: FSB1_internal_mac
140       hidden: false
141       immutable: false
142       annotations:
143         source:
144           type: org.openecomp.annotations.Source
145           properties:
146             vf_module_label:
147             - ep-jsa_net
148             source_type: HEAT
149             param_name: fsb1-Internal1-mac
150       type: string
151       description: FSB1_internal_mac
152     pcm_server_name:
153       label: pcm_server_name
154       hidden: false
155       immutable: false
156       annotations:
157         source:
158           type: org.openecomp.annotations.Source
159           properties:
160             vf_module_label:
161             - ep-jsa_net
162             source_type: HEAT
163             param_name: pcm_server_name
164       type: string
165       description: pcm_server_name
166     oam_net_name:
167       label: oam_net_name
168       hidden: false
169       immutable: false
170       annotations:
171         source:
172           type: org.openecomp.annotations.Source
173           properties:
174             vf_module_label:
175             - ep-jsa_net
176             source_type: HEAT
177             param_name: oam_net_name
178       type: string
179       description: oam_net_name
180     fsb1-Internal2-mac:
181       label: FSB1_internal_mac
182       hidden: false
183       immutable: false
184       annotations:
185         source:
186           type: org.openecomp.annotations.Source
187           properties:
188             vf_module_label:
189             - ep-jsa_net
190             source_type: HEAT
191             param_name: fsb1-Internal2-mac
192       type: string
193       description: FSB1_internal_mac
194     fsb_zone:
195       label: FSB1_zone
196       hidden: false
197       immutable: false
198       annotations:
199         source:
200           type: org.openecomp.annotations.Source
201           properties:
202             vf_module_label:
203             - ep-jsa_net
204             source_type: HEAT
205             param_name: fsb_zone
206       type: string
207       description: FSB1_zone
208     oam_net_gw:
209       hidden: false
210       immutable: false
211       annotations:
212         source:
213           type: org.openecomp.annotations.Source
214           properties:
215             vf_module_label:
216             - ep-jsa_net
217             source_type: HEAT
218             param_name: oam_net_gw
219       type: string
220       description: prop
221     VMME_FSB1_boot_volume:
222       hidden: false
223       immutable: false
224       annotations:
225         source:
226           type: org.openecomp.annotations.Source
227           properties:
228             vf_module_label:
229             - ep-jsa_net
230             source_type: HEAT
231             param_name: VMME_FSB1_boot_volume
232       type: string
233     network_name:
234       hidden: false
235       immutable: false
236       annotations:
237         source:
238           type: org.openecomp.annotations.Source
239           properties:
240             vf_module_label:
241             - ep-jsa_net
242             source_type: HEAT
243             param_name: network_name
244       type: string
245       description: prop
246     cps_net_ip:
247       hidden: false
248       immutable: false
249       annotations:
250         source:
251           type: org.openecomp.annotations.Source
252           properties:
253             vf_module_label:
254             - ep-jsa_net
255             source_type: HEAT
256             param_name: cps_net_ip
257       type: string
258       description: prop
259     pcrf_psm_server_name:
260       label: pcrf_psm_server_name
261       hidden: false
262       immutable: false
263       annotations:
264         source:
265           type: org.openecomp.annotations.Source
266           properties:
267             vf_module_label:
268             - ep-jsa_net
269             source_type: HEAT
270             param_name: pcrf_psm_server_name
271       type: string
272       description: pcrf_psm_server_name
273     pcm_flavor_name:
274       label: pcm_flavor_name
275       hidden: false
276       immutable: false
277       annotations:
278         source:
279           type: org.openecomp.annotations.Source
280           properties:
281             vf_module_label:
282             - ep-jsa_net
283             source_type: HEAT
284             param_name: pcm_flavor_name
285       type: string
286       description: pcm_flavor_name
287     pcrf_cps_net_ip:
288       hidden: false
289       immutable: false
290       annotations:
291         source:
292           type: org.openecomp.annotations.Source
293           properties:
294             vf_module_label:
295             - ep-jsa_net
296             source_type: HEAT
297             param_name: pcrf_cps_net_ip
298       type: string
299       description: prop
300     fsb2-Internal1-mac:
301       label: FSB1_internal_mac
302       hidden: false
303       immutable: false
304       annotations:
305         source:
306           type: org.openecomp.annotations.Source
307           properties:
308             vf_module_label:
309             - ep-jsa_net
310             source_type: HEAT
311             param_name: fsb2-Internal1-mac
312       type: string
313       description: FSB1_internal_mac
314     pcrf_cps_net_name:
315       label: pcrf_cps_net_name
316       hidden: false
317       immutable: false
318       annotations:
319         source:
320           type: org.openecomp.annotations.Source
321           properties:
322             vf_module_label:
323             - ep-jsa_net
324             source_type: HEAT
325             param_name: pcrf_cps_net_name
326       type: string
327       description: pcrf_cps_net_name
328     pcm_vol:
329       hidden: false
330       immutable: false
331       annotations:
332         source:
333           type: org.openecomp.annotations.Source
334           properties:
335             vf_module_label:
336             - ep-jsa_net
337             source_type: HEAT
338             param_name: pcm_vol
339       type: string
340       description: prop
341     Internal1_external:
342       label: Internal1_external
343       hidden: false
344       immutable: false
345       annotations:
346         source:
347           type: org.openecomp.annotations.Source
348           properties:
349             vf_module_label:
350             - ep-jsa_net
351             source_type: HEAT
352             param_name: Internal1_external
353       type: string
354       description: Internal1_external
355     Internal1_shared:
356       label: Internal1_shared
357       hidden: false
358       immutable: false
359       annotations:
360         source:
361           type: org.openecomp.annotations.Source
362           properties:
363             vf_module_label:
364             - ep-jsa_net
365             source_type: HEAT
366             param_name: Internal1_shared
367       type: string
368       description: Internal1_shared
369     fsb1-name:
370       label: FSB1_name
371       hidden: false
372       immutable: false
373       annotations:
374         source:
375           type: org.openecomp.annotations.Source
376           properties:
377             vf_module_label:
378             - ep-jsa_net
379             source_type: HEAT
380             param_name: fsb1-name
381       type: string
382       description: FSB1_name
383     pcm_image_name:
384       label: pcm_image_name
385       hidden: false
386       immutable: false
387       annotations:
388         source:
389           type: org.openecomp.annotations.Source
390           properties:
391             vf_module_label:
392             - ep-jsa_net
393             source_type: HEAT
394             param_name: pcm_image_name
395       type: string
396       description: pcm_image_name
397     pcrf_psm_flavor_name:
398       label: pcrf_psm_flavor_name
399       hidden: false
400       immutable: false
401       annotations:
402         source:
403           type: org.openecomp.annotations.Source
404           properties:
405             vf_module_label:
406             - ep-jsa_net
407             source_type: HEAT
408             param_name: pcrf_psm_flavor_name
409       type: string
410       description: pcrf_psm_flavor_name
411     pcrf_psm_image_name:
412       label: pcrf_psm_image_name
413       hidden: false
414       immutable: false
415       annotations:
416         source:
417           type: org.openecomp.annotations.Source
418           properties:
419             vf_module_label:
420             - ep-jsa_net
421             source_type: HEAT
422             param_name: pcrf_psm_image_name
423       type: string
424       description: pcrf_psm_image_name
425     snapshot01:
426       hidden: false
427       immutable: false
428       annotations:
429         source:
430           type: org.openecomp.annotations.Source
431           properties:
432             vf_module_label:
433             - ep-jsa_net
434             source_type: HEAT
435             param_name: snapshot01
436       type: string
437       description: prop
438     volume_size:
439       label: volume size
440       hidden: false
441       immutable: false
442       annotations:
443         source:
444           type: org.openecomp.annotations.Source
445           properties:
446             vf_module_label:
447             - ep-jsa_net
448             source_type: HEAT
449             param_name: volume_size
450       type: float
451       description: my volume size 320GB
452     snapshot02:
453       hidden: false
454       immutable: false
455       annotations:
456         source:
457           type: org.openecomp.annotations.Source
458           properties:
459             vf_module_label:
460             - ep-jsa_net
461             source_type: HEAT
462             param_name: snapshot02
463       type: string
464       description: prop
465     Internal2_shared:
466       label: Internal2_shared
467       hidden: false
468       immutable: false
469       annotations:
470         source:
471           type: org.openecomp.annotations.Source
472           properties:
473             vf_module_label:
474             - ep-jsa_net
475             source_type: HEAT
476             param_name: Internal2_shared
477       type: string
478       description: Internal2_shared
479     cps_net_mask:
480       hidden: false
481       immutable: false
482       annotations:
483         source:
484           type: org.openecomp.annotations.Source
485           properties:
486             vf_module_label:
487             - ep-jsa_net
488             source_type: HEAT
489             param_name: cps_net_mask
490       type: string
491       description: prop
492     Internal1_net_name:
493       label: Internal1_net_name
494       hidden: false
495       immutable: false
496       annotations:
497         source:
498           type: org.openecomp.annotations.Source
499           properties:
500             vf_module_label:
501             - ep-jsa_net
502             source_type: HEAT
503             param_name: Internal1_net_name
504       type: string
505       description: Internal1_net_name
506     fsb1-flavor:
507       label: FSB1_flavor
508       hidden: false
509       immutable: false
510       annotations:
511         source:
512           type: org.openecomp.annotations.Source
513           properties:
514             vf_module_label:
515             - ep-jsa_net
516             source_type: HEAT
517             param_name: fsb1-flavor
518       type: string
519       description: FSB1_flavor
520     pcm_vol_01:
521       hidden: false
522       immutable: false
523       annotations:
524         source:
525           type: org.openecomp.annotations.Source
526           properties:
527             vf_module_label:
528             - ep-jsa_net
529             source_type: HEAT
530             param_name: pcm_vol_01
531       type: string
532       description: prop
533     volume_type:
534       label: volume type
535       hidden: false
536       immutable: false
537       annotations:
538         source:
539           type: org.openecomp.annotations.Source
540           properties:
541             vf_module_label:
542             - ep-jsa_net
543             source_type: HEAT
544             param_name: volume_type
545       type: string
546       description: volume type Gold
547     fsb1-zone:
548       label: FSB1_zone
549       hidden: false
550       immutable: false
551       annotations:
552         source:
553           type: org.openecomp.annotations.Source
554           properties:
555             vf_module_label:
556             - ep-jsa_net
557             source_type: HEAT
558             param_name: fsb1-zone
559       type: string
560       description: FSB1_zone
561     security_group_name:
562       hidden: false
563       immutable: false
564       annotations:
565         source:
566           type: org.openecomp.annotations.Source
567           properties:
568             vf_module_label:
569             - ep-jsa_net
570             source_type: HEAT
571             param_name: security_group_name
572       type: list
573       description: CMAUI1, CMAUI2 server names
574       entry_schema:
575         type: string
576     jsa_net_name:
577       label: jsa_net_name
578       hidden: false
579       immutable: false
580       annotations:
581         source:
582           type: org.openecomp.annotations.Source
583           properties:
584             vf_module_label:
585             - ep-jsa_net
586             source_type: HEAT
587             param_name: jsa_net_name
588       type: string
589       description: jsa_net_name
590     port_name:
591       hidden: false
592       immutable: false
593       annotations:
594         source:
595           type: org.openecomp.annotations.Source
596           properties:
597             vf_module_label:
598             - ep-jsa_net
599             source_type: HEAT
600             param_name: port_name
601       type: string
602       description: prop
603     oam_net_id:
604       label: oam_net_id
605       hidden: false
606       immutable: false
607       annotations:
608         source:
609           type: org.openecomp.annotations.Source
610           properties:
611             vf_module_label:
612             - ep-jsa_net
613             source_type: HEAT
614             param_name: oam_net_id
615       type: string
616       description: oam_net_id
617     Internal1_forwarding_mode:
618       label: Internal1_forwarding_mode
619       hidden: false
620       immutable: false
621       annotations:
622         source:
623           type: org.openecomp.annotations.Source
624           properties:
625             vf_module_label:
626             - ep-jsa_net
627             source_type: HEAT
628             param_name: Internal1_forwarding_mode
629       type: string
630       description: Internal1_forwarding_mode
631     cps_net_name:
632       label: cps_net_name
633       hidden: false
634       immutable: false
635       annotations:
636         source:
637           type: org.openecomp.annotations.Source
638           properties:
639             vf_module_label:
640             - ep-jsa_net
641             source_type: HEAT
642             param_name: cps_net_name
643       type: string
644       description: cps_net_name
645     oam_net_ip:
646       hidden: false
647       immutable: false
648       annotations:
649         source:
650           type: org.openecomp.annotations.Source
651           properties:
652             vf_module_label:
653             - ep-jsa_net
654             source_type: HEAT
655             param_name: oam_net_ip
656       type: string
657       description: prop
658     oam_net_mask:
659       hidden: false
660       immutable: false
661       annotations:
662         source:
663           type: org.openecomp.annotations.Source
664           properties:
665             vf_module_label:
666             - ep-jsa_net
667             source_type: HEAT
668             param_name: oam_net_mask
669       type: string
670       description: prop
671     fsb1-oam-ip:
672       hidden: false
673       immutable: false
674       annotations:
675         source:
676           type: org.openecomp.annotations.Source
677           properties:
678             vf_module_label:
679             - ep-jsa_net
680             source_type: HEAT
681             param_name: fsb1-oam-ip
682       type: string
683       description: prop
684     pcrf_security_group_name:
685       hidden: false
686       immutable: false
687       annotations:
688         source:
689           type: org.openecomp.annotations.Source
690           properties:
691             vf_module_label:
692             - ep-jsa_net
693             source_type: HEAT
694             param_name: pcrf_security_group_name
695       type: list
696       description: CMAUI1, CMAUI2 server names
697       entry_schema:
698         type: string
699   node_templates:
700     VMI1:
701       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
702       properties:
703         name:
704           str_replace:
705             template: VM_NAME_PORT_3
706             params:
707               VM_NAME:
708                 get_input: vipr_atm_name_0
709         virtual_network_refs:
710         - get_input: network_name
711         virtual_machine_interface_properties:
712           service_interface_type: left
713         port_tuple_refs:
714         - get_input: port_name
715     FSB2:
716       type: org.openecomp.resource.vfc.nodes.heat.FSB2
717       properties:
718         flavor:
719           get_input: fsb1-flavor
720         availability_zone:
721           get_input: fsb_zone
722         name:
723           get_attribute:
724           - VMI1
725           - virtual_machine_interface_allowed_address_pairs
726           - allowed_address_pair
727           - ip
728           - ip_prefix
729     FSB1:
730       type: org.openecomp.resource.vfc.nodes.heat.FSB1
731       properties:
732         flavor:
733           get_input: fsb1-flavor
734         availability_zone:
735           get_input: fsb_zone
736         name:
737           get_attribute:
738           - VMI1
739           - name
740   groups:
741     ep-jsa_net_group:
742       type: org.openecomp.groups.heat.HeatStack
743       properties:
744         heat_file: ../Artifacts/ep-jsa_net.yaml
745         description: |
746           Version 2.0 02-09-2016 (Authors: Paul Phillips, pp2854 PROD)
747       members:
748       - VMI1
749       - FSB2
750       - FSB1