aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/MANIFEST.json99
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/cloud-nimbus.sh12
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-oam-volumes_v1.0.env6
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-oam-volumes_v1.0.yaml45
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-oam_v1.0.env18
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-oam_v1.0.yaml109
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pcm-volumes_v1.0.env4
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pcm-volumes_v1.0.yaml28
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pcm_v1.0.env16
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pcm_v1.0.yaml80
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-ppd_v1.0.yaml286
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-ppd_v1.1.env35
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pps_v1.0.env11
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pps_v1.0.yaml121
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-psm_v1.0.env10
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-psm_v1.0.yaml199
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-oam_v1.0.yaml156
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-pcm_v1.0.yaml150
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-ppd_v1.0.yaml333
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-pps_v1.0.yaml99
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-psm_v1.0.yaml99
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nimbus-ethernet5
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nimbus-ethernet-gw6
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/GlobalSubstitutionTypesServiceTemplate.yaml642
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/MainServiceTemplate.yaml1646
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-oam_v1.0ServiceTemplate.yaml225
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-pcm_v1.0ServiceTemplate.yaml216
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-ppd_v1.0ServiceTemplate.yaml464
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-pps_v1.0ServiceTemplate.yaml160
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-psm_v1.0ServiceTemplate.yaml160
30 files changed, 5440 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/MANIFEST.json
new file mode 100644
index 0000000000..14c9a99cf7
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/MANIFEST.json
@@ -0,0 +1,99 @@
+{
+ "name": "hot-mog",
+ "description": "HOT template to create hot mog server",
+ "version": "2013-05-23",
+ "data": [
+ {
+ "file": "hot-nimbus-oam_v1.0.yaml",
+ "type": "HEAT",
+ "data": [
+ {
+ "file": "hot-nimbus-oam_v1.0.env",
+ "type": "HEAT_ENV"
+ },
+ {
+ "file": "hot-nimbus-oam-volumes_v1.0.yaml",
+ "type": "HEAT_VOL",
+ "data": [{
+ "file": "hot-nimbus-oam-volumes_v1.0.env",
+ "type": "HEAT_ENV"
+ }]
+ }
+ ]
+ },
+ {
+ "file": "hot-nimbus-pcm_v1.0.yaml",
+ "type": "HEAT",
+ "data": [
+ {
+ "file": "hot-nimbus-pcm_v1.0.env",
+ "type": "HEAT_ENV"
+ },
+ {
+ "file": "hot-nimbus-pcm-volumes_v1.0.yaml",
+ "type": "HEAT_VOL",
+ "data": [{
+ "file": "hot-nimbus-pcm-volumes_v1.0.env",
+ "type": "HEAT_ENV"
+ }]
+ }
+ ]
+ },
+ {
+ "file": "hot-nimbus-ppd_v1.0.yaml",
+ "type": "HEAT",
+ "data": [{
+ "file": "hot-nimbus-ppd_v1.1.env",
+ "type": "HEAT_ENV"
+ }]
+ },
+ {
+ "file": "hot-nimbus-pps_v1.0.yaml",
+ "type": "HEAT",
+ "data": [{
+ "file": "hot-nimbus-pps_v1.0.env",
+ "type": "HEAT_ENV"
+ }]
+ },
+ {
+ "file": "hot-nimbus-psm_v1.0.yaml",
+ "type": "HEAT",
+ "data": [{
+ "file": "hot-nimbus-psm_v1.0.env",
+ "type": "HEAT_ENV"
+ }]
+ },
+ {
+ "file": "nested-oam_v1.0.yaml",
+ "type": "HEAT"
+ },
+ {
+ "file": "nested-pcm_v1.0.yaml",
+ "type": "HEAT"
+ },
+ {
+ "file": "nested-ppd_v1.0.yaml",
+ "type": "HEAT"
+ },
+ {
+ "file": "nested-pps_v1.0.yaml",
+ "type": "HEAT"
+ },
+ {
+ "file": "nested-psm_v1.0.yaml",
+ "type": "HEAT"
+ },
+ {
+ "file": "cloud-nimbus.sh",
+ "type": "SHELL"
+ },
+ {
+ "file": "nimbus-ethernet",
+ "type": "OTHER"
+ },
+ {
+ "file": "nimbus-ethernet-gw",
+ "type": "OTHER"
+ }
+ ]
+} \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/cloud-nimbus.sh b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/cloud-nimbus.sh
new file mode 100644
index 0000000000..8e5a486289
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/cloud-nimbus.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+echo "Running first-boot script"
+FLAG="first-boot.sh"
+echo "First boot run" > ${FLAG}
+echo "$vm_name" >> ${FLAG}
+touch /var/lib/cloud/instance/payload/launch-params
+chmod 644 /var/lib/cloud/instance/payload/launch-params
+#for i in $(ls /sys/class/net); do
+# echo "Restart $i" >> ${FLAG}
+# ifdown ${i}
+# ifup ${i}
+#done
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-oam-volumes_v1.0.env b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-oam-volumes_v1.0.env
new file mode 100644
index 0000000000..b494d8c270
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-oam-volumes_v1.0.env
@@ -0,0 +1,6 @@
+parameters:
+ pcrf_oam_vol_size: 500
+ pcrf_oam_volume_silver-1: Silver
+ pcrf_oam_volume_silver-2: Silver
+ pcrf_oam_vol_name_1: sde1-pcrfx01-oam001-vol-1
+ pcrf_oam_vol_name_2: sde1-pcrfx01-oam001-vol-2 \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-oam-volumes_v1.0.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-oam-volumes_v1.0.yaml
new file mode 100644
index 0000000000..3b05f6fc8b
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-oam-volumes_v1.0.yaml
@@ -0,0 +1,45 @@
+heat_template_version: 2013-05-23
+
+parameters:
+ pcrf_oam_vol_size:
+ type: number
+ label: Cinder volume size
+ description: the size of the Cinder volume
+ pcrf_oam_vol_name_1:
+ type: string
+ label: OAM volume name 1
+ description: Assigning name to volume
+ pcrf_oam_vol_name_2:
+ type: string
+ label: OAM volume name 2
+ description: Assigning name to volume
+ pcrf_oam_volume_silver-1:
+ type: string
+ label: vm volume type
+ description: the name of the target volume backend for OAM1
+ pcrf_oam_volume_silver-2:
+ type: string
+ label: vm volume type
+ description: the name of the target volume backend for OAM2
+
+resources:
+ pcrf_oam_volume_id_11:
+ type: OS::Cinder::Volume
+ properties:
+ size: {get_param: pcrf_oam_vol_size}
+ volume_type: {get_param: pcrf_oam_volume_silver-1}
+ name: {get_param: pcrf_oam_vol_name_1}
+
+ pcrf_oam_volume_id_22:
+ type: OS::Cinder::Volume
+ properties:
+ size: {get_param: pcrf_oam_vol_size}
+ volume_type: {get_param: pcrf_oam_volume_silver-2}
+ name: {get_param: pcrf_oam_vol_name_2}
+outputs:
+ pcrf_oam_volume_id_1:
+ description: the oam 001 volume id
+ value: { get_resource: pcrf_oam_volume_id_11 }
+ pcrf_oam_volume_id_2:
+ description: the oam 002 volume id
+ value: { get_resource: pcrf_oam_volume_id_22 } \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-oam_v1.0.env b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-oam_v1.0.env
new file mode 100644
index 0000000000..138feb5822
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-oam_v1.0.env
@@ -0,0 +1,18 @@
+parameters:
+ pcrf_oam_server_names: ZRDM1PCRF01OAM001,ZRDM1PCRF01OAM002
+ pcrf_oam_image_name: PCRF_8.995-ATTM1.0.3.qcow2
+ pcrf_oam_flavor_name: lc.4xlarge4
+ availabilityzone_name: nova
+ pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0
+ pcrf_cps_net_ips: 172.26.16.111,172.26.16.112
+ pcrf_arbiter_vip: 172.26.16.115
+ pcrf_cps_net_mask: 255.255.255.0
+ pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0
+ pcrf_oam_net_ips: 107.239.64.117,107.239.64.118
+ pcrf_oam_net_gw: 107.239.64.1
+ pcrf_oam_net_mask: 255.255.248.0
+ pcrf_oam_volume_id_1: a4aa05fb-fcdc-457b-8077-6845fdfc3257
+ pcrf_oam_volume_id_2: 93d8fc1f-f1c3-4933-86b2-039881ee910f
+ pcrf_security_group_name: nimbus_security_group
+ pcrf_vnf_id: 730797234b4a40aa99335157b02871cd
+
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-oam_v1.0.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-oam_v1.0.yaml
new file mode 100644
index 0000000000..2aa1235de2
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-oam_v1.0.yaml
@@ -0,0 +1,109 @@
+heat_template_version: 2013-05-23
+
+description: heat template that creates multiple PCRF OAM nodes stack
+
+parameters:
+ pcrf_oam_server_names:
+ type: comma_delimited_list
+ label: PCRF OAM server names
+ description: name of the PCRF OAM instance
+ pcrf_oam_image_name:
+ type: string
+ label: PCRF OAM image name
+ description: PCRF OAM image name
+ pcrf_oam_flavor_name:
+ type: string
+ label: PCRF OAM flavor name
+ description: flavor name of PCRF OAM instance
+ availabilityzone_name:
+ type: string
+ label: availabilityzone name
+ description: availabilityzone name
+ pcrf_cps_net_name:
+ type: string
+ label: CPS network name
+ description: CPS network name
+ pcrf_cps_net_ips:
+ type: comma_delimited_list
+ label: CPS network ips
+ description: CPS network ips
+ pcrf_cps_net_mask:
+ type: string
+ label: CPS network mask
+ description: CPS network mask
+ pcrf_arbiter_vip:
+ type: string
+ label: OAM Arbiter LB VIP
+ description: OAM Arbiter LB VIP
+ pcrf_oam_net_name:
+ type: string
+ label: OAM network name
+ description: OAM network name
+ pcrf_oam_net_ips:
+ type: comma_delimited_list
+ label: OAM network ips
+ description: OAM network ips
+ pcrf_oam_net_gw:
+ type: string
+ label: CPS network gateway
+ description: CPS network gateway
+ pcrf_oam_net_mask:
+ type: string
+ label: CPS network mask
+ description: CPS network mask
+ pcrf_oam_volume_id_1:
+ type: string
+ label: CPS OAM 001 Cinder Volume
+ description: CPS OAM 001 Cinder Volumes
+ pcrf_oam_volume_id_2:
+ type: string
+ label: CPS OAM 002 Cinder Volume
+ description: CPS OAM 002 Cinder Volumes
+ pcrf_security_group_name:
+ type: string
+ label: security group name
+ description: the name of security group
+ pcrf_vnf_id:
+ type: string
+ label: PCRF VNF Id
+ description: PCRF VNF Id
+
+resources:
+ server_pcrf_oam_001:
+ type: nested-oam_v1.0.yaml
+ properties:
+ pcrf_oam_server_name: { get_param: [pcrf_oam_server_names, 0] }
+ pcrf_oam_image_name: { get_param: pcrf_oam_image_name }
+ pcrf_oam_flavor_name: { get_param: pcrf_oam_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_oam_volume_id: { get_param: pcrf_oam_volume_id_1 }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_oam_net_name: { get_param: pcrf_oam_net_name }
+ pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] }
+ pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask }
+ pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw }
+ pcrf_arbiter_vip: { get_param: pcrf_arbiter_vip }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_oam_002:
+ type: nested-oam_v1.0.yaml
+ depends_on: [server_pcrf_oam_001]
+ properties:
+ pcrf_oam_server_name: { get_param: [pcrf_oam_server_names, 1] }
+ pcrf_oam_image_name: { get_param: pcrf_oam_image_name }
+ pcrf_oam_flavor_name: { get_param: pcrf_oam_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_oam_volume_id: { get_param: pcrf_oam_volume_id_2 }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_oam_net_name: { get_param: pcrf_oam_net_name }
+ pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 1] }
+ pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask }
+ pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw }
+ pcrf_arbiter_vip: { get_param: pcrf_arbiter_vip }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pcm-volumes_v1.0.env b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pcm-volumes_v1.0.env
new file mode 100644
index 0000000000..788365dcd3
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pcm-volumes_v1.0.env
@@ -0,0 +1,4 @@
+parameters:
+ pcrf_pcm_vol_size: 50
+ pcrf_pcm_volume_silver: Silver
+ pcrf_pcm_vol_name_1: sde1-pcrfx01-pcm001-vol-1
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pcm-volumes_v1.0.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pcm-volumes_v1.0.yaml
new file mode 100644
index 0000000000..11a491164d
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pcm-volumes_v1.0.yaml
@@ -0,0 +1,28 @@
+heat_template_version: 2013-05-23
+
+parameters:
+ pcrf_pcm_vol_size:
+ type: number
+ label: Cinder volume size
+ description: the size of the Cinder volume
+ pcrf_pcm_vol_name_1:
+ type: string
+ label: PCM volume name
+ description: Assigning name to volume
+ pcrf_pcm_volume_silver:
+ type: string
+ label: vm volume type
+ description: the name of the target volume backend for PCM
+
+resources:
+ pcrf_pcm_volume_id_1:
+ type: OS::Cinder::Volume
+ properties:
+ size: { get_param: pcrf_pcm_vol_size }
+ volume_type: { get_param: pcrf_pcm_volume_silver }
+ name: { get_param: pcrf_pcm_vol_name_1 }
+
+outputs:
+ pcrf_pcm_volume_id_1:
+ description: the pcrf_pcm_volume_id
+ value: { get_resource: pcrf_pcm_volume_id_1 } \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pcm_v1.0.env b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pcm_v1.0.env
new file mode 100644
index 0000000000..82fb510291
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pcm_v1.0.env
@@ -0,0 +1,16 @@
+parameters:
+ pcrf_pcm_server_names: ZRDM1PCRF01PCM001
+ pcrf_pcm_image_name: PCRF_8.995-ATTM1.0.3.qcow2
+ pcrf_pcm_flavor_name: lc.2xlarge4
+ availabilityzone_name: nova
+ pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0
+ pcrf_cps_net_ips: 172.26.16.113
+ pcrf_cps_net_mask: 255.255.255.0
+ pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0
+ pcrf_oam_net_ips: 107.239.64.121
+ pcrf_oam_net_gw: 107.239.64.1
+ pcrf_oam_net_mask: 255.255.248.0
+ pcrf_pcm_volume_id_1: 3438a3fe-1241-4390-80f2-d0b86238c40e
+ pcrf_security_group_name: nimbus_security_group
+ pcrf_vnf_id: 730797234b4a40aa99335157b02871cd
+
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pcm_v1.0.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pcm_v1.0.yaml
new file mode 100644
index 0000000000..2dd7480bfc
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pcm_v1.0.yaml
@@ -0,0 +1,80 @@
+heat_template_version: 2013-05-23
+
+description: heat template that creates PCRF Cluman stack
+
+parameters:
+ pcrf_pcm_server_names:
+ type: comma_delimited_list
+ label: PCRF CM server names
+ description: name of the PCRF CM instance
+ pcrf_pcm_image_name:
+ type: string
+ label: PCRF CM image name
+ description: PCRF CM image name
+ pcrf_pcm_flavor_name:
+ type: string
+ label: PCRF CM flavor name
+ description: flavor name of PCRF CM instance
+ availabilityzone_name:
+ type: string
+ label: availabilityzone name
+ description: availabilityzone name
+ pcrf_cps_net_name:
+ type: string
+ label: CPS network name
+ description: CPS network name
+ pcrf_cps_net_ips:
+ type: comma_delimited_list
+ label: CPS network ips
+ description: CPS network ips
+ pcrf_cps_net_mask:
+ type: string
+ label: CPS network mask
+ description: CPS network mask
+ pcrf_oam_net_name:
+ type: string
+ label: OAM network name
+ description: OAM network name
+ pcrf_oam_net_ips:
+ type: comma_delimited_list
+ label: OAM network ips
+ description: OAM network ips
+ pcrf_oam_net_gw:
+ type: string
+ label: CPS network gateway
+ description: CPS network gateway
+ pcrf_oam_net_mask:
+ type: string
+ label: CPS network mask
+ description: CPS network mask
+ pcrf_pcm_volume_id_1:
+ type: string
+ label: CPS Cluman Cinder Volume
+ description: CPS Cluman Cinder Volume
+ pcrf_security_group_name:
+ type: string
+ label: security group name
+ description: the name of security group
+ pcrf_vnf_id:
+ type: string
+ label: PCRF VNF Id
+ description: PCRF VNF Id
+
+resources:
+ server_pcrf_pcm_001:
+ type: nested-pcm_v1.0.yaml
+ properties:
+ pcrf_pcm_server_name: { get_param: [pcrf_pcm_server_names, 0] }
+ pcrf_pcm_image_name: { get_param: pcrf_pcm_image_name }
+ pcrf_pcm_flavor_name: { get_param: pcrf_pcm_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_pcm_volume_id: { get_param: pcrf_pcm_volume_id_1 }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_oam_net_name: { get_param: pcrf_oam_net_name }
+ pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] }
+ pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask }
+ pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-ppd_v1.0.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-ppd_v1.0.yaml
new file mode 100644
index 0000000000..2fffa0df8c
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-ppd_v1.0.yaml
@@ -0,0 +1,286 @@
+heat_template_version: 2013-05-23
+
+description: heat template that creates PCRF Policy Director stack
+
+parameters:
+ pcrf_ppd_server_names:
+ type: comma_delimited_list
+ label: PCRF PD server names
+ description: name of the PCRF PD instance
+ pcrf_ppd_image_name:
+ type: string
+ label: PCRF PD image name
+ description: PCRF PD image name
+ pcrf_ppd_flavor_name:
+ type: string
+ label: PCRF PD flavor name
+ description: flavor name of PCRF PD instance
+ availabilityzone_name:
+ type: string
+ label: availabilityzone name
+ description: availabilityzone name
+ pcrf_cps_net_name:
+ type: string
+ label: CPS network name
+ description: CPS network name
+ pcrf_cps_net_ips:
+ type: comma_delimited_list
+ label: CPS network ips
+ description: CPS network ips
+ pcrf_cps_net_mask:
+ type: string
+ label: CPS network mask
+ description: CPS network mask
+ pcrf_lb_internal_vip:
+ type: string
+ label: CPS Internal LB VIP
+ description: CPS Internal LB VIP
+ pcrf_oam_net_name:
+ type: string
+ label: OAM network name
+ description: OAM network name
+ pcrf_oam_net_ips:
+ type: comma_delimited_list
+ label: OAM network ips
+ description: OAM network ips
+ pcrf_oam_net_gw:
+ type: string
+ label: CPS network gateway
+ description: CPS network gateway
+ pcrf_oam_net_mask:
+ type: string
+ label: CPS network mask
+ description: CPS network mask
+ pcrf_lb_management_vip:
+ type: string
+ label: CPS OAM LB VIP
+ description: CPS OAM LB VIP
+ pcrf_gx_net_name:
+ type: string
+ label: Gx network name
+ description: Gx network name
+ pcrf_gx_net_ips:
+ type: comma_delimited_list
+ label: Gx network ips
+ description: Gx network ips
+ pcrf_gx_net_mask:
+ type: string
+ label: Gx network mask
+ description: Gx network mask
+ pcrf_sp_net_name:
+ type: string
+ label: Sp network name
+ description: Sp network name
+ pcrf_sp_net_ips:
+ type: comma_delimited_list
+ label: Sp network ips
+ description: Sp network ips
+ pcrf_sp_net_mask:
+ type: string
+ label: Sp network mask
+ description: Sp network mask
+ pcrf_sy_net_name:
+ type: string
+ label: Sy network name
+ description: Sy network name
+ pcrf_sy_net_ips:
+ type: comma_delimited_list
+ label: Sy network ips
+ description: Sy network ips
+ pcrf_sy_net_mask:
+ type: string
+ label: Sy network mask
+ description: Sy network mask
+ pcrf_rx_net_name:
+ type: string
+ label: Rx network name
+ description: Rx network name
+ pcrf_rx_net_ips:
+ type: comma_delimited_list
+ label: Rx network ips
+ description: Rx network ips
+ pcrf_rx_net_mask:
+ type: string
+ label: Rx network mask
+ description: Rx network mask
+ pcrf_sd_net_name:
+ type: string
+ label: Sd network name
+ description: Sd network name
+ pcrf_sd_net_ips:
+ type: comma_delimited_list
+ label: Sd network ips
+ description: Sd network ips
+ pcrf_sd_net_mask:
+ type: string
+ label: Sd network mask
+ description: Sd network mask
+ pcrf_sgi_sy_net_name:
+ type: string
+ label: Sgi Sy network name
+ description: Sgi Sy network name
+ pcrf_sgi_sy_net_ips:
+ type: comma_delimited_list
+ label: Sgi Sy network ips
+ description: Sgi Sy network ips
+ pcrf_sgi_sy_net_mask:
+ type: string
+ label: Sgi Sy network mask
+ description: Sgi Sy network mask
+ pcrf_security_group_name:
+ type: string
+ label: security group name
+ description: the name of security group
+ pcrf_vnf_id:
+ type: string
+ label: PCRF VNF Id
+ description: PCRF VNF Id
+
+resources:
+ server_pcrf_ppd_001:
+ type: nested-ppd_v1.0.yaml
+ properties:
+ pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 0] }
+ pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name }
+ pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip }
+ pcrf_oam_net_name: { get_param: pcrf_oam_net_name }
+ pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] }
+ pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask }
+ pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw }
+ pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip }
+ pcrf_gx_net_name: { get_param: pcrf_gx_net_name }
+ pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 0] }
+ pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask }
+ pcrf_sp_net_name: { get_param: pcrf_sp_net_name }
+ pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 0] }
+ pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask }
+ pcrf_sy_net_name: { get_param: pcrf_sy_net_name }
+ pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 0] }
+ pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask }
+ pcrf_rx_net_name: { get_param: pcrf_rx_net_name }
+ pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 0] }
+ pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask }
+ pcrf_sd_net_name: { get_param: pcrf_sd_net_name }
+ pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 0] }
+ pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask }
+ pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name }
+ pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 0] }
+ pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_ppd_002:
+ type: nested-ppd_v1.0.yaml
+ properties:
+ pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 1] }
+ pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name }
+ pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip }
+ pcrf_oam_net_name: { get_param: pcrf_oam_net_name }
+ pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 1] }
+ pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask }
+ pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw }
+ pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip }
+ pcrf_gx_net_name: { get_param: pcrf_gx_net_name }
+ pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 1] }
+ pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask }
+ pcrf_sp_net_name: { get_param: pcrf_sp_net_name }
+ pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 1] }
+ pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask }
+ pcrf_sy_net_name: { get_param: pcrf_sy_net_name }
+ pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 1] }
+ pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask }
+ pcrf_rx_net_name: { get_param: pcrf_rx_net_name }
+ pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 1] }
+ pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask }
+ pcrf_sd_net_name: { get_param: pcrf_sd_net_name }
+ pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 1] }
+ pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask }
+ pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name }
+ pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 1] }
+ pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_ppd_003:
+ type: nested-ppd_v1.0.yaml
+ properties:
+ pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 2] }
+ pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name }
+ pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 2] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip }
+ pcrf_oam_net_name: { get_param: pcrf_oam_net_name }
+ pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 2] }
+ pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask }
+ pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw }
+ pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip }
+ pcrf_gx_net_name: { get_param: pcrf_gx_net_name }
+ pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 2] }
+ pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask }
+ pcrf_sp_net_name: { get_param: pcrf_sp_net_name }
+ pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 2] }
+ pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask }
+ pcrf_sy_net_name: { get_param: pcrf_sy_net_name }
+ pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 2] }
+ pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask }
+ pcrf_rx_net_name: { get_param: pcrf_rx_net_name }
+ pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 2] }
+ pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask }
+ pcrf_sd_net_name: { get_param: pcrf_sd_net_name }
+ pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 2] }
+ pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask }
+ pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name }
+ pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 2] }
+ pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_ppd_004:
+ type: nested-ppd_v1.0.yaml
+ properties:
+ pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 3] }
+ pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name }
+ pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 3] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip }
+ pcrf_oam_net_name: { get_param: pcrf_oam_net_name }
+ pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 3] }
+ pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask }
+ pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw }
+ pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip }
+ pcrf_gx_net_name: { get_param: pcrf_gx_net_name }
+ pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 3] }
+ pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask }
+ pcrf_sp_net_name: { get_param: pcrf_sp_net_name }
+ pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 3] }
+ pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask }
+ pcrf_sy_net_name: { get_param: pcrf_sy_net_name }
+ pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 3] }
+ pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask }
+ pcrf_rx_net_name: { get_param: pcrf_rx_net_name }
+ pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 3] }
+ pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask }
+ pcrf_sd_net_name: { get_param: pcrf_sd_net_name }
+ pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 3] }
+ pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask }
+ pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name }
+ pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 3] }
+ pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-ppd_v1.1.env b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-ppd_v1.1.env
new file mode 100644
index 0000000000..bb6dfe468c
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-ppd_v1.1.env
@@ -0,0 +1,35 @@
+parameters:
+ pcrf_ppd_server_names: ZRDM1PCRF01PPD001,ZRDM1PCRF01PPD002,ZRDM1PCRF01PPD003,ZRDM1PCRF01PPD004
+ pcrf_ppd_image_name: PCRF_8.995-ATTM1.0.3.qcow2
+ pcrf_ppd_flavor_name: lc.4xlarge4
+ availabilityzone_name: nova
+ pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0
+ pcrf_cps_net_ips: 172.26.16.3,172.26.16.4,172.26.16.5,172.26.16.6
+ pcrf_lb_internal_vip: 172.26.16.114
+ pcrf_cps_net_mask: 255.255.255.0
+ pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0
+ pcrf_oam_net_ips: 107.239.64.113,107.239.64.114,107.239.64.115,107.239.64.116
+ pcrf_lb_management_vip: 107.239.64.123
+ pcrf_oam_net_gw: 107.239.64.1
+ pcrf_oam_net_mask: 255.255.248.0
+ pcrf_gx_net_name: Mobisupport-25193-I-INT1_cor_pcrf_gx_net_0
+ pcrf_gx_net_ips: 107.239.24.67,107.239.24.68,107.239.24.69,107.239.24.70
+ pcrf_gx_net_mask: 255.255.255.248
+ pcrf_sp_net_name: Mobisupport-25193-I-INT1_cor_pcrf_sp_net_0
+ pcrf_sp_net_ips: 107.239.24.75,107.239.24.76,107.239.24.77,107.239.24.78
+ pcrf_sp_net_mask: 255.255.255.248
+ pcrf_sy_net_name: Mobisupport-25193-I-INT1_cor_pcrf_sy_net_0
+ pcrf_sy_net_ips: 107.239.24.83,107.239.24.84,107.239.24.85,107.239.24.86
+ pcrf_sy_net_mask: 255.255.255.248
+ pcrf_rx_net_name: Mobisupport-25193-I-INT1_cor_pcrf_rx_net_0
+ pcrf_rx_net_ips: 107.239.24.91,107.239.24.92,107.239.24.93,107.239.24.94
+ pcrf_rx_net_mask: 255.255.255.248
+ pcrf_sd_net_name: Mobisupport-25193-I-INT1_cor_pcrf_sd_net_0
+ pcrf_sd_net_ips: 107.239.24.99,107.239.24.100,107.239.24.101,107.239.24.102
+ pcrf_sd_net_mask: 255.255.255.248
+ pcrf_sgi_sy_net_name: Mobisupport-25193-I-INT1_sgi_pcrf_sy_net_0
+ pcrf_sgi_sy_net_ips: 107.239.26.131,107.239.26.132,107.239.26.133,107.239.26.134
+ pcrf_sgi_sy_net_mask: 255.255.255.248
+ pcrf_security_group_name: nimbus_security_group
+ pcrf_vnf_id: 730797234b4a40aa99335157b02871cd
+
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pps_v1.0.env b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pps_v1.0.env
new file mode 100644
index 0000000000..340be2b815
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pps_v1.0.env
@@ -0,0 +1,11 @@
+parameters:
+ pcrf_pps_server_names: ZRDM1PCRF01PPS001,ZRDM1PCRF01PPS002,ZRDM1PCRF01PPS003,ZRDM1PCRF01PPS004,ZRDM1PCRF01PPS005,ZRDM1PCRF01PPS006
+ pcrf_pps_image_name: PCRF_8.995-ATTM1.0.3.qcow2
+ pcrf_pps_flavor_name: lc.3xlarge
+ availabilityzone_name: nova
+ pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0
+ pcrf_cps_net_ips: 172.26.16.7,172.26.16.8,172.26.16.9,172.26.16.10,172.26.16.11,172.26.16.12
+ pcrf_cps_net_mask: 255.255.255.0
+ pcrf_security_group_name: nimbus_security_group
+ pcrf_vnf_id: 730797234b4a40aa99335157b02871cd
+
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pps_v1.0.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pps_v1.0.yaml
new file mode 100644
index 0000000000..05bd6c9318
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-pps_v1.0.yaml
@@ -0,0 +1,121 @@
+heat_template_version: 2013-05-23
+
+description: heat template that creates PCRF Policy Server stack
+
+parameters:
+ pcrf_pps_server_names:
+ type: comma_delimited_list
+ label: PCRF PS server names
+ description: PCRF PS server names
+ pcrf_pps_image_name:
+ type: string
+ label: PCRF PS image name
+ description: PCRF PS image name
+ pcrf_pps_flavor_name:
+ type: string
+ label: PCRF PS flavor name
+ description: flavor name of PCRF PS instance
+ availabilityzone_name:
+ type: string
+ label: availabilityzone name
+ description: availabilityzone name
+ pcrf_cps_net_name:
+ type: string
+ label: CPS network name
+ description: CPS network name
+ pcrf_cps_net_ips:
+ type: comma_delimited_list
+ label: CPS network ips
+ description: CPS network ips
+ pcrf_cps_net_mask:
+ type: string
+ label: CPS network mask
+ description: CPS network mask
+ pcrf_security_group_name:
+ type: string
+ label: security group name
+ description: the name of security group
+ pcrf_vnf_id:
+ type: string
+ label: PCRF VNF Id
+ description: PCRF VNF Id
+
+resources:
+ server_pcrf_pps_001:
+ type: nested-pps_v1.0.yaml
+ properties:
+ pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 0] }
+ pcrf_pps_image_name: { get_param: pcrf_pps_image_name }
+ pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_pps_002:
+ type: nested-pps_v1.0.yaml
+ properties:
+ pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 1] }
+ pcrf_pps_image_name: { get_param: pcrf_pps_image_name }
+ pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_pps_003:
+ type: nested-pps_v1.0.yaml
+ properties:
+ pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 2] }
+ pcrf_pps_image_name: { get_param: pcrf_pps_image_name }
+ pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 2] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_pps_004:
+ type: nested-pps_v1.0.yaml
+ properties:
+ pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 3] }
+ pcrf_pps_image_name: { get_param: pcrf_pps_image_name }
+ pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 3] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_pps_005:
+ type: nested-pps_v1.0.yaml
+ properties:
+ pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 4] }
+ pcrf_pps_image_name: { get_param: pcrf_pps_image_name }
+ pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 4] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_pps_006:
+ type: nested-pps_v1.0.yaml
+ properties:
+ pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 5] }
+ pcrf_pps_image_name: { get_param: pcrf_pps_image_name }
+ pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 5] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-psm_v1.0.env b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-psm_v1.0.env
new file mode 100644
index 0000000000..f24e4763c6
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-psm_v1.0.env
@@ -0,0 +1,10 @@
+parameters:
+ pcrf_psm_server_names: ZRDM1PCRF01PSM001,ZRDM1PCRF01PSM002,ZRDM1PCRF01PSM003,ZRDM1PCRF01PSM004,ZRDM1PCRF01PSM005,ZRDM1PCRF01PSM006,ZRDM1PCRF01PSM007,ZRDM1PCRF01PSM008,ZRDM1PCRF01PSM009,ZRDM1PCRF01PSM010,ZRDM1PCRF01PSM011,ZRDM1PCRF01PSM012
+ pcrf_psm_image_name: PCRF_8.995-ATTM1.0.3.qcow2
+ pcrf_psm_flavor_name: lc.4xlarge4
+ availabilityzone_name: nova
+ pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0
+ pcrf_cps_net_ips: 172.26.16.63,172.26.16.64,172.26.16.65,172.26.16.66,172.26.16.67,172.26.16.68,172.26.16.69,172.26.16.70,172.26.16.71,172.26.16.72,172.26.16.73,172.26.16.74
+ pcrf_cps_net_mask: 255.255.255.0
+ pcrf_security_group_name: nimbus_security_group
+ pcrf_vnf_id: 730797234b4a40aa99335157b02871cd
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-psm_v1.0.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-psm_v1.0.yaml
new file mode 100644
index 0000000000..c2d7b05ead
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/hot-nimbus-psm_v1.0.yaml
@@ -0,0 +1,199 @@
+heat_template_version: 2013-05-23
+
+description: heat template that creates PCRF Session Manager stack
+
+parameters:
+ pcrf_psm_server_names:
+ type: comma_delimited_list
+ label: PCRF SM server names
+ description: name of the PCRF SM instance
+ pcrf_psm_image_name:
+ type: string
+ label: PCRF SM image name
+ description: PCRF SM image name
+ pcrf_psm_flavor_name:
+ type: string
+ label: PCRF SM flavor name
+ description: flavor name of PCRF SM instance
+ availabilityzone_name:
+ type: string
+ label: availabilityzone name
+ description: availabilityzone name
+ pcrf_cps_net_name:
+ type: string
+ label: CPS network name
+ description: CPS network name
+ pcrf_cps_net_ips:
+ type: comma_delimited_list
+ label: CPS network ips
+ description: CPS network ips
+ pcrf_cps_net_mask:
+ type: string
+ label: CPS network mask
+ description: CPS network mask
+ pcrf_security_group_name:
+ type: string
+ label: security group name
+ description: the name of security group
+ pcrf_vnf_id:
+ type: string
+ label: PCRF VNF Id
+ description: PCRF VNF Id
+
+resources:
+ server_pcrf_psm_001:
+ type: nested-psm_v1.0.yaml
+ properties:
+ pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 0] }
+ pcrf_psm_image_name: { get_param: pcrf_psm_image_name }
+ pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_psm_002:
+ type: nested-psm_v1.0.yaml
+ properties:
+ pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 1] }
+ pcrf_psm_image_name: { get_param: pcrf_psm_image_name }
+ pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_psm_003:
+ type: nested-psm_v1.0.yaml
+ properties:
+ pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 2] }
+ pcrf_psm_image_name: { get_param: pcrf_psm_image_name }
+ pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 2] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_psm_004:
+ type: nested-psm_v1.0.yaml
+ properties:
+ pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 3] }
+ pcrf_psm_image_name: { get_param: pcrf_psm_image_name }
+ pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 3] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_psm_005:
+ type: nested-psm_v1.0.yaml
+ properties:
+ pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 4] }
+ pcrf_psm_image_name: { get_param: pcrf_psm_image_name }
+ pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 4] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_psm_006:
+ type: nested-psm_v1.0.yaml
+ properties:
+ pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 5] }
+ pcrf_psm_image_name: { get_param: pcrf_psm_image_name }
+ pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 5] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_psm_007:
+ type: nested-psm_v1.0.yaml
+ properties:
+ pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 6] }
+ pcrf_psm_image_name: { get_param: pcrf_psm_image_name }
+ pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 6] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_psm_008:
+ type: nested-psm_v1.0.yaml
+ properties:
+ pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 7] }
+ pcrf_psm_image_name: { get_param: pcrf_psm_image_name }
+ pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 7] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_psm_009:
+ type: nested-psm_v1.0.yaml
+ properties:
+ pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 8] }
+ pcrf_psm_image_name: { get_param: pcrf_psm_image_name }
+ pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 8] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_psm_010:
+ type: nested-psm_v1.0.yaml
+ properties:
+ pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 9] }
+ pcrf_psm_image_name: { get_param: pcrf_psm_image_name }
+ pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 9] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_psm_011:
+ type: nested-psm_v1.0.yaml
+ properties:
+ pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 10] }
+ pcrf_psm_image_name: { get_param: pcrf_psm_image_name }
+ pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 10] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
+ server_pcrf_psm_012:
+ type: nested-psm_v1.0.yaml
+ properties:
+ pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 11] }
+ pcrf_psm_image_name: { get_param: pcrf_psm_image_name }
+ pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name }
+ availabilityzone_name: { get_param: availabilityzone_name }
+ pcrf_security_group_name: { get_param: pcrf_security_group_name }
+ pcrf_cps_net_name: { get_param: pcrf_cps_net_name }
+ pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 11] }
+ pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask }
+ pcrf_vnf_id: {get_param: pcrf_vnf_id}
+
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-oam_v1.0.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-oam_v1.0.yaml
new file mode 100644
index 0000000000..a832498a6c
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-oam_v1.0.yaml
@@ -0,0 +1,156 @@
+heat_template_version: 2013-05-23
+
+description: nested heat template that creates a PCRF OAM node stack
+
+parameters:
+ pcrf_oam_server_name:
+ type: string
+ label: PCRF OAM server name
+ description: PCRF OAM server name
+ pcrf_oam_image_name:
+ type: string
+ label: image name
+ description: PCRF OAM image name
+ pcrf_oam_flavor_name:
+ type: string
+ label: PCRF OAM flavor name
+ description: flavor name of PCRF OAM instance
+ availabilityzone_name:
+ type: string
+ label: availabilityzone name
+ description: availabilityzone name
+ pcrf_cps_net_name:
+ type: string
+ label: CPS network name
+ description: CPS network name
+ pcrf_cps_net_ip:
+ type: string
+ label: CPS network ip
+ description: CPS network ip
+ pcrf_cps_net_mask:
+ type: string
+ label: CPS network mask
+ description: CPS network mask
+ pcrf_arbiter_vip:
+ type: string
+ label: OAM Arbiter LB VIP
+ description: OAM Arbiter LB VIP
+ pcrf_oam_net_name:
+ type: string
+ label: OAM network name
+ description: OAM network name
+ pcrf_oam_net_ip:
+ type: string
+ label: OAM network ip
+ description: OAM network ip
+ pcrf_oam_net_gw:
+ type: string
+ label: CPS network gateway
+ description: CPS network gateway
+ pcrf_oam_net_mask:
+ type: string
+ label: CPS network mask
+ description: CPS network mask
+ pcrf_oam_volume_id:
+ type: string
+ label: CPS OAM Cinder Volume
+ description: CPS OAM Cinder Volume
+ pcrf_security_group_name:
+ type: string
+ label: security group name
+ description: the name of security group
+ pcrf_vnf_id:
+ type: string
+ label: PCRF VNF Id
+ description: PCRF VNF Id
+
+resources:
+ network:
+ type: OS::Heat::CloudConfig
+ properties:
+ cloud_config:
+ write_files:
+ - path: /etc/sysconfig/network-scripts/ifcfg-eth0
+ permissions: "0644"
+ content:
+ str_replace:
+ template: { get_file: "file:///nimbus-ethernet" }
+ params:
+ $dev: eth0
+ $ip: { get_param: pcrf_cps_net_ip }
+ $netmask: { get_param: pcrf_cps_net_mask }
+ - path: /etc/sysconfig/network-scripts/ifcfg-eth1
+ permissions: "0644"
+ content:
+ str_replace:
+ template: { get_file: nimbus-ethernet-gw }
+ params:
+ $dev: eth1
+ $ip: { get_param: pcrf_oam_net_ip }
+ $netmask: { get_param: pcrf_oam_net_mask }
+ $gateway: { get_param: pcrf_oam_net_gw }
+ runcmd:
+ - ifdown eth0 && ifup eth0
+ - ifdown eth1 && ifup eth1
+ script_init:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: ungrouped
+ config:
+ str_replace:
+ template: { get_file: cloud-nimbus.sh }
+ params:
+ $vm_name: { get_param: pcrf_oam_server_name }
+ pcrf_server_init:
+ type: OS::Heat::MultipartMime
+ properties:
+ parts:
+ - config: { get_resource: network}
+ - config: { get_resource: script_init}
+
+ pcrf_server_oam:
+ type: OS::Nova::Server
+ properties:
+ config_drive: "True"
+ name: { get_param: pcrf_oam_server_name }
+ image: { get_param: pcrf_oam_image_name }
+ flavor: { get_param: pcrf_oam_flavor_name }
+ availability_zone: { get_param: availabilityzone_name }
+ networks:
+ - port: { get_resource: pcrf_oam_port_0}
+ - port: { get_resource: pcrf_oam_port_1}
+ user_data_format: RAW
+ user_data:
+ get_resource: pcrf_server_init
+ metadata:
+ vnf_id: {get_param: pcrf_vnf_id}
+
+ pcrf_oam_port_0:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: pcrf_cps_net_name }
+ fixed_ips:
+ - ip_address: { get_param: pcrf_cps_net_ip }
+ allowed_address_pairs:
+ - ip_address: { get_param: pcrf_arbiter_vip }
+ security_groups: [{ get_param: pcrf_security_group_name }]
+
+ pcrf_oam_port_1:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: pcrf_oam_net_name }
+ fixed_ips:
+ - ip_address: { get_param: pcrf_oam_net_ip }
+ security_groups: [{ get_param: pcrf_security_group_name }]
+
+ pcrf_oam_vol_attachment:
+ type: OS::Cinder::VolumeAttachment
+ properties:
+ volume_id: { get_param: pcrf_oam_volume_id }
+ mountpoint: /dev/vdd
+ instance_uuid: { get_resource: pcrf_server_oam }
+
+outputs:
+ pcrf_oam_vol_attachment_id:
+ description: the pcrf_oam_vol_attachment_id id
+ value: { get_resource: pcrf_oam_vol_attachment }
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-pcm_v1.0.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-pcm_v1.0.yaml
new file mode 100644
index 0000000000..820d09b3dc
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-pcm_v1.0.yaml
@@ -0,0 +1,150 @@
+heat_template_version: 2013-05-23
+
+description: heat template that creates PCRF Cluman stack
+
+parameters:
+ pcrf_pcm_server_name:
+ type: string
+ label: PCRF CM server name
+ description: PCRF CM server name
+ pcrf_pcm_image_name:
+ type: string
+ label: image name
+ description: PCRF CM image name
+ pcrf_pcm_flavor_name:
+ type: string
+ label: PCRF CM flavor name
+ description: flavor name of PCRF CM instance
+ availabilityzone_name:
+ type: string
+ label: availabilityzone name
+ description: availabilityzone name
+ pcrf_cps_net_name:
+ type: string
+ label: CPS network name
+ description: CPS network name
+ pcrf_cps_net_ip:
+ type: string
+ label: CPS network ip
+ description: CPS network ip
+ pcrf_cps_net_mask:
+ type: string
+ label: CPS network mask
+ description: CPS network mask
+ pcrf_oam_net_name:
+ type: string
+ label: OAM network name
+ description: OAM network name
+ pcrf_oam_net_ip:
+ type: string
+ label: OAM network ip
+ description: OAM network ip
+ pcrf_oam_net_gw:
+ type: string
+ label: CPS network gateway
+ description: CPS network gateway
+ pcrf_oam_net_mask:
+ type: string
+ label: CPS network mask
+ description: CPS network mask
+ pcrf_pcm_volume_id:
+ type: string
+ label: CPS Cluman Cinder Volume
+ description: CPS Cluman Cinder Volume
+ pcrf_security_group_name:
+ type: string
+ label: security group name
+ description: the name of security group
+ pcrf_vnf_id:
+ type: string
+ label: PCRF VNF Id
+ description: PCRF VNF Id
+
+resources:
+ network:
+ type: OS::Heat::CloudConfig
+ properties:
+ cloud_config:
+ write_files:
+ - path: /etc/sysconfig/network-scripts/ifcfg-eth0
+ permissions: "0644"
+ content:
+ str_replace:
+ template: { get_file: nimbus-ethernet }
+ params:
+ $dev: eth0
+ $ip: { get_param: pcrf_cps_net_ip }
+ $netmask: { get_param: pcrf_cps_net_mask }
+ - path: /etc/sysconfig/network-scripts/ifcfg-eth1
+ permissions: "0644"
+ content:
+ str_replace:
+ template: { get_file: nimbus-ethernet-gw }
+ params:
+ $dev: eth1
+ $ip: { get_param: pcrf_oam_net_ip }
+ $netmask: { get_param: pcrf_oam_net_mask }
+ $gateway: { get_param: pcrf_oam_net_gw }
+ runcmd:
+ - ifdown eth0 && ifup eth0
+ - ifdown eth1 && ifup eth1
+ script_init:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: ungrouped
+ config:
+ str_replace:
+ template: { get_file: cloud-nimbus.sh }
+ params:
+ $vm_name: { get_param: pcrf_pcm_server_name }
+ pcrf_server_init:
+ type: OS::Heat::MultipartMime
+ properties:
+ parts:
+ - config: { get_resource: network}
+ - config: { get_resource: script_init}
+
+ pcrf_server_pcm:
+ type: OS::Nova::Server
+ properties:
+ config_drive: "True"
+ name: { get_param: pcrf_pcm_server_name }
+ image: { get_param: pcrf_pcm_image_name }
+ flavor: { get_param: pcrf_pcm_flavor_name }
+ availability_zone: { get_param: availabilityzone_name }
+ networks:
+ - port: { get_resource: pcrf_pcm_port_0}
+ - port: { get_resource: pcrf_pcm_port_1}
+ user_data_format: RAW
+ user_data:
+ get_resource: pcrf_server_init
+ metadata:
+ vnf_id: {get_param: pcrf_vnf_id}
+
+ pcrf_pcm_port_0:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: pcrf_cps_net_name }
+ fixed_ips:
+ - ip_address: { get_param: pcrf_cps_net_ip }
+ security_groups: [{ get_param: pcrf_security_group_name }]
+
+ pcrf_pcm_port_1:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: pcrf_oam_net_name }
+ fixed_ips:
+ - ip_address: { get_param: pcrf_oam_net_ip }
+ security_groups: [{ get_param: pcrf_security_group_name }]
+
+ volume_attachment:
+ type: OS::Cinder::VolumeAttachment
+ properties:
+ volume_id: { get_param: pcrf_pcm_volume_id }
+ mountpoint: /dev/vdd
+ instance_uuid: { get_resource: pcrf_server_pcm }
+
+outputs:
+ pcrf_server_pcm_id:
+ description: the pcm server id
+ value: { get_resource: pcrf_server_pcm } \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-ppd_v1.0.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-ppd_v1.0.yaml
new file mode 100644
index 0000000000..397e85c252
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-ppd_v1.0.yaml
@@ -0,0 +1,333 @@
+heat_template_version: 2013-05-23
+
+description: heat template that creates PCRF Policy Director stack
+
+parameters:
+ pcrf_ppd_server_name:
+ type: string
+ label: PCRF PD server name
+ description: PCRF PD server name
+ pcrf_ppd_image_name:
+ type: string
+ label: image name
+ description: PCRF PD image name
+ pcrf_ppd_flavor_name:
+ type: string
+ label: PCRF PD flavor name
+ description: flavor name of PCRF PD instance
+ availabilityzone_name:
+ type: string
+ label: availabilityzone name
+ description: availabilityzone name
+ pcrf_cps_net_name:
+ type: string
+ label: CPS network name
+ description: CPS network name
+ pcrf_cps_net_ip:
+ type: string
+ label: CPS network ip
+ description: CPS network ip
+ pcrf_cps_net_mask:
+ type: string
+ label: CPS network mask
+ description: CPS network mask
+ pcrf_lb_internal_vip:
+ type: string
+ label: CPS Internal LB VIP
+ description: CPS Internal LB VIP
+ pcrf_oam_net_name:
+ type: string
+ label: OAM network name
+ description: OAM network name
+ pcrf_oam_net_ip:
+ type: string
+ label: OAM network ip
+ description: OAM network ip
+ pcrf_oam_net_gw:
+ type: string
+ label: CPS network gateway
+ description: CPS network gateway
+ pcrf_oam_net_mask:
+ type: string
+ label: CPS network mask
+ description: CPS network mask
+ pcrf_lb_management_vip:
+ type: string
+ label: CPS OAM LB VIP
+ description: CPS OAM LB VIP
+ pcrf_gx_net_name:
+ type: string
+ label: Gx network name
+ description: Gx network name
+ pcrf_gx_net_ip:
+ type: string
+ label: Gx network ip
+ description: Gx network ip
+ pcrf_gx_net_mask:
+ type: string
+ label: Gx network mask
+ description: Gx network mask
+ pcrf_sp_net_name:
+ type: string
+ label: Sp network name
+ description: Sp network name
+ pcrf_sp_net_ip:
+ type: string
+ label: Sp network ip
+ description: Sp network ip
+ pcrf_sp_net_mask:
+ type: string
+ label: Sp network mask
+ description: Sp network mask
+ pcrf_sy_net_name:
+ type: string
+ label: Sy network name
+ description: Sy network name
+ pcrf_sy_net_ip:
+ type: string
+ label: Sy network ip
+ description: Sy network ip
+ pcrf_sy_net_mask:
+ type: string
+ label: Sy network mask
+ description: Sy network mask
+ pcrf_rx_net_name:
+ type: string
+ label: Rx network name
+ description: Rx network name
+ pcrf_rx_net_ip:
+ type: string
+ label: Rx network ip
+ description: Rx network ip
+ pcrf_rx_net_mask:
+ type: string
+ label: Rx network mask
+ description: Rx network mask
+ pcrf_sd_net_name:
+ type: string
+ label: Sd network name
+ description: Sd network name
+ pcrf_sd_net_ip:
+ type: string
+ label: Sd network ip
+ description: Sd network ip
+ pcrf_sd_net_mask:
+ type: string
+ label: Sd network mask
+ description: Sd network mask
+ pcrf_sgi_sy_net_name:
+ type: string
+ label: Sgi Sy network name
+ description: Sgi Sy network name
+ pcrf_sgi_sy_net_ip:
+ type: string
+ label: Sgi Sy network ip
+ description: Sgi Sy network ip
+ pcrf_sgi_sy_net_mask:
+ type: string
+ label: Sgi Sy network mask
+ description: Sgi Sy network mask
+ pcrf_security_group_name:
+ type: string
+ label: security group name
+ description: the name of security group
+ pcrf_vnf_id:
+ type: string
+ label: PCRF VNF Id
+ description: PCRF VNF Id
+
+resources:
+ network:
+ type: OS::Heat::CloudConfig
+ properties:
+ cloud_config:
+ write_files:
+ - path: /etc/sysconfig/network-scripts/ifcfg-eth0
+ permissions: "0644"
+ content:
+ str_replace:
+ template: { get_file: nimbus-ethernet }
+ params:
+ $dev: eth0
+ $ip: { get_param: pcrf_cps_net_ip }
+ $netmask: { get_param: pcrf_cps_net_mask }
+ - path: /etc/sysconfig/network-scripts/ifcfg-eth1
+ permissions: "0644"
+ content:
+ str_replace:
+ template: { get_file: nimbus-ethernet-gw }
+ params:
+ $dev: eth1
+ $ip: { get_param: pcrf_oam_net_ip }
+ $netmask: { get_param: pcrf_oam_net_mask }
+ $gateway: { get_param: pcrf_oam_net_gw }
+ - path: /etc/sysconfig/network-scripts/ifcfg-eth2
+ permissions: "0644"
+ content:
+ str_replace:
+ template: { get_file: nimbus-ethernet }
+ params:
+ $dev: eth2
+ $ip: { get_param: pcrf_gx_net_ip }
+ $netmask: { get_param: pcrf_gx_net_mask }
+ - path: /etc/sysconfig/network-scripts/ifcfg-eth3
+ permissions: "0644"
+ content:
+ str_replace:
+ template: { get_file: nimbus-ethernet }
+ params:
+ $dev: eth3
+ $ip: { get_param: pcrf_sp_net_ip }
+ $netmask: { get_param: pcrf_sp_net_mask }
+ - path: /etc/sysconfig/network-scripts/ifcfg-eth4
+ permissions: "0644"
+ content:
+ str_replace:
+ template: { get_file: nimbus-ethernet }
+ params:
+ $dev: eth4
+ $ip: { get_param: pcrf_sy_net_ip }
+ $netmask: { get_param: pcrf_sy_net_mask }
+ - path: /etc/sysconfig/network-scripts/ifcfg-eth5
+ permissions: "0644"
+ content:
+ str_replace:
+ template: { get_file: nimbus-ethernet }
+ params:
+ $dev: eth5
+ $ip: { get_param: pcrf_rx_net_ip }
+ $netmask: { get_param: pcrf_rx_net_mask }
+ - path: /etc/sysconfig/network-scripts/ifcfg-eth6
+ permissions: "0644"
+ content:
+ str_replace:
+ template: { get_file: nimbus-ethernet }
+ params:
+ $dev: eth6
+ $ip: { get_param: pcrf_sd_net_ip }
+ $netmask: { get_param: pcrf_sd_net_mask }
+ - path: /etc/sysconfig/network-scripts/ifcfg-eth7
+ permissions: "0644"
+ content:
+ str_replace:
+ template: { get_file: nimbus-ethernet }
+ params:
+ $dev: eth7
+ $ip: { get_param: pcrf_sgi_sy_net_ip }
+ $netmask: { get_param: pcrf_sgi_sy_net_mask }
+ runcmd:
+ - ifdown eth0 && ifup eth0
+ - ifdown eth1 && ifup eth1
+ - ifdown eth2 && ifup eth2
+ - ifdown eth3 && ifup eth3
+ - ifdown eth4 && ifup eth4
+ - ifdown eth5 && ifup eth5
+ - ifdown eth6 && ifup eth6
+ - ifdown eth7 && ifup eth7
+ script_init:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: ungrouped
+ config:
+ str_replace:
+ template: { get_file: cloud-nimbus.sh }
+ params:
+ $vm_name: { get_param: pcrf_ppd_server_name }
+ pcrf_server_init:
+ type: OS::Heat::MultipartMime
+ properties:
+ parts:
+ - config: { get_resource: network}
+ - config: { get_resource: script_init}
+
+ pcrf_server_ppd:
+ type: OS::Nova::Server
+ properties:
+ config_drive: "True"
+ name: { get_param: pcrf_ppd_server_name }
+ image: { get_param: pcrf_ppd_image_name }
+ flavor: { get_param: pcrf_ppd_flavor_name }
+ availability_zone: { get_param: availabilityzone_name }
+ networks:
+ - port: { get_resource: pcrf_ppd_port_0}
+ - port: { get_resource: pcrf_ppd_port_1}
+ - port: { get_resource: pcrf_ppd_port_2}
+ - port: { get_resource: pcrf_ppd_port_3}
+ - port: { get_resource: pcrf_ppd_port_4}
+ - port: { get_resource: pcrf_ppd_port_5}
+ - port: { get_resource: pcrf_ppd_port_6}
+ - port: { get_resource: pcrf_ppd_port_7}
+ user_data_format: RAW
+ user_data:
+ get_resource: pcrf_server_init
+ metadata:
+ vnf_id: {get_param: pcrf_vnf_id}
+
+ pcrf_ppd_port_0:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: pcrf_cps_net_name }
+ fixed_ips:
+ - ip_address: { get_param: pcrf_cps_net_ip }
+ security_groups: [{ get_param: pcrf_security_group_name }]
+ allowed_address_pairs:
+ - ip_address: { get_param: pcrf_lb_internal_vip }
+
+ pcrf_ppd_port_1:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: pcrf_oam_net_name }
+ fixed_ips:
+ - ip_address: { get_param: pcrf_oam_net_ip }
+ security_groups: [{ get_param: pcrf_security_group_name }]
+ allowed_address_pairs:
+ - ip_address: { get_param: pcrf_lb_management_vip }
+
+ pcrf_ppd_port_2:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: pcrf_gx_net_name }
+ fixed_ips:
+ - ip_address: { get_param: pcrf_gx_net_ip }
+ security_groups: [{ get_param: pcrf_security_group_name }]
+
+ pcrf_ppd_port_3:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: pcrf_sp_net_name }
+ fixed_ips:
+ - ip_address: { get_param: pcrf_sp_net_ip }
+ security_groups: [{ get_param: pcrf_security_group_name }]
+
+ pcrf_ppd_port_4:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: pcrf_sy_net_name }
+ fixed_ips:
+ - ip_address: { get_param: pcrf_sy_net_ip }
+ security_groups: [{ get_param: pcrf_security_group_name }]
+
+ pcrf_ppd_port_5:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: pcrf_rx_net_name }
+ fixed_ips:
+ - ip_address: { get_param: pcrf_rx_net_ip }
+ security_groups: [{ get_param: pcrf_security_group_name }]
+
+ pcrf_ppd_port_6:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: pcrf_sd_net_name }
+ fixed_ips:
+ - ip_address: { get_param: pcrf_sd_net_ip }
+ security_groups: [{ get_param: pcrf_security_group_name }]
+
+ pcrf_ppd_port_7:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: pcrf_sgi_sy_net_name }
+ fixed_ips:
+ - ip_address: { get_param: pcrf_sgi_sy_net_ip }
+ security_groups: [{ get_param: pcrf_security_group_name }]
+
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-pps_v1.0.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-pps_v1.0.yaml
new file mode 100644
index 0000000000..fc5b6f74c3
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-pps_v1.0.yaml
@@ -0,0 +1,99 @@
+heat_template_version: 2013-05-23
+
+description: heat template that creates PCRF Policy Server stack
+
+parameters:
+ pcrf_pps_server_name:
+ type: string
+ label: PCRF PS server name
+ description: PCRF PS server name
+ pcrf_pps_image_name:
+ type: string
+ label: PCRF PS image name
+ description: PCRF PS image name
+ pcrf_pps_flavor_name:
+ type: string
+ label: PCRF PS flavor name
+ description: flavor name of PCRF PS instance
+ availabilityzone_name:
+ type: string
+ label: availabilityzone name
+ description: availabilityzone name
+ pcrf_cps_net_name:
+ type: string
+ label: CPS network name
+ description: CPS network name
+ pcrf_cps_net_ip:
+ type: string
+ label: CPS network ip
+ description: CPS network ip
+ pcrf_cps_net_mask:
+ type: string
+ label: CPS network mask
+ description: CPS network mask
+ pcrf_security_group_name:
+ type: string
+ label: security group name
+ description: the name of security group
+ pcrf_vnf_id:
+ type: string
+ label: PCRF VNF Id
+ description: PCRF VNF Id
+
+resources:
+ script_init:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: ungrouped
+ config:
+ str_replace:
+ template: { get_file: cloud-nimbus.sh }
+ params:
+ $vm_name: { get_param: pcrf_pps_server_name }
+ network:
+ type: OS::Heat::CloudConfig
+ properties:
+ cloud_config:
+ write_files:
+ - path: /etc/sysconfig/network-scripts/ifcfg-eth0
+ permissions: "0644"
+ content:
+ str_replace:
+ template: { get_file: nimbus-ethernet }
+ params:
+ $dev: eth0
+ $ip: { get_param: pcrf_cps_net_ip }
+ $netmask: { get_param: pcrf_cps_net_mask }
+ runcmd:
+ - ifdown eth0 && ifup eth0
+
+ pcrf_server_init:
+ type: OS::Heat::MultipartMime
+ properties:
+ parts:
+ - config: { get_resource: network}
+ - config: { get_resource: script_init}
+
+ pcrf_server_pps:
+ type: OS::Nova::Server
+ properties:
+ config_drive: "True"
+ name: { get_param: pcrf_pps_server_name }
+ image: { get_param: pcrf_pps_image_name }
+ flavor: { get_param: pcrf_pps_flavor_name }
+ availability_zone: { get_param: availabilityzone_name }
+ networks:
+ - port: { get_resource: pcrf_pps_port_0}
+ user_data_format: RAW
+ user_data:
+ get_resource: pcrf_server_init
+ metadata:
+ vnf_id: {get_param: pcrf_vnf_id}
+
+ pcrf_pps_port_0:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: pcrf_cps_net_name }
+ fixed_ips:
+ - ip_address: { get_param: pcrf_cps_net_ip }
+ security_groups: [{ get_param: pcrf_security_group_name }]
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-psm_v1.0.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-psm_v1.0.yaml
new file mode 100644
index 0000000000..c86aa34713
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nested-psm_v1.0.yaml
@@ -0,0 +1,99 @@
+heat_template_version: 2013-05-23
+
+description: heat template that creates PCRF Session Manager stack
+
+parameters:
+ pcrf_psm_server_name:
+ type: string
+ label: PCRF SM server name
+ description: PCRF SM server name
+ pcrf_psm_image_name:
+ type: string
+ label: image name
+ description: PCRF SM image name
+ pcrf_psm_flavor_name:
+ type: string
+ label: PCRF SM flavor name
+ description: flavor name of PCRF SM instance
+ availabilityzone_name:
+ type: string
+ label: availabilityzone name
+ description: availabilityzone name
+ pcrf_cps_net_name:
+ type: string
+ label: CPS network name
+ description: CPS network name
+ pcrf_cps_net_ip:
+ type: string
+ label: CPS network ip
+ description: CPS network ip
+ pcrf_cps_net_mask:
+ type: string
+ label: CPS network mask
+ description: CPS network mask
+ pcrf_security_group_name:
+ type: string
+ label: security group name
+ description: the name of security group
+ pcrf_vnf_id:
+ type: string
+ label: PCRF VNF Id
+ description: PCRF VNF Id
+
+resources:
+ network:
+ type: OS::Heat::CloudConfig
+ properties:
+ cloud_config:
+ write_files:
+ - path: /etc/sysconfig/network-scripts/ifcfg-eth0
+ permissions: "0644"
+ content:
+ str_replace:
+ template: { get_file: nimbus-ethernet }
+ params:
+ $dev: eth0
+ $ip: { get_param: pcrf_cps_net_ip }
+ $netmask: { get_param: pcrf_cps_net_mask }
+ runcmd:
+ - ifdown eth0 && ifup eth0
+ script_init:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: ungrouped
+ config:
+ str_replace:
+ template: { get_file: cloud-nimbus.sh }
+ params:
+ $vm_name: { get_param: pcrf_psm_server_name }
+ pcrf_server_init:
+ type: OS::Heat::MultipartMime
+ properties:
+ parts:
+ - config: { get_resource: network}
+ - config: { get_resource: script_init}
+
+ pcrf_server_psm:
+ type: OS::Nova::Server
+ properties:
+ config_drive: "True"
+ name: { get_param: pcrf_psm_server_name }
+ image: { get_param: pcrf_psm_image_name }
+ flavor: { get_param: pcrf_psm_flavor_name }
+ availability_zone: { get_param: availabilityzone_name }
+ networks:
+ - port: { get_resource: psm01_port_0}
+ user_data_format: RAW
+ user_data:
+ get_resource: pcrf_server_init
+ metadata:
+ vnf_id: {get_param: pcrf_vnf_id}
+ #scheduler_hints: {group: { get_resource: servergroup_nimbus }}
+
+ psm01_port_0:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_param: pcrf_cps_net_name }
+ fixed_ips:
+ - ip_address: { get_param: pcrf_cps_net_ip }
+ security_groups: [{ get_param: pcrf_security_group_name }] \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nimbus-ethernet b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nimbus-ethernet
new file mode 100644
index 0000000000..51250a7b82
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nimbus-ethernet
@@ -0,0 +1,5 @@
+DEVICE=$dev
+BOOTPROTO=none
+NM_CONTROLLED=no
+IPADDR=$ip
+NETMASK=$netmask
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nimbus-ethernet-gw b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nimbus-ethernet-gw
new file mode 100644
index 0000000000..3e08d643bb
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/inputfiles/nimbus-ethernet-gw
@@ -0,0 +1,6 @@
+DEVICE=$dev
+BOOTPROTO=none
+NM_CONTROLLED=no
+IPADDR=$ip
+NETMASK=$netmask
+GATEWAY=$gateway
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/GlobalSubstitutionTypesServiceTemplate.yaml
new file mode 100644
index 0000000000..e04c27f8fc
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -0,0 +1,642 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: GlobalSubstitutionTypes
+imports:
+ ContrailComputeGlobalTypes:
+ file: ContrailComputeGlobalTypesServiceTemplate.yaml
+ CinderVolumeGlobalTypes:
+ file: CinderVolumeGlobalTypesServiceTemplate.yaml
+ ContrailVirtualNetworkGlobalType:
+ file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
+ AbstractSubstituteGlobalTypes:
+ file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
+ ContrailPortGlobalTypes:
+ file: ContrailPortGlobalTypesServiceTemplate.yaml
+ NeutronPortGlobalTypes:
+ file: NeutronPortGlobalTypesServiceTemplate.yaml
+ NeutronNetGlobalTypes:
+ file: NeutronNetGlobalTypesServiceTemplate.yaml
+ CommonGlobalTypes:
+ file: CommonGlobalTypesServiceTemplate.yaml
+ ContrailAbstractSubstituteGlobalTypes:
+ file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
+ ContrailNetworkRuleGlobalType:
+ file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
+ NeutronSecurityRulesGlobalTypes:
+ file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
+ NovaServerGlobalTypes:
+ file: NovaServerGlobalTypesServiceTemplate.yaml
+ ContrailV2VirtualMachineInterfaceGlobalType:
+ file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
+node_types:
+ org.openecomp.resource.abstract.nodes.heat.nested-pps_v1.0:
+ derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
+ properties:
+ pcrf_cps_net_ip:
+ type: string
+ description: CPS network ip
+ availabilityzone_name:
+ type: string
+ description: availabilityzone name
+ pcrf_vnf_id:
+ type: string
+ description: PCRF VNF Id
+ pcrf_cps_net_name:
+ type: string
+ description: CPS network name
+ pcrf_cps_net_mask:
+ type: string
+ description: CPS network mask
+ pcrf_pps_image_name:
+ type: string
+ description: PCRF PS image name
+ pcrf_pps_flavor_name:
+ type: string
+ description: flavor name of PCRF PS instance
+ pcrf_pps_server_name:
+ type: string
+ description: PCRF PS server name
+ pcrf_security_group_name:
+ type: string
+ description: the name of security group
+ requirements:
+ - link_pcrf_pps_port_0:
+ capability: tosca.capabilities.network.Linkable
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - local_storage_pcrf_server_pps:
+ capability: tosca.capabilities.Attachment
+ node: tosca.nodes.BlockStorage
+ relationship: tosca.relationships.AttachesTo
+ occurrences:
+ - 0
+ - UNBOUNDED
+ capabilities:
+ binding_pcrf_server_pps:
+ type: tosca.capabilities.network.Bindable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ attachment_pcrf_pps_port_0:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ scalable_pcrf_server_pps:
+ type: tosca.capabilities.Scalable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ os_pcrf_server_pps:
+ type: tosca.capabilities.OperatingSystem
+ occurrences:
+ - 1
+ - UNBOUNDED
+ endpoint_pcrf_server_pps:
+ type: tosca.capabilities.Endpoint.Admin
+ occurrences:
+ - 1
+ - UNBOUNDED
+ host_pcrf_server_pps:
+ type: tosca.capabilities.Container
+ valid_source_types:
+ - tosca.nodes.SoftwareComponent
+ occurrences:
+ - 1
+ - UNBOUNDED
+ org.openecomp.resource.abstract.nodes.heat.nested-ppd_v1.0:
+ derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
+ properties:
+ pcrf_ppd_image_name:
+ type: string
+ description: PCRF PD image name
+ availabilityzone_name:
+ type: string
+ description: availabilityzone name
+ pcrf_sp_net_ip:
+ type: string
+ description: Sp network ip
+ pcrf_ppd_server_name:
+ type: string
+ description: PCRF PD server name
+ pcrf_gx_net_ip:
+ type: string
+ description: Gx network ip
+ pcrf_sy_net_name:
+ type: string
+ description: Sy network name
+ pcrf_sp_net_mask:
+ type: string
+ description: Sp network mask
+ pcrf_sd_net_ip:
+ type: string
+ description: Sd network ip
+ pcrf_vnf_id:
+ type: string
+ description: PCRF VNF Id
+ pcrf_oam_net_name:
+ type: string
+ description: OAM network name
+ pcrf_oam_net_ip:
+ type: string
+ description: OAM network ip
+ pcrf_cps_net_mask:
+ type: string
+ description: CPS network mask
+ pcrf_gx_net_mask:
+ type: string
+ description: Gx network mask
+ pcrf_sgi_sy_net_name:
+ type: string
+ description: Sgi Sy network name
+ pcrf_sd_net_name:
+ type: string
+ description: Sd network name
+ pcrf_oam_net_gw:
+ type: string
+ description: CPS network gateway
+ pcrf_rx_net_name:
+ type: string
+ description: Rx network name
+ pcrf_rx_net_ip:
+ type: string
+ description: Rx network ip
+ pcrf_sy_net_ip:
+ type: string
+ description: Sy network ip
+ pcrf_sgi_sy_net_ip:
+ type: string
+ description: Sgi Sy network ip
+ pcrf_ppd_flavor_name:
+ type: string
+ description: flavor name of PCRF PD instance
+ pcrf_cps_net_ip:
+ type: string
+ description: CPS network ip
+ pcrf_sy_net_mask:
+ type: string
+ description: Sy network mask
+ pcrf_cps_net_name:
+ type: string
+ description: CPS network name
+ pcrf_oam_net_mask:
+ type: string
+ description: CPS network mask
+ pcrf_lb_management_vip:
+ type: string
+ description: CPS OAM LB VIP
+ pcrf_sgi_sy_net_mask:
+ type: string
+ description: Sgi Sy network mask
+ pcrf_lb_internal_vip:
+ type: string
+ description: CPS Internal LB VIP
+ pcrf_sd_net_mask:
+ type: string
+ description: Sd network mask
+ pcrf_gx_net_name:
+ type: string
+ description: Gx network name
+ pcrf_sp_net_name:
+ type: string
+ description: Sp network name
+ pcrf_rx_net_mask:
+ type: string
+ description: Rx network mask
+ pcrf_security_group_name:
+ type: string
+ description: the name of security group
+ requirements:
+ - link_pcrf_ppd_port_5:
+ capability: tosca.capabilities.network.Linkable
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - link_pcrf_ppd_port_6:
+ capability: tosca.capabilities.network.Linkable
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - link_pcrf_ppd_port_3:
+ capability: tosca.capabilities.network.Linkable
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - local_storage_pcrf_server_ppd:
+ capability: tosca.capabilities.Attachment
+ node: tosca.nodes.BlockStorage
+ relationship: tosca.relationships.AttachesTo
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_pcrf_ppd_port_4:
+ capability: tosca.capabilities.network.Linkable
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - link_pcrf_ppd_port_7:
+ capability: tosca.capabilities.network.Linkable
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - link_pcrf_ppd_port_1:
+ capability: tosca.capabilities.network.Linkable
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - link_pcrf_ppd_port_2:
+ capability: tosca.capabilities.network.Linkable
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - link_pcrf_ppd_port_0:
+ capability: tosca.capabilities.network.Linkable
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ capabilities:
+ attachment_pcrf_ppd_port_1:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ attachment_pcrf_ppd_port_2:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_pcrf_server_ppd:
+ type: tosca.capabilities.network.Bindable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ attachment_pcrf_ppd_port_0:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ attachment_pcrf_ppd_port_5:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ attachment_pcrf_ppd_port_6:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ attachment_pcrf_ppd_port_3:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ os_pcrf_server_ppd:
+ type: tosca.capabilities.OperatingSystem
+ occurrences:
+ - 1
+ - UNBOUNDED
+ attachment_pcrf_ppd_port_4:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ endpoint_pcrf_server_ppd:
+ type: tosca.capabilities.Endpoint.Admin
+ occurrences:
+ - 1
+ - UNBOUNDED
+ scalable_pcrf_server_ppd:
+ type: tosca.capabilities.Scalable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ attachment_pcrf_ppd_port_7:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ host_pcrf_server_ppd:
+ type: tosca.capabilities.Container
+ valid_source_types:
+ - tosca.nodes.SoftwareComponent
+ occurrences:
+ - 1
+ - UNBOUNDED
+ org.openecomp.resource.abstract.nodes.heat.nested-pcm_v1.0:
+ derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
+ properties:
+ pcrf_pcm_flavor_name:
+ type: string
+ description: flavor name of PCRF CM instance
+ availabilityzone_name:
+ type: string
+ description: availabilityzone name
+ pcrf_cps_net_ip:
+ type: string
+ description: CPS network ip
+ pcrf_pcm_image_name:
+ type: string
+ description: PCRF CM image name
+ pcrf_vnf_id:
+ type: string
+ description: PCRF VNF Id
+ pcrf_oam_net_name:
+ type: string
+ description: OAM network name
+ pcrf_cps_net_name:
+ type: string
+ description: CPS network name
+ pcrf_oam_net_ip:
+ type: string
+ description: OAM network ip
+ pcrf_oam_net_mask:
+ type: string
+ description: CPS network mask
+ pcrf_cps_net_mask:
+ type: string
+ description: CPS network mask
+ pcrf_pcm_server_name:
+ type: string
+ description: PCRF CM server name
+ pcrf_oam_net_gw:
+ type: string
+ description: CPS network gateway
+ pcrf_pcm_volume_id:
+ type: string
+ description: CPS Cluman Cinder Volume
+ pcrf_security_group_name:
+ type: string
+ description: the name of security group
+ attributes:
+ pcrf_server_pcm_id:
+ type: string
+ description: the pcm server id
+ requirements:
+ - link_pcrf_pcm_port_0:
+ capability: tosca.capabilities.network.Linkable
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - local_storage_pcrf_server_pcm:
+ capability: tosca.capabilities.Attachment
+ node: tosca.nodes.BlockStorage
+ relationship: tosca.relationships.AttachesTo
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_pcrf_pcm_port_1:
+ capability: tosca.capabilities.network.Linkable
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ capabilities:
+ endpoint_pcrf_server_pcm:
+ type: tosca.capabilities.Endpoint.Admin
+ occurrences:
+ - 1
+ - UNBOUNDED
+ attachment_pcrf_pcm_port_0:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_pcrf_server_pcm:
+ type: tosca.capabilities.network.Bindable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ os_pcrf_server_pcm:
+ type: tosca.capabilities.OperatingSystem
+ occurrences:
+ - 1
+ - UNBOUNDED
+ host_pcrf_server_pcm:
+ type: tosca.capabilities.Container
+ valid_source_types:
+ - tosca.nodes.SoftwareComponent
+ occurrences:
+ - 1
+ - UNBOUNDED
+ scalable_pcrf_server_pcm:
+ type: tosca.capabilities.Scalable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ attachment_pcrf_pcm_port_1:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ org.openecomp.resource.abstract.nodes.heat.nested-oam_v1.0:
+ derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
+ properties:
+ availabilityzone_name:
+ type: string
+ description: availabilityzone name
+ pcrf_oam_flavor_name:
+ type: string
+ description: flavor name of PCRF OAM instance
+ pcrf_oam_server_name:
+ type: string
+ description: PCRF OAM server name
+ pcrf_cps_net_ip:
+ type: string
+ description: CPS network ip
+ pcrf_vnf_id:
+ type: string
+ description: PCRF VNF Id
+ pcrf_oam_net_name:
+ type: string
+ description: OAM network name
+ pcrf_cps_net_name:
+ type: string
+ description: CPS network name
+ pcrf_arbiter_vip:
+ type: string
+ description: OAM Arbiter LB VIP
+ pcrf_oam_net_ip:
+ type: string
+ description: OAM network ip
+ pcrf_oam_net_mask:
+ type: string
+ description: CPS network mask
+ pcrf_cps_net_mask:
+ type: string
+ description: CPS network mask
+ pcrf_oam_volume_id:
+ type: string
+ description: CPS OAM Cinder Volume
+ pcrf_oam_net_gw:
+ type: string
+ description: CPS network gateway
+ pcrf_oam_image_name:
+ type: string
+ description: PCRF OAM image name
+ pcrf_security_group_name:
+ type: string
+ description: the name of security group
+ attributes:
+ pcrf_oam_vol_attachment_id:
+ type: string
+ description: the pcrf_oam_vol_attachment_id id
+ requirements:
+ - local_storage_pcrf_server_oam:
+ capability: tosca.capabilities.Attachment
+ node: tosca.nodes.BlockStorage
+ relationship: tosca.relationships.AttachesTo
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_pcrf_oam_port_1:
+ capability: tosca.capabilities.network.Linkable
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ - link_pcrf_oam_port_0:
+ capability: tosca.capabilities.network.Linkable
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ capabilities:
+ endpoint_pcrf_server_oam:
+ type: tosca.capabilities.Endpoint.Admin
+ occurrences:
+ - 1
+ - UNBOUNDED
+ host_pcrf_server_oam:
+ type: tosca.capabilities.Container
+ valid_source_types:
+ - tosca.nodes.SoftwareComponent
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_pcrf_server_oam:
+ type: tosca.capabilities.network.Bindable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ attachment_pcrf_oam_port_1:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ attachment_pcrf_oam_port_0:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ scalable_pcrf_server_oam:
+ type: tosca.capabilities.Scalable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ os_pcrf_server_oam:
+ type: tosca.capabilities.OperatingSystem
+ occurrences:
+ - 1
+ - UNBOUNDED
+ org.openecomp.resource.abstract.nodes.heat.nested-psm_v1.0:
+ derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
+ properties:
+ pcrf_cps_net_ip:
+ type: string
+ description: CPS network ip
+ pcrf_psm_flavor_name:
+ type: string
+ description: flavor name of PCRF SM instance
+ pcrf_psm_image_name:
+ type: string
+ description: PCRF SM image name
+ availabilityzone_name:
+ type: string
+ description: availabilityzone name
+ pcrf_vnf_id:
+ type: string
+ description: PCRF VNF Id
+ pcrf_cps_net_name:
+ type: string
+ description: CPS network name
+ pcrf_cps_net_mask:
+ type: string
+ description: CPS network mask
+ pcrf_psm_server_name:
+ type: string
+ description: PCRF SM server name
+ pcrf_security_group_name:
+ type: string
+ description: the name of security group
+ requirements:
+ - local_storage_pcrf_server_psm:
+ capability: tosca.capabilities.Attachment
+ node: tosca.nodes.BlockStorage
+ relationship: tosca.relationships.AttachesTo
+ occurrences:
+ - 0
+ - UNBOUNDED
+ - link_psm01_port_0:
+ capability: tosca.capabilities.network.Linkable
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.network.LinksTo
+ occurrences:
+ - 1
+ - 1
+ capabilities:
+ endpoint_pcrf_server_psm:
+ type: tosca.capabilities.Endpoint.Admin
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_pcrf_server_psm:
+ type: tosca.capabilities.network.Bindable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ os_pcrf_server_psm:
+ type: tosca.capabilities.OperatingSystem
+ occurrences:
+ - 1
+ - UNBOUNDED
+ attachment_psm01_port_0:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ host_pcrf_server_psm:
+ type: tosca.capabilities.Container
+ valid_source_types:
+ - tosca.nodes.SoftwareComponent
+ occurrences:
+ - 1
+ - UNBOUNDED
+ scalable_pcrf_server_psm:
+ type: tosca.capabilities.Scalable
+ occurrences:
+ - 1
+ - UNBOUNDED \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/MainServiceTemplate.yaml
new file mode 100644
index 0000000000..d6c309eb24
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/MainServiceTemplate.yaml
@@ -0,0 +1,1646 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: Main
+imports:
+ ContrailComputeGlobalTypes:
+ file: ContrailComputeGlobalTypesServiceTemplate.yaml
+ CinderVolumeGlobalTypes:
+ file: CinderVolumeGlobalTypesServiceTemplate.yaml
+ ContrailVirtualNetworkGlobalType:
+ file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
+ AbstractSubstituteGlobalTypes:
+ file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
+ ContrailPortGlobalTypes:
+ file: ContrailPortGlobalTypesServiceTemplate.yaml
+ GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+ NeutronPortGlobalTypes:
+ file: NeutronPortGlobalTypesServiceTemplate.yaml
+ NeutronNetGlobalTypes:
+ file: NeutronNetGlobalTypesServiceTemplate.yaml
+ CommonGlobalTypes:
+ file: CommonGlobalTypesServiceTemplate.yaml
+ ContrailAbstractSubstituteGlobalTypes:
+ file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
+ ContrailNetworkRuleGlobalType:
+ file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
+ NeutronSecurityRulesGlobalTypes:
+ file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
+ NovaServerGlobalTypes:
+ file: NovaServerGlobalTypesServiceTemplate.yaml
+ ContrailV2VirtualMachineInterfaceGlobalType:
+ file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
+topology_template:
+ inputs:
+ availabilityzone_name:
+ label: availabilityzone name
+ hidden: false
+ immutable: false
+ type: string
+ description: availabilityzone name
+ default: nova
+ pcrf_sgi_sy_net_ips:
+ label: Sgi Sy network ips
+ hidden: false
+ immutable: false
+ type: list
+ description: Sgi Sy network ips
+ default:
+ - 107.239.26.131
+ - 107.239.26.132
+ - 107.239.26.133
+ - 107.239.26.134
+ entry_schema:
+ type: string
+ pcrf_ppd_server_names:
+ label: PCRF PD server names
+ hidden: false
+ immutable: false
+ type: list
+ description: name of the PCRF PD instance
+ default:
+ - ZRDM1PCRF01PPD001
+ - ZRDM1PCRF01PPD002
+ - ZRDM1PCRF01PPD003
+ - ZRDM1PCRF01PPD004
+ entry_schema:
+ type: string
+ pcrf_oam_vol_size:
+ label: Cinder volume size
+ hidden: false
+ immutable: false
+ type: float
+ description: the size of the Cinder volume
+ default: 500
+ pcrf_oam_vol_name_2:
+ label: OAM volume name 2
+ hidden: false
+ immutable: false
+ type: string
+ description: Assigning name to volume
+ default: sde1-pcrfx01-oam001-vol-2
+ pcrf_pps_flavor_name:
+ label: PCRF PS flavor name
+ hidden: false
+ immutable: false
+ type: string
+ description: flavor name of PCRF PS instance
+ default: lc.3xlarge
+ pcrf_psm_server_names:
+ label: PCRF SM server names
+ hidden: false
+ immutable: false
+ type: list
+ description: name of the PCRF SM instance
+ default:
+ - ZRDM1PCRF01PSM001
+ - ZRDM1PCRF01PSM002
+ - ZRDM1PCRF01PSM003
+ - ZRDM1PCRF01PSM004
+ - ZRDM1PCRF01PSM005
+ - ZRDM1PCRF01PSM006
+ - ZRDM1PCRF01PSM007
+ - ZRDM1PCRF01PSM008
+ - ZRDM1PCRF01PSM009
+ - ZRDM1PCRF01PSM010
+ - ZRDM1PCRF01PSM011
+ - ZRDM1PCRF01PSM012
+ entry_schema:
+ type: string
+ pcrf_oam_vol_name_1:
+ label: OAM volume name 1
+ hidden: false
+ immutable: false
+ type: string
+ description: Assigning name to volume
+ default: sde1-pcrfx01-oam001-vol-1
+ pcrf_sy_net_name:
+ label: Sy network name
+ hidden: false
+ immutable: false
+ type: string
+ description: Sy network name
+ default: Mobisupport-25193-I-INT1_cor_pcrf_sy_net_0
+ pcrf_pcm_vol_size:
+ label: Cinder volume size
+ hidden: false
+ immutable: false
+ type: float
+ description: the size of the Cinder volume
+ default: 50
+ pcrf_vnf_id:
+ label: PCRF VNF Id
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF VNF Id
+ default: 730797234b4a40aa99335157b02871cd
+ pcrf_pcm_image_name:
+ label: PCRF CM image name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF CM image name
+ default: PCRF_8.995-ATTM1.0.3.qcow2
+ pcrf_oam_net_name:
+ label: OAM network name
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network name
+ default: MNS-25180-L-01_oam_protected_net_0
+ pcrf_sd_net_ips:
+ label: Sd network ips
+ hidden: false
+ immutable: false
+ type: list
+ description: Sd network ips
+ default:
+ - 107.239.24.99
+ - 107.239.24.100
+ - 107.239.24.101
+ - 107.239.24.102
+ entry_schema:
+ type: string
+ pcrf_sp_net_ips:
+ label: Sp network ips
+ hidden: false
+ immutable: false
+ type: list
+ description: Sp network ips
+ default:
+ - 107.239.24.75
+ - 107.239.24.76
+ - 107.239.24.77
+ - 107.239.24.78
+ entry_schema:
+ type: string
+ pcrf_cps_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ default: 255.255.255.0
+ pcrf_pcm_volume_silver:
+ label: vm volume type
+ hidden: false
+ immutable: false
+ type: string
+ description: the name of the target volume backend for PCM
+ default: Silver
+ pcrf_rx_net_ips:
+ label: Rx network ips
+ hidden: false
+ immutable: false
+ type: list
+ description: Rx network ips
+ default:
+ - 107.239.24.91
+ - 107.239.24.92
+ - 107.239.24.93
+ - 107.239.24.94
+ entry_schema:
+ type: string
+ pcrf_sgi_sy_net_name:
+ label: Sgi Sy network name
+ hidden: false
+ immutable: false
+ type: string
+ description: Sgi Sy network name
+ default: Mobisupport-25193-I-INT1_sgi_pcrf_sy_net_0
+ pcrf_sd_net_name:
+ label: Sd network name
+ hidden: false
+ immutable: false
+ type: string
+ description: Sd network name
+ default: Mobisupport-25193-I-INT1_cor_pcrf_sd_net_0
+ pcrf_pcm_volume_id_1:
+ label: CPS Cluman Cinder Volume
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS Cluman Cinder Volume
+ default: 3438a3fe-1241-4390-80f2-d0b86238c40e
+ pcrf_oam_volume_silver-2:
+ label: vm volume type
+ hidden: false
+ immutable: false
+ type: string
+ description: the name of the target volume backend for OAM2
+ default: Silver
+ pcrf_oam_volume_silver-1:
+ label: vm volume type
+ hidden: false
+ immutable: false
+ type: string
+ description: the name of the target volume backend for OAM1
+ default: Silver
+ pcrf_oam_flavor_name:
+ label: PCRF OAM flavor name
+ hidden: false
+ immutable: false
+ type: string
+ description: flavor name of PCRF OAM instance
+ default: lc.4xlarge4
+ pcrf_pcm_server_names:
+ label: PCRF CM server names
+ hidden: false
+ immutable: false
+ type: list
+ description: name of the PCRF CM instance
+ default:
+ - ZRDM1PCRF01PCM001
+ entry_schema:
+ type: string
+ pcrf_cps_net_name:
+ label: CPS network name
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network name
+ default: Mobisupport-25193-I-INT1_int_pcrf_net_0
+ pcrf_oam_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ default: 255.255.248.0
+ pcrf_sgi_sy_net_mask:
+ label: Sgi Sy network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: Sgi Sy network mask
+ default: 255.255.255.248
+ pcrf_pps_image_name:
+ label: PCRF PS image name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF PS image name
+ default: PCRF_8.995-ATTM1.0.3.qcow2
+ pcrf_lb_internal_vip:
+ label: CPS Internal LB VIP
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS Internal LB VIP
+ default: 172.26.16.114
+ pcrf_pcm_flavor_name:
+ label: PCRF CM flavor name
+ hidden: false
+ immutable: false
+ type: string
+ description: flavor name of PCRF CM instance
+ default: lc.2xlarge4
+ pcrf_ppd_image_name:
+ label: PCRF PD image name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF PD image name
+ default: PCRF_8.995-ATTM1.0.3.qcow2
+ pcrf_pcm_vol_name_1:
+ label: PCM volume name
+ hidden: false
+ immutable: false
+ type: string
+ description: Assigning name to volume
+ default: sde1-pcrfx01-pcm001-vol-1
+ pcrf_sp_net_mask:
+ label: Sp network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: Sp network mask
+ default: 255.255.255.248
+ pcrf_psm_flavor_name:
+ label: PCRF SM flavor name
+ hidden: false
+ immutable: false
+ type: string
+ description: flavor name of PCRF SM instance
+ default: lc.4xlarge4
+ pcrf_psm_image_name:
+ label: PCRF SM image name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF SM image name
+ default: PCRF_8.995-ATTM1.0.3.qcow2
+ pcrf_oam_net_ips:
+ label: OAM network ips
+ hidden: false
+ immutable: false
+ type: list
+ description: OAM network ips
+ default:
+ - 107.239.64.121
+ entry_schema:
+ type: string
+ pcrf_gx_net_mask:
+ label: Gx network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: Gx network mask
+ default: 255.255.255.248
+ pcrf_oam_net_gw:
+ label: CPS network gateway
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network gateway
+ default: 107.239.64.1
+ pcrf_gx_net_ips:
+ label: Gx network ips
+ hidden: false
+ immutable: false
+ type: list
+ description: Gx network ips
+ default:
+ - 107.239.24.67
+ - 107.239.24.68
+ - 107.239.24.69
+ - 107.239.24.70
+ entry_schema:
+ type: string
+ pcrf_rx_net_name:
+ label: Rx network name
+ hidden: false
+ immutable: false
+ type: string
+ description: Rx network name
+ default: Mobisupport-25193-I-INT1_cor_pcrf_rx_net_0
+ pcrf_oam_image_name:
+ label: PCRF OAM image name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF OAM image name
+ default: PCRF_8.995-ATTM1.0.3.qcow2
+ pcrf_cps_net_ips:
+ label: CPS network ips
+ hidden: false
+ immutable: false
+ type: list
+ description: CPS network ips
+ default:
+ - 172.26.16.113
+ entry_schema:
+ type: string
+ pcrf_oam_volume_id_1:
+ label: CPS OAM 001 Cinder Volume
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS OAM 001 Cinder Volumes
+ default: a4aa05fb-fcdc-457b-8077-6845fdfc3257
+ pcrf_oam_volume_id_2:
+ label: CPS OAM 002 Cinder Volume
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS OAM 002 Cinder Volumes
+ default: 93d8fc1f-f1c3-4933-86b2-039881ee910f
+ pcrf_pps_server_names:
+ label: PCRF PS server names
+ hidden: false
+ immutable: false
+ type: list
+ description: PCRF PS server names
+ default:
+ - ZRDM1PCRF01PPS001
+ - ZRDM1PCRF01PPS002
+ - ZRDM1PCRF01PPS003
+ - ZRDM1PCRF01PPS004
+ - ZRDM1PCRF01PPS005
+ - ZRDM1PCRF01PPS006
+ entry_schema:
+ type: string
+ pcrf_ppd_flavor_name:
+ label: PCRF PD flavor name
+ hidden: false
+ immutable: false
+ type: string
+ description: flavor name of PCRF PD instance
+ default: lc.4xlarge4
+ pcrf_sy_net_mask:
+ label: Sy network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: Sy network mask
+ default: 255.255.255.248
+ pcrf_arbiter_vip:
+ label: OAM Arbiter LB VIP
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM Arbiter LB VIP
+ default: 172.26.16.115
+ pcrf_lb_management_vip:
+ label: CPS OAM LB VIP
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS OAM LB VIP
+ default: 107.239.64.123
+ pcrf_sy_net_ips:
+ label: Sy network ips
+ hidden: false
+ immutable: false
+ type: list
+ description: Sy network ips
+ default:
+ - 107.239.24.83
+ - 107.239.24.84
+ - 107.239.24.85
+ - 107.239.24.86
+ entry_schema:
+ type: string
+ pcrf_sd_net_mask:
+ label: Sd network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: Sd network mask
+ default: 255.255.255.248
+ pcrf_gx_net_name:
+ label: Gx network name
+ hidden: false
+ immutable: false
+ type: string
+ description: Gx network name
+ default: Mobisupport-25193-I-INT1_cor_pcrf_gx_net_0
+ pcrf_sp_net_name:
+ label: Sp network name
+ hidden: false
+ immutable: false
+ type: string
+ description: Sp network name
+ default: Mobisupport-25193-I-INT1_cor_pcrf_sp_net_0
+ pcrf_oam_server_names:
+ label: PCRF OAM server names
+ hidden: false
+ immutable: false
+ type: list
+ description: name of the PCRF OAM instance
+ default:
+ - ZRDM1PCRF01OAM001
+ - ZRDM1PCRF01OAM002
+ entry_schema:
+ type: string
+ pcrf_security_group_name:
+ label: security group name
+ hidden: false
+ immutable: false
+ type: string
+ description: the name of security group
+ default: nimbus_security_group
+ pcrf_rx_net_mask:
+ label: Rx network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: Rx network mask
+ default: 255.255.255.248
+ node_templates:
+ server_pcrf_psm_012:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-psm_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 11
+ service_template_filter:
+ substitute_service_template: nested-psm_v1.0ServiceTemplate.yaml
+ pcrf_psm_flavor_name:
+ get_input: pcrf_psm_flavor_name
+ pcrf_psm_image_name:
+ get_input: pcrf_psm_image_name
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_psm_server_name:
+ get_input:
+ - pcrf_psm_server_names
+ - 11
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ server_pcrf_pcm_001:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-pcm_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_pcm_flavor_name:
+ get_input: pcrf_pcm_flavor_name
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 0
+ service_template_filter:
+ substitute_service_template: nested-pcm_v1.0ServiceTemplate.yaml
+ pcrf_pcm_image_name:
+ get_input: pcrf_pcm_image_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_oam_net_name:
+ get_input: pcrf_oam_net_name
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_oam_net_ip:
+ get_input:
+ - pcrf_oam_net_ips
+ - 0
+ pcrf_oam_net_mask:
+ get_input: pcrf_oam_net_mask
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_pcm_server_name:
+ get_input:
+ - pcrf_pcm_server_names
+ - 0
+ pcrf_pcm_volume_id:
+ get_input: pcrf_pcm_volume_id_1
+ pcrf_oam_net_gw:
+ get_input: pcrf_oam_net_gw
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ requirements:
+ - local_storage_pcrf_server_pcm:
+ capability: tosca.capabilities.Attachment
+ node: pcrf_pcm_volume_id_1
+ relationship: tosca.relationships.AttachesTo
+ pcrf_oam_volume_id_11:
+ type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
+ properties:
+ volume_type:
+ get_input: pcrf_oam_volume_silver-1
+ size: '(get_input : pcrf_oam_vol_size) * 1024'
+ name:
+ get_input: pcrf_oam_vol_name_1
+ server_pcrf_oam_001:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-oam_v1.0
+ directives:
+ - substitutable
+ properties:
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_oam_flavor_name:
+ get_input: pcrf_oam_flavor_name
+ pcrf_oam_server_name:
+ get_input:
+ - pcrf_oam_server_names
+ - 0
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 0
+ service_template_filter:
+ substitute_service_template: nested-oam_v1.0ServiceTemplate.yaml
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_oam_net_name:
+ get_input: pcrf_oam_net_name
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_oam_net_ip:
+ get_input:
+ - pcrf_oam_net_ips
+ - 0
+ pcrf_oam_net_mask:
+ get_input: pcrf_oam_net_mask
+ pcrf_arbiter_vip:
+ get_input: pcrf_arbiter_vip
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_oam_volume_id:
+ get_input: pcrf_oam_volume_id_1
+ pcrf_oam_net_gw:
+ get_input: pcrf_oam_net_gw
+ pcrf_oam_image_name:
+ get_input: pcrf_oam_image_name
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ requirements:
+ - local_storage_pcrf_server_oam:
+ capability: tosca.capabilities.Attachment
+ node: pcrf_oam_volume_id_11
+ relationship: tosca.relationships.AttachesTo
+ server_pcrf_oam_002:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-oam_v1.0
+ directives:
+ - substitutable
+ properties:
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_oam_flavor_name:
+ get_input: pcrf_oam_flavor_name
+ pcrf_oam_server_name:
+ get_input:
+ - pcrf_oam_server_names
+ - 1
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 1
+ service_template_filter:
+ substitute_service_template: nested-oam_v1.0ServiceTemplate.yaml
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_oam_net_name:
+ get_input: pcrf_oam_net_name
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_oam_net_ip:
+ get_input:
+ - pcrf_oam_net_ips
+ - 1
+ pcrf_oam_net_mask:
+ get_input: pcrf_oam_net_mask
+ pcrf_arbiter_vip:
+ get_input: pcrf_arbiter_vip
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_oam_volume_id:
+ get_input: pcrf_oam_volume_id_2
+ pcrf_oam_net_gw:
+ get_input: pcrf_oam_net_gw
+ pcrf_oam_image_name:
+ get_input: pcrf_oam_image_name
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ requirements:
+ - local_storage_pcrf_server_oam:
+ capability: tosca.capabilities.Attachment
+ node: pcrf_oam_volume_id_22
+ relationship: tosca.relationships.AttachesTo
+ - dependency:
+ capability: tosca.capabilities.Node
+ node: server_pcrf_oam_001
+ relationship: tosca.relationships.DependsOn
+ server_pcrf_ppd_003:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-ppd_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_ppd_image_name:
+ get_input: pcrf_ppd_image_name
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_sp_net_ip:
+ get_input:
+ - pcrf_sp_net_ips
+ - 2
+ pcrf_ppd_server_name:
+ get_input:
+ - pcrf_ppd_server_names
+ - 2
+ pcrf_gx_net_ip:
+ get_input:
+ - pcrf_gx_net_ips
+ - 2
+ pcrf_sy_net_name:
+ get_input: pcrf_sy_net_name
+ pcrf_sp_net_mask:
+ get_input: pcrf_sp_net_mask
+ service_template_filter:
+ substitute_service_template: nested-ppd_v1.0ServiceTemplate.yaml
+ pcrf_sd_net_ip:
+ get_input:
+ - pcrf_sd_net_ips
+ - 2
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_oam_net_name:
+ get_input: pcrf_oam_net_name
+ pcrf_oam_net_ip:
+ get_input:
+ - pcrf_oam_net_ips
+ - 2
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_gx_net_mask:
+ get_input: pcrf_gx_net_mask
+ pcrf_sgi_sy_net_name:
+ get_input: pcrf_sgi_sy_net_name
+ pcrf_sd_net_name:
+ get_input: pcrf_sd_net_name
+ pcrf_oam_net_gw:
+ get_input: pcrf_oam_net_gw
+ pcrf_rx_net_name:
+ get_input: pcrf_rx_net_name
+ pcrf_rx_net_ip:
+ get_input:
+ - pcrf_rx_net_ips
+ - 2
+ pcrf_sy_net_ip:
+ get_input:
+ - pcrf_sy_net_ips
+ - 2
+ pcrf_sgi_sy_net_ip:
+ get_input:
+ - pcrf_sgi_sy_net_ips
+ - 2
+ pcrf_ppd_flavor_name:
+ get_input: pcrf_ppd_flavor_name
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 2
+ pcrf_sy_net_mask:
+ get_input: pcrf_sy_net_mask
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_oam_net_mask:
+ get_input: pcrf_oam_net_mask
+ pcrf_lb_management_vip:
+ get_input: pcrf_lb_management_vip
+ pcrf_sgi_sy_net_mask:
+ get_input: pcrf_sgi_sy_net_mask
+ pcrf_lb_internal_vip:
+ get_input: pcrf_lb_internal_vip
+ pcrf_sd_net_mask:
+ get_input: pcrf_sd_net_mask
+ pcrf_gx_net_name:
+ get_input: pcrf_gx_net_name
+ pcrf_sp_net_name:
+ get_input: pcrf_sp_net_name
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ pcrf_rx_net_mask:
+ get_input: pcrf_rx_net_mask
+ server_pcrf_ppd_004:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-ppd_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_ppd_image_name:
+ get_input: pcrf_ppd_image_name
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_sp_net_ip:
+ get_input:
+ - pcrf_sp_net_ips
+ - 3
+ pcrf_ppd_server_name:
+ get_input:
+ - pcrf_ppd_server_names
+ - 3
+ pcrf_gx_net_ip:
+ get_input:
+ - pcrf_gx_net_ips
+ - 3
+ pcrf_sy_net_name:
+ get_input: pcrf_sy_net_name
+ pcrf_sp_net_mask:
+ get_input: pcrf_sp_net_mask
+ service_template_filter:
+ substitute_service_template: nested-ppd_v1.0ServiceTemplate.yaml
+ pcrf_sd_net_ip:
+ get_input:
+ - pcrf_sd_net_ips
+ - 3
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_oam_net_name:
+ get_input: pcrf_oam_net_name
+ pcrf_oam_net_ip:
+ get_input:
+ - pcrf_oam_net_ips
+ - 3
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_gx_net_mask:
+ get_input: pcrf_gx_net_mask
+ pcrf_sgi_sy_net_name:
+ get_input: pcrf_sgi_sy_net_name
+ pcrf_sd_net_name:
+ get_input: pcrf_sd_net_name
+ pcrf_oam_net_gw:
+ get_input: pcrf_oam_net_gw
+ pcrf_rx_net_name:
+ get_input: pcrf_rx_net_name
+ pcrf_rx_net_ip:
+ get_input:
+ - pcrf_rx_net_ips
+ - 3
+ pcrf_sy_net_ip:
+ get_input:
+ - pcrf_sy_net_ips
+ - 3
+ pcrf_sgi_sy_net_ip:
+ get_input:
+ - pcrf_sgi_sy_net_ips
+ - 3
+ pcrf_ppd_flavor_name:
+ get_input: pcrf_ppd_flavor_name
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 3
+ pcrf_sy_net_mask:
+ get_input: pcrf_sy_net_mask
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_oam_net_mask:
+ get_input: pcrf_oam_net_mask
+ pcrf_lb_management_vip:
+ get_input: pcrf_lb_management_vip
+ pcrf_sgi_sy_net_mask:
+ get_input: pcrf_sgi_sy_net_mask
+ pcrf_lb_internal_vip:
+ get_input: pcrf_lb_internal_vip
+ pcrf_sd_net_mask:
+ get_input: pcrf_sd_net_mask
+ pcrf_gx_net_name:
+ get_input: pcrf_gx_net_name
+ pcrf_sp_net_name:
+ get_input: pcrf_sp_net_name
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ pcrf_rx_net_mask:
+ get_input: pcrf_rx_net_mask
+ pcrf_pcm_volume_id_1:
+ type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
+ properties:
+ volume_type:
+ get_input: pcrf_pcm_volume_silver
+ size: '(get_input : pcrf_pcm_vol_size) * 1024'
+ name:
+ get_input: pcrf_pcm_vol_name_1
+ server_pcrf_ppd_001:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-ppd_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_ppd_image_name:
+ get_input: pcrf_ppd_image_name
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_sp_net_ip:
+ get_input:
+ - pcrf_sp_net_ips
+ - 0
+ pcrf_ppd_server_name:
+ get_input:
+ - pcrf_ppd_server_names
+ - 0
+ pcrf_gx_net_ip:
+ get_input:
+ - pcrf_gx_net_ips
+ - 0
+ pcrf_sy_net_name:
+ get_input: pcrf_sy_net_name
+ pcrf_sp_net_mask:
+ get_input: pcrf_sp_net_mask
+ service_template_filter:
+ substitute_service_template: nested-ppd_v1.0ServiceTemplate.yaml
+ pcrf_sd_net_ip:
+ get_input:
+ - pcrf_sd_net_ips
+ - 0
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_oam_net_name:
+ get_input: pcrf_oam_net_name
+ pcrf_oam_net_ip:
+ get_input:
+ - pcrf_oam_net_ips
+ - 0
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_gx_net_mask:
+ get_input: pcrf_gx_net_mask
+ pcrf_sgi_sy_net_name:
+ get_input: pcrf_sgi_sy_net_name
+ pcrf_sd_net_name:
+ get_input: pcrf_sd_net_name
+ pcrf_oam_net_gw:
+ get_input: pcrf_oam_net_gw
+ pcrf_rx_net_name:
+ get_input: pcrf_rx_net_name
+ pcrf_rx_net_ip:
+ get_input:
+ - pcrf_rx_net_ips
+ - 0
+ pcrf_sy_net_ip:
+ get_input:
+ - pcrf_sy_net_ips
+ - 0
+ pcrf_sgi_sy_net_ip:
+ get_input:
+ - pcrf_sgi_sy_net_ips
+ - 0
+ pcrf_ppd_flavor_name:
+ get_input: pcrf_ppd_flavor_name
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 0
+ pcrf_sy_net_mask:
+ get_input: pcrf_sy_net_mask
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_oam_net_mask:
+ get_input: pcrf_oam_net_mask
+ pcrf_lb_management_vip:
+ get_input: pcrf_lb_management_vip
+ pcrf_sgi_sy_net_mask:
+ get_input: pcrf_sgi_sy_net_mask
+ pcrf_lb_internal_vip:
+ get_input: pcrf_lb_internal_vip
+ pcrf_sd_net_mask:
+ get_input: pcrf_sd_net_mask
+ pcrf_gx_net_name:
+ get_input: pcrf_gx_net_name
+ pcrf_sp_net_name:
+ get_input: pcrf_sp_net_name
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ pcrf_rx_net_mask:
+ get_input: pcrf_rx_net_mask
+ server_pcrf_ppd_002:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-ppd_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_ppd_image_name:
+ get_input: pcrf_ppd_image_name
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_sp_net_ip:
+ get_input:
+ - pcrf_sp_net_ips
+ - 1
+ pcrf_ppd_server_name:
+ get_input:
+ - pcrf_ppd_server_names
+ - 1
+ pcrf_gx_net_ip:
+ get_input:
+ - pcrf_gx_net_ips
+ - 1
+ pcrf_sy_net_name:
+ get_input: pcrf_sy_net_name
+ pcrf_sp_net_mask:
+ get_input: pcrf_sp_net_mask
+ service_template_filter:
+ substitute_service_template: nested-ppd_v1.0ServiceTemplate.yaml
+ pcrf_sd_net_ip:
+ get_input:
+ - pcrf_sd_net_ips
+ - 1
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_oam_net_name:
+ get_input: pcrf_oam_net_name
+ pcrf_oam_net_ip:
+ get_input:
+ - pcrf_oam_net_ips
+ - 1
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_gx_net_mask:
+ get_input: pcrf_gx_net_mask
+ pcrf_sgi_sy_net_name:
+ get_input: pcrf_sgi_sy_net_name
+ pcrf_sd_net_name:
+ get_input: pcrf_sd_net_name
+ pcrf_oam_net_gw:
+ get_input: pcrf_oam_net_gw
+ pcrf_rx_net_name:
+ get_input: pcrf_rx_net_name
+ pcrf_rx_net_ip:
+ get_input:
+ - pcrf_rx_net_ips
+ - 1
+ pcrf_sy_net_ip:
+ get_input:
+ - pcrf_sy_net_ips
+ - 1
+ pcrf_sgi_sy_net_ip:
+ get_input:
+ - pcrf_sgi_sy_net_ips
+ - 1
+ pcrf_ppd_flavor_name:
+ get_input: pcrf_ppd_flavor_name
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 1
+ pcrf_sy_net_mask:
+ get_input: pcrf_sy_net_mask
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_oam_net_mask:
+ get_input: pcrf_oam_net_mask
+ pcrf_lb_management_vip:
+ get_input: pcrf_lb_management_vip
+ pcrf_sgi_sy_net_mask:
+ get_input: pcrf_sgi_sy_net_mask
+ pcrf_lb_internal_vip:
+ get_input: pcrf_lb_internal_vip
+ pcrf_sd_net_mask:
+ get_input: pcrf_sd_net_mask
+ pcrf_gx_net_name:
+ get_input: pcrf_gx_net_name
+ pcrf_sp_net_name:
+ get_input: pcrf_sp_net_name
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ pcrf_rx_net_mask:
+ get_input: pcrf_rx_net_mask
+ server_pcrf_psm_003:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-psm_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 2
+ service_template_filter:
+ substitute_service_template: nested-psm_v1.0ServiceTemplate.yaml
+ pcrf_psm_flavor_name:
+ get_input: pcrf_psm_flavor_name
+ pcrf_psm_image_name:
+ get_input: pcrf_psm_image_name
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_psm_server_name:
+ get_input:
+ - pcrf_psm_server_names
+ - 2
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ server_pcrf_psm_004:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-psm_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 3
+ service_template_filter:
+ substitute_service_template: nested-psm_v1.0ServiceTemplate.yaml
+ pcrf_psm_flavor_name:
+ get_input: pcrf_psm_flavor_name
+ pcrf_psm_image_name:
+ get_input: pcrf_psm_image_name
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_psm_server_name:
+ get_input:
+ - pcrf_psm_server_names
+ - 3
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ server_pcrf_psm_001:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-psm_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 0
+ service_template_filter:
+ substitute_service_template: nested-psm_v1.0ServiceTemplate.yaml
+ pcrf_psm_flavor_name:
+ get_input: pcrf_psm_flavor_name
+ pcrf_psm_image_name:
+ get_input: pcrf_psm_image_name
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_psm_server_name:
+ get_input:
+ - pcrf_psm_server_names
+ - 0
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ server_pcrf_psm_002:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-psm_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 1
+ service_template_filter:
+ substitute_service_template: nested-psm_v1.0ServiceTemplate.yaml
+ pcrf_psm_flavor_name:
+ get_input: pcrf_psm_flavor_name
+ pcrf_psm_image_name:
+ get_input: pcrf_psm_image_name
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_psm_server_name:
+ get_input:
+ - pcrf_psm_server_names
+ - 1
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ server_pcrf_psm_007:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-psm_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 6
+ service_template_filter:
+ substitute_service_template: nested-psm_v1.0ServiceTemplate.yaml
+ pcrf_psm_flavor_name:
+ get_input: pcrf_psm_flavor_name
+ pcrf_psm_image_name:
+ get_input: pcrf_psm_image_name
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_psm_server_name:
+ get_input:
+ - pcrf_psm_server_names
+ - 6
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ server_pcrf_psm_008:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-psm_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 7
+ service_template_filter:
+ substitute_service_template: nested-psm_v1.0ServiceTemplate.yaml
+ pcrf_psm_flavor_name:
+ get_input: pcrf_psm_flavor_name
+ pcrf_psm_image_name:
+ get_input: pcrf_psm_image_name
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_psm_server_name:
+ get_input:
+ - pcrf_psm_server_names
+ - 7
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ server_pcrf_psm_005:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-psm_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 4
+ service_template_filter:
+ substitute_service_template: nested-psm_v1.0ServiceTemplate.yaml
+ pcrf_psm_flavor_name:
+ get_input: pcrf_psm_flavor_name
+ pcrf_psm_image_name:
+ get_input: pcrf_psm_image_name
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_psm_server_name:
+ get_input:
+ - pcrf_psm_server_names
+ - 4
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ server_pcrf_psm_006:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-psm_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 5
+ service_template_filter:
+ substitute_service_template: nested-psm_v1.0ServiceTemplate.yaml
+ pcrf_psm_flavor_name:
+ get_input: pcrf_psm_flavor_name
+ pcrf_psm_image_name:
+ get_input: pcrf_psm_image_name
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_psm_server_name:
+ get_input:
+ - pcrf_psm_server_names
+ - 5
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ pcrf_oam_volume_id_22:
+ type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
+ properties:
+ volume_type:
+ get_input: pcrf_oam_volume_silver-2
+ size: '(get_input : pcrf_oam_vol_size) * 1024'
+ name:
+ get_input: pcrf_oam_vol_name_2
+ server_pcrf_psm_009:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-psm_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 8
+ service_template_filter:
+ substitute_service_template: nested-psm_v1.0ServiceTemplate.yaml
+ pcrf_psm_flavor_name:
+ get_input: pcrf_psm_flavor_name
+ pcrf_psm_image_name:
+ get_input: pcrf_psm_image_name
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_psm_server_name:
+ get_input:
+ - pcrf_psm_server_names
+ - 8
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ server_pcrf_pps_001:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-pps_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 0
+ service_template_filter:
+ substitute_service_template: nested-pps_v1.0ServiceTemplate.yaml
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_pps_image_name:
+ get_input: pcrf_pps_image_name
+ pcrf_pps_flavor_name:
+ get_input: pcrf_pps_flavor_name
+ pcrf_pps_server_name:
+ get_input:
+ - pcrf_pps_server_names
+ - 0
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ server_pcrf_pps_002:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-pps_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 1
+ service_template_filter:
+ substitute_service_template: nested-pps_v1.0ServiceTemplate.yaml
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_pps_image_name:
+ get_input: pcrf_pps_image_name
+ pcrf_pps_flavor_name:
+ get_input: pcrf_pps_flavor_name
+ pcrf_pps_server_name:
+ get_input:
+ - pcrf_pps_server_names
+ - 1
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ server_pcrf_pps_003:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-pps_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 2
+ service_template_filter:
+ substitute_service_template: nested-pps_v1.0ServiceTemplate.yaml
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_pps_image_name:
+ get_input: pcrf_pps_image_name
+ pcrf_pps_flavor_name:
+ get_input: pcrf_pps_flavor_name
+ pcrf_pps_server_name:
+ get_input:
+ - pcrf_pps_server_names
+ - 2
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ server_pcrf_pps_004:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-pps_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 3
+ service_template_filter:
+ substitute_service_template: nested-pps_v1.0ServiceTemplate.yaml
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_pps_image_name:
+ get_input: pcrf_pps_image_name
+ pcrf_pps_flavor_name:
+ get_input: pcrf_pps_flavor_name
+ pcrf_pps_server_name:
+ get_input:
+ - pcrf_pps_server_names
+ - 3
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ server_pcrf_pps_005:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-pps_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 4
+ service_template_filter:
+ substitute_service_template: nested-pps_v1.0ServiceTemplate.yaml
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_pps_image_name:
+ get_input: pcrf_pps_image_name
+ pcrf_pps_flavor_name:
+ get_input: pcrf_pps_flavor_name
+ pcrf_pps_server_name:
+ get_input:
+ - pcrf_pps_server_names
+ - 4
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ server_pcrf_pps_006:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-pps_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 5
+ service_template_filter:
+ substitute_service_template: nested-pps_v1.0ServiceTemplate.yaml
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_pps_image_name:
+ get_input: pcrf_pps_image_name
+ pcrf_pps_flavor_name:
+ get_input: pcrf_pps_flavor_name
+ pcrf_pps_server_name:
+ get_input:
+ - pcrf_pps_server_names
+ - 5
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ server_pcrf_psm_010:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-psm_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 9
+ service_template_filter:
+ substitute_service_template: nested-psm_v1.0ServiceTemplate.yaml
+ pcrf_psm_flavor_name:
+ get_input: pcrf_psm_flavor_name
+ pcrf_psm_image_name:
+ get_input: pcrf_psm_image_name
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_psm_server_name:
+ get_input:
+ - pcrf_psm_server_names
+ - 9
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ server_pcrf_psm_011:
+ type: org.openecomp.resource.abstract.nodes.heat.nested-psm_v1.0
+ directives:
+ - substitutable
+ properties:
+ pcrf_cps_net_ip:
+ get_input:
+ - pcrf_cps_net_ips
+ - 10
+ service_template_filter:
+ substitute_service_template: nested-psm_v1.0ServiceTemplate.yaml
+ pcrf_psm_flavor_name:
+ get_input: pcrf_psm_flavor_name
+ pcrf_psm_image_name:
+ get_input: pcrf_psm_image_name
+ availabilityzone_name:
+ get_input: availabilityzone_name
+ pcrf_vnf_id:
+ get_input: pcrf_vnf_id
+ pcrf_cps_net_name:
+ get_input: pcrf_cps_net_name
+ pcrf_cps_net_mask:
+ get_input: pcrf_cps_net_mask
+ pcrf_psm_server_name:
+ get_input:
+ - pcrf_psm_server_names
+ - 10
+ pcrf_security_group_name:
+ get_input: pcrf_security_group_name
+ groups:
+ hot-nimbus-ppd_v1.0:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/hot-nimbus-ppd_v1.0.yaml
+ description: heat template that creates PCRF Policy Director stack
+ members:
+ - server_pcrf_ppd_003
+ - server_pcrf_ppd_004
+ - server_pcrf_ppd_001
+ - server_pcrf_ppd_002
+ hot-nimbus-pcm_v1.0:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/hot-nimbus-pcm_v1.0.yaml
+ description: heat template that creates PCRF Cluman stack
+ members:
+ - server_pcrf_pcm_001
+ hot-nimbus-oam_v1.0:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/hot-nimbus-oam_v1.0.yaml
+ description: heat template that creates multiple PCRF OAM nodes stack
+ members:
+ - server_pcrf_oam_001
+ - server_pcrf_oam_002
+ hot-nimbus-oam-volumes_v1.0:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/hot-nimbus-oam-volumes_v1.0.yaml
+ members:
+ - pcrf_oam_volume_id_11
+ - pcrf_oam_volume_id_22
+ hot-nimbus-psm_v1.0:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/hot-nimbus-psm_v1.0.yaml
+ description: heat template that creates PCRF Session Manager stack
+ members:
+ - server_pcrf_psm_003
+ - server_pcrf_psm_004
+ - server_pcrf_psm_001
+ - server_pcrf_psm_012
+ - server_pcrf_psm_002
+ - server_pcrf_psm_007
+ - server_pcrf_psm_008
+ - server_pcrf_psm_005
+ - server_pcrf_psm_006
+ - server_pcrf_psm_009
+ - server_pcrf_psm_010
+ - server_pcrf_psm_011
+ hot-nimbus-pcm-volumes_v1.0:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/hot-nimbus-pcm-volumes_v1.0.yaml
+ members:
+ - pcrf_pcm_volume_id_1
+ hot-nimbus-pps_v1.0:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/hot-nimbus-pps_v1.0.yaml
+ description: heat template that creates PCRF Policy Server stack
+ members:
+ - server_pcrf_pps_001
+ - server_pcrf_pps_002
+ - server_pcrf_pps_003
+ - server_pcrf_pps_004
+ - server_pcrf_pps_005
+ - server_pcrf_pps_006
+ outputs:
+ pcrf_oam_volume_id_1:
+ description: the oam 001 volume id
+ value: pcrf_oam_volume_id_11
+ pcrf_oam_volume_id_2:
+ description: the oam 002 volume id
+ value: pcrf_oam_volume_id_22
+ pcrf_pcm_volume_id_1:
+ description: the pcrf_pcm_volume_id
+ value: pcrf_pcm_volume_id_1 \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-oam_v1.0ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-oam_v1.0ServiceTemplate.yaml
new file mode 100644
index 0000000000..59b9cde00c
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-oam_v1.0ServiceTemplate.yaml
@@ -0,0 +1,225 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: nested-oam_v1.0
+imports:
+ ContrailComputeGlobalTypes:
+ file: ContrailComputeGlobalTypesServiceTemplate.yaml
+ CinderVolumeGlobalTypes:
+ file: CinderVolumeGlobalTypesServiceTemplate.yaml
+ ContrailVirtualNetworkGlobalType:
+ file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
+ AbstractSubstituteGlobalTypes:
+ file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
+ ContrailPortGlobalTypes:
+ file: ContrailPortGlobalTypesServiceTemplate.yaml
+ GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+ NeutronPortGlobalTypes:
+ file: NeutronPortGlobalTypesServiceTemplate.yaml
+ NeutronNetGlobalTypes:
+ file: NeutronNetGlobalTypesServiceTemplate.yaml
+ CommonGlobalTypes:
+ file: CommonGlobalTypesServiceTemplate.yaml
+ ContrailAbstractSubstituteGlobalTypes:
+ file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
+ ContrailNetworkRuleGlobalType:
+ file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
+ NeutronSecurityRulesGlobalTypes:
+ file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
+ NovaServerGlobalTypes:
+ file: NovaServerGlobalTypesServiceTemplate.yaml
+ ContrailV2VirtualMachineInterfaceGlobalType:
+ file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
+node_types:
+ org.openecomp.resource.vfc.nodes.heat.pcrf_oam_server:
+ derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
+topology_template:
+ inputs:
+ availabilityzone_name:
+ label: availabilityzone name
+ hidden: false
+ immutable: false
+ type: string
+ description: availabilityzone name
+ pcrf_oam_flavor_name:
+ label: PCRF OAM flavor name
+ hidden: false
+ immutable: false
+ type: string
+ description: flavor name of PCRF OAM instance
+ pcrf_oam_server_name:
+ label: PCRF OAM server name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF OAM server name
+ pcrf_cps_net_ip:
+ label: CPS network ip
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network ip
+ pcrf_vnf_id:
+ label: PCRF VNF Id
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF VNF Id
+ pcrf_oam_net_name:
+ label: OAM network name
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network name
+ pcrf_cps_net_name:
+ label: CPS network name
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network name
+ pcrf_arbiter_vip:
+ label: OAM Arbiter LB VIP
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM Arbiter LB VIP
+ pcrf_oam_net_ip:
+ label: OAM network ip
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network ip
+ pcrf_oam_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ pcrf_cps_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ pcrf_oam_volume_id:
+ label: CPS OAM Cinder Volume
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS OAM Cinder Volume
+ pcrf_oam_net_gw:
+ label: CPS network gateway
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network gateway
+ pcrf_oam_image_name:
+ label: image name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF OAM image name
+ pcrf_security_group_name:
+ label: security group name
+ hidden: false
+ immutable: false
+ type: string
+ description: the name of security group
+ node_templates:
+ pcrf_server_oam:
+ type: org.openecomp.resource.vfc.nodes.heat.pcrf_oam_server
+ properties:
+ flavor:
+ get_input: pcrf_oam_flavor_name
+ availability_zone:
+ get_input: availabilityzone_name
+ image:
+ get_input: pcrf_oam_image_name
+ config_drive: 'True'
+ metadata:
+ vnf_id:
+ get_input: pcrf_vnf_id
+ user_data_format: RAW
+ name:
+ get_input: pcrf_oam_server_name
+ pcrf_oam_port_1:
+ type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
+ properties:
+ security_groups:
+ - get_input: pcrf_security_group_name
+ fixed_ips:
+ - ip_address:
+ get_input: pcrf_oam_net_ip
+ network:
+ get_input: pcrf_oam_net_name
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: pcrf_server_oam
+ relationship: tosca.relationships.network.BindsTo
+ pcrf_oam_port_0:
+ type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
+ properties:
+ security_groups:
+ - get_input: pcrf_security_group_name
+ fixed_ips:
+ - ip_address:
+ get_input: pcrf_cps_net_ip
+ allowed_address_pairs:
+ - ip_address:
+ get_input: pcrf_arbiter_vip
+ network:
+ get_input: pcrf_cps_net_name
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: pcrf_server_oam
+ relationship: tosca.relationships.network.BindsTo
+ groups:
+ nested-oam_v1.0:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/nested-oam_v1.0.yaml
+ description: nested heat template that creates a PCRF OAM node stack
+ members:
+ - pcrf_server_oam
+ - pcrf_oam_port_1
+ - pcrf_oam_port_0
+ outputs:
+ pcrf_oam_vol_attachment_id:
+ description: the pcrf_oam_vol_attachment_id id
+ value: pcrf_oam_vol_attachment
+ substitution_mappings:
+ node_type: org.openecomp.resource.abstract.nodes.heat.nested-oam_v1.0
+ capabilities:
+ endpoint_pcrf_server_oam:
+ - pcrf_server_oam
+ - endpoint
+ host_pcrf_server_oam:
+ - pcrf_server_oam
+ - host
+ binding_pcrf_server_oam:
+ - pcrf_server_oam
+ - binding
+ attachment_pcrf_oam_port_1:
+ - pcrf_oam_port_1
+ - attachment
+ attachment_pcrf_oam_port_0:
+ - pcrf_oam_port_0
+ - attachment
+ scalable_pcrf_server_oam:
+ - pcrf_server_oam
+ - scalable
+ os_pcrf_server_oam:
+ - pcrf_server_oam
+ - os
+ requirements:
+ local_storage_pcrf_server_oam:
+ - pcrf_server_oam
+ - local_storage
+ link_pcrf_oam_port_1:
+ - pcrf_oam_port_1
+ - link
+ link_pcrf_oam_port_0:
+ - pcrf_oam_port_0
+ - link \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-pcm_v1.0ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-pcm_v1.0ServiceTemplate.yaml
new file mode 100644
index 0000000000..86a37e4e55
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-pcm_v1.0ServiceTemplate.yaml
@@ -0,0 +1,216 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: nested-pcm_v1.0
+imports:
+ ContrailComputeGlobalTypes:
+ file: ContrailComputeGlobalTypesServiceTemplate.yaml
+ CinderVolumeGlobalTypes:
+ file: CinderVolumeGlobalTypesServiceTemplate.yaml
+ ContrailVirtualNetworkGlobalType:
+ file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
+ AbstractSubstituteGlobalTypes:
+ file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
+ ContrailPortGlobalTypes:
+ file: ContrailPortGlobalTypesServiceTemplate.yaml
+ GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+ NeutronPortGlobalTypes:
+ file: NeutronPortGlobalTypesServiceTemplate.yaml
+ NeutronNetGlobalTypes:
+ file: NeutronNetGlobalTypesServiceTemplate.yaml
+ CommonGlobalTypes:
+ file: CommonGlobalTypesServiceTemplate.yaml
+ ContrailAbstractSubstituteGlobalTypes:
+ file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
+ ContrailNetworkRuleGlobalType:
+ file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
+ NeutronSecurityRulesGlobalTypes:
+ file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
+ NovaServerGlobalTypes:
+ file: NovaServerGlobalTypesServiceTemplate.yaml
+ ContrailV2VirtualMachineInterfaceGlobalType:
+ file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
+node_types:
+ org.openecomp.resource.vfc.nodes.heat.pcrf_pcm_server:
+ derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
+topology_template:
+ inputs:
+ pcrf_pcm_flavor_name:
+ label: PCRF CM flavor name
+ hidden: false
+ immutable: false
+ type: string
+ description: flavor name of PCRF CM instance
+ availabilityzone_name:
+ label: availabilityzone name
+ hidden: false
+ immutable: false
+ type: string
+ description: availabilityzone name
+ pcrf_cps_net_ip:
+ label: CPS network ip
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network ip
+ pcrf_pcm_image_name:
+ label: image name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF CM image name
+ pcrf_vnf_id:
+ label: PCRF VNF Id
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF VNF Id
+ pcrf_oam_net_name:
+ label: OAM network name
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network name
+ pcrf_cps_net_name:
+ label: CPS network name
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network name
+ pcrf_oam_net_ip:
+ label: OAM network ip
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network ip
+ pcrf_oam_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ pcrf_cps_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ pcrf_pcm_server_name:
+ label: PCRF CM server name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF CM server name
+ pcrf_oam_net_gw:
+ label: CPS network gateway
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network gateway
+ pcrf_pcm_volume_id:
+ label: CPS Cluman Cinder Volume
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS Cluman Cinder Volume
+ pcrf_security_group_name:
+ label: security group name
+ hidden: false
+ immutable: false
+ type: string
+ description: the name of security group
+ node_templates:
+ pcrf_pcm_port_0:
+ type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
+ properties:
+ security_groups:
+ - get_input: pcrf_security_group_name
+ fixed_ips:
+ - ip_address:
+ get_input: pcrf_cps_net_ip
+ network:
+ get_input: pcrf_cps_net_name
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: pcrf_server_pcm
+ relationship: tosca.relationships.network.BindsTo
+ pcrf_server_pcm:
+ type: org.openecomp.resource.vfc.nodes.heat.pcrf_pcm_server
+ properties:
+ flavor:
+ get_input: pcrf_pcm_flavor_name
+ availability_zone:
+ get_input: availabilityzone_name
+ image:
+ get_input: pcrf_pcm_image_name
+ config_drive: 'True'
+ metadata:
+ vnf_id:
+ get_input: pcrf_vnf_id
+ user_data_format: RAW
+ name:
+ get_input: pcrf_pcm_server_name
+ pcrf_pcm_port_1:
+ type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
+ properties:
+ security_groups:
+ - get_input: pcrf_security_group_name
+ fixed_ips:
+ - ip_address:
+ get_input: pcrf_oam_net_ip
+ network:
+ get_input: pcrf_oam_net_name
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: pcrf_server_pcm
+ relationship: tosca.relationships.network.BindsTo
+ groups:
+ nested-pcm_v1.0:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/nested-pcm_v1.0.yaml
+ description: heat template that creates PCRF Cluman stack
+ members:
+ - pcrf_pcm_port_0
+ - pcrf_server_pcm
+ - pcrf_pcm_port_1
+ outputs:
+ pcrf_server_pcm_id:
+ description: the pcm server id
+ value: pcrf_server_pcm
+ substitution_mappings:
+ node_type: org.openecomp.resource.abstract.nodes.heat.nested-pcm_v1.0
+ capabilities:
+ endpoint_pcrf_server_pcm:
+ - pcrf_server_pcm
+ - endpoint
+ attachment_pcrf_pcm_port_0:
+ - pcrf_pcm_port_0
+ - attachment
+ binding_pcrf_server_pcm:
+ - pcrf_server_pcm
+ - binding
+ os_pcrf_server_pcm:
+ - pcrf_server_pcm
+ - os
+ host_pcrf_server_pcm:
+ - pcrf_server_pcm
+ - host
+ scalable_pcrf_server_pcm:
+ - pcrf_server_pcm
+ - scalable
+ attachment_pcrf_pcm_port_1:
+ - pcrf_pcm_port_1
+ - attachment
+ requirements:
+ local_storage_pcrf_server_pcm:
+ - pcrf_server_pcm
+ - local_storage
+ link_pcrf_pcm_port_0:
+ - pcrf_pcm_port_0
+ - link
+ link_pcrf_pcm_port_1:
+ - pcrf_pcm_port_1
+ - link \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-ppd_v1.0ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-ppd_v1.0ServiceTemplate.yaml
new file mode 100644
index 0000000000..976cbebf83
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-ppd_v1.0ServiceTemplate.yaml
@@ -0,0 +1,464 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: nested-ppd_v1.0
+imports:
+ ContrailComputeGlobalTypes:
+ file: ContrailComputeGlobalTypesServiceTemplate.yaml
+ CinderVolumeGlobalTypes:
+ file: CinderVolumeGlobalTypesServiceTemplate.yaml
+ ContrailVirtualNetworkGlobalType:
+ file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
+ AbstractSubstituteGlobalTypes:
+ file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
+ ContrailPortGlobalTypes:
+ file: ContrailPortGlobalTypesServiceTemplate.yaml
+ GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+ NeutronPortGlobalTypes:
+ file: NeutronPortGlobalTypesServiceTemplate.yaml
+ NeutronNetGlobalTypes:
+ file: NeutronNetGlobalTypesServiceTemplate.yaml
+ CommonGlobalTypes:
+ file: CommonGlobalTypesServiceTemplate.yaml
+ ContrailAbstractSubstituteGlobalTypes:
+ file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
+ ContrailNetworkRuleGlobalType:
+ file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
+ NeutronSecurityRulesGlobalTypes:
+ file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
+ NovaServerGlobalTypes:
+ file: NovaServerGlobalTypesServiceTemplate.yaml
+ ContrailV2VirtualMachineInterfaceGlobalType:
+ file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
+node_types:
+ org.openecomp.resource.vfc.nodes.heat.pcrf_ppd_server:
+ derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
+topology_template:
+ inputs:
+ pcrf_ppd_image_name:
+ label: image name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF PD image name
+ availabilityzone_name:
+ label: availabilityzone name
+ hidden: false
+ immutable: false
+ type: string
+ description: availabilityzone name
+ pcrf_sp_net_ip:
+ label: Sp network ip
+ hidden: false
+ immutable: false
+ type: string
+ description: Sp network ip
+ pcrf_ppd_server_name:
+ label: PCRF PD server name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF PD server name
+ pcrf_gx_net_ip:
+ label: Gx network ip
+ hidden: false
+ immutable: false
+ type: string
+ description: Gx network ip
+ pcrf_sy_net_name:
+ label: Sy network name
+ hidden: false
+ immutable: false
+ type: string
+ description: Sy network name
+ pcrf_sp_net_mask:
+ label: Sp network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: Sp network mask
+ pcrf_sd_net_ip:
+ label: Sd network ip
+ hidden: false
+ immutable: false
+ type: string
+ description: Sd network ip
+ pcrf_vnf_id:
+ label: PCRF VNF Id
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF VNF Id
+ pcrf_oam_net_name:
+ label: OAM network name
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network name
+ pcrf_oam_net_ip:
+ label: OAM network ip
+ hidden: false
+ immutable: false
+ type: string
+ description: OAM network ip
+ pcrf_cps_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ pcrf_gx_net_mask:
+ label: Gx network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: Gx network mask
+ pcrf_sgi_sy_net_name:
+ label: Sgi Sy network name
+ hidden: false
+ immutable: false
+ type: string
+ description: Sgi Sy network name
+ pcrf_sd_net_name:
+ label: Sd network name
+ hidden: false
+ immutable: false
+ type: string
+ description: Sd network name
+ pcrf_oam_net_gw:
+ label: CPS network gateway
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network gateway
+ pcrf_rx_net_name:
+ label: Rx network name
+ hidden: false
+ immutable: false
+ type: string
+ description: Rx network name
+ pcrf_rx_net_ip:
+ label: Rx network ip
+ hidden: false
+ immutable: false
+ type: string
+ description: Rx network ip
+ pcrf_sy_net_ip:
+ label: Sy network ip
+ hidden: false
+ immutable: false
+ type: string
+ description: Sy network ip
+ pcrf_sgi_sy_net_ip:
+ label: Sgi Sy network ip
+ hidden: false
+ immutable: false
+ type: string
+ description: Sgi Sy network ip
+ pcrf_ppd_flavor_name:
+ label: PCRF PD flavor name
+ hidden: false
+ immutable: false
+ type: string
+ description: flavor name of PCRF PD instance
+ pcrf_cps_net_ip:
+ label: CPS network ip
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network ip
+ pcrf_sy_net_mask:
+ label: Sy network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: Sy network mask
+ pcrf_cps_net_name:
+ label: CPS network name
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network name
+ pcrf_oam_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ pcrf_lb_management_vip:
+ label: CPS OAM LB VIP
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS OAM LB VIP
+ pcrf_sgi_sy_net_mask:
+ label: Sgi Sy network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: Sgi Sy network mask
+ pcrf_lb_internal_vip:
+ label: CPS Internal LB VIP
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS Internal LB VIP
+ pcrf_sd_net_mask:
+ label: Sd network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: Sd network mask
+ pcrf_gx_net_name:
+ label: Gx network name
+ hidden: false
+ immutable: false
+ type: string
+ description: Gx network name
+ pcrf_sp_net_name:
+ label: Sp network name
+ hidden: false
+ immutable: false
+ type: string
+ description: Sp network name
+ pcrf_rx_net_mask:
+ label: Rx network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: Rx network mask
+ pcrf_security_group_name:
+ label: security group name
+ hidden: false
+ immutable: false
+ type: string
+ description: the name of security group
+ node_templates:
+ pcrf_ppd_port_5:
+ type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
+ properties:
+ security_groups:
+ - get_input: pcrf_security_group_name
+ fixed_ips:
+ - ip_address:
+ get_input: pcrf_rx_net_ip
+ network:
+ get_input: pcrf_rx_net_name
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: pcrf_server_ppd
+ relationship: tosca.relationships.network.BindsTo
+ pcrf_ppd_port_6:
+ type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
+ properties:
+ security_groups:
+ - get_input: pcrf_security_group_name
+ fixed_ips:
+ - ip_address:
+ get_input: pcrf_sd_net_ip
+ network:
+ get_input: pcrf_sd_net_name
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: pcrf_server_ppd
+ relationship: tosca.relationships.network.BindsTo
+ pcrf_ppd_port_3:
+ type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
+ properties:
+ security_groups:
+ - get_input: pcrf_security_group_name
+ fixed_ips:
+ - ip_address:
+ get_input: pcrf_sp_net_ip
+ network:
+ get_input: pcrf_sp_net_name
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: pcrf_server_ppd
+ relationship: tosca.relationships.network.BindsTo
+ pcrf_server_ppd:
+ type: org.openecomp.resource.vfc.nodes.heat.pcrf_ppd_server
+ properties:
+ flavor:
+ get_input: pcrf_ppd_flavor_name
+ availability_zone:
+ get_input: availabilityzone_name
+ image:
+ get_input: pcrf_ppd_image_name
+ config_drive: 'True'
+ metadata:
+ vnf_id:
+ get_input: pcrf_vnf_id
+ user_data_format: RAW
+ name:
+ get_input: pcrf_ppd_server_name
+ pcrf_ppd_port_4:
+ type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
+ properties:
+ security_groups:
+ - get_input: pcrf_security_group_name
+ fixed_ips:
+ - ip_address:
+ get_input: pcrf_sy_net_ip
+ network:
+ get_input: pcrf_sy_net_name
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: pcrf_server_ppd
+ relationship: tosca.relationships.network.BindsTo
+ pcrf_ppd_port_7:
+ type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
+ properties:
+ security_groups:
+ - get_input: pcrf_security_group_name
+ fixed_ips:
+ - ip_address:
+ get_input: pcrf_sgi_sy_net_ip
+ network:
+ get_input: pcrf_sgi_sy_net_name
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: pcrf_server_ppd
+ relationship: tosca.relationships.network.BindsTo
+ pcrf_ppd_port_1:
+ type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
+ properties:
+ security_groups:
+ - get_input: pcrf_security_group_name
+ fixed_ips:
+ - ip_address:
+ get_input: pcrf_oam_net_ip
+ allowed_address_pairs:
+ - ip_address:
+ get_input: pcrf_lb_management_vip
+ network:
+ get_input: pcrf_oam_net_name
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: pcrf_server_ppd
+ relationship: tosca.relationships.network.BindsTo
+ pcrf_ppd_port_2:
+ type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
+ properties:
+ security_groups:
+ - get_input: pcrf_security_group_name
+ fixed_ips:
+ - ip_address:
+ get_input: pcrf_gx_net_ip
+ network:
+ get_input: pcrf_gx_net_name
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: pcrf_server_ppd
+ relationship: tosca.relationships.network.BindsTo
+ pcrf_ppd_port_0:
+ type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
+ properties:
+ security_groups:
+ - get_input: pcrf_security_group_name
+ fixed_ips:
+ - ip_address:
+ get_input: pcrf_cps_net_ip
+ allowed_address_pairs:
+ - ip_address:
+ get_input: pcrf_lb_internal_vip
+ network:
+ get_input: pcrf_cps_net_name
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: pcrf_server_ppd
+ relationship: tosca.relationships.network.BindsTo
+ groups:
+ nested-ppd_v1.0:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/nested-ppd_v1.0.yaml
+ description: heat template that creates PCRF Policy Director stack
+ members:
+ - pcrf_ppd_port_5
+ - pcrf_ppd_port_6
+ - pcrf_ppd_port_3
+ - pcrf_server_ppd
+ - pcrf_ppd_port_4
+ - pcrf_ppd_port_7
+ - pcrf_ppd_port_1
+ - pcrf_ppd_port_2
+ - pcrf_ppd_port_0
+ substitution_mappings:
+ node_type: org.openecomp.resource.abstract.nodes.heat.nested-ppd_v1.0
+ capabilities:
+ attachment_pcrf_ppd_port_1:
+ - pcrf_ppd_port_1
+ - attachment
+ attachment_pcrf_ppd_port_2:
+ - pcrf_ppd_port_2
+ - attachment
+ binding_pcrf_server_ppd:
+ - pcrf_server_ppd
+ - binding
+ attachment_pcrf_ppd_port_0:
+ - pcrf_ppd_port_0
+ - attachment
+ attachment_pcrf_ppd_port_5:
+ - pcrf_ppd_port_5
+ - attachment
+ attachment_pcrf_ppd_port_6:
+ - pcrf_ppd_port_6
+ - attachment
+ attachment_pcrf_ppd_port_3:
+ - pcrf_ppd_port_3
+ - attachment
+ os_pcrf_server_ppd:
+ - pcrf_server_ppd
+ - os
+ attachment_pcrf_ppd_port_4:
+ - pcrf_ppd_port_4
+ - attachment
+ endpoint_pcrf_server_ppd:
+ - pcrf_server_ppd
+ - endpoint
+ scalable_pcrf_server_ppd:
+ - pcrf_server_ppd
+ - scalable
+ attachment_pcrf_ppd_port_7:
+ - pcrf_ppd_port_7
+ - attachment
+ host_pcrf_server_ppd:
+ - pcrf_server_ppd
+ - host
+ requirements:
+ link_pcrf_ppd_port_3:
+ - pcrf_ppd_port_3
+ - link
+ link_pcrf_ppd_port_2:
+ - pcrf_ppd_port_2
+ - link
+ local_storage_pcrf_server_ppd:
+ - pcrf_server_ppd
+ - local_storage
+ link_pcrf_ppd_port_1:
+ - pcrf_ppd_port_1
+ - link
+ link_pcrf_ppd_port_0:
+ - pcrf_ppd_port_0
+ - link
+ link_pcrf_ppd_port_7:
+ - pcrf_ppd_port_7
+ - link
+ link_pcrf_ppd_port_6:
+ - pcrf_ppd_port_6
+ - link
+ link_pcrf_ppd_port_5:
+ - pcrf_ppd_port_5
+ - link
+ link_pcrf_ppd_port_4:
+ - pcrf_ppd_port_4
+ - link \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-pps_v1.0ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-pps_v1.0ServiceTemplate.yaml
new file mode 100644
index 0000000000..692a2f0d4b
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-pps_v1.0ServiceTemplate.yaml
@@ -0,0 +1,160 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: nested-pps_v1.0
+imports:
+ ContrailComputeGlobalTypes:
+ file: ContrailComputeGlobalTypesServiceTemplate.yaml
+ CinderVolumeGlobalTypes:
+ file: CinderVolumeGlobalTypesServiceTemplate.yaml
+ ContrailVirtualNetworkGlobalType:
+ file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
+ AbstractSubstituteGlobalTypes:
+ file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
+ ContrailPortGlobalTypes:
+ file: ContrailPortGlobalTypesServiceTemplate.yaml
+ GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+ NeutronPortGlobalTypes:
+ file: NeutronPortGlobalTypesServiceTemplate.yaml
+ NeutronNetGlobalTypes:
+ file: NeutronNetGlobalTypesServiceTemplate.yaml
+ CommonGlobalTypes:
+ file: CommonGlobalTypesServiceTemplate.yaml
+ ContrailAbstractSubstituteGlobalTypes:
+ file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
+ ContrailNetworkRuleGlobalType:
+ file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
+ NeutronSecurityRulesGlobalTypes:
+ file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
+ NovaServerGlobalTypes:
+ file: NovaServerGlobalTypesServiceTemplate.yaml
+ ContrailV2VirtualMachineInterfaceGlobalType:
+ file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
+node_types:
+ org.openecomp.resource.vfc.nodes.heat.pcrf_pps_server:
+ derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
+topology_template:
+ inputs:
+ pcrf_cps_net_ip:
+ label: CPS network ip
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network ip
+ availabilityzone_name:
+ label: availabilityzone name
+ hidden: false
+ immutable: false
+ type: string
+ description: availabilityzone name
+ pcrf_vnf_id:
+ label: PCRF VNF Id
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF VNF Id
+ pcrf_cps_net_name:
+ label: CPS network name
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network name
+ pcrf_cps_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ pcrf_pps_image_name:
+ label: PCRF PS image name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF PS image name
+ pcrf_pps_flavor_name:
+ label: PCRF PS flavor name
+ hidden: false
+ immutable: false
+ type: string
+ description: flavor name of PCRF PS instance
+ pcrf_pps_server_name:
+ label: PCRF PS server name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF PS server name
+ pcrf_security_group_name:
+ label: security group name
+ hidden: false
+ immutable: false
+ type: string
+ description: the name of security group
+ node_templates:
+ pcrf_pps_port_0:
+ type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
+ properties:
+ security_groups:
+ - get_input: pcrf_security_group_name
+ fixed_ips:
+ - ip_address:
+ get_input: pcrf_cps_net_ip
+ network:
+ get_input: pcrf_cps_net_name
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: pcrf_server_pps
+ relationship: tosca.relationships.network.BindsTo
+ pcrf_server_pps:
+ type: org.openecomp.resource.vfc.nodes.heat.pcrf_pps_server
+ properties:
+ flavor:
+ get_input: pcrf_pps_flavor_name
+ availability_zone:
+ get_input: availabilityzone_name
+ image:
+ get_input: pcrf_pps_image_name
+ config_drive: 'True'
+ metadata:
+ vnf_id:
+ get_input: pcrf_vnf_id
+ user_data_format: RAW
+ name:
+ get_input: pcrf_pps_server_name
+ groups:
+ nested-pps_v1.0:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/nested-pps_v1.0.yaml
+ description: heat template that creates PCRF Policy Server stack
+ members:
+ - pcrf_pps_port_0
+ - pcrf_server_pps
+ substitution_mappings:
+ node_type: org.openecomp.resource.abstract.nodes.heat.nested-pps_v1.0
+ capabilities:
+ binding_pcrf_server_pps:
+ - pcrf_server_pps
+ - binding
+ attachment_pcrf_pps_port_0:
+ - pcrf_pps_port_0
+ - attachment
+ scalable_pcrf_server_pps:
+ - pcrf_server_pps
+ - scalable
+ os_pcrf_server_pps:
+ - pcrf_server_pps
+ - os
+ endpoint_pcrf_server_pps:
+ - pcrf_server_pps
+ - endpoint
+ host_pcrf_server_pps:
+ - pcrf_server_pps
+ - host
+ requirements:
+ link_pcrf_pps_port_0:
+ - pcrf_pps_port_0
+ - link
+ local_storage_pcrf_server_pps:
+ - pcrf_server_pps
+ - local_storage \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-psm_v1.0ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-psm_v1.0ServiceTemplate.yaml
new file mode 100644
index 0000000000..770e1dceb8
--- /dev/null
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/hot-nimbus-oam-volumes_v1.0/out/nested-psm_v1.0ServiceTemplate.yaml
@@ -0,0 +1,160 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+metadata:
+ template_name: nested-psm_v1.0
+imports:
+ ContrailComputeGlobalTypes:
+ file: ContrailComputeGlobalTypesServiceTemplate.yaml
+ CinderVolumeGlobalTypes:
+ file: CinderVolumeGlobalTypesServiceTemplate.yaml
+ ContrailVirtualNetworkGlobalType:
+ file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
+ AbstractSubstituteGlobalTypes:
+ file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
+ ContrailPortGlobalTypes:
+ file: ContrailPortGlobalTypesServiceTemplate.yaml
+ GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+ NeutronPortGlobalTypes:
+ file: NeutronPortGlobalTypesServiceTemplate.yaml
+ NeutronNetGlobalTypes:
+ file: NeutronNetGlobalTypesServiceTemplate.yaml
+ CommonGlobalTypes:
+ file: CommonGlobalTypesServiceTemplate.yaml
+ ContrailAbstractSubstituteGlobalTypes:
+ file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
+ ContrailNetworkRuleGlobalType:
+ file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
+ NeutronSecurityRulesGlobalTypes:
+ file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
+ NovaServerGlobalTypes:
+ file: NovaServerGlobalTypesServiceTemplate.yaml
+ ContrailV2VirtualMachineInterfaceGlobalType:
+ file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
+node_types:
+ org.openecomp.resource.vfc.nodes.heat.pcrf_psm_server:
+ derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
+topology_template:
+ inputs:
+ pcrf_cps_net_ip:
+ label: CPS network ip
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network ip
+ pcrf_psm_flavor_name:
+ label: PCRF SM flavor name
+ hidden: false
+ immutable: false
+ type: string
+ description: flavor name of PCRF SM instance
+ pcrf_psm_image_name:
+ label: image name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF SM image name
+ availabilityzone_name:
+ label: availabilityzone name
+ hidden: false
+ immutable: false
+ type: string
+ description: availabilityzone name
+ pcrf_vnf_id:
+ label: PCRF VNF Id
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF VNF Id
+ pcrf_cps_net_name:
+ label: CPS network name
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network name
+ pcrf_cps_net_mask:
+ label: CPS network mask
+ hidden: false
+ immutable: false
+ type: string
+ description: CPS network mask
+ pcrf_psm_server_name:
+ label: PCRF SM server name
+ hidden: false
+ immutable: false
+ type: string
+ description: PCRF SM server name
+ pcrf_security_group_name:
+ label: security group name
+ hidden: false
+ immutable: false
+ type: string
+ description: the name of security group
+ node_templates:
+ pcrf_server_psm:
+ type: org.openecomp.resource.vfc.nodes.heat.pcrf_psm_server
+ properties:
+ flavor:
+ get_input: pcrf_psm_flavor_name
+ availability_zone:
+ get_input: availabilityzone_name
+ image:
+ get_input: pcrf_psm_image_name
+ config_drive: 'True'
+ metadata:
+ vnf_id:
+ get_input: pcrf_vnf_id
+ user_data_format: RAW
+ name:
+ get_input: pcrf_psm_server_name
+ psm01_port_0:
+ type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
+ properties:
+ security_groups:
+ - get_input: pcrf_security_group_name
+ fixed_ips:
+ - ip_address:
+ get_input: pcrf_cps_net_ip
+ network:
+ get_input: pcrf_cps_net_name
+ requirements:
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: pcrf_server_psm
+ relationship: tosca.relationships.network.BindsTo
+ groups:
+ nested-psm_v1.0:
+ type: org.openecomp.groups.heat.HeatStack
+ properties:
+ heat_file: ../Artifacts/nested-psm_v1.0.yaml
+ description: heat template that creates PCRF Session Manager stack
+ members:
+ - pcrf_server_psm
+ - psm01_port_0
+ substitution_mappings:
+ node_type: org.openecomp.resource.abstract.nodes.heat.nested-psm_v1.0
+ capabilities:
+ endpoint_pcrf_server_psm:
+ - pcrf_server_psm
+ - endpoint
+ binding_pcrf_server_psm:
+ - pcrf_server_psm
+ - binding
+ os_pcrf_server_psm:
+ - pcrf_server_psm
+ - os
+ attachment_psm01_port_0:
+ - psm01_port_0
+ - attachment
+ host_pcrf_server_psm:
+ - pcrf_server_psm
+ - host
+ scalable_pcrf_server_psm:
+ - pcrf_server_psm
+ - scalable
+ requirements:
+ local_storage_pcrf_server_psm:
+ - pcrf_server_psm
+ - local_storage
+ link_psm01_port_0:
+ - psm01_port_0
+ - link \ No newline at end of file