bc90c3915320f52eeaceaf65d1a162db9ede9361
[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   org.openecomp.resource.vfc.nodes.heat.pcm_server:
13     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
14   org.openecomp.resource.vfc.nodes.heat.pcrf_psm_server:
15     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
16 topology_template:
17   inputs:
18     Internal2_name:
19       label: Internal2_name
20       hidden: false
21       immutable: false
22       annotations:
23         source:
24           type: org.openecomp.annotations.Source
25           properties:
26             vf_module_label:
27             - ep-jsa_net
28             source_type: HEAT
29             param_name: Internal2_name
30       type: string
31       description: Internal2_name
32     Internal1_shared:
33       label: Internal1_shared
34       hidden: false
35       immutable: false
36       annotations:
37         source:
38           type: org.openecomp.annotations.Source
39           properties:
40             vf_module_label:
41             - ep-jsa_net
42             source_type: HEAT
43             param_name: Internal1_shared
44       type: string
45       description: Internal1_shared
46     FSB1_volume_name:
47       label: FSB1_volume
48       hidden: false
49       immutable: false
50       annotations:
51         source:
52           type: org.openecomp.annotations.Source
53           properties:
54             vf_module_label:
55             - ep-jsa_net
56             source_type: HEAT
57             param_name: FSB1_volume_name
58       type: string
59       description: FSB1_volume_1
60     jsa_cidr:
61       label: jsa_cidr
62       hidden: false
63       immutable: false
64       annotations:
65         source:
66           type: org.openecomp.annotations.Source
67           properties:
68             vf_module_label:
69             - ep-jsa_net
70             source_type: HEAT
71             param_name: jsa_cidr
72       type: string
73       description: jsa_cidr
74       default: 107.243.7.128/26
75     availabilityzone_name:
76       label: availabilityzone_name
77       hidden: false
78       immutable: false
79       annotations:
80         source:
81           type: org.openecomp.annotations.Source
82           properties:
83             vf_module_label:
84             - ep-jsa_net
85             source_type: HEAT
86             param_name: availabilityzone_name
87       type: string
88       description: availabilityzone_name
89     fsb1-name:
90       label: FSB1_name
91       hidden: false
92       immutable: false
93       annotations:
94         source:
95           type: org.openecomp.annotations.Source
96           properties:
97             vf_module_label:
98             - ep-jsa_net
99             source_type: HEAT
100             param_name: fsb1-name
101       type: string
102       description: FSB1_name
103     pcm_image_name:
104       label: pcm_image_name
105       hidden: false
106       immutable: false
107       annotations:
108         source:
109           type: org.openecomp.annotations.Source
110           properties:
111             vf_module_label:
112             - ep-jsa_net
113             source_type: HEAT
114             param_name: pcm_image_name
115       type: string
116       description: pcm_image_name
117     Internal2_external:
118       label: Internal2_external
119       hidden: false
120       immutable: false
121       annotations:
122         source:
123           type: org.openecomp.annotations.Source
124           properties:
125             vf_module_label:
126             - ep-jsa_net
127             source_type: HEAT
128             param_name: Internal2_external
129       type: string
130       description: Internal2_external
131     Internal2_forwarding_mode:
132       label: Internal2_forwarding_mode
133       hidden: false
134       immutable: false
135       annotations:
136         source:
137           type: org.openecomp.annotations.Source
138           properties:
139             vf_module_label:
140             - ep-jsa_net
141             source_type: HEAT
142             param_name: Internal2_forwarding_mode
143       type: string
144       description: Internal2_forwarding_mode
145     pcrf_psm_flavor_name:
146       label: pcrf_psm_flavor_name
147       hidden: false
148       immutable: false
149       annotations:
150         source:
151           type: org.openecomp.annotations.Source
152           properties:
153             vf_module_label:
154             - ep-jsa_net
155             source_type: HEAT
156             param_name: pcrf_psm_flavor_name
157       type: string
158       description: pcrf_psm_flavor_name
159     pcrf_psm_image_name:
160       label: pcrf_psm_image_name
161       hidden: false
162       immutable: false
163       annotations:
164         source:
165           type: org.openecomp.annotations.Source
166           properties:
167             vf_module_label:
168             - ep-jsa_net
169             source_type: HEAT
170             param_name: pcrf_psm_image_name
171       type: string
172       description: pcrf_psm_image_name
173     pcrf_vnf_id:
174       hidden: false
175       immutable: false
176       annotations:
177         source:
178           type: org.openecomp.annotations.Source
179           properties:
180             vf_module_label:
181             - ep-jsa_net
182             source_type: HEAT
183             param_name: pcrf_vnf_id
184       type: string
185       description: prop
186     FSB_1_image:
187       label: MME_FSB1
188       hidden: false
189       immutable: false
190       annotations:
191         source:
192           type: org.openecomp.annotations.Source
193           properties:
194             vf_module_label:
195             - ep-jsa_net
196             source_type: HEAT
197             param_name: FSB_1_image
198       type: string
199       description: MME_FSB1_15B-CP04-r5a01
200     snapshot01:
201       hidden: false
202       immutable: false
203       annotations:
204         source:
205           type: org.openecomp.annotations.Source
206           properties:
207             vf_module_label:
208             - ep-jsa_net
209             source_type: HEAT
210             param_name: snapshot01
211       type: string
212       description: prop
213     volume_size:
214       label: volume size
215       hidden: false
216       immutable: false
217       annotations:
218         source:
219           type: org.openecomp.annotations.Source
220           properties:
221             vf_module_label:
222             - ep-jsa_net
223             source_type: HEAT
224             param_name: volume_size
225       type: float
226       description: my volume size 320GB
227     snapshot02:
228       hidden: false
229       immutable: false
230       annotations:
231         source:
232           type: org.openecomp.annotations.Source
233           properties:
234             vf_module_label:
235             - ep-jsa_net
236             source_type: HEAT
237             param_name: snapshot02
238       type: string
239       description: prop
240     fsb1-Internal1-mac:
241       label: FSB1_internal_mac
242       hidden: false
243       immutable: false
244       annotations:
245         source:
246           type: org.openecomp.annotations.Source
247           properties:
248             vf_module_label:
249             - ep-jsa_net
250             source_type: HEAT
251             param_name: fsb1-Internal1-mac
252       type: string
253       description: FSB1_internal_mac
254     Internal2_shared:
255       label: Internal2_shared
256       hidden: false
257       immutable: false
258       annotations:
259         source:
260           type: org.openecomp.annotations.Source
261           properties:
262             vf_module_label:
263             - ep-jsa_net
264             source_type: HEAT
265             param_name: Internal2_shared
266       type: string
267       description: Internal2_shared
268     pcm_server_name:
269       label: pcm_server_name
270       hidden: false
271       immutable: false
272       annotations:
273         source:
274           type: org.openecomp.annotations.Source
275           properties:
276             vf_module_label:
277             - ep-jsa_net
278             source_type: HEAT
279             param_name: pcm_server_name
280       type: string
281       description: pcm_server_name
282     cps_net_mask:
283       hidden: false
284       immutable: false
285       annotations:
286         source:
287           type: org.openecomp.annotations.Source
288           properties:
289             vf_module_label:
290             - ep-jsa_net
291             source_type: HEAT
292             param_name: cps_net_mask
293       type: string
294       description: prop
295     Internal1_net_name:
296       label: Internal1_net_name
297       hidden: false
298       immutable: false
299       annotations:
300         source:
301           type: org.openecomp.annotations.Source
302           properties:
303             vf_module_label:
304             - ep-jsa_net
305             source_type: HEAT
306             param_name: Internal1_net_name
307       type: string
308       description: Internal1_net_name
309     oam_net_name:
310       label: oam_net_name
311       hidden: false
312       immutable: false
313       annotations:
314         source:
315           type: org.openecomp.annotations.Source
316           properties:
317             vf_module_label:
318             - ep-jsa_net
319             source_type: HEAT
320             param_name: oam_net_name
321       type: string
322       description: oam_net_name
323     fsb1-flavor:
324       label: FSB1_flavor
325       hidden: false
326       immutable: false
327       annotations:
328         source:
329           type: org.openecomp.annotations.Source
330           properties:
331             vf_module_label:
332             - ep-jsa_net
333             source_type: HEAT
334             param_name: fsb1-flavor
335       type: string
336       description: FSB1_flavor
337     fsb1-Internal2-mac:
338       label: FSB1_internal_mac
339       hidden: false
340       immutable: false
341       annotations:
342         source:
343           type: org.openecomp.annotations.Source
344           properties:
345             vf_module_label:
346             - ep-jsa_net
347             source_type: HEAT
348             param_name: fsb1-Internal2-mac
349       type: string
350       description: FSB1_internal_mac
351     pcm_vol_01:
352       hidden: false
353       immutable: false
354       annotations:
355         source:
356           type: org.openecomp.annotations.Source
357           properties:
358             vf_module_label:
359             - ep-jsa_net
360             source_type: HEAT
361             param_name: pcm_vol_01
362       type: string
363       description: prop
364     volume_type:
365       label: volume type
366       hidden: false
367       immutable: false
368       annotations:
369         source:
370           type: org.openecomp.annotations.Source
371           properties:
372             vf_module_label:
373             - ep-jsa_net
374             source_type: HEAT
375             param_name: volume_type
376       type: string
377       description: volume type Gold
378     fsb1-zone:
379       label: FSB1_zone
380       hidden: false
381       immutable: false
382       annotations:
383         source:
384           type: org.openecomp.annotations.Source
385           properties:
386             vf_module_label:
387             - ep-jsa_net
388             source_type: HEAT
389             param_name: fsb1-zone
390       type: string
391       description: FSB1_zone
392     fsb_zone:
393       label: FSB1_zone
394       hidden: false
395       immutable: false
396       annotations:
397         source:
398           type: org.openecomp.annotations.Source
399           properties:
400             vf_module_label:
401             - ep-jsa_net
402             source_type: HEAT
403             param_name: fsb_zone
404       type: string
405       description: FSB1_zone
406     oam_net_gw:
407       hidden: false
408       immutable: false
409       annotations:
410         source:
411           type: org.openecomp.annotations.Source
412           properties:
413             vf_module_label:
414             - ep-jsa_net
415             source_type: HEAT
416             param_name: oam_net_gw
417       type: string
418       description: prop
419     VMME_FSB1_boot_volume:
420       hidden: false
421       immutable: false
422       annotations:
423         source:
424           type: org.openecomp.annotations.Source
425           properties:
426             vf_module_label:
427             - ep-jsa_net
428             source_type: HEAT
429             param_name: VMME_FSB1_boot_volume
430       type: string
431     network_name:
432       hidden: false
433       immutable: false
434       annotations:
435         source:
436           type: org.openecomp.annotations.Source
437           properties:
438             vf_module_label:
439             - ep-jsa_net
440             source_type: HEAT
441             param_name: network_name
442       type: string
443       description: prop
444     security_group_name:
445       hidden: false
446       immutable: false
447       annotations:
448         source:
449           type: org.openecomp.annotations.Source
450           properties:
451             vf_module_label:
452             - ep-jsa_net
453             source_type: HEAT
454             param_name: security_group_name
455       type: list
456       description: CMAUI1, CMAUI2 server names
457       entry_schema:
458         type: string
459     cps_net_ip:
460       hidden: false
461       immutable: false
462       annotations:
463         source:
464           type: org.openecomp.annotations.Source
465           properties:
466             vf_module_label:
467             - ep-jsa_net
468             source_type: HEAT
469             param_name: cps_net_ip
470       type: string
471       description: prop
472     jsa_net_name:
473       label: jsa_net_name
474       hidden: false
475       immutable: false
476       annotations:
477         source:
478           type: org.openecomp.annotations.Source
479           properties:
480             vf_module_label:
481             - ep-jsa_net
482             source_type: HEAT
483             param_name: jsa_net_name
484       type: string
485       description: jsa_net_name
486       default: jsa_log_net_0
487     pcrf_psm_server_name:
488       label: pcrf_psm_server_name
489       hidden: false
490       immutable: false
491       annotations:
492         source:
493           type: org.openecomp.annotations.Source
494           properties:
495             vf_module_label:
496             - ep-jsa_net
497             source_type: HEAT
498             param_name: pcrf_psm_server_name
499       type: string
500       description: pcrf_psm_server_name
501     pcm_flavor_name:
502       label: pcm_flavor_name
503       hidden: false
504       immutable: false
505       annotations:
506         source:
507           type: org.openecomp.annotations.Source
508           properties:
509             vf_module_label:
510             - ep-jsa_net
511             source_type: HEAT
512             param_name: pcm_flavor_name
513       type: string
514       description: pcm_flavor_name
515     oam_net_id:
516       label: oam_net_id
517       hidden: false
518       immutable: false
519       annotations:
520         source:
521           type: org.openecomp.annotations.Source
522           properties:
523             vf_module_label:
524             - ep-jsa_net
525             source_type: HEAT
526             param_name: oam_net_id
527       type: string
528       description: oam_net_id
529     pcrf_cps_net_ip:
530       hidden: false
531       immutable: false
532       annotations:
533         source:
534           type: org.openecomp.annotations.Source
535           properties:
536             vf_module_label:
537             - ep-jsa_net
538             source_type: HEAT
539             param_name: pcrf_cps_net_ip
540       type: string
541       description: prop
542     fsb2-Internal1-mac:
543       label: FSB1_internal_mac
544       hidden: false
545       immutable: false
546       annotations:
547         source:
548           type: org.openecomp.annotations.Source
549           properties:
550             vf_module_label:
551             - ep-jsa_net
552             source_type: HEAT
553             param_name: fsb2-Internal1-mac
554       type: string
555       description: FSB1_internal_mac
556     Internal1_forwarding_mode:
557       label: Internal1_forwarding_mode
558       hidden: false
559       immutable: false
560       annotations:
561         source:
562           type: org.openecomp.annotations.Source
563           properties:
564             vf_module_label:
565             - ep-jsa_net
566             source_type: HEAT
567             param_name: Internal1_forwarding_mode
568       type: string
569       description: Internal1_forwarding_mode
570     pcrf_cps_net_name:
571       label: pcrf_cps_net_name
572       hidden: false
573       immutable: false
574       annotations:
575         source:
576           type: org.openecomp.annotations.Source
577           properties:
578             vf_module_label:
579             - ep-jsa_net
580             source_type: HEAT
581             param_name: pcrf_cps_net_name
582       type: string
583       description: pcrf_cps_net_name
584     pcm_vol:
585       hidden: false
586       immutable: false
587       annotations:
588         source:
589           type: org.openecomp.annotations.Source
590           properties:
591             vf_module_label:
592             - ep-jsa_net
593             source_type: HEAT
594             param_name: pcm_vol
595       type: string
596       description: prop
597     cps_net_name:
598       label: cps_net_name
599       hidden: false
600       immutable: false
601       annotations:
602         source:
603           type: org.openecomp.annotations.Source
604           properties:
605             vf_module_label:
606             - ep-jsa_net
607             source_type: HEAT
608             param_name: cps_net_name
609       type: string
610       description: cps_net_name
611     oam_net_ip:
612       hidden: false
613       immutable: false
614       annotations:
615         source:
616           type: org.openecomp.annotations.Source
617           properties:
618             vf_module_label:
619             - ep-jsa_net
620             source_type: HEAT
621             param_name: oam_net_ip
622       type: string
623       description: prop
624     oam_net_mask:
625       hidden: false
626       immutable: false
627       annotations:
628         source:
629           type: org.openecomp.annotations.Source
630           properties:
631             vf_module_label:
632             - ep-jsa_net
633             source_type: HEAT
634             param_name: oam_net_mask
635       type: string
636       description: prop
637     fsb1-oam-ip:
638       hidden: false
639       immutable: false
640       annotations:
641         source:
642           type: org.openecomp.annotations.Source
643           properties:
644             vf_module_label:
645             - ep-jsa_net
646             source_type: HEAT
647             param_name: fsb1-oam-ip
648       type: string
649       description: prop
650     pcrf_security_group_name:
651       hidden: false
652       immutable: false
653       annotations:
654         source:
655           type: org.openecomp.annotations.Source
656           properties:
657             vf_module_label:
658             - ep-jsa_net
659             source_type: HEAT
660             param_name: pcrf_security_group_name
661       type: list
662       description: CMAUI1, CMAUI2 server names
663       entry_schema:
664         type: string
665     Internal1_external:
666       label: Internal1_external
667       hidden: false
668       immutable: false
669       annotations:
670         source:
671           type: org.openecomp.annotations.Source
672           properties:
673             vf_module_label:
674             - ep-jsa_net
675             source_type: HEAT
676             param_name: Internal1_external
677       type: string
678       description: Internal1_external
679   node_templates:
680     pcm_vol_02:
681       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
682       properties:
683         image:
684           get_input: FSB_1_image
685         volume_type:
686           get_input: volume_type
687         size: '(get_input : volume_size) * 1024'
688         read_only: true
689         name:
690           get_input: FSB1_volume_name
691     Internal2-net:
692       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
693       properties:
694         shared:
695           get_input: Internal2_shared
696         forwarding_mode:
697           get_input: Internal2_forwarding_mode
698         external:
699           get_input: Internal2_external
700         network_name:
701           get_input: Internal2_name
702     pcm_port_1:
703       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
704       properties:
705         ip_requirements:
706         - ip_version: 4
707           ip_count_required:
708             is_required: true
709           floating_ip_count_required:
710             is_required: false
711         security_groups:
712         - get_input: security_group_name
713         fixed_ips:
714         - ip_address:
715             get_input: oam_net_ip
716         mac_requirements:
717           mac_count_required:
718             is_required: false
719         network_role_tag: oam
720         network:
721           get_input: oam_net_name
722       requirements:
723       - binding:
724           capability: tosca.capabilities.network.Bindable
725           node: server_pcm
726           relationship: tosca.relationships.network.BindsTo
727     server_VolumeTest_snapshot02:
728       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
729       properties:
730         snapshot_id:
731           get_input: snapshot02
732     FSB1_Internal2:
733       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
734       properties:
735         ip_requirements:
736         - ip_version: 4
737           ip_count_required:
738             is_required: false
739           floating_ip_count_required:
740             is_required: false
741         mac_requirements:
742           mac_count_required:
743             is_required: true
744         mac_address:
745           get_input: fsb1-Internal2-mac
746         network: Internal2-net
747       requirements:
748       - link:
749           capability: tosca.capabilities.network.Linkable
750           node: Internal2-net
751           relationship: tosca.relationships.network.LinksTo
752       - binding:
753           capability: tosca.capabilities.network.Bindable
754           node: FSB1
755           relationship: tosca.relationships.network.BindsTo
756     server_VolumeTest_snapshot01:
757       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
758       properties:
759         snapshot_id:
760           get_input: snapshot01
761     FSB1_Internal1:
762       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
763       properties:
764         ip_requirements:
765         - ip_version: 4
766           ip_count_required:
767             is_required: false
768           floating_ip_count_required:
769             is_required: false
770         mac_requirements:
771           mac_count_required:
772             is_required: true
773         mac_address:
774           get_input: fsb1-Internal1-mac
775         network: Internal1-net
776       requirements:
777       - link:
778           capability: tosca.capabilities.network.Linkable
779           node: Internal1-net
780           relationship: tosca.relationships.network.LinksTo
781       - binding:
782           capability: tosca.capabilities.network.Bindable
783           node: FSB1
784           relationship: tosca.relationships.network.BindsTo
785     FSB1_OAM:
786       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
787       properties:
788         ip_requirements:
789         - ip_version: 4
790           ip_count_required:
791             is_required: true
792           floating_ip_count_required:
793             is_required: false
794         fixed_ips:
795         - ip_address:
796             get_input: fsb1-oam-ip
797         mac_requirements:
798           mac_count_required:
799             is_required: false
800         network_role_tag: oam
801         network:
802           get_input: oam_net_id
803       requirements:
804       - binding:
805           capability: tosca.capabilities.network.Bindable
806           node: FSB1
807           relationship: tosca.relationships.network.BindsTo
808     psm01_port_0:
809       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
810       properties:
811         ip_requirements:
812         - ip_version: 4
813           ip_count_required:
814             is_required: true
815           floating_ip_count_required:
816             is_required: false
817         security_groups:
818         - get_input: pcrf_security_group_name
819         fixed_ips:
820         - ip_address:
821             get_input: pcrf_cps_net_ip
822         mac_requirements:
823           mac_count_required:
824             is_required: false
825         network_role_tag: pcrf_cps
826         network:
827           get_input: pcrf_cps_net_name
828       requirements:
829       - binding:
830           capability: tosca.capabilities.network.Bindable
831           node: pcrf_server_psm
832           relationship: tosca.relationships.network.BindsTo
833     pcm_port_0:
834       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
835       properties:
836         ip_requirements:
837         - ip_version: 4
838           ip_count_required:
839             is_required: true
840           floating_ip_count_required:
841             is_required: false
842         security_groups:
843         - get_input: security_group_name
844         fixed_ips:
845         - ip_address:
846             get_input: cps_net_ip
847         mac_requirements:
848           mac_count_required:
849             is_required: false
850         network_role_tag: cps
851         network:
852           get_input: cps_net_name
853       requirements:
854       - binding:
855           capability: tosca.capabilities.network.Bindable
856           node: server_pcm
857           relationship: tosca.relationships.network.BindsTo
858     network:
859       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
860       properties:
861         network_name:
862           get_input: Internal1_net_name
863     server_pcm:
864       type: org.openecomp.resource.vfc.nodes.heat.pcm_server
865       properties:
866         flavor:
867           get_input: pcm_flavor_name
868         availability_zone:
869           get_input: availabilityzone_name
870         image:
871           get_input: pcm_image_name
872         config_drive: true
873         user_data_format: RAW
874         name:
875           get_input: pcm_server_name
876     Internal1-net:
877       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
878       properties:
879         shared:
880           get_input: Internal1_shared
881         forwarding_mode:
882           get_input: Internal1_forwarding_mode
883         external:
884           get_input: Internal1_external
885         network_name:
886           get_input: Internal1_net_name
887     pcrf_server_psm:
888       type: org.openecomp.resource.vfc.nodes.heat.pcrf_psm_server
889       properties:
890         flavor:
891           get_input: pcrf_psm_flavor_name
892         availability_zone:
893           get_input: availabilityzone_name
894         image:
895           get_input: pcrf_psm_image_name
896         metadata:
897           vnf_id:
898             get_input: pcrf_vnf_id
899         config_drive: true
900         user_data_format: RAW
901         name:
902           get_input: pcrf_psm_server_name
903     server_VolumeTest:
904       type: org.openecomp.resource.vfc.nodes.heat.pcm_server
905       properties:
906         flavor:
907           get_input: pcm_flavor_name
908         availability_zone:
909           get_input: availabilityzone_name
910         image:
911           get_input: pcm_image_name
912         config_drive: true
913         user_data_format: RAW
914         name:
915           get_input: pcm_server_name
916       requirements:
917       - local_storage:
918           capability: tosca.capabilities.Attachment
919           node: pcm_vol_02
920           relationship: tosca.relationships.AttachesTo
921       - local_storage:
922           capability: tosca.capabilities.Attachment
923           node: server_VolumeTest_snapshot01
924           relationship: server_VolumeTest_4
925       - local_storage:
926           capability: tosca.capabilities.Attachment
927           node: server_VolumeTest_snapshot02
928           relationship: server_VolumeTest_5
929     FSB2:
930       type: org.openecomp.resource.vfc.nodes.heat.FSB2
931       properties:
932         flavor:
933           get_input: fsb1-flavor
934         availability_zone:
935           get_input: fsb_zone
936         name:
937           get_input: fsb1-name
938     FSB1:
939       type: org.openecomp.resource.vfc.nodes.heat.FSB1
940       properties:
941         flavor:
942           get_input: fsb1-flavor
943         availability_zone:
944           get_input: fsb_zone
945         metadata:
946           write_files:
947           - path: /etc/sysconfig/network-scripts/ifcfg-eth0
948             permissions: '0644'
949             content:
950               str_replace:
951                 template:
952                   get_artifact:
953                   - SELF
954                   - nimbus-ethernet
955                 params:
956                   $dev: eth0
957                   $netmask:
958                     get_input: cps_net_mask
959                   $ip:
960                     get_input: cps_net_ip
961           - path: /etc/sysconfig/network-scripts/ifcfg-eth1
962             permissions: '0644'
963             content:
964               str_replace:
965                 template:
966                   get_artifact:
967                   - SELF
968                   - nimbus-ethernet-gw
969                 params:
970                   $dev: eth1
971                   $netmask:
972                     get_input: oam_net_mask
973                   $gateway:
974                     get_input: oam_net_gw
975                   $ip:
976                     get_input: oam_net_ip
977         name:
978           get_input: fsb1-name
979       artifacts:
980         nimbus-ethernet-gw:
981           type: tosca.artifacts.Deployment
982           file: ../Artifacts/nimbus-ethernet-gw
983         nimbus-ethernet:
984           type: tosca.artifacts.Deployment
985           file: ../Artifacts/nimbus-ethernet
986   relationship_templates:
987     server_VolumeTest_4:
988       type: org.openecomp.relationships.VolumeAttachesTo
989       properties:
990         volume_id: server_VolumeTest_snapshot01
991         instance_uuid: server_VolumeTest
992         device: vdb
993     server_VolumeTest_5:
994       type: org.openecomp.relationships.VolumeAttachesTo
995       properties:
996         volume_id: server_VolumeTest_snapshot02
997         instance_uuid: server_VolumeTest
998   groups:
999     ep-jsa_net_group:
1000       type: org.openecomp.groups.heat.HeatStack
1001       properties:
1002         heat_file: ../Artifacts/ep-jsa_net.yaml
1003         description: |
1004           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
1005       members:
1006       - pcm_vol_02
1007       - Internal2-net
1008       - pcm_port_1
1009       - FSB1_Internal2
1010       - FSB1_Internal1
1011       - FSB1_OAM
1012       - psm01_port_0
1013       - pcm_port_0
1014       - network
1015       - server_pcm
1016       - Internal1-net
1017       - pcrf_server_psm
1018       - server_VolumeTest
1019       - FSB2
1020       - FSB1