aboutsummaryrefslogtreecommitdiffstats
path: root/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts')
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/att_nimbus_vsaegw_ht_base_v13_0728v1.yaml3374
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/cloud-nimbus.sh12
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam-volumes_v1.0.env6
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam-volumes_v1.0.yaml45
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam_v1.0.env18
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam_v1.0.yaml109
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm-volumes_v1.0.env4
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml28
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm_v1.0.env16
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm_v1.0.yaml80
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-ppd_v1.0.yaml286
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-ppd_v1.1.env35
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pps_v1.0.env11
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pps_v1.0.yaml121
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-psm_v1.0.env10
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-psm_v1.0.yaml199
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-swift-container_v1.0.env3
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-swift-container_v1.0.yaml30
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/mount_iso_script.sh34
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-oam_v1.0.yaml156
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-pcm_v1.0.yaml150
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-ppd_v1.0.yaml333
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-pps_v1.0.yaml99
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-psm_v1.0.yaml99
-rw-r--r--packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/vnf-module-artifact.json29
25 files changed, 5287 insertions, 0 deletions
diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/att_nimbus_vsaegw_ht_base_v13_0728v1.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/att_nimbus_vsaegw_ht_base_v13_0728v1.yaml
new file mode 100644
index 0000000000..2aa58fbabb
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/att_nimbus_vsaegw_ht_base_v13_0728v1.yaml
@@ -0,0 +1,3374 @@
+
+heat_template_version: 2013-05-23
+
+
+description: SAEGW (version 20.1.0v) HEAT Template (2CFs and 10SFs)
+
+parameters:
+# description: instance name
+ vnf_name:
+ type: string
+ description: Unique name for this VF instance
+# For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC
+ vnf_id:
+ type: string
+ description: Unique ID for this VF instance
+# For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC
+ vf_module_id:
+ type: string
+ description: Unique ID for this VF Module instance
+# For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC
+ admin_password:
+ type: string
+ description: cf instance admin password
+ cf_oam_protected_vip:
+ type: string
+ description: cf instance mgmt vip address
+ cf_vpc_vip_gateway:
+ type: string
+ description: cf instance mgmt gateway address
+ availability_zone_0:
+ type: string
+ description: Availability_zone where the VNF should be created
+ cf_image_name_0:
+ type: string
+ description: instance cf1 image
+ cf_image_name_1:
+ type: string
+ description: instance cf2 image
+ sf_image_name:
+ type: string
+ description: instance sf image
+ cf_flavor_name:
+ type: string
+ description: instance flavor for CFs
+ sf_flavor_name:
+ type: string
+ description: instance flavor for SFs
+ oam_protected_net_name:
+ type: string
+ description: instance oam network
+ oam_calea_net_name:
+ type: string
+ description: network name of service network 5
+ int_icsr_net_name:
+ type: string
+ description: network name of service network 6
+ cgwy_int_di2_net_name:
+ type: string
+ description: network name of DI Internal network
+ cf_oam_protected_ip_0:
+ type: string
+ description: Static IP for CF01 management Neutron port
+ cf_oam_protected_ip_1:
+ type: string
+ description: Static IP for CF02 management Neutron port
+ sf_gn_ips:
+ type: comma_delimited_list
+ description: Static IPs for Gn IPv4 Ports
+ sf_cor_ips:
+ type: comma_delimited_list
+ description: Static IPs for Cor IPv4 Ports
+ sf_sgi_prot_ips:
+ type: comma_delimited_list
+ description: Static IPs for SGi Ports
+ sf_sgi_ims_ips:
+ type: comma_delimited_list
+ description: Static IPs for Sgi IMS Ports
+ sf_oam_calea_ips:
+ type: comma_delimited_list
+ description: Static IPs for OAM Calea Ports
+ sf_int_icsr_ips:
+ type: comma_delimited_list
+ description: Static IPs for icsr Ports
+
+ sf_gn_v6_ips:
+ type: comma_delimited_list
+ description: Static IPs for Gn IPv6 Ports
+ sf_cor_v6_ips:
+ type: comma_delimited_list
+ description: Static IPs for Cor IPv6 Ports
+ sf_sgi_prot_v6_ips:
+ type: comma_delimited_list
+ description: Static IPs for SGi Ports
+ sf_sgi_ims_v6_ips:
+ type: comma_delimited_list
+ description: Static IPs for Sgi IMS Ports
+# Added per AIC team request
+# srv_grp_sf:
+# type: string
+# description: Service Group Description
+
+ cgwy_names:
+ type: comma_delimited_list
+ description: VM hostname
+ cf_name:
+ type: string
+ description: CF GW Cluster Name
+ cf_volume_size_0:
+ type: string
+ description: volume for CF1
+ cf_volume_size_1:
+ type: string
+ description: volume for CF2
+ gn_net_fqdn:
+ type: string
+ description: GN network FQ name
+ sgi_net_fqdn:
+ type: string
+ description: SGI network FQ name
+ ims_net_fqdn:
+ type: string
+ description: IMS network FQ name
+ cor_net_fqdn:
+ type: string
+ description: COR network FQ name
+ vmi_allowed_address_pair_address_mode:
+ type: string
+ description: allow address paire active-active mode
+ vmi_allowed_address_pair_prefix_lenth:
+ type: string
+ description: IPv4 VIP prefix length
+ sf_gn_rii_v6:
+ type: string
+ description: GN IPv6 VIP loopback
+ sf_cor_rii_v6:
+ type: string
+ description: COR IPv6 VIP loopback
+ sf_sgi_rii_v6:
+ type: string
+ description: SGI IPv6 VIP loopback
+ sf_ims_rii_v6:
+ type: string
+ description: IMS IPv4 VIP loopback
+ vmi_allowed_address_pair_prefix_lenth_v6:
+ type: string
+ description: IPv6 VIP prefix length
+ instance_ip_family_v6:
+ type: string
+ description: iip address family IPv6
+
+
+
+ bgpaas_name:
+ type: comma_delimited_list
+ description: name for the BgpAsAService
+ bgpaas_autonomous_system:
+ type: number
+ description: AS for the BgpAsAService
+ constraints:
+ - range: {min: 0, max: 999999}
+ bgpaas_ip_address:
+ type: comma_delimited_list
+ description: bgpaas peer address for the BgpAsAService
+ bgpaas_session_attributes_passive:
+ type: boolean
+ description: passive mode selection for the BgpAsAService
+ bgpaas_session_attributes_hold_time:
+ type: number
+ description: hold_time for the BgpAsAService
+ constraints:
+ - range: {min: 0, max: 999}
+ bgpaas_session_attributes_admin_down:
+ type: boolean
+ description: admin_down for the BgpAsAService
+ bgpaas_session_attributes_address_families_family_4:
+ type: string
+ description: family for the BgpAsAService
+ bgpaas_session_attributes_address_families_family_6:
+ type: string
+ description: family for the BgpAsAService
+ bgpaas_session_attributes_family_attributes_af_4:
+ type: string
+ description: address_family ipv4 unitcast for the BgpAsAService
+ bgpaas_session_attributes_family_attributes_loop_count_4:
+ type: number
+ description: loop_count ipv4 unitcast for the BgpAsAService
+ constraints:
+ - range: {min: 0, max: 999}
+ bgpaas_session_attributes_family_attributes_prefix_limit_maximum_4:
+ type: number
+ description: maximum prefix ipv4 unicast for the BgpAsAService
+ constraints:
+ - range: {min: 0, max: 9999}
+ bgpaas_session_attributes_family_attributes_af_6:
+ type: string
+ description: address_family v6_ips unicast for the BgpAsAService
+ bgpaas_session_attributes_family_attributes_loop_count_6:
+ type: number
+ description: loop_count v6_ips unicast for the BgpAsAService
+ constraints:
+ - range: {min: 0, max: 999}
+ bgpaas_session_attributes_family_attributes_prefix_limit_maximum_6:
+ type: number
+ description: maximum v6_ips unicast for the BgpAsAService
+ constraints:
+ - range: {min: 0, max: 9999}
+ sf_shc_enabled:
+ type: boolean
+ description: enabled for the ServiceHealthCheck
+ sf_shc_monitor_type:
+ type: string
+ description: monitor_type for the ServiceHealthCheck
+ sf_shc_delay:
+ type: number
+ description: delay for the ServiceHealthCheck
+ constraints:
+ - range: {min: 0, max: 999}
+ sf_shc_timeout:
+ type: number
+ description: timeout for the ServiceHealthCheck
+ constraints:
+ - range: {min: 0, max: 999}
+ sf_shc_max_retries:
+ type: number
+ description: max_retries for the ServiceHealthCheck
+ constraints:
+ - range: {min: 0, max: 999}
+ sf_shc_url_path:
+ type: string
+ description: url for the ServiceHealthCheck
+
+
+resources:
+ # Create anti-affinity Server Group
+ cf_vpc-servergroup:
+ type: OS::Nova::ServerGroup
+ properties:
+ policies:
+ - anti-affinity
+ # Create anti-affinity Server Group
+ sf_vpc-servergroup:
+ type: OS::Nova::ServerGroup
+ properties:
+ policies:
+ - anti-affinity
+
+
+ # Create CF1 and CF2 ports on DI Internal Network DI Management Network
+ cf_int_di2_0_port:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: cgwy_int_di2_net_name}
+
+ cf_mgmt_0_port:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: oam_protected_net_name}
+ fixed_ips: [{"ip_address": {get_param: cf_oam_protected_ip_0}}]
+ allowed_address_pairs: [{"ip_address": {get_param: cf_oam_protected_vip}}]
+
+ cf_int_di2_1_port:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: cgwy_int_di2_net_name}
+
+ cf_mgmt_1_port:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: oam_protected_net_name}
+ fixed_ips: [{"ip_address": {get_param: cf_oam_protected_ip_1}}]
+ allowed_address_pairs: [{"ip_address": {get_param: cf_oam_protected_vip}}]
+
+ # Create hard drives for CF1 and CF2 to store CDR
+ cf_volume_name_0:
+ type: OS::Cinder::Volume
+ properties:
+ size: { get_param: cf_volume_size_0 }
+ # volume_type: iscsi
+
+ cf_volume_name_1:
+ type: OS::Cinder::Volume
+ properties:
+ size: { get_param: cf_volume_size_1 }
+ # volume_type: iscsi
+
+ # Create CF1 instance
+ cf_server0:
+ type: OS::Nova::Server
+ properties:
+ metadata:
+ vnf_id: { get_param: vnf_id }
+ vnf_name: { get_param: vnf_name }
+ vf_module_id: { get_param: vf_module_id }
+# name:
+# str_replace:
+# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM}
+# params:
+# ${CZ_ID}: {get_param: czid}
+# ${VF_ID}: {get_param: vf_inst_number}
+# ${VM_TYPE}: DCF
+# ${VM_NUM}: "001"
+ name: {get_param: [cgwy_names, 0]}
+ image: {get_param: cf_image_name_0}
+ flavor: {get_param: cf_flavor_name}
+ availability_zone: {get_param: availability_zone_0}
+ config_drive: True
+ networks:
+ - port: {get_resource: cf_int_di2_0_port}
+ - port: {get_resource: cf_mgmt_0_port}
+# Tempoarry comment out for testing
+ scheduler_hints:
+ group: {get_resource: cf_vpc-servergroup}
+ personality:
+ # Associate VM to slot-1 and identify it is a CF
+ "staros_param.cfg":
+ str_replace:
+ template: |
+ CARDSLOT=${CARD_NUMBER}
+ CARDTYPE=${CARD_TYPE}
+ CPUID=${CPUID}
+ params:
+ ${CARD_NUMBER}: 1
+ ${CARD_TYPE}: CFC
+ ${CPUID}: 0
+ # Day-0 config for CF1
+ "staros_config.txt":
+ str_replace:
+ template: |
+ config
+ system hostname ${HOSTNAME}
+ ssh key-gen wait-time 0
+ context local
+ administrator admin password ${ADMIN_PASSWD} ftp
+ interface LOCAL1
+ ip address ${CF_VIP_ADDR} 255.255.255.0
+ #exit
+ ip route 0.0.0.0 0.0.0.0 ${CF_VIP_GATEWAY} LOCAL1
+ ssh generate key
+ server sshd
+ subsystem sftp
+ #exit
+ #exit
+ port ethernet 1/1
+ bind interface LOCAL1 local
+ no shutdown
+ #exit
+ snmp community public read-only
+ end
+ chassis key value Cisco12345
+ params:
+# system hostname Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM}
+
+# ${CZ_ID}: {get_param: czid}
+# ${VF_ID}: {get_param: vf_inst_number}
+# ${VM_TYPE}: DCF
+ #${VM_NUM}: "01"
+ ${HOSTNAME}: {get_param: cf_name}
+ ${ADMIN_PASSWD}: {get_param: admin_password}
+ ${CF_VIP_ADDR}: {get_param: cf_oam_protected_vip}
+ ${CF_VIP_GATEWAY}: {get_param: cf_vpc_vip_gateway}
+
+ # Attach hard drive (CDR) to CF1 instance
+ cf_volume_att_0:
+ type: OS::Cinder::VolumeAttachment
+ properties:
+ instance_uuid: { get_resource: cf_server0 }
+ volume_id: { get_resource: cf_volume_name_0 }
+
+ # Create CF2 instance
+ cf_server1:
+ type: OS::Nova::Server
+ properties:
+ metadata:
+ vnf_id: { get_param: vnf_id }
+ vnf_name: { get_param: vnf_name }
+ vf_module_id: { get_param: vf_module_id }
+
+# name:
+# str_replace:
+# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM}
+# params:
+# ${CZ_ID}: {get_param: czid}
+# ${VF_ID}: {get_param: vf_inst_number}
+# ${VM_TYPE}: DCF
+# ${VM_NUM}: "002"
+ name: {get_param: [cgwy_names, 1]}
+ image: {get_param: cf_image_name_1}
+ flavor: {get_param: cf_flavor_name}
+ availability_zone: {get_param: availability_zone_0}
+ config_drive: True
+ networks:
+ - port: {get_resource: cf_int_di2_1_port}
+ - port: {get_resource: cf_mgmt_1_port}
+# commented out for testing only
+ scheduler_hints:
+ group: {get_resource: cf_vpc-servergroup}
+ personality:
+ # Associate VM to slot-2 and identify it is a CF
+ "staros_param.cfg":
+ str_replace:
+ template: |
+ CARDSLOT=${CARD_NUMBER}
+ CARDTYPE=${CARD_TYPE}
+ CPUID=${CPUID}
+ params:
+ ${CARD_NUMBER}: 2
+ ${CARD_TYPE}: CFC
+ ${CPUID}: 0
+ # Day-0 config for CF2
+ "staros_config.txt":
+ str_replace:
+ template: |
+ config
+ system hostname ${HOSTNAME}
+ ssh key-gen wait-time 0
+ context local
+ administrator admin password ${ADMIN_PASSWD} ftp
+ interface LOCAL1
+ ip address ${CF_VIP_ADDR} 255.255.255.0
+ #exit
+ ip route 0.0.0.0 0.0.0.0 ${CF_VIP_GATEWAY} LOCAL1
+ ssh generate key
+ server sshd
+ subsystem sftp
+ #exit
+ #exit
+ port ethernet 1/1
+ bind interface LOCAL1 local
+ no shutdown
+ #exit
+ snmp community public read-only
+ end
+ chassis key value Cisco12345
+ params:
+# system hostname Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM}
+# ${CZ_ID}: {get_param: czid}
+# ${VF_ID}: {get_param: vf_inst_number}
+# ${VM_TYPE}: DCF
+# ${VM_NUM}: "01"
+ ${HOSTNAME}: {get_param: cf_name}
+ ${ADMIN_PASSWD}: {get_param: admin_password}
+ ${CF_VIP_ADDR}: {get_param: cf_oam_protected_vip}
+ ${CF_VIP_GATEWAY}: {get_param: cf_vpc_vip_gateway}
+
+ # Attach hard drive (CDR) to CF2 instance
+ cf_volume_att_1:
+ type: OS::Cinder::VolumeAttachment
+ properties:
+ instance_uuid: { get_resource: cf_server1 }
+ volume_id: { get_resource: cf_volume_name_1 }
+
+ #### SF03 ######
+ # Create port for DI-Internal Network
+ sf_int_di2_2_port:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: cgwy_int_di2_net_name}
+# Create port for Transport Interface in SAEGW Context
+ SF3_GN_10_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - {get_param: gn_net_fqdn}
+# service_health_check_refs:
+# - { get_resource: SF3_GN_10_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF3_GN_10_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF3_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF3_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_ips, 0] }
+
+ SF3_GN_10_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF3_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF3_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_v6_ips, 0] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF3_GN_10_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF3_GN_10_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-data) in SGi Context
+ SF3_SGI_11_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF3_SGI_11_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF3_SGI_11_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF3_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF3_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_ips, 0] }
+
+ SF3_SGI_11_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF3_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF3_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 0] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF3_SGI_11_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF3_SGI_11_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-ims) in SGi Context
+ SF3_IMS_12_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF3_IMS_12_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF3_IMS_12_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF3_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF3_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_ips, 0] }
+
+ SF3_IMS_12_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF3_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF3_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 0] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF3_IMS_12_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF3_IMS_12_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport Interface in SUPPORT Context
+ SF3_COR_13_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF3_COR_13_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF3_COR_13_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF3_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF3_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_ips, 0] }
+
+ SF3_COR_13_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF3_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF3_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_v6_ips, 0] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF3_COR_13_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF3_COR_13_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+
+
+
+ # Create port for Transport interface in LI Context
+ SF3_OAM_CALEA_14_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: oam_calea_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 0]}}]
+ # Create port for Transport interface in SRP Context
+ SF3_INT_ICSR_15_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: int_icsr_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 0]}}]
+
+ # Create VPC SF 03 Instance
+ sf_server_2:
+ type: OS::Nova::Server
+ depends_on: [ SF3_GN_10_RII, SF3_GN_10_v6_RII, SF3_SGI_11_RII, SF3_SGI_11_v6_RII, SF3_IMS_12_RII, SF3_IMS_12_v6_RII, SF3_COR_13_RII, SF3_COR_13_v6_RII ]
+ properties:
+ metadata:
+ vnf_id: { get_param: vnf_id }
+ vnf_name: { get_param: vnf_name }
+ vf_module_id: { get_param: vf_module_id }
+
+# name:
+# str_replace:
+# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM}
+# params:
+# ${CZ_ID}: {get_param: czid}
+# ${VF_ID}: {get_param: vf_inst_number}
+# ${VM_TYPE}: DSF
+# ${VM_NUM}: "003"
+ name: {get_param: [cgwy_names, 2]}
+ config_drive: True
+ image: {get_param: sf_image_name}
+ flavor: {get_param: sf_flavor_name}
+ networks:
+ - port: {get_resource: sf_int_di2_2_port}
+ - port: {get_resource: SF3_GN_10_RVMI}
+ - port: {get_resource: SF3_SGI_11_RVMI}
+ - port: {get_resource: SF3_IMS_12_RVMI}
+ - port: {get_resource: SF3_COR_13_RVMI}
+ - port: {get_resource: SF3_OAM_CALEA_14_PORT}
+ - port: {get_resource: SF3_INT_ICSR_15_PORT}
+ personality:
+ "staros_param.cfg":
+ str_replace:
+ template: |
+ CARDSLOT=$CARD_NUMBER
+ CARDTYPE=$CARD_TYPE
+ CPUID=$CPUID
+ params:
+ $CARD_NUMBER: 3
+ $CARD_TYPE: SFC
+ $CPUID: 0
+ availability_zone: {get_param: availability_zone_0}
+ scheduler_hints:
+ group: {get_resource: sf_vpc-servergroup}
+
+ #### SF04 ######
+ # Create port for DI-Internal Network
+ sf_int_di2_3_port:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: cgwy_int_di2_net_name}
+# Create port for Transport Interface in SAEGW Context
+ SF4_GN_10_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF4_GN_10_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF4_GN_10_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF4_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF4_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_ips, 1] }
+
+ SF4_GN_10_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF4_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF4_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_v6_ips, 1] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF4_GN_10_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF4_GN_10_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-data) in SGi Context
+ SF4_SGI_11_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF4_SGI_11_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF4_SGI_11_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF4_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF4_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_ips, 1] }
+
+ SF4_SGI_11_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF4_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF4_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 1] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF4_SGI_11_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF4_SGI_11_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-ims) in SGi Context
+ SF4_IMS_12_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF4_IMS_12_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF4_IMS_12_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF4_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF4_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_ips, 1] }
+
+ SF4_IMS_12_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF4_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF4_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 1] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF4_IMS_12_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF4_IMS_12_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport Interface in SUPPORT Context
+ SF4_COR_13_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF4_COR_13_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF4_COR_13_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF4_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF4_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_ips, 1] }
+
+ SF4_COR_13_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF4_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF4_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_v6_ips, 1] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF4_COR_13_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF4_COR_13_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+
+ SF4_OAM_CALEA_14_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: oam_calea_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 1]}}]
+ # Create port for Transport interface in SRP Context
+ SF4_INT_ICSR_15_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: int_icsr_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 1]}}]
+
+ # Create VPC SF 04 Instance
+ sf_server_3:
+ type: OS::Nova::Server
+ depends_on: [ SF4_GN_10_RII, SF4_GN_10_v6_RII, SF4_SGI_11_RII, SF4_SGI_11_v6_RII, SF4_IMS_12_RII, SF4_IMS_12_v6_RII, SF4_COR_13_RII, SF4_COR_13_v6_RII ]
+ properties:
+ metadata:
+ vnf_id: { get_param: vnf_id }
+ vnf_name: { get_param: vnf_name }
+ vf_module_id: { get_param: vf_module_id }
+
+# name:
+# str_replace:
+# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM}
+# params:
+# ${CZ_ID}: {get_param: czid}
+# ${VF_ID}: {get_param: vf_inst_number}
+# ${VM_TYPE}: DSF
+# ${VM_NUM}: "004"
+ name: {get_param: [cgwy_names, 3]}
+ config_drive: True
+ image: {get_param: sf_image_name}
+ flavor: {get_param: sf_flavor_name}
+ networks:
+ - port: {get_resource: sf_int_di2_3_port}
+ - port: {get_resource: SF4_GN_10_RVMI}
+ - port: {get_resource: SF4_SGI_11_RVMI}
+ - port: {get_resource: SF4_IMS_12_RVMI}
+ - port: {get_resource: SF4_COR_13_RVMI}
+ - port: {get_resource: SF4_OAM_CALEA_14_PORT}
+ - port: {get_resource: SF4_INT_ICSR_15_PORT}
+ personality:
+ "staros_param.cfg":
+ str_replace:
+ template: |
+ CARDSLOT=$CARD_NUMBER
+ CARDTYPE=$CARD_TYPE
+ CPUID=$CPUID
+ params:
+ $CARD_NUMBER: 4
+ $CARD_TYPE: SFC
+ $CPUID: 0
+ availability_zone: {get_param: availability_zone_0}
+ scheduler_hints:
+ group: {get_resource: sf_vpc-servergroup}
+
+
+ #### SF05 ######
+ # Create port for DI-Internal Network
+ sf_int_di2_4_port:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: cgwy_int_di2_net_name}
+ # Create port for Transport Interface in SAEGW Context
+ SF5_GN_10_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF5_GN_10_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF5_GN_10_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF5_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF5_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_ips, 2] }
+
+ SF5_GN_10_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF5_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF5_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_v6_ips, 2] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF5_GN_10_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF5_GN_10_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-data) in SGi Context
+ SF5_SGI_11_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF5_SGI_11_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF5_SGI_11_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF5_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF5_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_ips, 2] }
+
+ SF5_SGI_11_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF5_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF5_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 2] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF5_SGI_11_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF5_SGI_11_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-ims) in SGi Context
+ SF5_IMS_12_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF5_IMS_12_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF5_IMS_12_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF5_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF5_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_ips, 2] }
+
+ SF5_IMS_12_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF5_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF5_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 2] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF5_IMS_12_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF5_IMS_12_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport Interface in SUPPORT Context
+ SF5_COR_13_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF5_COR_13_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF5_COR_13_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF5_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF5_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_ips, 2] }
+
+ SF5_COR_13_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF5_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF5_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_v6_ips, 2] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF5_COR_13_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF5_COR_13_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+
+ # Create port for Transport interface in LI Context
+ SF5_OAM_CALEA_14_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: oam_calea_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 2]}}]
+ # Create port for Transport interface in SRP Context
+ SF5_INT_ICSR_15_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: int_icsr_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 2]}}]
+
+ # Create VPC SF 05 Instance
+ sf_server_4:
+ type: OS::Nova::Server
+ depends_on: [ SF5_GN_10_RII, SF5_GN_10_v6_RII, SF5_SGI_11_RII, SF5_SGI_11_v6_RII, SF5_IMS_12_RII, SF5_IMS_12_v6_RII, SF5_COR_13_RII, SF5_COR_13_v6_RII ]
+ properties:
+ metadata:
+ vnf_id: { get_param: vnf_id }
+ vnf_name: { get_param: vnf_name }
+ vf_module_id: { get_param: vf_module_id }
+
+# name:
+# str_replace:
+# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM}
+# params:
+# ${CZ_ID}: {get_param: czid}
+# ${VF_ID}: {get_param: vf_inst_number}
+# ${VM_TYPE}: DSF
+# ${VM_NUM}: "005"
+ name: {get_param: [cgwy_names, 4]}
+ config_drive: True
+ image: {get_param: sf_image_name}
+ flavor: {get_param: sf_flavor_name}
+ networks:
+ - port: {get_resource: sf_int_di2_4_port}
+ - port: {get_resource: SF5_GN_10_RVMI}
+ - port: {get_resource: SF5_SGI_11_RVMI}
+ - port: {get_resource: SF5_IMS_12_RVMI}
+ - port: {get_resource: SF5_COR_13_RVMI}
+ - port: {get_resource: SF5_OAM_CALEA_14_PORT}
+ - port: {get_resource: SF5_INT_ICSR_15_PORT}
+
+ personality:
+ "staros_param.cfg":
+ str_replace:
+ template: |
+ CARDSLOT=$CARD_NUMBER
+ CARDTYPE=$CARD_TYPE
+ CPUID=$CPUID
+ params:
+ $CARD_NUMBER: 5
+ $CARD_TYPE: SFC
+ $CPUID: 0
+ availability_zone: {get_param: availability_zone_0}
+ scheduler_hints:
+ group: {get_resource: sf_vpc-servergroup}
+
+
+ #### SF06 ######
+ # Create port for DI-Internal Network
+ sf_int_di2_5_port:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: cgwy_int_di2_net_name}
+ # Create port for Transport Interface in SAEGW Context
+ SF6_GN_10_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF6_GN_10_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF6_GN_10_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF6_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF6_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_ips, 3] }
+
+ SF6_GN_10_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF6_GN_10_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ SF6_GN_10_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF6_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF6_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_v6_ips, 3] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ # Create port for Transport interface(SGi-data) in SGi Context
+ SF6_SGI_11_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF6_SGI_11_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF6_SGI_11_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF6_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF6_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_ips, 3] }
+
+ SF6_SGI_11_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF6_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF6_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 3] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF6_SGI_11_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF6_SGI_11_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-ims) in SGi Context
+ SF6_IMS_12_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF6_IMS_12_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF6_IMS_12_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF6_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF6_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_ips, 3] }
+
+ SF6_IMS_12_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF6_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF6_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 3] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF6_IMS_12_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF6_IMS_12_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport Interface in SUPPORT Context
+ SF6_COR_13_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF6_COR_13_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF6_COR_13_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF6_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF6_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_ips, 3] }
+
+ SF6_COR_13_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF6_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF6_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_v6_ips, 3] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF6_COR_13_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF6_COR_13_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+
+ # Create port for Transport interface in LI Context
+ SF6_OAM_CALEA_14_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: oam_calea_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 3]}}]
+ # Create port for Transport interface in SRP Context
+ SF6_INT_ICSR_15_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: int_icsr_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 3]}}]
+
+ # Create VPC SF 06 Instance
+ sf_server_5:
+ type: OS::Nova::Server
+ depends_on: [ SF6_GN_10_RII, SF6_GN_10_v6_RII, SF6_SGI_11_RII, SF6_SGI_11_v6_RII, SF6_IMS_12_RII, SF6_IMS_12_v6_RII, SF6_COR_13_RII, SF6_COR_13_v6_RII ]
+ properties:
+ metadata:
+ vnf_id: { get_param: vnf_id }
+ vnf_name: { get_param: vnf_name }
+ vf_module_id: { get_param: vf_module_id }
+
+# name:
+# str_replace:
+# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM}
+# params:
+# ${CZ_ID}: {get_param: czid}
+# ${VF_ID}: {get_param: vf_inst_number}
+# ${VM_TYPE}: DSF
+# ${VM_NUM}: "006"
+ name: {get_param: [cgwy_names, 5]}
+ config_drive: True
+ image: {get_param: sf_image_name}
+ flavor: {get_param: sf_flavor_name}
+ networks:
+ - port: {get_resource: sf_int_di2_5_port}
+ - port: {get_resource: SF6_GN_10_RVMI}
+ - port: {get_resource: SF6_SGI_11_RVMI}
+ - port: {get_resource: SF6_IMS_12_RVMI}
+ - port: {get_resource: SF6_COR_13_RVMI}
+ - port: {get_resource: SF6_OAM_CALEA_14_PORT}
+ - port: {get_resource: SF6_INT_ICSR_15_PORT}
+
+ personality:
+ "staros_param.cfg":
+ str_replace:
+ template: |
+ CARDSLOT=$CARD_NUMBER
+ CARDTYPE=$CARD_TYPE
+ CPUID=$CPUID
+ params:
+ $CARD_NUMBER: 6
+ $CARD_TYPE: SFC
+ $CPUID: 0
+ availability_zone: {get_param: availability_zone_0}
+ scheduler_hints:
+ group: {get_resource: sf_vpc-servergroup}
+ ### SF07 ######
+ # Create port for DI-Internal Network
+ sf_int_di2_6_port:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: cgwy_int_di2_net_name}
+# Create port for Transport Interface in SAEGW Context
+ SF7_GN_10_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF7_GN_10_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF7_GN_10_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF7_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF7_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_ips, 4] }
+
+ SF7_GN_10_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF7_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF7_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_v6_ips, 4] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF7_GN_10_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF7_GN_10_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-data) in SGi Context
+ SF7_SGI_11_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF7_SGI_11_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF7_SGI_11_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF7_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF7_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_ips, 4] }
+
+ SF7_SGI_11_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF7_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF7_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 4] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF7_SGI_11_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF7_SGI_11_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-ims) in SGi Context
+ SF7_IMS_12_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF7_IMS_12_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF7_IMS_12_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF7_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF7_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_ips, 4] }
+
+ SF7_IMS_12_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF7_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF7_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 4] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF7_IMS_12_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF7_IMS_12_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport Interface in SUPPORT Context
+ SF7_COR_13_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF7_COR_13_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF7_COR_13_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF7_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF7_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_ips, 4] }
+
+ SF7_COR_13_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF7_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF7_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_v6_ips, 4] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF7_COR_13_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF7_COR_13_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface in LI Context
+ SF7_OAM_CALEA_14_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: oam_calea_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 4]}}]
+ # Create port for Transport interface in SRP Context
+ SF7_INT_ICSR_15_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: int_icsr_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 4]}}]
+
+ # Create VPC SF 07 Instance
+ sf_server_6:
+ type: OS::Nova::Server
+ depends_on: [ SF7_GN_10_RII, SF7_GN_10_v6_RII, SF7_SGI_11_RII, SF7_SGI_11_v6_RII, SF7_IMS_12_RII, SF7_IMS_12_v6_RII, SF7_COR_13_RII, SF7_COR_13_v6_RII ]
+ properties:
+ metadata:
+ vnf_id: { get_param: vnf_id }
+ vnf_name: { get_param: vnf_name }
+ vf_module_id: { get_param: vf_module_id }
+
+# name:
+# str_replace:
+# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM}
+# params:
+# ${CZ_ID}: {get_param: czid}
+# ${VF_ID}: {get_param: vf_inst_number}
+# ${VM_TYPE}: DSF
+# ${VM_NUM}: "007"
+ name: {get_param: [cgwy_names, 6]}
+ config_drive: True
+ image: {get_param: sf_image_name}
+ flavor: {get_param: sf_flavor_name}
+ networks:
+ - port: {get_resource: sf_int_di2_6_port}
+ - port: {get_resource: SF7_GN_10_RVMI}
+ - port: {get_resource: SF7_SGI_11_RVMI}
+ - port: {get_resource: SF7_IMS_12_RVMI}
+ - port: {get_resource: SF7_COR_13_RVMI}
+ - port: {get_resource: SF7_OAM_CALEA_14_PORT}
+ - port: {get_resource: SF7_INT_ICSR_15_PORT}
+
+ personality:
+ "staros_param.cfg":
+ str_replace:
+ template: |
+ CARDSLOT=$CARD_NUMBER
+ CARDTYPE=$CARD_TYPE
+ CPUID=$CPUID
+ params:
+ $CARD_NUMBER: 7
+ $CARD_TYPE: SFC
+ $CPUID: 0
+ availability_zone: {get_param: availability_zone_0}
+ scheduler_hints:
+ group: {get_resource: sf_vpc-servergroup}
+
+ ### SF08 ######
+ # Create port for DI-Internal Network
+ sf_int_di2_7_port:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: cgwy_int_di2_net_name}
+# Create port for Transport Interface in SAEGW Context
+ SF8_GN_10_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF8_GN_10_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF8_GN_10_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF8_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF8_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_ips, 5] }
+
+ SF8_GN_10_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF8_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF8_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_v6_ips, 5] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF8_GN_10_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF8_GN_10_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-data) in SGi Context
+ SF8_SGI_11_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF8_SGI_11_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF8_SGI_11_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF8_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF8_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_ips, 5] }
+
+ SF8_SGI_11_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF8_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF8_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 5] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF8_SGI_11_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF8_SGI_11_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-ims) in SGi Context
+ SF8_IMS_12_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF8_IMS_12_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF8_IMS_12_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF8_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF8_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_ips, 5] }
+
+ SF8_IMS_12_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF8_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF8_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 5] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF8_IMS_12_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF8_IMS_12_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport Interface in SUPPORT Context
+ SF8_COR_13_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF8_COR_13_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF8_COR_13_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF8_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF8_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_ips, 5] }
+
+ SF8_COR_13_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF8_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF8_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_v6_ips, 5] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF8_COR_13_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF8_COR_13_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+
+ SF8_OAM_CALEA_14_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: oam_calea_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 5]}}]
+ # Create port for Transport interface in SRP Context
+ SF8_INT_ICSR_15_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: int_icsr_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 5]}}]
+
+ # Create VPC SF 08 Instance
+ sf_server_7:
+ type: OS::Nova::Server
+ depends_on: [ SF8_GN_10_RII, SF8_GN_10_v6_RII, SF8_SGI_11_RII, SF8_SGI_11_v6_RII, SF8_IMS_12_RII, SF8_IMS_12_v6_RII, SF8_COR_13_RII, SF8_COR_13_v6_RII ]
+ properties:
+ metadata:
+ vnf_id: { get_param: vnf_id }
+ vnf_name: { get_param: vnf_name }
+ vf_module_id: { get_param: vf_module_id }
+
+# name:
+# str_replace:
+# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM}
+# params:
+# ${CZ_ID}: {get_param: czid}
+# ${VF_ID}: {get_param: vf_inst_number}
+# ${VM_TYPE}: DSF
+# ${VM_NUM}: "008"
+ name: {get_param: [cgwy_names, 7]}
+ config_drive: True
+ image: {get_param: sf_image_name}
+ flavor: {get_param: sf_flavor_name}
+ networks:
+ - port: {get_resource: sf_int_di2_7_port}
+ - port: {get_resource: SF8_GN_10_RVMI}
+ - port: {get_resource: SF8_SGI_11_RVMI}
+ - port: {get_resource: SF8_IMS_12_RVMI}
+ - port: {get_resource: SF8_COR_13_RVMI}
+ - port: {get_resource: SF8_OAM_CALEA_14_PORT}
+ - port: {get_resource: SF8_INT_ICSR_15_PORT}
+ personality:
+ "staros_param.cfg":
+ str_replace:
+ template: |
+ CARDSLOT=$CARD_NUMBER
+ CARDTYPE=$CARD_TYPE
+ CPUID=$CPUID
+ params:
+ $CARD_NUMBER: 8
+ $CARD_TYPE: SFC
+ $CPUID: 0
+ availability_zone: {get_param: availability_zone_0}
+ scheduler_hints:
+ group: {get_resource: sf_vpc-servergroup}
+
+ ### SF09 ######
+ # Create port for DI-Internal Network
+ sf_int_di2_8_port:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: cgwy_int_di2_net_name}
+# Create port for Transport Interface in SAEGW Context
+ SF9_GN_10_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF9_GN_10_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF9_GN_10_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF9_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF9_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_ips, 6] }
+
+ SF9_GN_10_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF9_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF9_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_v6_ips, 6] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF9_GN_10_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF9_GN_10_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-data) in SGi Context
+ SF9_SGI_11_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF9_SGI_11_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF9_SGI_11_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF9_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF9_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_ips, 6] }
+
+ SF9_SGI_11_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF9_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF9_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 6] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF9_SGI_11_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF9_SGI_11_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-ims) in SGi Context
+ SF9_IMS_12_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF9_IMS_12_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF9_IMS_12_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF9_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF9_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_ips, 6] }
+
+ SF9_IMS_12_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF9_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF9_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 6] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF9_IMS_12_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF9_IMS_12_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport Interface in SUPPORT Context
+ SF9_COR_13_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF9_COR_13_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF9_COR_13_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF9_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF9_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_ips, 6] }
+
+ SF9_COR_13_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF9_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF9_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_v6_ips, 6] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF9_COR_13_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF9_COR_13_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface in LI Context
+ SF9_OAM_CALEA_14_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: oam_calea_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 6]}}]
+ # Create port for Transport interface in SRP Context
+ SF9_INT_ICSR_15_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: int_icsr_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 6]}}]
+
+ # Create VPC SF 09 Instance
+ sf_server_8:
+ type: OS::Nova::Server
+ depends_on: [ SF9_GN_10_RII, SF9_GN_10_v6_RII, SF9_SGI_11_RII, SF9_SGI_11_v6_RII, SF9_IMS_12_RII, SF9_IMS_12_v6_RII, SF9_COR_13_RII, SF9_COR_13_v6_RII ]
+ properties:
+ metadata:
+ vnf_id: { get_param: vnf_id }
+ vnf_name: { get_param: vnf_name }
+ vf_module_id: { get_param: vf_module_id }
+
+# name:
+# str_replace:
+# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM}
+# params:
+# ${CZ_ID}: {get_param: czid}
+# ${VF_ID}: {get_param: vf_inst_number}
+# ${VM_TYPE}: DSF
+# ${VM_NUM}: "009"
+ name: {get_param: [cgwy_names, 8]}
+ config_drive: True
+ image: {get_param: sf_image_name}
+ flavor: {get_param: sf_flavor_name}
+ networks:
+ - port: {get_resource: sf_int_di2_8_port}
+ - port: {get_resource: SF9_GN_10_RVMI}
+ - port: {get_resource: SF9_SGI_11_RVMI}
+ - port: {get_resource: SF9_IMS_12_RVMI}
+ - port: {get_resource: SF9_COR_13_RVMI}
+ - port: {get_resource: SF9_OAM_CALEA_14_PORT}
+ - port: {get_resource: SF9_INT_ICSR_15_PORT}
+ personality:
+ "staros_param.cfg":
+ str_replace:
+ template: |
+ CARDSLOT=$CARD_NUMBER
+ CARDTYPE=$CARD_TYPE
+ CPUID=$CPUID
+ params:
+ $CARD_NUMBER: 9
+ $CARD_TYPE: SFC
+ $CPUID: 0
+ availability_zone: {get_param: availability_zone_0}
+ scheduler_hints:
+ group: {get_resource: sf_vpc-servergroup}
+
+ ### SF10 ######
+ # Create port for DI-Internal Network
+ sf_int_di2_9_port:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: cgwy_int_di2_net_name}
+# Create port for Transport Interface in SAEGW Context
+ SF10_GN_10_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF10_GN_10_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF10_GN_10_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF10_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF10_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_ips, 7] }
+
+ SF10_GN_10_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF10_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF10_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_v6_ips, 7] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF10_GN_10_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF10_GN_10_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-data) in SGi Context
+ SF10_SGI_11_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF10_SGI_11_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF10_SGI_11_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF10_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF10_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_ips, 7] }
+
+ SF10_SGI_11_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF10_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF10_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 7] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF10_SGI_11_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF10_SGI_11_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-ims) in SGi Context
+ SF10_IMS_12_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF10_IMS_12_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF10_IMS_12_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF10_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF10_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_ips, 7] }
+
+ SF10_IMS_12_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF10_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF10_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 7] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF10_IMS_12_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF10_IMS_12_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport Interface in SUPPORT Context
+ SF10_COR_13_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF10_COR_13_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF10_COR_13_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF10_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF10_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_ips, 7] }
+
+ SF10_COR_13_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF10_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF10_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_v6_ips, 7] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF10_COR_13_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF10_COR_13_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface in LI Context
+ SF10_OAM_CALEA_14_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: oam_calea_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 7]}}]
+ # Create port for Transport interface in SRP Context
+ SF10_INT_ICSR_15_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: int_icsr_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 7]}}]
+
+ # Create VPC SF 10 Instance
+ sf_server_9:
+ type: OS::Nova::Server
+ depends_on: [ SF10_GN_10_RII, SF10_GN_10_v6_RII, SF10_SGI_11_RII, SF10_SGI_11_v6_RII, SF10_IMS_12_RII, SF10_IMS_12_v6_RII, SF10_COR_13_RII, SF10_COR_13_v6_RII ]
+ properties:
+ metadata:
+ vnf_id: { get_param: vnf_id }
+ vnf_name: { get_param: vnf_name }
+ vf_module_id: { get_param: vf_module_id }
+
+# name:
+# str_replace:
+# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM}
+# params:
+# ${CZ_ID}: {get_param: czid}
+# ${VF_ID}: {get_param: vf_inst_number}
+# ${VM_TYPE}: DSF
+# ${VM_NUM}: "010"
+ name: {get_param: [cgwy_names, 9]}
+ config_drive: True
+ image: {get_param: sf_image_name}
+ flavor: {get_param: sf_flavor_name}
+ networks:
+ - port: {get_resource: sf_int_di2_9_port}
+ - port: {get_resource: SF10_GN_10_RVMI}
+ - port: {get_resource: SF10_SGI_11_RVMI}
+ - port: {get_resource: SF10_IMS_12_RVMI}
+ - port: {get_resource: SF10_COR_13_RVMI}
+ - port: {get_resource: SF10_OAM_CALEA_14_PORT}
+ - port: {get_resource: SF10_INT_ICSR_15_PORT}
+ personality:
+ "staros_param.cfg":
+ str_replace:
+ template: |
+ CARDSLOT=$CARD_NUMBER
+ CARDTYPE=$CARD_TYPE
+ CPUID=$CPUID
+ params:
+ $CARD_NUMBER: 10
+ $CARD_TYPE: SFC
+ $CPUID: 0
+ availability_zone: {get_param: availability_zone_0}
+ scheduler_hints:
+ group: {get_resource: sf_vpc-servergroup}
+
+ ### SF11 ######
+ # Create port for DI-Internal Network
+ sf_int_di2_10_port:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: cgwy_int_di2_net_name}
+# Create port for Transport Interface in SAEGW Context
+ SF11_GN_10_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF11_GN_10_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF11_GN_10_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF11_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF11_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_ips, 8] }
+
+ SF11_GN_10_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF11_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF11_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_v6_ips, 8] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF11_GN_10_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF11_GN_10_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-data) in SGi Context
+ SF11_SGI_11_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF11_SGI_11_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF11_SGI_11_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF11_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF11_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_ips, 8] }
+
+ SF11_SGI_11_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF11_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF11_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 8] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF11_SGI_11_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF11_SGI_11_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-ims) in SGi Context
+ SF11_IMS_12_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF11_IMS_12_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF11_IMS_12_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF11_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF11_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_ips, 8] }
+
+ SF11_IMS_12_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF11_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF11_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 8] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF11_IMS_12_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF11_IMS_12_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport Interface in SUPPORT Context
+ SF11_COR_13_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF11_COR_13_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF11_COR_13_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF11_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF11_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_ips, 8] }
+
+ SF11_COR_13_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF11_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF11_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_v6_ips, 8] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF11_COR_13_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF11_COR_13_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface in LI Context
+ SF11_OAM_CALEA_14_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: oam_calea_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 8]}}]
+ # Create port for Transport interface in SRP Context
+ SF11_INT_ICSR_15_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: int_icsr_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 8]}}]
+
+ # Create VPC SF 11 Instance
+ sf_server_10:
+ type: OS::Nova::Server
+ depends_on: [ SF11_GN_10_RII, SF11_GN_10_v6_RII, SF11_SGI_11_RII, SF11_SGI_11_v6_RII, SF11_IMS_12_RII, SF11_IMS_12_v6_RII, SF11_COR_13_RII, SF11_COR_13_v6_RII ]
+ properties:
+ metadata:
+ vnf_id: { get_param: vnf_id }
+ vnf_name: { get_param: vnf_name }
+ vf_module_id: { get_param: vf_module_id }
+
+# name:
+# str_replace:
+# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM}
+# params:
+# ${CZ_ID}: {get_param: czid}
+# ${VF_ID}: {get_param: vf_inst_number}
+# ${VM_TYPE}: DSF
+# ${VM_NUM}: "011"
+ name: {get_param: [cgwy_names, 10]}
+ config_drive: True
+ image: {get_param: sf_image_name}
+ flavor: {get_param: sf_flavor_name}
+ networks:
+ - port: {get_resource: sf_int_di2_10_port}
+ - port: {get_resource: SF11_GN_10_RVMI}
+ - port: {get_resource: SF11_SGI_11_RVMI}
+ - port: {get_resource: SF11_IMS_12_RVMI}
+ - port: {get_resource: SF11_COR_13_RVMI}
+ - port: {get_resource: SF11_OAM_CALEA_14_PORT}
+ - port: {get_resource: SF11_INT_ICSR_15_PORT}
+ personality:
+ "staros_param.cfg":
+ str_replace:
+ template: |
+ CARDSLOT=$CARD_NUMBER
+ CARDTYPE=$CARD_TYPE
+ CPUID=$CPUID
+ params:
+ $CARD_NUMBER: 11
+ $CARD_TYPE: SFC
+ $CPUID: 0
+ availability_zone: {get_param: availability_zone_0}
+ scheduler_hints:
+ group: {get_resource: sf_vpc-servergroup}
+
+
+ ### SF12 ######
+ # Create port for DI-Internal Network
+ sf_int_di2_11_port:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: cgwy_int_di2_net_name}
+# Create port for Transport Interface in SAEGW Context
+ SF12_GN_10_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF12_GN_10_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF12_GN_10_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF12_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF12_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_ips, 9] }
+
+ SF12_GN_10_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF12_GN_10_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: gn_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF12_GN_10_RVMI
+ instance_ip_address: { get_param: [sf_gn_v6_ips, 9] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF12_GN_10_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF12_GN_10_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-data) in SGi Context
+ SF12_SGI_11_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF12_SGI_11_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF12_SGI_11_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF12_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF12_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_ips, 9] }
+
+ SF12_SGI_11_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF12_SGI_11_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: sgi_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF12_SGI_11_RVMI
+ instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 9] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF12_SGI_11_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF12_SGI_11_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface(SGi-ims) in SGi Context
+ SF12_IMS_12_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF12_IMS_12_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF12_IMS_12_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF12_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF12_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_ips, 9] }
+
+ SF12_IMS_12_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF12_IMS_12_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: ims_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF12_IMS_12_RVMI
+ instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 9] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF12_IMS_12_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF12_IMS_12_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport Interface in SUPPORT Context
+ SF12_COR_13_RVMI:
+ type: OS::ContrailV2::VirtualMachineInterface
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+# service_health_check_refs:
+# - { get_resource: SF12_COR_13_RSHC }
+ virtual_machine_interface_allowed_address_pairs:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth }
+ - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 }
+ virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 }
+
+ SF12_COR_13_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF12_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF12_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_ips, 9] }
+
+ SF12_COR_13_v6_RII:
+ type: OS::ContrailV2::InstanceIp
+ depends_on: [ SF12_COR_13_RVMI ]
+ properties:
+ virtual_network_refs:
+ - get_param: cor_net_fqdn
+ virtual_machine_interface_refs:
+ - get_resource: SF12_COR_13_RVMI
+ instance_ip_address: { get_param: [sf_cor_v6_ips, 9] }
+ instance_ip_family: { get_param: instance_ip_family_v6 }
+
+ SF12_COR_13_RSHC:
+ type: OS::ContrailV2::ServiceHealthCheck
+ properties:
+ name: SF12_COR_13_RSHC
+ service_health_check_properties:
+ service_health_check_properties_enabled: { get_param: sf_shc_enabled }
+ service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type }
+ service_health_check_properties_delay: { get_param: sf_shc_delay }
+ service_health_check_properties_timeout: { get_param: sf_shc_timeout }
+ service_health_check_properties_max_retries: { get_param: sf_shc_max_retries }
+ service_health_check_properties_url_path: { get_param: sf_shc_url_path }
+
+ # Create port for Transport interface in LI Context
+ SF12_OAM_CALEA_14_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: oam_calea_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 9]}}]
+ # Create port for Transport interface in SRP Context
+ SF12_INT_ICSR_15_PORT:
+ type: OS::Neutron::Port
+ properties:
+ network: {get_param: int_icsr_net_name}
+ fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 9]}}]
+
+ # Create VPC SF 12 Instance
+ sf_server_11:
+ type: OS::Nova::Server
+ depends_on: [ SF12_GN_10_RII, SF12_GN_10_v6_RII, SF12_SGI_11_RII, SF12_SGI_11_v6_RII, SF12_IMS_12_RII, SF12_IMS_12_v6_RII, SF12_COR_13_RII, SF12_COR_13_v6_RII ]
+ properties:
+ metadata:
+ vnf_id: { get_param: vnf_id }
+ vnf_name: { get_param: vnf_name }
+ vf_module_id: { get_param: vf_module_id }
+
+# name:
+# str_replace:
+# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM}
+# params:
+# ${CZ_ID}: {get_param: czid}
+# ${VF_ID}: {get_param: vf_inst_number}
+# ${VM_TYPE}: DSF
+# ${VM_NUM}: "012"
+ name: {get_param: [cgwy_names, 11]}
+ config_drive: True
+ image: {get_param: sf_image_name}
+ flavor: {get_param: sf_flavor_name}
+ networks:
+ - port: {get_resource: sf_int_di2_11_port}
+ - port: {get_resource: SF12_GN_10_RVMI}
+ - port: {get_resource: SF12_SGI_11_RVMI}
+ - port: {get_resource: SF12_IMS_12_RVMI}
+ - port: {get_resource: SF12_COR_13_RVMI}
+ - port: {get_resource: SF12_OAM_CALEA_14_PORT}
+ - port: {get_resource: SF12_INT_ICSR_15_PORT}
+
+ personality:
+ "staros_param.cfg":
+ str_replace:
+ template: |
+ CARDSLOT=$CARD_NUMBER
+ CARDTYPE=$CARD_TYPE
+ CPUID=$CPUID
+ params:
+ $CARD_NUMBER: 12
+ $CARD_TYPE: SFC
+ $CPUID: 0
+ availability_zone: {get_param: availability_zone_0}
+ scheduler_hints:
+ group: {get_resource: sf_vpc-servergroup}
+
+ BgpAsAService_GN:
+ type: OS::ContrailV2::BgpAsAService
+ depends_on:
+ - SF3_GN_10_RVMI
+ - SF4_GN_10_RVMI
+ - SF5_GN_10_RVMI
+ - SF6_GN_10_RVMI
+ - SF7_GN_10_RVMI
+ - SF8_GN_10_RVMI
+ - SF9_GN_10_RVMI
+ - SF10_GN_10_RVMI
+ - SF11_GN_10_RVMI
+ - SF12_GN_10_RVMI
+
+ properties:
+ name: { get_param: [bgpaas_name, 0] }
+ autonomous_system: { get_param: bgpaas_autonomous_system }
+ virtual_machine_interface_refs:
+ - { get_resource: SF3_GN_10_RVMI }
+ - { get_resource: SF4_GN_10_RVMI }
+ - { get_resource: SF5_GN_10_RVMI }
+ - { get_resource: SF6_GN_10_RVMI }
+ - { get_resource: SF7_GN_10_RVMI }
+ - { get_resource: SF8_GN_10_RVMI }
+ - { get_resource: SF9_GN_10_RVMI }
+ - { get_resource: SF10_GN_10_RVMI }
+ - { get_resource: SF11_GN_10_RVMI }
+ - { get_resource: SF12_GN_10_RVMI }
+
+ bgpaas_ip_address: { get_param: [bgpaas_ip_address,0] }
+ bgpaas_session_attributes:
+ bgpaas_session_attributes_passive: { get_param: bgpaas_session_attributes_passive }
+ bgpaas_session_attributes_hold_time: { get_param: bgpaas_session_attributes_hold_time }
+ bgpaas_session_attributes_admin_down: { get_param: bgpaas_session_attributes_admin_down }
+ bgpaas_session_attributes_address_families:
+ bgpaas_session_attributes_address_families_family:
+ - { get_param: bgpaas_session_attributes_address_families_family_4 }
+ - { get_param: bgpaas_session_attributes_address_families_family_6 }
+ bgpaas_session_attributes_family_attributes:
+ - bgpaas_session_attributes_family_attributes_address_family: { get_param: bgpaas_session_attributes_family_attributes_af_4 }
+ bgpaas_session_attributes_family_attributes_loop_count: { get_param: bgpaas_session_attributes_family_attributes_loop_count_4 }
+ bgpaas_session_attributes_family_attributes_prefix_limit:
+ bgpaas_session_attributes_family_attributes_prefix_limit_maximum: { get_param: bgpaas_session_attributes_family_attributes_prefix_limit_maximum_4 }
+ - bgpaas_session_attributes_family_attributes_address_family: { get_param: bgpaas_session_attributes_family_attributes_af_6 }
+ bgpaas_session_attributes_family_attributes_loop_count: { get_param: bgpaas_session_attributes_family_attributes_loop_count_6 }
+ bgpaas_session_attributes_family_attributes_prefix_limit:
+ bgpaas_session_attributes_family_attributes_prefix_limit_maximum: { get_param: bgpaas_session_attributes_family_attributes_prefix_limit_maximum_6 }
+
+ BgpAsAService_SGI:
+ type: OS::ContrailV2::BgpAsAService
+ depends_on:
+ - SF3_SGI_11_RVMI
+ - SF4_SGI_11_RVMI
+ - SF5_SGI_11_RVMI
+ - SF6_SGI_11_RVMI
+ - SF7_SGI_11_RVMI
+ - SF8_SGI_11_RVMI
+ - SF9_SGI_11_RVMI
+ - SF10_SGI_11_RVMI
+ - SF11_SGI_11_RVMI
+ - SF12_SGI_11_RVMI
+
+ properties:
+ name: { get_param: [bgpaas_name, 1] }
+ autonomous_system: { get_param: bgpaas_autonomous_system }
+ virtual_machine_interface_refs:
+ - { get_resource: SF3_SGI_11_RVMI }
+ - { get_resource: SF4_SGI_11_RVMI }
+ - { get_resource: SF5_SGI_11_RVMI }
+ - { get_resource: SF6_SGI_11_RVMI }
+ - { get_resource: SF7_SGI_11_RVMI }
+ - { get_resource: SF8_SGI_11_RVMI }
+ - { get_resource: SF9_SGI_11_RVMI }
+ - { get_resource: SF10_SGI_11_RVMI }
+ - { get_resource: SF11_SGI_11_RVMI }
+ - { get_resource: SF12_SGI_11_RVMI }
+
+ bgpaas_ip_address: { get_param: [bgpaas_ip_address,1] }
+ bgpaas_session_attributes:
+ bgpaas_session_attributes_passive: { get_param: bgpaas_session_attributes_passive }
+ bgpaas_session_attributes_hold_time: { get_param: bgpaas_session_attributes_hold_time }
+ bgpaas_session_attributes_admin_down: { get_param: bgpaas_session_attributes_admin_down }
+ bgpaas_session_attributes_address_families:
+ bgpaas_session_attributes_address_families_family:
+ - { get_param: bgpaas_session_attributes_address_families_family_4 }
+ - { get_param: bgpaas_session_attributes_address_families_family_6 }
+ bgpaas_session_attributes_family_attributes:
+ - bgpaas_session_attributes_family_attributes_address_family: { get_param: bgpaas_session_attributes_family_attributes_af_4 }
+ bgpaas_session_attributes_family_attributes_loop_count: { get_param: bgpaas_session_attributes_family_attributes_loop_count_4 }
+ bgpaas_session_attributes_family_attributes_prefix_limit:
+ bgpaas_session_attributes_family_attributes_prefix_limit_maximum: { get_param: bgpaas_session_attributes_family_attributes_prefix_limit_maximum_4 }
+ - bgpaas_session_attributes_family_attributes_address_family: { get_param: bgpaas_session_attributes_family_attributes_af_6 }
+ bgpaas_session_attributes_family_attributes_loop_count: { get_param: bgpaas_session_attributes_family_attributes_loop_count_6 }
+ bgpaas_session_attributes_family_attributes_prefix_limit:
+ bgpaas_session_attributes_family_attributes_prefix_limit_maximum: { get_param: bgpaas_session_attributes_family_attributes_prefix_limit_maximum_6 }
+
+ BgpAsAService_IMS:
+ type: OS::ContrailV2::BgpAsAService
+ depends_on:
+ - SF3_IMS_12_RVMI
+ - SF4_IMS_12_RVMI
+ - SF5_IMS_12_RVMI
+ - SF6_IMS_12_RVMI
+ - SF7_IMS_12_RVMI
+ - SF8_IMS_12_RVMI
+ - SF9_IMS_12_RVMI
+ - SF10_IMS_12_RVMI
+ - SF11_IMS_12_RVMI
+ - SF12_IMS_12_RVMI
+
+ properties:
+ name: { get_param: [bgpaas_name, 2] }
+ autonomous_system: { get_param: bgpaas_autonomous_system }
+ virtual_machine_interface_refs:
+ - { get_resource: SF3_IMS_12_RVMI }
+ - { get_resource: SF4_IMS_12_RVMI }
+ - { get_resource: SF5_IMS_12_RVMI }
+ - { get_resource: SF6_IMS_12_RVMI }
+ - { get_resource: SF7_IMS_12_RVMI }
+ - { get_resource: SF8_IMS_12_RVMI }
+ - { get_resource: SF9_IMS_12_RVMI }
+ - { get_resource: SF10_IMS_12_RVMI }
+ - { get_resource: SF11_IMS_12_RVMI }
+ - { get_resource: SF12_IMS_12_RVMI }
+
+ bgpaas_ip_address: { get_param: [bgpaas_ip_address,2] }
+ bgpaas_session_attributes:
+ bgpaas_session_attributes_passive: { get_param: bgpaas_session_attributes_passive }
+ bgpaas_session_attributes_hold_time: { get_param: bgpaas_session_attributes_hold_time }
+ bgpaas_session_attributes_admin_down: { get_param: bgpaas_session_attributes_admin_down }
+ bgpaas_session_attributes_address_families:
+ bgpaas_session_attributes_address_families_family:
+ - { get_param: bgpaas_session_attributes_address_families_family_4 }
+ - { get_param: bgpaas_session_attributes_address_families_family_6 }
+ bgpaas_session_attributes_family_attributes:
+ - bgpaas_session_attributes_family_attributes_address_family: { get_param: bgpaas_session_attributes_family_attributes_af_4 }
+ bgpaas_session_attributes_family_attributes_loop_count: { get_param: bgpaas_session_attributes_family_attributes_loop_count_4 }
+ bgpaas_session_attributes_family_attributes_prefix_limit:
+ bgpaas_session_attributes_family_attributes_prefix_limit_maximum: { get_param: bgpaas_session_attributes_family_attributes_prefix_limit_maximum_4 }
+ - bgpaas_session_attributes_family_attributes_address_family: { get_param: bgpaas_session_attributes_family_attributes_af_6 }
+ bgpaas_session_attributes_family_attributes_loop_count: { get_param: bgpaas_session_attributes_family_attributes_loop_count_6 }
+ bgpaas_session_attributes_family_attributes_prefix_limit:
+ bgpaas_session_attributes_family_attributes_prefix_limit_maximum: { get_param: bgpaas_session_attributes_family_attributes_prefix_limit_maximum_6 }
+
+ BgpAsAService_COR:
+ type: OS::ContrailV2::BgpAsAService
+ depends_on:
+ - SF3_COR_13_RVMI
+ - SF4_COR_13_RVMI
+ - SF5_COR_13_RVMI
+ - SF6_COR_13_RVMI
+ - SF7_COR_13_RVMI
+ - SF8_COR_13_RVMI
+ - SF9_COR_13_RVMI
+ - SF10_COR_13_RVMI
+ - SF11_COR_13_RVMI
+ - SF12_COR_13_RVMI
+
+ properties:
+ name: { get_param: [bgpaas_name, 3] }
+ autonomous_system: { get_param: bgpaas_autonomous_system }
+ virtual_machine_interface_refs:
+ - { get_resource: SF3_COR_13_RVMI }
+ - { get_resource: SF4_COR_13_RVMI }
+ - { get_resource: SF5_COR_13_RVMI }
+ - { get_resource: SF6_COR_13_RVMI }
+ - { get_resource: SF7_COR_13_RVMI }
+ - { get_resource: SF8_COR_13_RVMI }
+ - { get_resource: SF9_COR_13_RVMI }
+ - { get_resource: SF10_COR_13_RVMI }
+ - { get_resource: SF11_COR_13_RVMI }
+ - { get_resource: SF12_COR_13_RVMI }
+
+ bgpaas_ip_address: { get_param: [bgpaas_ip_address,3] }
+ bgpaas_session_attributes:
+ bgpaas_session_attributes_passive: { get_param: bgpaas_session_attributes_passive }
+ bgpaas_session_attributes_hold_time: { get_param: bgpaas_session_attributes_hold_time }
+ bgpaas_session_attributes_admin_down: { get_param: bgpaas_session_attributes_admin_down }
+ bgpaas_session_attributes_address_families:
+ bgpaas_session_attributes_address_families_family:
+ - { get_param: bgpaas_session_attributes_address_families_family_4 }
+ - { get_param: bgpaas_session_attributes_address_families_family_6 }
+ bgpaas_session_attributes_family_attributes:
+ - bgpaas_session_attributes_family_attributes_address_family: { get_param: bgpaas_session_attributes_family_attributes_af_4 }
+ bgpaas_session_attributes_family_attributes_loop_count: { get_param: bgpaas_session_attributes_family_attributes_loop_count_4 }
+ bgpaas_session_attributes_family_attributes_prefix_limit:
+ bgpaas_session_attributes_family_attributes_prefix_limit_maximum: { get_param: bgpaas_session_attributes_family_attributes_prefix_limit_maximum_4 }
+ - bgpaas_session_attributes_family_attributes_address_family: { get_param: bgpaas_session_attributes_family_attributes_af_6 }
+ bgpaas_session_attributes_family_attributes_loop_count: { get_param: bgpaas_session_attributes_family_attributes_loop_count_6 }
+ bgpaas_session_attributes_family_attributes_prefix_limit:
+ bgpaas_session_attributes_family_attributes_prefix_limit_maximum: { get_param: bgpaas_session_attributes_family_attributes_prefix_limit_maximum_6 }
+
diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/cloud-nimbus.sh b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/cloud-nimbus.sh
new file mode 100644
index 0000000000..48485f3bf6
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam-volumes_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam-volumes_v1.0.env
new file mode 100644
index 0000000000..b494d8c270
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam-volumes_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam-volumes_v1.0.yaml
new file mode 100644
index 0000000000..9e120547b4
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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_1:
+ 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_2:
+ 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_1 }
+ pcrf_oam_volume_id_2:
+ description: the oam 002 volume id
+ value: { get_resource: pcrf_oam_volume_2 } \ No newline at end of file
diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam_v1.0.env
new file mode 100644
index 0000000000..7e51e674ab
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam_v1.0.yaml
new file mode 100644
index 0000000000..8f3aae91a8
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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: file:///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: file:///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/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm-volumes_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm-volumes_v1.0.env
new file mode 100644
index 0000000000..788365dcd3
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml
new file mode 100644
index 0000000000..bcc3e89f71
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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_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_1 } \ No newline at end of file
diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm_v1.0.env
new file mode 100644
index 0000000000..b23014d92f
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm_v1.0.yaml
new file mode 100644
index 0000000000..defb373a4f
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-ppd_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-ppd_v1.0.yaml
new file mode 100644
index 0000000000..8631592097
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-ppd_v1.1.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-ppd_v1.1.env
new file mode 100644
index 0000000000..10697bcaa5
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pps_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pps_v1.0.env
new file mode 100644
index 0000000000..18c064c019
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pps_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pps_v1.0.yaml
new file mode 100644
index 0000000000..0fadd0023d
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-psm_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-psm_v1.0.env
new file mode 100644
index 0000000000..95e450ef0d
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-psm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-psm_v1.0.yaml
new file mode 100644
index 0000000000..217b0fe33a
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-swift-container_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-swift-container_v1.0.env
new file mode 100644
index 0000000000..5267ee45ae
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-swift-container_v1.0.env
@@ -0,0 +1,3 @@
+parameters:
+ pcrf_swift_container_name_1: PCRF_Config_Container_1
+ pcrf_swift_container_purge_on_delete_flag_1: false
diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-swift-container_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-swift-container_v1.0.yaml
new file mode 100644
index 0000000000..ab427bb4c2
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-swift-container_v1.0.yaml
@@ -0,0 +1,30 @@
+heat_template_version: 2013-05-23
+
+description: heat template that creates PCRF Session Manager stack
+
+parameters:
+ pcrf_swift_container_name_1:
+ type: string
+ label: Swift Container name
+ description: Swift Container Name
+ pcrf_swift_container_purge_on_delete_flag_1:
+ type: boolean
+ label: Purge on Delete Flag
+ description: Purge on Delete Flag
+
+resources:
+ pcrf_swift_container_1:
+ type: OS::Swift::Container
+ properties:
+ name: { get_param: pcrf_swift_container_name_1 }
+ PurgeOnDelete: { get_param: pcrf_swift_container_purge_on_delete_flag_1 }
+ X-Container-Read: ".r:*"
+
+outputs:
+ pcrf_swift_container_id_1:
+ description: the pcrf_swift_container_1 id
+ value: { get_resource: pcrf_swift_container_1 }
+ pcrf_swift_container_url_1:
+ description: the pcrf_swift_container_1 url
+ value: { get_attr: [ pcrf_swift_container_1, WebsiteURL ] }
+ \ No newline at end of file
diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/mount_iso_script.sh b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/mount_iso_script.sh
new file mode 100644
index 0000000000..91df598dc2
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/mount_iso_script.sh
@@ -0,0 +1,34 @@
+#!/bin/bash
+
+#. .config
+#following would be in the .config file
+ device_name="/dev/vde"
+ install_script="install_nimbus.sh"
+ enable_logic_flag_file=".flag"
+#end of config file
+
+#get the semaphore, 0 - disbaled, 1- enabled
+flag=$(cat ${enable_logic_flag_file})
+
+#check if device is mounted already
+test=$(mount | grep ${device_name})
+if [ "$flag" == "1" ]; then
+ if [ -e ${device_name} ] && [ ! "${test}" ]; then
+ #mount the iso image
+ mount -t iso9660 -v -o loop /dev/vde/ /mnt/iso
+ #if availabe run the install script (it contains the install.sh steps)
+ if [ -e "${install_script}" ] && [ -f "${install_script}" ]; then
+ ${install_script}
+ fi
+ #disable the script from attempting to
+ # mount and run install again until needed;
+ echo "0" > ${enable_logic_flag_file}
+ #if nedeed add step to comment out the crontab line here;
+ fi
+else
+ echo "Auto mounting ISO & run install logic disabled!"
+fi
+
+#cron job
+# * * * * * /mount_iso_script.sh
+
diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-oam_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-oam_v1.0.yaml
new file mode 100644
index 0000000000..fa3b04e7d3
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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: 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/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-pcm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-pcm_v1.0.yaml
new file mode 100644
index 0000000000..a3129bb0b9
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-ppd_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-ppd_v1.0.yaml
new file mode 100644
index 0000000000..169522b64c
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-pps_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-pps_v1.0.yaml
new file mode 100644
index 0000000000..8cb6e1587c
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-psm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-psm_v1.0.yaml
new file mode 100644
index 0000000000..64c7484405
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/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/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/vnf-module-artifact.json b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/vnf-module-artifact.json
new file mode 100644
index 0000000000..111bf04c7e
--- /dev/null
+++ b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/vnf-module-artifact.json
@@ -0,0 +1,29 @@
+[
+ {
+ "vfModuleModelName": "VF_RI2_G6_withArtifacts::module-1",
+ "vfModuleModelInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f132",
+ "vfModuleModelVersion": "1.0",
+ "vfModuleModelUUID": "1e34774e-715e-4fd5-bd08-7b654622f33e.VF_RI2_G6_withArtifacts::module-1.group",
+ "isBase": true,
+ "artifacts": [
+ "Artifact-UUID1",
+ "EnvArtifact-UUID2",
+ "NestedArtifact-UUID3",
+ "NestedArtifact-UUID4",
+ "ScriptArtifact-UUID1",
+ "VolumeArtifact-UUID1",
+ "VolumeEnvArtifact-UUID1"
+ ]
+ },
+ {
+ "vfModuleModelName": "VF_RI2_G91_withArtifacts::module-1",
+ "vfModuleModelInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f169",
+ "vfModuleModelVersion": "1.0",
+ "vfModuleModelUUID": "1e34774e-715e-4fd5-bd08-7b654622f63g.VF_RI2_G9_withArtifacts::module-1.group",
+ "isBase": true,
+ "artifacts": [
+ "HeatArtifactE2E-UUIDTest"
+
+ ]
+ }
+] \ No newline at end of file