diff options
author | 2017-11-05 17:14:25 +0200 | |
---|---|---|
committer | 2017-11-05 15:39:16 +0000 | |
commit | 7b492b5f191cd5c22e3c4254f5f3ef7476122e9d (patch) | |
tree | 883406afe9451ee6389ab9033021e528f2c9813a /openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes | |
parent | d059aeab877b4217e05dff07fdbaf61bf6c1a73e (diff) |
Port scaling not working properly
Made changes in evaluating port naming pattern.
Change-Id: If9a3fc9c3d50fa5c4da319d2ff7d5f8ce6ca8ffe
Issue-ID: SDC-573
Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes')
11 files changed, 7820 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/MANIFEST.json new file mode 100644 index 0000000000..f7d6298dc4 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/MANIFEST.json @@ -0,0 +1,32 @@ +{ + "name": "test_import_1510", + "description": "string", + "version": "8.1", + "data": [ + { + "isBase": true, + "file": "base_vIECCF.yml", + "type": "HEAT", + "data": [ + { + "file": "base_vIECCF.env", + "type": "HEAT_ENV" + }, + { + "file": "base_vIECCF_volume.yml", + "type": "HEAT_VOL", + "data": [ + { + "file": "base_vIECCF_volume.env", + "type": "HEAT_ENV" + } + ] + } + ] + }, + { + "file": "node_userdata_script.sh", + "type": "OTHER" + } + ] +}
\ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/base_vIECCF.env b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/base_vIECCF.env new file mode 100644 index 0000000000..522ccca14d --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/base_vIECCF.env @@ -0,0 +1,140 @@ +## Note: Nokia VM ENV file for vCCF +## Copyright: Nokia 2016 +## Name: "base_vIECCF.env" +## Date: 20 Dec 2016 +## Juno Version +## Version History +## 12/20/2016 +## - Initial version for IECCF R30.3.3 +## 01/06/2017 +## - Updated vCCF package to address removal of shared volume for IO VMs +## 01/19/2017 +## - Updated vCCF package to address ICE feedback reviewed on 1/13/2017 +## - Updated to remove Nokia related values and match AT&T environment +## 02/17/2017 +## - Updated vCCF package from Nokia +## 02/23/2017 +## - Updated with values for ccfx0002v +## 09/27/2017 +## - Updated for mini instance in DPA2a - flavor change + +parameters: + + plt_flavor_name: nd.c2r4d50 + iox_flavor_name: nd.c2r4d50 + app_flavor_name: nd.c2r4d50 + + plt_image_name: USP_IECF-PILOT_30.3.3-mcas4.4.6.qcow2 + iox_image_name: USP_IECF-IO_30.3.3-mcas4.4.6.qcow2 + app_image_name: USP_IECF-APP_30.3.3-mcas4.4.6.qcow2 + + ieccf_debug: no + + internal_subnet_cidr: 169.30.12.0/24 + + plt_pair_uuid: 573f433e25ba8 + iox_pair_uuid: 573f433e284b4 + +# These must be empty for AT&T + openstack_cacert: "" + config_server_cacert: "" + +# growth_mini_siteinfo_url_01: "" + +# +# Instance specific parameters (using DPA3 info) +# vnf_id: 0002 +# vf_module_id: 0001 +# vnf_name: ccfx0002v +# vf_module_name: module_1 +# +# plt_names: +# - ccfx0002vm001 +# - ccfx0002vm002 +# iox_names: +# - ccfx0002vm003 +# - ccfx0002vm004 +# app_names: +# - ccfx0002vm005 +# - ccfx0002vm006 +# - ccfx0002vm007 +# - ccfx0002vm008 +# - ccfx0002vm009 +# - ccfx0002vm010 +# - ccfx0002vm011 +# +# ignore_siteinfo_audit: no +# +# availability_zone_0: DPA3_D2_AZ1 +# availability_zone_1: DPA3_D2_AZ2 +# +# plt_security_groups: +# - ieccf +# iox_security_groups: +# - ieccf +# app_security_groups: +# - ieccf +# oam_security_groups: +# - ieccf +# data_security_groups: +# - ieccf +# +# oam_net_id: 491c7cef-a3f4-4990-883e-b0af397466d0 +# data_net_id: be99b10d-483a-41ba-b6e8-99a8e7fd2fd7 +# io_net_id: 491c7cef-a3f4-4990-883e-b0af397466d0 +# internal_net_id: 20cdc5a5-750b-41d4-9760-397551758039 + +# siteinfo_url: http://135.144.3.36/imsadmin/ccfx0002v/siteinfo +# ieccf_config_url: http://135.144.3.36/imsadmin/ccfx0002v/cfg.tar + +# name_server_1: 2001:1890:1001:2424::1 +# name_server_2: 2001:1890:1001:2224::1 +# domain: la1il.uvp.itn.att.net +# +# plt_oam_ips: +# - 135.144.3.80 +# - 135.144.3.82 +# iox_oam_ips: +# - 135.144.3.83 +# - 135.144.3.85 +# app_oam_ips: +# - 135.144.3.86 +# - 135.144.3.87 +# - 135.144.3.88 +# - 135.144.3.89 +# - 135.144.3.90 +# - 135.144.3.91 +# - 135.144.3.92 +# +# plt_data_v6_ips: +# - 2001:1890:1001:2B32::29:B +# - 2001:1890:1001:2B32::29:D +# iox_data_v6_ips: +# - 2001:1890:1001:2B32::29:1 +# - 2001:1890:1001:2B32::29:3 +# app_data_v6_ips: +# - 2001:1890:1001:2B32::29:4 +# - 2001:1890:1001:2B32::29:5 +# - 2001:1890:1001:2B32::29:6 +# - 2001:1890:1001:2B32::29:7 +# - 2001:1890:1001:2B32::29:8 +# - 2001:1890:1001:2B32::29:9 +# - 2001:1890:1001:2B32::29:A +# +# +# plt_oam_floating_ip: 135.144.3.81 +# iox_oam_floating_ip: 135.144.3.84 +# +# plt_data_floating_v6_ip: 2001:1890:1001:2B32::29:C +# iox_data_floating_v6_ip: 2001:1890:1001:2B32::29:2 +# +# app_volume_0: 2aea2481-9ffe-4612-8912-bf47999c03e5 +# app_volume_1: eb40dadc-c1cb-4bb6-90a5-d3eaef672476 +# app_volume_2: 540dc734-b1cb-4a4d-936d-bd1b4a5d42e8 +# app_volume_3: f71471f8-00bd-4c35-a92d-4eee12fcc059 +# app_volume_4: 48aa9e8a-90db-4e8e-9f60-38319825f3ec +# app_volume_5: 396d7e57-3103-4934-a324-57b24409eba2 +# app_volume_6: 61d8a9a5-eceb-44c7-b5d7-da6dec02b8ed +# plt_volume_0: 4a04e40f-3e5e-4629-a8e1-799ff0ce75ea +# plt_volume_1: 2070242e-d428-4210-a8b8-0c63d9ca00b9 +# plt_volume_shared_0: 415ec62c-65aa-4fc1-8d55-6cfadf3f4e24 diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/base_vIECCF.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/base_vIECCF.yml new file mode 100644 index 0000000000..1e5d74c9ac --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/base_vIECCF.yml @@ -0,0 +1,1604 @@ +heat_template_version: '2014-10-16' +description: '' + +## Note: Nokia VM HOT file for vCCF +## Copyright: Nokia 2016 +## Name: "base_vIECCF.yml" +## Date: 20 Dec 2016 +## Juno Version +## Version History +## 12/20/2016 +## - Initial version for IECCF R30.3.3 +## 01/06/2017 +## - Updated vCCF package to address removal of shared volume for IO VMs +## 01/19/2017 +## - Updated vCCF package to address ICE feedback reviewed on 1/13/2017 +## - Updated to remove Nokia related values and match AT&T environment +## - Updated vm_role to match vm_type used in the resource naming convention +## 02/17/2017 +## - Updated vCCF package from Nokia +## 06/23/2017 +## - Updated vCCF package from Nokia to add output parameter for OAM IP address +## 08/21/2017 +## - Updated to replace ':' in port resource names with '_' +## 09/20/2017 +## - Updated to revert port resource names back to original with embedded ':' +## - Updated to replace ':' in port name property with '_' +## 09/27/2017 +## - Updated for mini instance in DPA2a - VM reduction + +parameters: + vnf_id: + type: string + description: Unique ID for this VF instance + vf_module_id: + type: string + description: Unique ID for this VF Module instance + vnf_name: + type: string + description: Unique name for this VF instance + vf_module_name: + type: string + description: Unique name for this VF Module instance + + plt_names: + type: comma_delimited_list + description: VM names for plt VMs + iox_names: + type: comma_delimited_list + description: VM names for iox VMs + app_names: + type: comma_delimited_list + description: VM names for app VMs + + openstack_cacert: # Is this needed, and why? + type: string + label: 'OpenStack CA Certificate' + description: 'CA Certificate to use for OpenStack client calls.' + config_server_cacert: + type: string + label: 'configure server CA Certificate' + description: 'CA Certificate for download from siteinfo url and config url.' + +# _template_version_: +# type: string +# hidden: 'True' + ignore_siteinfo_audit: + type: string + label: 'Siteinfo Audit Ignore Flag' + description: 'Set to true if siteinfo audit failure should not prevent system installation' + + availability_zone_0: + type: string + description: First availability zone ID or Name + availability_zone_1: + type: string + description: Second availability zone ID or Name + + plt_image_name: + type: string + description: Pilot image + + plt_flavor_name: + type: string + description: Pilot flavor + + plt_security_groups: + type: comma_delimited_list + description: Pilot security group + + + iox_image_name: + type: string + description: IO image + + iox_flavor_name: + type: string + description: IO flavor + + iox_security_groups: + type: comma_delimited_list + description: IO security group + + app_image_name: + type: string + description: App image + + app_flavor_name: + type: string + description: App flavor + + app_security_groups: + type: comma_delimited_list + description: App security group + + oam_security_groups: + type: comma_delimited_list + description: OAM security group + + data_security_groups: + type: comma_delimited_list + description: DATA security group + + oam_net_id: + type: string + description: 'OAM network' + + data_net_id: + type: string + description: 'DATA network' +# io_net_id: +# type: string +# label: 'IO network' + + siteinfo_url: + type: string + description: 'siteinfo url' + ieccf_config_url: + type: string + description: 'IECCF configuration package URL' + ieccf_debug: + type: string + description: 'IECCF debug flag' +# growth_mini_siteinfo_url_01: +# type: string +# label: 'IECCF app node growth mini siteinfo URL' + + name_server_1: + type: string + description: 'IP address of name server 1' + name_server_2: + type: string + description: 'IP address of name server 2' + domain: + type: string + description: What is this domain? + + plt_oam_ips: + type: comma_delimited_list + description: Fixed IPv4 assignments for plt VMs on the OAM network + iox_oam_ips: + type: comma_delimited_list + description: Fixed IPv4 assignments for iox VMs on the OAM network + app_oam_ips: + type: comma_delimited_list + description: Fixed IPv4 assignments for app VMs on the OAM network + + plt_data_v6_ips: + type: comma_delimited_list + description: Fixed IPv6 assignments for plt VMs on the DATA network + iox_data_v6_ips: + type: comma_delimited_list + description: Fixed IPv6 assignments for iox VMs on the DATA network + app_data_v6_ips: + type: comma_delimited_list + description: Fixed IPv6 assignments for app VMs on the DATA network + + plt_oam_floating_ip: + type: string + description: Floating IPv4 for plt VMs on the OAM network + iox_oam_floating_ip: + type: string + description: Floating IPv4 for iox VMs on the OAM network + + plt_data_floating_v6_ip: + type: string + description: Floating IPv6 for plt VMs on the DATA network + iox_data_floating_v6_ip: + type: string + description: Floating IPv6 for iox VMs on the DATA network + + internal_subnet_cidr: + type: string + description: IP subnet for internal network + + plt_pair_uuid: + type: string + description: UUID for plt VM pair + iox_pair_uuid: + type: string + description: UUID for iox VM pair + + plt_volume_shared_id_0: + type: string + description: ServiceData2 volume for plt VMs + + plt_volume_id_0: + type: string + description: ServiceData1 volume for first plt VM + + plt_volume_id_1: + type: string + description: ServiceData1 volume for second plt VM + + app_volume_id_0: + type: string + description: ServiceData1 volume for first app VM + + app_volume_id_1: + type: string + description: ServiceData1 volume for second app VM + + app_volume_id_2: + type: string + description: ServiceData1 volume for third app VM + +resources: + + internal_net_0: + type: OS::Neutron::Net + properties: + name: + str_replace: + template: $prefix-internal_net_0 + params: + $prefix: { get_param: vnf_name } + + internal_0_subnet_0: + type: OS::Neutron::Subnet + properties: + name: + str_replace: + template: $vnf_name-internal_0_subnet_0 + params: + $vnf_name: + get_param: vnf_name + cidr: {get_param: internal_subnet_cidr} + network: {get_resource: internal_net_0 } + enable_dhcp: 'True' + gateway_ip: '' + + app_server_group: + type: OS::Nova::ServerGroup + properties: + name: + str_replace: + params: + $vnf_name: {get_param: vnf_name} + template: $vnf_name-app_server_group + policies: + - anti-affinity + + 'node:m001:server': + type: OS::Nova::Server + properties: + name: { get_param: [plt_names, 0]} + availability_zone: + get_param: availability_zone_0 + image: + get_param: plt_image_name + flavor: + get_param: plt_flavor_name + image_update_policy: REBUILD + config_drive: 'True' + block_device_mapping: + - + delete_on_termination: 'false' + device_name: vdb + volume_id: + get_param: plt_volume_id_0 + networks: + - + port: + get_resource: plt_internal_0_port_0 + - + port: + get_resource: plt_oam_0_port_0 + - + port: + get_resource: plt_data_0_port_0 + user_data_format: RAW + user_data: + str_replace: + template: + get_file: node_userdata_script.sh +# get_param: _node_userdata_script_ + params: + __heat_stack_name__: + get_param: 'OS::stack_name' + __node_siteinfo_url__: { get_param: siteinfo_url } + __ieccf_config_url__: { get_param: ieccf_config_url } + __ieccf_debug__: { get_param: ieccf_debug } + __activepilot_ip__: + get_attr: + - 'network:system:vip:m001:m002' +# - 'network_system_vip_m001_m002' + - fixed_ips + - 0 + - ip_address + __host_key__: + get_attr: + - 'sysinfo:host_key' + - value + __pilot__: A + __script_url__: '' + __script_args__: '' + __os_cacert__: + get_param: openstack_cacert +# get_file: openstack_cacert.crt + __cs_cacert__: + get_param: config_server_cacert +# get_file: config_server_cacert.crt + __post_exec__: '' + __ignore_siteinfo_audit__: + get_param: ignore_siteinfo_audit + __nameserver1__: {get_param: name_server_1} + __nameserver2__: {get_param: name_server_2} + __domain__: { get_param: domain } + __shared_volid1__: +# get_resource: 'node:m001:m002:shared_vol1' + get_param: plt_volume_shared_id_0 + + metadata: + vnf_id: {get_param: vnf_id} + vnf_name: {get_param: vnf_name} + vf_module_id: {get_param: vf_module_id} + vf_module_name: {get_param: vf_module_name} + vm_role: plt + metadata: + mcas_id: m001 + networks: + - + get_attr: + - plt_internal_0_port_0 + - network_id + - + get_attr: + - plt_oam_0_port_0 + - network_id + - + get_attr: + - plt_data_0_port_0 + - network_id + mcas_mate_id: m002 + pair_uuid: {get_param: plt_pair_uuid} + shared_vol1: {get_param: plt_volume_shared_id_0} + plt_internal_0_port_0: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-plt_internal_0_port_0 + params: + $vnf_name: + get_param: vnf_name + network: {get_resource: internal_net_0 } + replacement_policy: AUTO + allowed_address_pairs: + - + ip_address: {get_param: internal_subnet_cidr} + security_groups: + get_param: plt_security_groups + metadata: + os_net: {get_resource: internal_net_0 } + + plt_internal_0_port_1: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-plt_internal_0_port_0 + params: + $vnf_name: + get_param: vnf_name + network: {get_resource: internal_net_0 } + replacement_policy: AUTO + allowed_address_pairs: + - + ip_address: {get_param: internal_subnet_cidr} + security_groups: + get_param: plt_security_groups + metadata: + os_net: {get_resource: internal_net_0 } + + plt_oam_0_port_0: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-plt_oam_0_port_0 + params: + $vnf_name: + get_param: vnf_name + network: { get_param: oam_net_id } + replacement_policy: AUTO + allowed_address_pairs: + - + ip_address: + get_attr: + - 'network:oam:vip:m001:m002' +# - 'network_oam_vip_m001_m002' + - fixed_ips + - 0 + - ip_address + fixed_ips: + - + ip_address: {get_param: [plt_oam_ips, 0]} + security_groups: +# get_param: plt_security_groups + get_param: oam_security_groups + metadata: + os_net: { get_param: oam_net_id } + ext_net: oam + + plt_oam_0_port_1: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-plt_oam_0_port_0 + params: + $vnf_name: + get_param: vnf_name + network: { get_param: oam_net_id } + replacement_policy: AUTO + allowed_address_pairs: + - + ip_address: + get_attr: + - 'network:oam:vip:m001:m002' +# - 'network_oam_vip_m001_m002' + - fixed_ips + - 0 + - ip_address + fixed_ips: + - + ip_address: {get_param: [plt_oam_ips, 0]} + security_groups: +# get_param: plt_security_groups + get_param: oam_security_groups + metadata: + os_net: { get_param: oam_net_id } + ext_net: oam + + plt_data_0_port_0: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-plt_data_0_port_0 + params: + $vnf_name: + get_param: vnf_name + network: { get_param: data_net_id } + replacement_policy: AUTO + allowed_address_pairs: + - + ip_address: + get_attr: + - 'network:data:vip:m001:m002' +# - 'network_data_vip_m001_m002' + - fixed_ips + - 0 + - ip_address + fixed_ips: + - + ip_address: {get_param: [plt_data_v6_ips, 0]} + security_groups: +# get_param: plt_security_groups + get_param: data_security_groups + metadata: + os_net: { get_param: data_net_id } + ext_net: data + + plt_data_0_port_1: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-plt_data_0_port_0 + params: + $vnf_name: + get_param: vnf_name + network: { get_param: data_net_id } + replacement_policy: AUTO + allowed_address_pairs: + - + ip_address: + get_attr: + - 'network:data:vip:m001:m002' +# - 'network_data_vip_m001_m002' + - fixed_ips + - 0 + - ip_address + fixed_ips: + - + ip_address: {get_param: [plt_data_v6_ips, 1]} + security_groups: +# get_param: plt_security_groups + get_param: data_security_groups + metadata: + os_net: { get_param: data_net_id } + ext_net: data + + 'node:m002:server': + type: OS::Nova::Server + properties: + name: { get_param: [plt_names, 1]} + availability_zone: + get_param: availability_zone_1 + image: + get_param: plt_image_name + flavor: + get_param: plt_flavor_name + image_update_policy: REBUILD + config_drive: 'True' + block_device_mapping: + - + delete_on_termination: 'false' + device_name: vdb + volume_id: + get_param: plt_volume_id_1 + networks: + - + port: + get_resource: plt_internal_0_port_1 + - + port: + get_resource: plt_oam_0_port_1 + - + port: + get_resource: plt_data_0_port_1 + user_data_format: RAW + user_data: + str_replace: + template: + get_file: node_userdata_script.sh +# get_param: _node_userdata_script_ + params: + __heat_stack_name__: + get_param: 'OS::stack_name' + __node_siteinfo_url__: { get_param: siteinfo_url } + __ieccf_config_url__: { get_param: ieccf_config_url } + __ieccf_debug__: { get_param: ieccf_debug } + __activepilot_ip__: + get_attr: + - 'network:system:vip:m001:m002' +# - 'network_system_vip_m001_m002' + - fixed_ips + - 0 + - ip_address + __host_key__: + get_attr: + - 'sysinfo:host_key' + - value + __pilot__: B + __script_url__: '' + __script_args__: '' + __os_cacert__: + get_param: openstack_cacert +# get_file: openstack_cacert.crt + __cs_cacert__: + get_param: config_server_cacert +# get_file: config_server_cacert.crt + __post_exec__: '' + __ignore_siteinfo_audit__: + get_param: ignore_siteinfo_audit + __nameserver1__: {get_param: name_server_1} + __nameserver2__: {get_param: name_server_2} + __domain__: {get_param: domain} + __shared_volid1__: +# get_resource: 'node:m001:m002:shared_vol1' + get_param: plt_volume_shared_id_0 + + metadata: + vnf_id: {get_param: vnf_id} + vnf_name: {get_param: vnf_name} + vf_module_id: {get_param: vf_module_id} + vf_module_name: {get_param: vf_module_name} + vm_role: plt + metadata: + mcas_id: m002 + networks: + - + get_attr: + - plt_internal_1_port_0 + - network_id + - + get_attr: + - plt_oam_1_port_0 + - network_id + - + get_attr: + - plt_data_1_port_0 + - network_id + mcas_mate_id: m001 + pair_uuid: {get_param: plt_pair_uuid} + shared_vol1: {get_param: plt_volume_shared_id_0} + + 'network:system:vip:m001:m002': +# 'network_system_vip_m001_m002': + type: OS::Neutron::Port + properties: + name: + str_replace: +# template: '$vnf_name-network:system:vip:m001:m002' + template: '$vnf_name-network_system_vip_m001_m002' + params: + $vnf_name: + get_param: vnf_name + network: {get_resource: internal_net_0 } + + replacement_policy: AUTO + allowed_address_pairs: + - + ip_address: {get_param: internal_subnet_cidr } + security_groups: + get_param: plt_security_groups + metadata: + os_net: {get_resource: internal_net_0 } + + pair_uuid: {get_param: plt_pair_uuid} + 'network:oam:vip:m001:m002': +# 'network_oam_vip_m001_m002': + type: OS::Neutron::Port + properties: + name: + str_replace: +# template: '$vnf_name-network:oam:vip:m001:m002' + template: '$vnf_name-network_oam_vip_m001_m002' + params: + $vnf_name: + get_param: vnf_name + network: { get_param: oam_net_id } + replacement_policy: AUTO + fixed_ips: + - + ip_address: {get_param: plt_oam_floating_ip} + security_groups: +# get_param: plt_security_groups + get_param: oam_security_groups + metadata: + os_net: { get_param: oam_net_id } + ext_net: oam + pair_uuid: {get_param: plt_pair_uuid} + 'network:data:vip:m001:m002': +# 'network_data_vip_m001_m002': + type: OS::Neutron::Port + properties: + name: + str_replace: +# template: '$vnf_name-network:data:vip:m001:m002' + template: '$vnf_name-network_data_vip_m001_m002' + params: + $vnf_name: + get_param: vnf_name + network: { get_param: data_net_id } + replacement_policy: AUTO + fixed_ips: + - + ip_address: {get_param: plt_data_floating_v6_ip} + security_groups: +# get_param: plt_security_groups + get_param: data_security_groups + metadata: + os_net: { get_param: data_net_id } + ext_net: data + pair_uuid: {get_param: plt_pair_uuid} + + 'node:m003:server': + type: OS::Nova::Server + properties: + name: { get_param: [iox_names, 0]} + availability_zone: + get_param: availability_zone_0 + image: + get_param: iox_image_name + flavor: + get_param: iox_flavor_name + image_update_policy: REBUILD + config_drive: 'True' + networks: + - + port: + get_resource: iox_internal_0_port_0 + - + port: + get_resource: iox_oam_0_port_0 + - + port: + get_resource: iox_data_0_port_0 + user_data_format: RAW + user_data: + str_replace: + template: + get_file: node_userdata_script.sh +# get_param: _node_userdata_script_ + params: + __heat_stack_name__: + get_param: 'OS::stack_name' + __node_siteinfo_url__: { get_param: siteinfo_url } + __ieccf_config_url__: { get_param: ieccf_config_url } + __ieccf_debug__: { get_param: ieccf_debug } + __activepilot_ip__: + get_attr: + - 'network:system:vip:m001:m002' +# - 'network_system_vip_m001_m002' + - fixed_ips + - 0 + - ip_address + __host_key__: + get_attr: + - 'sysinfo:host_key' + - value + __pilot__: '' + __script_url__: '' + __script_args__: '' + __os_cacert__: '' + __cs_cacert__: '' + __post_exec__: '' + __ignore_siteinfo_audit__: + get_param: ignore_siteinfo_audit + __nameserver1__: {get_param: name_server_1} + __nameserver2__: {get_param: name_server_2} + __domain__: {get_param: domain} +# __shared_volid1__: +# get_resource: 'node:m003:m004:shared_vol1' +# get_param: iox_volume_shared_0 + + metadata: + vnf_id: {get_param: vnf_id} + vnf_name: {get_param: vnf_name} + vf_module_id: {get_param: vf_module_id} + vf_module_name: {get_param: vf_module_name} + vm_role: iox + metadata: + mcas_id: m003 + networks: + - + get_attr: + - iox_internal_0_port_0 + - network_id + - + get_attr: + - iox_oam_0_port_0 + - network_id + - + get_attr: + - iox_data_0_port_0 + - network_id + mcas_mate_id: m004 + pair_uuid: {get_param: iox_pair_uuid} +# shared_vol1: {get_param: iox_volume_shared_0} + iox_internal_0_port_0: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-iox_internal_0_port_0 + params: + $vnf_name: + get_param: vnf_name + network: {get_resource: internal_net_0 } + replacement_policy: AUTO + allowed_address_pairs: + - + ip_address: {get_param: internal_subnet_cidr} + security_groups: + get_param: iox_security_groups + metadata: + os_net: {get_resource: internal_net_0 } + + iox_oam_0_port_0: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-iox_oam_0_port_0 + params: + $vnf_name: + get_param: vnf_name + network: { get_param: oam_net_id } + replacement_policy: AUTO + allowed_address_pairs: + - + ip_address: + get_attr: + - 'network:io:vip:m004:m003' +# - 'network_io_vip_m004_m003' + - fixed_ips + - 0 + - ip_address + fixed_ips: + - + ip_address: {get_param: [iox_oam_ips, 0]} + security_groups: +# get_param: iox_security_groups + get_param: oam_security_groups + metadata: + os_net: { get_param: oam_net_id } + ext_net: io + iox_data_0_port_0: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-iox_data_0_port_0 + params: + $vnf_name: + get_param: vnf_name + network: { get_param: data_net_id } + replacement_policy: AUTO + allowed_address_pairs: + - + ip_address: + get_attr: + - 'network:data:vip:m004:m003' +# - 'network_data_vip_m001_m002' + - fixed_ips + - 0 + - ip_address + fixed_ips: + - + ip_address: {get_param: [iox_data_v6_ips, 0]} + security_groups: +# get_param: iox_security_groups + get_param: data_security_groups + metadata: + os_net: { get_param: data_net_id } + ext_net: data + 'node:m004:server': + type: OS::Nova::Server + properties: + name: { get_param: [iox_names, 1]} + availability_zone: + get_param: availability_zone_1 + image: + get_param: iox_image_name + flavor: + get_param: iox_flavor_name + image_update_policy: REBUILD + config_drive: 'True' + networks: + - + port: + get_resource: iox_internal_0_port_1 + - + port: + get_resource: iox_oam_0_port_1 + - + port: + get_resource: iox_data_0_port_1 + user_data_format: RAW + user_data: + str_replace: + template: + get_file: node_userdata_script.sh +# get_param: _node_userdata_script_ + params: + __heat_stack_name__: + get_param: 'OS::stack_name' + __node_siteinfo_url__: { get_param: siteinfo_url } + __ieccf_config_url__: { get_param: ieccf_config_url } + __ieccf_debug__: { get_param: ieccf_debug } + __activepilot_ip__: + get_attr: + - 'network:system:vip:m001:m002' +# - 'network_system_vip_m001_m002' + - fixed_ips + - 0 + - ip_address + __host_key__: + get_attr: + - 'sysinfo:host_key' + - value + __pilot__: '' + __script_url__: '' + __script_args__: '' + __os_cacert__: '' + __cs_cacert__: '' + __post_exec__: '' + __ignore_siteinfo_audit__: + get_param: ignore_siteinfo_audit + __nameserver1__: {get_param: name_server_1} + __nameserver2__: {get_param: name_server_2} + __domain__: {get_param: domain} +# __shared_volid1__: +# get_resource: 'node:m003:m004:shared_vol1' +# get_param: iox_volume_shared_0 + + metadata: + vnf_id: {get_param: vnf_id} + vnf_name: {get_param: vnf_name} + vf_module_id: {get_param: vf_module_id} + vf_module_name: {get_param: vf_module_name} + vm_role: iox + metadata: + mcas_id: m004 + networks: + - + get_attr: + - iox_internal_1_port_0 + - network_id + - + get_attr: + - iox_oam_1_port_0 + - network_id + - + get_attr: + - iox_data_1_port_0 + - network_id + mcas_mate_id: m003 + pair_uuid: {get_param: iox_pair_uuid} +# shared_vol1: {get_param: iox_volume_shared_0} + iox_internal_0_port_1: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-iox_internal_1_port_0 + params: + $vnf_name: + get_param: vnf_name + network: {get_resource: internal_net_0 } + + replacement_policy: AUTO + allowed_address_pairs: + - + ip_address: {get_param: internal_subnet_cidr} + security_groups: + get_param: iox_security_groups + metadata: + os_net: {get_resource: internal_net_0 } + + iox_oam_0_port_1: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-iox_oam_1_port_0 + params: + $vnf_name: + get_param: vnf_name + network: { get_param: oam_net_id } + replacement_policy: AUTO + allowed_address_pairs: + - + ip_address: + get_attr: + - 'network:io:vip:m004:m003' +# - 'network_io_vip_m004_m003' + - fixed_ips + - 0 + - ip_address + fixed_ips: + - + ip_address: {get_param: [iox_oam_ips, 1]} + security_groups: +# get_param: iox_security_groups + get_param: oam_security_groups + metadata: + os_net: { get_param: oam_net_id } + ext_net: io + iox_data_0_port_1: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-iox_data_1_port_0 + params: + $vnf_name: + get_param: vnf_name + network: { get_param: data_net_id } + replacement_policy: AUTO + allowed_address_pairs: + - + ip_address: + get_attr: + - 'network:data:vip:m004:m003' +# - 'network_data_vip_m001_m002' + - fixed_ips + - 0 + - ip_address + fixed_ips: + - + ip_address: {get_param: [iox_data_v6_ips, 1]} + security_groups: +# get_param: iox_security_groups + get_param: data_security_groups + metadata: + os_net: { get_param: data_net_id } + ext_net: data + 'network:io:vip:m004:m003': +# 'network_io_vip_m004_m003': + type: OS::Neutron::Port + properties: + name: + str_replace: +# template: '$vnf_name-network:io:vip:m004:m003' + template: '$vnf_name-network_io_vip_m004_m003' + params: + $vnf_name: + get_param: vnf_name + network: { get_param: oam_net_id } + replacement_policy: AUTO + fixed_ips: + - + ip_address: {get_param: iox_oam_floating_ip} + security_groups: +# get_param: iox_security_groups + get_param: oam_security_groups + metadata: + os_net: { get_param: oam_net_id } + ext_net: io + pair_uuid: {get_param: iox_pair_uuid} + 'network:data:vip:m004:m003': +# 'network_data_vip_m004_m003': + type: OS::Neutron::Port + properties: + name: + str_replace: +# template: '$vnf_name-network:data:vip:m004:m003' + template: '$vnf_name-network_data_vip_m004_m003' + params: + $vnf_name: + get_param: vnf_name + network: { get_param: data_net_id } + replacement_policy: AUTO + fixed_ips: + - + ip_address: {get_param: iox_data_floating_v6_ip} + security_groups: +# get_param: iox_security_groups + get_param: data_security_groups + metadata: + os_net: { get_param: data_net_id } + ext_net: data + pair_uuid: {get_param: iox_pair_uuid} + + 'node:m005:server': + type: OS::Nova::Server + properties: + name: { get_param: [app_names, 0]} + availability_zone: + get_param: availability_zone_0 + image: + get_param: app_image_name + flavor: + get_param: app_flavor_name + image_update_policy: REBUILD + config_drive: 'True' + block_device_mapping: + - + delete_on_termination: 'false' + device_name: vdb + volume_id: + get_param: app_volume_id_0 + networks: + - + port: + get_resource: app_internal_0_port_0 + - + port: + get_resource: app_oam_0_port_0 + - + port: + get_resource: app_data_0_port_0 + user_data_format: RAW + user_data: + str_replace: + template: + get_file: node_userdata_script.sh +# get_param: _node_userdata_script_ + params: + __heat_stack_name__: + get_param: 'OS::stack_name' + __node_siteinfo_url__: { get_param: siteinfo_url } + __ieccf_config_url__: { get_param: ieccf_config_url } + __ieccf_debug__: { get_param: ieccf_debug } + __activepilot_ip__: + get_attr: + - 'network:system:vip:m001:m002' +# - 'network_system_vip_m001_m002' + - fixed_ips + - 0 + - ip_address + __host_key__: + get_attr: + - 'sysinfo:host_key' + - value + __pilot__: '' + __script_url__: '' + __script_args__: '' + __os_cacert__: '' + __cs_cacert__: '' + __post_exec__: '' + __ignore_siteinfo_audit__: + get_param: ignore_siteinfo_audit + __nameserver1__: {get_param: name_server_1} + __nameserver2__: {get_param: name_server_2} + __domain__: {get_param: domain} + scheduler_hints: + group: {get_resource: app_server_group} + + metadata: + vnf_id: {get_param: vnf_id} + vnf_name: {get_param: vnf_name} + vf_module_id: {get_param: vf_module_id} + vf_module_name: {get_param: vf_module_name} + vm_role: app + metadata: + mcas_id: m005 + networks: + - + get_attr: + - app_internal_0_port_0 + - network_id + - + get_attr: + - app_oam_0_port_0 + - network_id + - + get_attr: + - app_data_0_port_0 + - network_id + app_internal_0_port_0: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-app_internal_0_port_0 + params: + $vnf_name: + get_param: vnf_name + network: {get_resource: internal_net_0 } + replacement_policy: AUTO + allowed_address_pairs: + - + ip_address: {get_param: internal_subnet_cidr} + security_groups: + get_param: app_security_groups + metadata: + os_net: {get_resource: internal_net_0 } + + app_oam_0_port_0: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-app_oam_0_port_0 + params: + $vnf_name: + get_param: vnf_name + network: { get_param: oam_net_id } + replacement_policy: AUTO + fixed_ips: + - + ip_address: {get_param: [app_oam_ips, 0]} + + security_groups: +# get_param: app_security_groups + get_param: oam_security_groups + metadata: + os_net: { get_param: oam_net_id } + ext_net: oam + + app_data_0_port_0: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-app_data_0_port_0 + params: + $vnf_name: + get_param: vnf_name + network: { get_param: data_net_id } + replacement_policy: AUTO + fixed_ips: + - + ip_address: {get_param: [app_data_v6_ips, 0]} + security_groups: +# get_param: app_security_groups + get_param: data_security_groups + metadata: + os_net: { get_param: data_net_id } + ext_net: data + + 'node:m006:server': + type: OS::Nova::Server + properties: + name: { get_param: [app_names, 1]} + availability_zone: + get_param: availability_zone_1 + image: + get_param: app_image_name + flavor: + get_param: app_flavor_name + image_update_policy: REBUILD + config_drive: 'True' + block_device_mapping: + - + delete_on_termination: 'false' + device_name: vdb + volume_id: + get_param: app_volume_id_1 + networks: + - + port: + get_resource: app_internal_0_port_1 + - + port: + get_resource: app_oam_0_port_1 + - + port: + get_resource: app_data_0_port_1 + user_data_format: RAW + user_data: + str_replace: + template: + get_file: node_userdata_script.sh +# get_param: _node_userdata_script_ + params: + __heat_stack_name__: + get_param: 'OS::stack_name' + __node_siteinfo_url__: { get_param: siteinfo_url } + __ieccf_config_url__: { get_param: ieccf_config_url } + __ieccf_debug__: { get_param: ieccf_debug } + __activepilot_ip__: + get_attr: + - 'network:system:vip:m001:m002' +# - 'network_system_vip_m001_m002' + - fixed_ips + - 0 + - ip_address + __host_key__: + get_attr: + - 'sysinfo:host_key' + - value + __pilot__: '' + __script_url__: '' + __script_args__: '' + __os_cacert__: '' + __cs_cacert__: '' + __post_exec__: '' + __ignore_siteinfo_audit__: + get_param: ignore_siteinfo_audit + __nameserver1__: {get_param: name_server_1} + __nameserver2__: {get_param: name_server_2} + __domain__: {get_param: domain} + scheduler_hints: + group: {get_resource: app_server_group} + + + metadata: + vnf_id: {get_param: vnf_id} + vnf_name: {get_param: vnf_name} + vf_module_id: {get_param: vf_module_id} + vf_module_name: {get_param: vf_module_name} + vm_role: app + metadata: + mcas_id: m006 + networks: + - + get_attr: + - app_internal_1_port_0 + - network_id + - + get_attr: + - app_oam_1_port_0 + - network_id + - + get_attr: + - app_data_1_port_0 + - network_id + app_internal_0_port_1: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-app_internal_1_port_0 + params: + $vnf_name: + get_param: vnf_name + network: {get_resource: internal_net_0 } + replacement_policy: AUTO + allowed_address_pairs: + - + ip_address: {get_param: internal_subnet_cidr} + security_groups: + get_param: app_security_groups + metadata: + os_net: {get_resource: internal_net_0 } + + app_oam_0_port_1: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-app_oam_1_port_0 + params: + $vnf_name: + get_param: vnf_name + network: { get_param: oam_net_id } + replacement_policy: AUTO + fixed_ips: + - + ip_address: {get_param: [app_oam_ips, 1]} + + security_groups: +# get_param: app_security_groups + get_param: oam_security_groups + metadata: + os_net: { get_param: oam_net_id } + ext_net: oam + + app_data_0_port_1: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-app_data_1_port_0 + params: + $vnf_name: + get_param: vnf_name + network: { get_param: data_net_id } + replacement_policy: AUTO + fixed_ips: + - + ip_address: {get_param: [app_data_v6_ips, 1]} + security_groups: +# get_param: app_security_groups + get_param: data_security_groups + metadata: + os_net: { get_param: data_net_id } + ext_net: data + + 'node:m007:server': + type: OS::Nova::Server + properties: + name: { get_param: [app_names, 2]} + availability_zone: + get_param: availability_zone_0 + image: + get_param: app_image_name + flavor: + get_param: app_flavor_name + image_update_policy: REBUILD + config_drive: 'True' + block_device_mapping: + - + delete_on_termination: 'false' + device_name: vdb + volume_id: + get_param: app_volume_id_2 + networks: + - + port: + get_resource: app_internal_0_port_2 + - + port: + get_resource: app_oam_0_port_2 + - + port: + get_resource: app_data_0_port_2 + user_data_format: RAW + user_data: + str_replace: + template: + get_file: node_userdata_script.sh +# get_param: _node_userdata_script_ + params: + __heat_stack_name__: + get_param: 'OS::stack_name' + __node_siteinfo_url__: { get_param: siteinfo_url } + __ieccf_config_url__: { get_param: ieccf_config_url } + __ieccf_debug__: { get_param: ieccf_debug } + __activepilot_ip__: + get_attr: + - 'network:system:vip:m001:m002' +# - 'network_system_vip_m001_m002' + - fixed_ips + - 0 + - ip_address + __host_key__: + get_attr: + - 'sysinfo:host_key' + - value + __pilot__: '' + __script_url__: '' + __script_args__: '' + __os_cacert__: '' + __cs_cacert__: '' + __post_exec__: '' + __ignore_siteinfo_audit__: + get_param: ignore_siteinfo_audit + __nameserver1__: {get_param: name_server_1} + __nameserver2__: {get_param: name_server_2} + __domain__: {get_param: domain} + scheduler_hints: + group: {get_resource: app_server_group} + + metadata: + vnf_id: {get_param: vnf_id} + vnf_name: {get_param: vnf_name} + vf_module_id: {get_param: vf_module_id} + vf_module_name: {get_param: vf_module_name} + vm_role: app + metadata: + mcas_id: m007 + networks: + - + get_attr: + - app_internal_2_port_0 + - network_id + - + get_attr: + - app_oam_2_port_0 + - network_id + - + get_attr: + - app_data_2_port_0 + - network_id + app_internal_0_port_2: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-app_internal_2_port_0 + params: + $vnf_name: + get_param: vnf_name + network: {get_resource: internal_net_0 } + replacement_policy: AUTO + allowed_address_pairs: + - + ip_address: {get_param: internal_subnet_cidr} + security_groups: + get_param: app_security_groups + metadata: + os_net: {get_resource: internal_net_0 } + + app_oam_0_port_2: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-app_oam_2_port_0 + params: + $vnf_name: + get_param: vnf_name + network: { get_param: oam_net_id } + replacement_policy: AUTO + fixed_ips: + - + ip_address: {get_param: [app_oam_ips, 2]} + + security_groups: +# get_param: app_security_groups + get_param: oam_security_groups + metadata: + os_net: { get_param: oam_net_id } + ext_net: oam + + app_data_0_port_2: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: $vnf_name-app_data_2_port_0 + params: + $vnf_name: + get_param: vnf_name + network: { get_param: data_net_id } + replacement_policy: AUTO + fixed_ips: + - + ip_address: {get_param: [app_data_v6_ips, 2]} + security_groups: +# get_param: app_security_groups + get_param: data_security_groups + metadata: + os_net: { get_param: data_net_id } + ext_net: data + + + 'sysinfo:input_store': # What is the purpose of this? + type: 'OS::Heat::RandomString' + metadata: + parameters: + vnf_name: + get_param: vnf_name + __os_cacert__: + get_param: openstack_cacert +# get_file: openstack_cacert.crt + __cs_cacert__: + get_param: config_server_cacert +# get_file: config_server_cacert.crt + ignore_siteinfo_audit: + get_param: ignore_siteinfo_audit + m001_avail_zone: + get_param: availability_zone_0 + m001_image: + get_param: plt_image_name + m001_flavor: + get_param: plt_flavor_name + m001_security_groups: + get_param: plt_security_groups + m002_avail_zone: + get_param: availability_zone_1 + m002_image: + get_param: plt_image_name + m002_flavor: + get_param: plt_flavor_name + m002_security_groups: + get_param: plt_security_groups + m003_avail_zone: + get_param: availability_zone_0 + m003_image: + get_param: iox_image_name + m003_flavor: + get_param: iox_flavor_name + m003_security_groups: + get_param: iox_security_groups + m004_avail_zone: + get_param: availability_zone_1 + m004_image: + get_param: iox_image_name + m004_flavor: + get_param: iox_flavor_name + m004_security_groups: + get_param: iox_security_groups + m005_avail_zone: + get_param: availability_zone_0 + m005_image: + get_param: app_image_name + m005_flavor: + get_param: app_flavor_name + m005_security_groups: + get_param: app_security_groups + m006_avail_zone: + get_param: availability_zone_1 + m006_image: + get_param: app_image_name + m006_flavor: + get_param: app_flavor_name + m006_security_groups: + get_param: app_security_groups + m007_avail_zone: + get_param: availability_zone_0 + m007_image: + get_param: app_image_name + m007_flavor: + get_param: app_flavor_name + m007_security_groups: + get_param: app_security_groups + m008_avail_zone: + get_param: availability_zone_1 + m008_image: + get_param: app_image_name + m008_flavor: + get_param: app_flavor_name + m008_security_groups: + get_param: app_security_groups + m009_avail_zone: + get_param: availability_zone_0 + m009_image: + get_param: app_image_name + m009_flavor: + get_param: app_flavor_name + m009_security_groups: + get_param: app_security_groups + m010_avail_zone: + get_param: availability_zone_1 + m010_image: + get_param: app_image_name + m010_flavor: + get_param: app_flavor_name + m010_security_groups: + get_param: app_security_groups + m011_avail_zone: + get_param: availability_zone_0 + m011_image: + get_param: app_image_name + m011_flavor: + get_param: app_flavor_name + m011_security_groups: + get_param: app_security_groups + 'sysinfo:host_key': + type: 'OS::Heat::RandomString' + properties: + length: 255 + +outputs: + oam_management_v4_address: + value: {get_param: plt_oam_floating_ip}
\ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/base_vIECCF_volume.env b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/base_vIECCF_volume.env new file mode 100644 index 0000000000..e8d6513ee3 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/base_vIECCF_volume.env @@ -0,0 +1,33 @@ +## Note: Nokia Volume ENV file for vCCF +## Copyright: Nokia 2016 +## Name: "base_vIECCF_volume.env" +## Date: 20 Dec 2016 +## Juno Version +## Version History +## 12/20/2016 +## - Initial version for IECCF R30.3.3 +## 01/06/2017 +## - Updated vCCF package to address removal of shared volume for IO VMs +## 01/19/2017 +## - Updated vCCF package to address ICE feedback reviewed on 1/13/2017 +## - Updated to remove Nokia related values and match AT&T environment +## 02/17/2017 +## - Updated vCCF package from Nokia +## 02/23/2017 +## - Updated with values for ccfx0002v +## 07/05/2017 +## - Modified servicedata1/2 and app volume sizes to include space for eccfdata and incoming4cdrsch +## 09/27/2017 +## - Updated for mini instance in DPA2a - vol size change + +parameters: + + plt_servicedata1_volume_size_0: 70 + plt_servicedata2_volume_size_0: 150 + + app_volume_size_0: 130 + +# +# Instance specific parameters (using DPA3 info) +# +# vnf_name: ccfx0002v diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/base_vIECCF_volume.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/base_vIECCF_volume.yml new file mode 100644 index 0000000000..073b102c6d --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/base_vIECCF_volume.yml @@ -0,0 +1,139 @@ +heat_template_version: 2014-10-16 + +description: Volume creation template for vCCF + +## Note: Nokia Volume HOT file for vCCF +## Copyright: Nokia 2016 +## Name: "base_vIECCF_volume.yml" +## Date: 20 Dec 2016 +## Juno Version +## Version History +## 12/20/2016 +## - Initial version for IECCF R30.3.3 +## 01/06/2017 +## - Updated vCCF package to address removal of shared volume for IO VMs +## 01/19/2017 +## - Updated vCCF package to address ICE feedback reviewed on 1/13/2017 +## - Updated to remove Nokia related values and match AT&T environment +## 02/17/2017 +## - Updated vCCF package from Nokia +## 09/27/2017 +## - Updated for mini instance in DPA2a - vol reduction to match number of VMs + +parameters: + vnf_name: + type: string + description: Unique name for this VF instance + + plt_servicedata1_volume_size_0: + type: number + description: Size of Service Data 1 Volume for plt VMs + constraints: + - range: { min: 1, max: 9999 } + description: "Must be between 1 and 9999 GB" + + plt_servicedata2_volume_size_0: + type: number + description: Size of Service Data 2 Volume for plt VMs + constraints: + - range: { min: 1, max: 9999 } + description: "Must be between 1 and 9999 GB" + + app_volume_size_0: + type: number + description: Size of Service Data 1 Volume for app VMs + constraints: + - range: { min: 1, max: 9999 } + description: "Must be between 1 and 9999 GB" + +resources: + plt_volume_shared_0: + type: OS::Cinder::Volume + properties: + size: { get_param: plt_servicedata2_volume_size_0 } + name: + str_replace: + template: $vnf_name-plt_volume_shared_0 + params: + $vnf_name: + get_param: vnf_name + + plt_volume_0: + type: OS::Cinder::Volume + properties: + size: { get_param: plt_servicedata1_volume_size_0 } + name: + str_replace: + template: $vnf_name-plt_volume_0 + params: + $vnf_name: + get_param: vnf_name + + plt_volume_1: + type: OS::Cinder::Volume + properties: + size: { get_param: plt_servicedata1_volume_size_0 } + name: + str_replace: + template: $vnf_name-plt_volume_1 + params: + $vnf_name: + get_param: vnf_name + + app_volume_0: + type: OS::Cinder::Volume + properties: + size: { get_param: app_volume_size_0 } + name: + str_replace: + template: $vnf_name-app_volume_0 + params: + $vnf_name: + get_param: vnf_name + + app_volume_1: + type: OS::Cinder::Volume + properties: + size: { get_param: app_volume_size_0 } + name: + str_replace: + template: $vnf_name-app_volume_1 + params: + $vnf_name: + get_param: vnf_name + + app_volume_2: + type: OS::Cinder::Volume + properties: + size: { get_param: app_volume_size_0 } + name: + str_replace: + template: $vnf_name-app_volume_2 + params: + $vnf_name: + get_param: vnf_name + +outputs: + plt_volume_shared_id_0: + description: ServiceData2 volume for plt VMs + value: {get_resource: plt_volume_shared_0} + + plt_volume_id_0: + description: ServiceData1 volume for first plt VM + value: {get_resource: plt_volume_0} + + plt_volume_id_1: + description: ServiceData1 volume for second plt VM + value: {get_resource: plt_volume_1} + + app_volume_id_0: + description: ServiceData1 volume for first app VM + value: {get_resource: app_volume_0} + + app_volume_id_1: + description: ServiceData1 volume for second app VM + value: {get_resource: app_volume_1} + + app_volume_id_2: + description: ServiceData1 volume for third app VM + value: {get_resource: app_volume_2} diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/node_userdata_script.sh b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/node_userdata_script.sh new file mode 100644 index 0000000000..637c7ac649 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/node_userdata_script.sh @@ -0,0 +1,152 @@ +#!/bin/sh + +# Save cs_cacert file +cs_cacert="__cs_cacert__" +[[ -n $cs_cacert ]] && { + echo "$cs_cacert" > /etc/ieccf/conf/cs_cacert + chmod 400 /etc/ieccf/conf/cs_cacert +} + +typeset -l ENABLE_DEBUG="__ieccf_debug__" +[[ "$ENABLE_DEBUG" == "t" || "$ENABLE_DEBUG" == "y" ]] && export DEBUG=YES + +# Store ieccf config url in /etc/ieccf/conf/ieccf_config_url +ic_url="__ieccf_config_url__" +[[ -n $ic_url ]] && echo "$ic_url" > /etc/ieccf/conf/ieccf_config_url + +mkdir -p /etc/psp + +# +# Common code for all nodes +# + +# store VMID in /etc/psp/vmid +cat /var/lib/cloud/data/instance-id > /etc/psp/vmid 2>/dev/null + +# Store siteinfo url in /etc/psp/siteinfo_url +stack_name="__heat_stack_name__" +[[ -n $stack_name ]] && echo "$stack_name" > /etc/psp/heat_stack_name + +# Store siteinfo url in /etc/psp/siteinfo_url +si_url="__node_siteinfo_url__" +[[ -n $si_url ]] && echo "$si_url" > /etc/psp/siteinfo_url + +# Store ActivePilot IP in /etc/psp/ActivePilot +activepilot_ip=__activepilot_ip__ +[[ -n $activepilot_ip ]] && echo $activepilot_ip > /etc/psp/ActivePilot + +# Inject an ActivePilot route +echo "$(</etc/psp/ActivePilot) dev eth0" > /etc/sysconfig/network-scripts/route-cloud0 +/etc/sysconfig/network-scripts/ifup-routes cloud0 + +# Store host security key in /etc/psp/host_key +host_key="__host_key__" +[[ -n $host_key ]] && { +echo "$host_key" > /etc/psp/host_key +chmod 400 /etc/psp/host_key +} + +# Store shared volume ID in /etc/psp/shared_volid1 +shared_volid1="__shared_volid1__" +[[ $shared_volid1 != __*__ ]] && { +echo "$shared_volid1" > /etc/psp/shared_volid1 +chmod 400 /etc/psp/shared_volid1 +} + +# +# Pilot code +# + +typeset -u pilot="__pilot__" +[[ -n $pilot ]] || exit 0 + +# Set I_am file +rm -f /root/.I_am_[AB] +touch /root/.I_am_$pilot + +# Allow SSH via Password +sed -i 's/^#PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config +sed -i 's/^PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config +service sshd restart + +# Pass ignore_audit through template +typeset -u ignore_audit="__ignore_siteinfo_audit__" +case $ignore_audit in + 1|T|TRUE|ON|Y|YES) touch /root/ignore_audit;; +esac + +# Save os_cacert file +os_cacert="__os_cacert__" +[[ -n $os_cacert ]] && { + echo "$os_cacert" > /etc/psp/os_cacert + chmod 400 /etc/psp/os_cacert +} + +# Update resolv.conf based on passed nameserver and domain +nameserver1="__nameserver1__" +nameserver2="__nameserver2__" +domain="__domain__" +[[ -n $nameserver1 ]] && { + # Need to modify the ifup-dhcp script so that ifup LSN doesn't append + # unwanted entries to resolv.conf + # This is necessary to support releases where udhcpc client is still used for internal + sed -i '/RESOLV_CONF=/a RESOLV_CONF="/tmp/resolv.overridden"' /etc/sysconfig/network-scripts/ifup-dhcp + + # Kill off any running DHCP clients as they may re-write resolv.conf + pkill -f /sbin/dhclient + + > /etc/resolv.conf + echo "; set by MCAS userdata script DHCP override" >> /etc/resolv.conf + [[ -n $domain ]] && echo search $domain >> /etc/resolv.conf + echo nameserver $nameserver1 >> /etc/resolv.conf + [[ -n $nameserver2 ]] && echo nameserver $nameserver2 >> /etc/resolv.conf + + # Need to set PEERDNS in network for RHEL6 dhclient support as + # dhclient-script doesn't read ifcfg files correctly + grep -qs PEERDNS=no /etc/sysconfig/network || echo PEERDNS=no >> /etc/sysconfig/network + + + # Update ifcfg files to prevent DHCP client resolv.conf changes + for f in /etc/sysconfig/network-scripts/ifcfg-cloud*; do + ifup ${f##ifcfg-} & + done +} + +# Localize exists, kick that off and exit +if [[ -f /opt/config/bin/Localize ]]; then + rm -f /install/fresh.install + typeset -A args=([A]=install) + /opt/config/bin/Localize ${args[$pilot]} & +else + # No Localize, Staging install, just setup and autoinstall + # will kick off newinstall1 + mkdir -p /install + touch /install/fresh.install +fi + +script_url="__script_url__" +script_args="__script_args__" + +if [[ -n $script_url ]]; then +tmp_script=/tmp/pilot${pilot}_startup +# Delete any pre-existing script, we don't want to execute an old, leftover script +rm -f $tmp_script +while true; do + curl --connect-timeout 5 -o $tmp_script -gf $script_url 2>> ${tmp_script}.curl.out + [[ -f $tmp_script ]] && break + # Break for a detected SU/CPR in progress + [[ -f /root/.SU_inprog ]] && echo "SU detected" && exit 0 + [[ -f /root/.CPR_inprog ]] && echo "CPR detected" && exit 0 + echo "Download of $script_url failed, and no SU/CPR detected. Waiting to try again." + sleep 3 +done + +chmod +x $tmp_script +$tmp_script $script_args > ${tmp_script}.out; rc=$? +(( rc == 0 )) || exit $rc +fi + +post_exec="__post_exec__" +eval $post_exec & + +exit 0
\ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/GlobalSubstitutionTypesServiceTemplate.yaml new file mode 100644 index 0000000000..f48028d381 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/GlobalSubstitutionTypesServiceTemplate.yaml @@ -0,0 +1,2272 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +metadata: + template_name: GlobalSubstitutionTypes +imports: +- openecomp_heat_index: + file: openecomp-heat/_index.yml +node_types: + org.openecomp.resource.abstract.nodes.plt: + derived_from: org.openecomp.resource.abstract.nodes.VFC + properties: + port_plt_oam_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + port_plt_oam_0_port_subnetpoolid: + type: string + required: true + status: SUPPORTED + port_plt_internal_0_port_allowed_address_pairs: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.heat.network.AddressPair + port_plt_oam_0_port_security_groups: + type: list + required: true + status: SUPPORTED + entry_schema: + type: json + compute_plt_config_drive: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean + port_plt_data_0_port_subnetpoolid: + type: string + required: true + status: SUPPORTED + vm_flavor_name: + type: string + required: true + status: SUPPORTED + port_plt_internal_0_port_vlan_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_plt_data_0_port_fixed_ips: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + vm_image_name: + type: string + required: true + status: SUPPORTED + compute_plt_availability_zone: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_plt_oam_0_port_name: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_plt_internal_0_port_security_groups: + type: list + required: true + status: SUPPORTED + entry_schema: + type: json + port_plt_internal_0_port_network_role_tag: + type: string + required: true + status: SUPPORTED + port_plt_oam_0_port_ip_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_plt_data_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + port_plt_data_0_port_allowed_address_pairs: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.heat.network.AddressPair + port_plt_internal_0_port_subnetpoolid: + type: string + required: true + status: SUPPORTED + port_plt_data_0_port_ip_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_plt_internal_0_port_network: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + compute_plt_metadata: + type: list + required: true + status: SUPPORTED + entry_schema: + type: json + port_plt_data_0_port_security_groups: + type: list + required: true + status: SUPPORTED + entry_schema: + type: json + port_plt_internal_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + port_plt_data_0_port_order: + type: integer + required: true + status: SUPPORTED + port_plt_data_0_port_vlan_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_plt_data_0_port_network_role_tag: + type: string + required: true + status: SUPPORTED + port_plt_internal_0_port_order: + type: integer + required: true + status: SUPPORTED + port_plt_internal_0_port_ip_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_plt_oam_0_port_fixed_ips: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_plt_oam_0_port_network_role_tag: + type: string + required: true + status: SUPPORTED + port_plt_internal_0_port_name: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_plt_oam_0_port_order: + type: integer + required: true + status: SUPPORTED + compute_plt_image_update_policy: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_plt_oam_0_port_network_role: + type: string + required: true + status: SUPPORTED + port_plt_oam_0_port_allowed_address_pairs: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.heat.network.AddressPair + port_plt_data_0_port_name: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_plt_data_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + port_plt_internal_0_port_network_role: + type: string + required: true + status: SUPPORTED + compute_plt_user_data_format: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_plt_internal_0_port_replacement_policy: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_plt_data_0_port_network: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_plt_data_0_port_network_role: + type: string + required: true + status: SUPPORTED + port_plt_internal_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + index_value: + type: integer + description: Index value of this substitution service template runtime instance + required: false + default: 0 + status: SUPPORTED + constraints: + - greater_or_equal: 0 + port_plt_oam_0_port_network: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_plt_oam_0_port_replacement_policy: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_plt_data_0_port_replacement_policy: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_plt_oam_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + compute_plt_name: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_plt_oam_0_port_vlan_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + requirements: + - dependency_plt_plt_internal_0_port: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_plt_plt_internal_0_port: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 + - dependency_plt_plt_data_0_port: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_plt_plt_data_0_port: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 + - dependency_plt: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - local_storage_plt: + capability: tosca.capabilities.Attachment + node: tosca.nodes.BlockStorage + relationship: tosca.relationships.AttachesTo + occurrences: + - 0 + - UNBOUNDED + - dependency_plt_plt_oam_0_port: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_plt_plt_oam_0_port: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 + capabilities: + network.outgoing.bytes.rate_plt_plt_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.usage_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.iops_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.read.bytes.rate_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.allocation_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.write.bytes.rate_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.read.bytes_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets_plt_plt_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.capacity_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.write.bytes_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.read.bytes.rate_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + endpoint_plt: + type: tosca.capabilities.Endpoint.Admin + occurrences: + - 1 + - UNBOUNDED + disk.read.requests_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outpoing.packets_plt_plt_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.write.requests.rate_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + attachment_plt_plt_data_0_port: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED + feature_plt: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + cpu_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.write.requests_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets.rate_plt_plt_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.write.bytes_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes_plt_plt_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outpoing.packets_plt_plt_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes_plt_plt_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.packets.rate_plt_plt_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes_plt_plt_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes_plt_plt_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + attachment_plt_plt_internal_0_port: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED + binding_plt: + type: tosca.capabilities.network.Bindable + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes.rate_plt_plt_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.read.bytes_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.latency_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets.rate_plt_plt_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes_plt_plt_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + binding_plt_plt_internal_0_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED + feature_plt_plt_internal_0_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + instance_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.latency_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.write.bytes.rate_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.ephemeral.size_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + cpu_util_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + binding_plt_plt_oam_0_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED + memory.usage_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + attachment_plt_plt_oam_0_port: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets_plt_plt_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.capacity_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + binding_plt_plt_data_0_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED + disk.device.read.requests_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + memory.resident_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.packets.rate_plt_plt_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + scalable_plt: + type: tosca.capabilities.Scalable + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets.rate_plt_plt_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.packets.rate_plt_plt_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes.rate_plt_plt_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.usage_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + feature_plt_plt_oam_0_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes.rate_plt_plt_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + memory_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.root.size_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes_plt_plt_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + cpu.delta_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.write.requests_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + feature_plt_plt_data_0_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes.rate_plt_plt_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.read.requests.rate_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outpoing.packets_plt_plt_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + os_plt: + type: tosca.capabilities.OperatingSystem + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes.rate_plt_plt_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets_plt_plt_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.allocation_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + host_plt: + type: tosca.capabilities.Container + valid_source_types: + - tosca.nodes.SoftwareComponent + occurrences: + - 1 + - UNBOUNDED + vcpus_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.iops_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.write.requests.rate_plt: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + org.openecomp.resource.abstract.nodes.app: + derived_from: org.openecomp.resource.abstract.nodes.VFC + properties: + port_app_data_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + compute_app_scheduler_hints: + type: list + required: true + status: SUPPORTED + entry_schema: + type: json + port_app_internal_0_port_ip_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_app_data_0_port_network_role: + type: string + required: true + status: SUPPORTED + port_app_oam_0_port_replacement_policy: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_app_oam_0_port_network: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + vm_flavor_name: + type: string + required: true + status: SUPPORTED + port_app_data_0_port_fixed_ips: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + vm_image_name: + type: string + required: true + status: SUPPORTED + port_app_oam_0_port_name: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + compute_app_availability_zone: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + compute_app_config_drive: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean + port_app_oam_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + port_app_data_0_port_network: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_app_data_0_port_network_role_tag: + type: string + required: true + status: SUPPORTED + port_app_oam_0_port_network_role_tag: + type: string + required: true + status: SUPPORTED + port_app_data_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + port_app_data_0_port_vlan_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_app_internal_0_port_network_role_tag: + type: string + required: true + status: SUPPORTED + port_app_oam_0_port_network_role: + type: string + required: true + status: SUPPORTED + compute_app_metadata: + type: list + required: true + status: SUPPORTED + entry_schema: + type: json + port_app_data_0_port_ip_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_app_internal_0_port_network_role: + type: string + required: true + status: SUPPORTED + port_app_internal_0_port_subnetpoolid: + type: string + required: true + status: SUPPORTED + port_app_internal_0_port_allowed_address_pairs: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.heat.network.AddressPair + port_app_data_0_port_subnetpoolid: + type: string + required: true + status: SUPPORTED + port_app_oam_0_port_subnetpoolid: + type: string + required: true + status: SUPPORTED + port_app_internal_0_port_order: + type: integer + required: true + status: SUPPORTED + port_app_internal_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + port_app_data_0_port_name: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_app_oam_0_port_ip_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_app_oam_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + port_app_internal_0_port_network: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_app_data_0_port_security_groups: + type: list + required: true + status: SUPPORTED + entry_schema: + type: json + port_app_oam_0_port_order: + type: integer + required: true + status: SUPPORTED + port_app_internal_0_port_vlan_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_app_internal_0_port_replacement_policy: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_app_internal_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + port_app_data_0_port_order: + type: integer + required: true + status: SUPPORTED + port_app_oam_0_port_security_groups: + type: list + required: true + status: SUPPORTED + entry_schema: + type: json + port_app_internal_0_port_name: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + index_value: + type: integer + description: Index value of this substitution service template runtime instance + required: false + default: 0 + status: SUPPORTED + constraints: + - greater_or_equal: 0 + port_app_oam_0_port_fixed_ips: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_app_data_0_port_replacement_policy: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + compute_app_name: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_app_oam_0_port_vlan_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_app_internal_0_port_security_groups: + type: list + required: true + status: SUPPORTED + entry_schema: + type: json + compute_app_image_update_policy: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + compute_app_user_data_format: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + requirements: + - dependency_app: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - local_storage_app: + capability: tosca.capabilities.Attachment + node: tosca.nodes.BlockStorage + relationship: tosca.relationships.AttachesTo + occurrences: + - 0 + - UNBOUNDED + - dependency_app_app_internal_0_port: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_app_app_internal_0_port: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 + - dependency_app_app_oam_0_port: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_app_app_oam_0_port: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 + - dependency_app_app_data_0_port: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_app_app_data_0_port: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 + capabilities: + disk.device.write.requests_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + feature_app_app_oam_0_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + disk.device.capacity_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.root.size_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.iops_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets.rate_app_app_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes.rate_app_app_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes_app_app_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets.rate_app_app_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + cpu.delta_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + host_app: + type: tosca.capabilities.Container + valid_source_types: + - tosca.nodes.SoftwareComponent + occurrences: + - 1 + - UNBOUNDED + disk.write.bytes.rate_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.write.requests.rate_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.latency_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.ephemeral.size_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes_app_app_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.write.requests.rate_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.read.bytes_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + binding_app_app_data_0_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED + disk.device.read.requests.rate_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + vcpus_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.read.requests_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + feature_app_app_internal_0_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + cpu_util_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + endpoint_app: + type: tosca.capabilities.Endpoint.Admin + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets.rate_app_app_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.iops_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.write.bytes_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.read.bytes.rate_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.latency_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + memory.usage_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + attachment_app_app_oam_0_port: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED + os_app: + type: tosca.capabilities.OperatingSystem + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets_app_app_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets_app_app_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes.rate_app_app_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes.rate_app_app_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + memory_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.read.requests_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outpoing.packets_app_app_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes_app_app_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.write.bytes_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.allocation_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes_app_app_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + attachment_app_app_data_0_port: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes.rate_app_app_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.packets.rate_app_app_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes.rate_app_app_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + memory.resident_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.packets.rate_app_app_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes.rate_app_app_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + cpu_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + feature_app_app_data_0_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + disk.usage_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + feature_app: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + disk.read.bytes_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + scalable_app: + type: tosca.capabilities.Scalable + occurrences: + - 1 + - UNBOUNDED + network.outgoing.packets.rate_app_app_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.read.bytes.rate_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.allocation_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + binding_app: + type: tosca.capabilities.network.Bindable + occurrences: + - 1 + - UNBOUNDED + disk.device.write.bytes.rate_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + binding_app_app_oam_0_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED + disk.device.usage_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outpoing.packets_app_app_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes_app_app_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes_app_app_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.write.requests_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + binding_app_app_internal_0_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED + instance_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + attachment_app_app_internal_0_port: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets_app_app_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outpoing.packets_app_app_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.capacity_app: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + org.openecomp.resource.abstract.nodes.iox: + derived_from: org.openecomp.resource.abstract.nodes.VFC + properties: + port_iox_data_0_port_ip_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_iox_oam_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + port_iox_internal_0_port_network: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_iox_data_0_port_name: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + vm_flavor_name: + type: string + required: true + status: SUPPORTED + port_iox_data_0_port_subnetpoolid: + type: string + required: true + status: SUPPORTED + port_iox_data_0_port_allowed_address_pairs: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.heat.network.AddressPair + port_iox_internal_0_port_ip_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + vm_image_name: + type: string + required: true + status: SUPPORTED + port_iox_oam_0_port_name: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_iox_oam_0_port_network_role_tag: + type: string + required: true + status: SUPPORTED + port_iox_oam_0_port_subnetpoolid: + type: string + required: true + status: SUPPORTED + compute_iox_user_data_format: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_iox_data_0_port_fixed_ips: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_iox_internal_0_port_allowed_address_pairs: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.heat.network.AddressPair + compute_iox_config_drive: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean + port_iox_internal_0_port_order: + type: integer + required: true + status: SUPPORTED + port_iox_oam_0_port_replacement_policy: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_iox_data_0_port_security_groups: + type: list + required: true + status: SUPPORTED + entry_schema: + type: json + port_iox_internal_0_port_vlan_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + compute_iox_image_update_policy: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_iox_oam_0_port_order: + type: integer + required: true + status: SUPPORTED + port_iox_oam_0_port_network: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_iox_internal_0_port_security_groups: + type: list + required: true + status: SUPPORTED + entry_schema: + type: json + port_iox_oam_0_port_vlan_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_iox_data_0_port_order: + type: integer + required: true + status: SUPPORTED + port_iox_internal_0_port_name: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_iox_oam_0_port_fixed_ips: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_iox_data_0_port_vlan_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + compute_iox_name: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_iox_data_0_port_network: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_iox_internal_0_port_replacement_policy: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_iox_internal_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + port_iox_data_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + port_iox_data_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + port_iox_oam_0_port_network_role: + type: string + required: true + status: SUPPORTED + port_iox_internal_0_port_network_role: + type: string + required: true + status: SUPPORTED + port_iox_data_0_port_network_role: + type: string + required: true + status: SUPPORTED + port_iox_data_0_port_replacement_policy: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + compute_iox_metadata: + type: list + required: true + status: SUPPORTED + entry_schema: + type: json + index_value: + type: integer + description: Index value of this substitution service template runtime instance + required: false + default: 0 + status: SUPPORTED + constraints: + - greater_or_equal: 0 + port_iox_internal_0_port_network_role_tag: + type: string + required: true + status: SUPPORTED + port_iox_oam_0_port_allowed_address_pairs: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.heat.network.AddressPair + port_iox_internal_0_port_subnetpoolid: + type: string + required: true + status: SUPPORTED + compute_iox_availability_zone: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_iox_oam_0_port_security_groups: + type: list + required: true + status: SUPPORTED + entry_schema: + type: json + port_iox_oam_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + port_iox_oam_0_port_ip_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_iox_internal_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + port_iox_data_0_port_network_role_tag: + type: string + required: true + status: SUPPORTED + requirements: + - dependency_iox_iox_data_0_port: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_iox_iox_data_0_port: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 + - dependency_iox: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - local_storage_iox: + capability: tosca.capabilities.Attachment + node: tosca.nodes.BlockStorage + relationship: tosca.relationships.AttachesTo + occurrences: + - 0 + - UNBOUNDED + - dependency_iox_iox_oam_0_port: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_iox_iox_oam_0_port: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 + - dependency_iox_iox_internal_0_port: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_iox_iox_internal_0_port: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 + capabilities: + cpu.delta_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.latency_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + memory_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.packets.rate_iox_iox_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.read.bytes_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.read.requests_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.write.requests_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes_iox_iox_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets.rate_iox_iox_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.read.requests.rate_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.write.requests.rate_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.capacity_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.write.bytes_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.write.requests_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.allocation_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + feature_iox_iox_data_0_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + disk.root.size_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + vcpus_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.iops_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes.rate_iox_iox_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.read.bytes.rate_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes_iox_iox_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + attachment_iox_iox_data_0_port: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets.rate_iox_iox_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.latency_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets.rate_iox_iox_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes_iox_iox_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + cpu_util_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + binding_iox_iox_oam_0_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED + network.incoming.bytes_iox_iox_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.capacity_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.iops_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outpoing.packets_iox_iox_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + endpoint_iox: + type: tosca.capabilities.Endpoint.Admin + occurrences: + - 1 + - UNBOUNDED + binding_iox_iox_internal_0_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED + disk.device.read.requests_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + memory.usage_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + attachment_iox_iox_internal_0_port: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes_iox_iox_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + cpu_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + feature_iox_iox_oam_0_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + disk.usage_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + scalable_iox: + type: tosca.capabilities.Scalable + occurrences: + - 1 + - UNBOUNDED + feature_iox: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + memory.resident_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.write.bytes_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.packets.rate_iox_iox_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + binding_iox_iox_data_0_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED + network.outgoing.bytes.rate_iox_iox_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes.rate_iox_iox_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes.rate_iox_iox_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.allocation_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.packets.rate_iox_iox_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + binding_iox: + type: tosca.capabilities.network.Bindable + occurrences: + - 1 + - UNBOUNDED + os_iox: + type: tosca.capabilities.OperatingSystem + occurrences: + - 1 + - UNBOUNDED + host_iox: + type: tosca.capabilities.Container + valid_source_types: + - tosca.nodes.SoftwareComponent + occurrences: + - 1 + - UNBOUNDED + disk.write.requests.rate_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.write.bytes.rate_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.read.bytes_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets_iox_iox_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + instance_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.ephemeral.size_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outpoing.packets_iox_iox_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + attachment_iox_iox_oam_0_port: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED + feature_iox_iox_internal_0_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets_iox_iox_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outpoing.packets_iox_iox_oam_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.read.bytes.rate_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes.rate_iox_iox_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets_iox_iox_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.write.bytes.rate_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes.rate_iox_iox_internal_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + disk.device.usage_iox: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes_iox_iox_data_0_port: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/MainServiceTemplate.yaml new file mode 100644 index 0000000000..22ad2137d2 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/MainServiceTemplate.yaml @@ -0,0 +1,1542 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +metadata: + template_name: Main +imports: +- openecomp_heat_index: + file: openecomp-heat/_index.yml +- GlobalSubstitutionTypes: + file: GlobalSubstitutionTypesServiceTemplate.yaml +topology_template: + inputs: + app_volume_size_0: + hidden: false + immutable: false + type: float + description: Size of Service Data 1 Volume for app VMs + default: 130 + constraints: + - in_range: + - 1 + - 9999 + plt_data_floating_v6_ip: + hidden: false + immutable: false + type: string + description: Floating IPv6 for plt VMs on the DATA network + iox_data_floating_v6_ip: + hidden: false + immutable: false + type: string + description: Floating IPv6 for iox VMs on the DATA network + plt_data_v6_ips: + hidden: false + immutable: false + type: list + description: Fixed IPv6 assignments for plt VMs on the DATA network + entry_schema: + type: string + iox_data_v6_ips: + hidden: false + immutable: false + type: list + description: Fixed IPv6 assignments for iox VMs on the DATA network + entry_schema: + type: string + plt_volume_shared_id_0: + hidden: false + immutable: false + type: string + description: ServiceData2 volume for plt VMs + plt_oam_ips: + hidden: false + immutable: false + type: list + description: Fixed IPv4 assignments for plt VMs on the OAM network + entry_schema: + type: string + openstack_cacert: + label: OpenStack CA Certificate + hidden: false + immutable: false + type: string + description: CA Certificate to use for OpenStack client calls. + default: '' + siteinfo_url: + hidden: false + immutable: false + type: string + description: siteinfo url + plt_pair_uuid: + hidden: false + immutable: false + type: string + description: UUID for plt VM pair + default: 573f433e25ba8 + app_names: + hidden: false + immutable: false + type: list + description: VM names for app VMs + entry_schema: + type: string + iox_names: + hidden: false + immutable: false + type: list + description: VM names for iox VMs + entry_schema: + type: string + plt_servicedata2_volume_size_0: + hidden: false + immutable: false + type: float + description: Size of Service Data 2 Volume for plt VMs + default: 150 + constraints: + - in_range: + - 1 + - 9999 + app_volume_id_0: + hidden: false + immutable: false + type: string + description: ServiceData1 volume for first app VM + plt_servicedata1_volume_size_0: + hidden: false + immutable: false + type: float + description: Size of Service Data 1 Volume for plt VMs + default: 70 + constraints: + - in_range: + - 1 + - 9999 + internal_subnet_cidr: + hidden: false + immutable: false + type: string + description: IP subnet for internal network + default: 169.30.12.0/24 + app_volume_id_1: + hidden: false + immutable: false + type: string + description: ServiceData1 volume for second app VM + domain: + hidden: false + immutable: false + type: string + description: What is this domain? + app_volume_id_2: + hidden: false + immutable: false + type: string + description: ServiceData1 volume for third app VM + plt_image_name: + hidden: false + immutable: false + type: string + description: Pilot image + default: USP_IECF-PILOT_30.3.3-mcas4.4.6.qcow2 + app_image_name: + hidden: false + immutable: false + type: string + description: App image + default: USP_IECF-APP_30.3.3-mcas4.4.6.qcow2 + plt_oam_floating_ip: + hidden: false + immutable: false + type: string + description: Floating IPv4 for plt VMs on the OAM network + plt_flavor_name: + hidden: false + immutable: false + type: string + description: Pilot flavor + default: nd.c2r4d50 + vf_module_id: + hidden: false + immutable: false + type: string + description: Unique ID for this VF Module instance + iox_flavor_name: + hidden: false + immutable: false + type: string + description: IO flavor + default: nd.c2r4d50 + app_security_groups: + hidden: false + immutable: false + type: list + description: App security group + entry_schema: + type: string + vnf_name: + hidden: false + immutable: false + type: string + description: Unique name for this VF instance + config_server_cacert: + label: configure server CA Certificate + hidden: false + immutable: false + type: string + description: CA Certificate for download from siteinfo url and config url. + default: '' + vf_module_name: + hidden: false + immutable: false + type: string + description: Unique name for this VF Module instance + oam_security_groups: + hidden: false + immutable: false + type: list + description: OAM security group + entry_schema: + type: string + iox_oam_ips: + hidden: false + immutable: false + type: list + description: Fixed IPv4 assignments for iox VMs on the OAM network + entry_schema: + type: string + vnf_id: + hidden: false + immutable: false + type: string + description: Unique ID for this VF instance + iox_image_name: + hidden: false + immutable: false + type: string + description: IO image + default: USP_IECF-IO_30.3.3-mcas4.4.6.qcow2 + availability_zone_0: + hidden: false + immutable: false + type: string + description: First availability zone ID or Name + ignore_siteinfo_audit: + label: Siteinfo Audit Ignore Flag + hidden: false + immutable: false + type: string + description: Set to true if siteinfo audit failure should not prevent system installation + availability_zone_1: + hidden: false + immutable: false + type: string + description: Second availability zone ID or Name + data_net_id: + hidden: false + immutable: false + type: string + description: DATA network + plt_names: + hidden: false + immutable: false + type: list + description: VM names for plt VMs + entry_schema: + type: string + plt_security_groups: + hidden: false + immutable: false + type: list + description: Pilot security group + entry_schema: + type: string + app_data_v6_ips: + hidden: false + immutable: false + type: list + description: Fixed IPv6 assignments for app VMs on the DATA network + entry_schema: + type: string + iox_security_groups: + hidden: false + immutable: false + type: list + description: IO security group + entry_schema: + type: string + ieccf_debug: + hidden: false + immutable: false + type: string + description: IECCF debug flag + default: false + name_server_2: + hidden: false + immutable: false + type: string + description: IP address of name server 2 + app_oam_ips: + hidden: false + immutable: false + type: list + description: Fixed IPv4 assignments for app VMs on the OAM network + entry_schema: + type: string + app_flavor_name: + hidden: false + immutable: false + type: string + description: App flavor + default: nd.c2r4d50 + name_server_1: + hidden: false + immutable: false + type: string + description: IP address of name server 1 + oam_net_id: + hidden: false + immutable: false + type: string + description: OAM network + iox_oam_floating_ip: + hidden: false + immutable: false + type: string + description: Floating IPv4 for iox VMs on the OAM network + ieccf_config_url: + hidden: false + immutable: false + type: string + description: IECCF configuration package URL + iox_pair_uuid: + hidden: false + immutable: false + type: string + description: UUID for iox VM pair + default: 573f433e284b4 + plt_volume_id_0: + hidden: false + immutable: false + type: string + description: ServiceData1 volume for first plt VM + plt_volume_id_1: + hidden: false + immutable: false + type: string + description: ServiceData1 volume for second plt VM + data_security_groups: + hidden: false + immutable: false + type: list + description: DATA security group + entry_schema: + type: string + node_templates: + network:data:vip:m001:m002: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: AUTO + ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + security_groups: + get_input: data_security_groups + fixed_ips: + - ip_address: + get_input: plt_data_floating_v6_ip + mac_requirements: + mac_count_required: + is_required: false + name: + str_replace: + template: $vnf_name-network_data_vip_m001_m002 + params: + $vnf_name: + get_input: vnf_name + network_role_tag: data + network: + get_input: data_net_id + network:data:vip:m004:m003: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: AUTO + ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + security_groups: + get_input: data_security_groups + fixed_ips: + - ip_address: + get_input: iox_data_floating_v6_ip + mac_requirements: + mac_count_required: + is_required: false + name: + str_replace: + template: $vnf_name-network_data_vip_m004_m003 + params: + $vnf_name: + get_input: vnf_name + network_role_tag: data + network: + get_input: data_net_id + plt_volume_shared_0: + type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume + properties: + size: '(get_input : plt_servicedata2_volume_size_0) * 1024' + name: + str_replace: + template: $vnf_name-plt_volume_shared_0 + params: + $vnf_name: + get_input: vnf_name + network:oam:vip:m001:m002: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: AUTO + ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + security_groups: + get_input: oam_security_groups + fixed_ips: + - ip_address: + get_input: plt_oam_floating_ip + mac_requirements: + mac_count_required: + is_required: false + name: + str_replace: + template: $vnf_name-network_oam_vip_m001_m002 + params: + $vnf_name: + get_input: vnf_name + network_role_tag: oam + network: + get_input: oam_net_id + app_volume_1: + type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume + properties: + size: '(get_input : app_volume_size_0) * 1024' + name: + str_replace: + template: $vnf_name-app_volume_1 + params: + $vnf_name: + get_input: vnf_name + app_volume_2: + type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume + properties: + size: '(get_input : app_volume_size_0) * 1024' + name: + str_replace: + template: $vnf_name-app_volume_2 + params: + $vnf_name: + get_input: vnf_name + app_volume_0: + type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume + properties: + size: '(get_input : app_volume_size_0) * 1024' + name: + str_replace: + template: $vnf_name-app_volume_0 + params: + $vnf_name: + get_input: vnf_name + plt_volume_1: + type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume + properties: + size: '(get_input : plt_servicedata1_volume_size_0) * 1024' + name: + str_replace: + template: $vnf_name-plt_volume_1 + params: + $vnf_name: + get_input: vnf_name + plt_volume_0: + type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume + properties: + size: '(get_input : plt_servicedata1_volume_size_0) * 1024' + name: + str_replace: + template: $vnf_name-plt_volume_0 + params: + $vnf_name: + get_input: vnf_name + abstract_iox_0: + type: org.openecomp.resource.abstract.nodes.iox + directives: + - substitutable + properties: + port_iox_data_0_port_ip_requirements: + - ip_version: 6 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + port_iox_internal_0_port_network: + - internal_net_0 + port_iox_data_0_port_name: + - str_replace: + template: $vnf_name-iox_data_1_port_0 + params: + $vnf_name: + get_input: vnf_name + vm_flavor_name: + get_input: iox_flavor_name + port_iox_data_0_port_allowed_address_pairs: + - ip_address: + get_attribute: + - network:data:vip:m004:m003 + - fixed_ips + - 0 + - ip_address + port_iox_internal_0_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: true + vm_image_name: + get_input: iox_image_name + port_iox_oam_0_port_name: + - str_replace: + template: $vnf_name-iox_oam_1_port_0 + params: + $vnf_name: + get_input: vnf_name + port_iox_oam_0_port_network_role_tag: oam + compute_iox_user_data_format: + - RAW + port_iox_data_0_port_fixed_ips: + - ip_address: + get_input: + - iox_data_v6_ips + - 1 + port_iox_internal_0_port_allowed_address_pairs: + - ip_address: + get_input: internal_subnet_cidr + compute_iox_config_drive: + - true + port_iox_oam_0_port_replacement_policy: + - AUTO + port_iox_data_0_port_security_groups: + - get_input: data_security_groups + compute_iox_image_update_policy: + - REBUILD + port_iox_oam_0_port_network: + - get_input: oam_net_id + port_iox_internal_0_port_security_groups: + - get_input: iox_security_groups + port_iox_internal_0_port_name: + - str_replace: + template: $vnf_name-iox_internal_1_port_0 + params: + $vnf_name: + get_input: vnf_name + port_iox_oam_0_port_fixed_ips: + - ip_address: + get_input: + - iox_oam_ips + - 1 + compute_iox_name: + - get_input: + - iox_names + - 1 + port_iox_data_0_port_network: + - get_input: data_net_id + port_iox_internal_0_port_replacement_policy: + - AUTO + port_iox_internal_0_port_mac_requirements: + mac_count_required: + is_required: false + port_iox_data_0_port_mac_requirements: + mac_count_required: + is_required: false + port_iox_data_0_port_replacement_policy: + - AUTO + compute_iox_metadata: + - vf_module_id: + get_input: vf_module_id + vm_role: iox + vnf_id: + get_input: vnf_id + vnf_name: + get_input: vnf_name + vf_module_name: + get_input: vf_module_name + port_iox_oam_0_port_allowed_address_pairs: + - ip_address: + get_attribute: + - network:io:vip:m004:m003 + - fixed_ips + - 0 + - ip_address + compute_iox_availability_zone: + - get_input: availability_zone_1 + port_iox_oam_0_port_security_groups: + - get_input: oam_security_groups + port_iox_oam_0_port_mac_requirements: + mac_count_required: + is_required: false + port_iox_oam_0_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + port_iox_data_0_port_network_role_tag: data + service_template_filter: + substitute_service_template: Nested_ioxServiceTemplate.yaml + count: 1 + index_value: + get_property: + - SELF + - service_template_filter + - index_value + requirements: + - link_iox_iox_internal_0_port: + capability: tosca.capabilities.network.Linkable + node: internal_net_0 + relationship: tosca.relationships.network.LinksTo + abstract_app_0: + type: org.openecomp.resource.abstract.nodes.app + directives: + - substitutable + properties: + port_app_data_0_port_mac_requirements: + mac_count_required: + is_required: false + compute_app_scheduler_hints: + - group: app_server_group_group + port_app_internal_0_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: true + port_app_oam_0_port_replacement_policy: + - AUTO + port_app_oam_0_port_network: + - get_input: oam_net_id + vm_flavor_name: + get_input: app_flavor_name + port_app_data_0_port_fixed_ips: + - ip_address: + get_input: + - app_data_v6_ips + - 2 + vm_image_name: + get_input: app_image_name + port_app_oam_0_port_name: + - str_replace: + template: $vnf_name-app_oam_2_port_0 + params: + $vnf_name: + get_input: vnf_name + compute_app_availability_zone: + - get_input: availability_zone_0 + compute_app_config_drive: + - true + port_app_oam_0_port_mac_requirements: + mac_count_required: + is_required: false + port_app_data_0_port_network: + - get_input: data_net_id + port_app_data_0_port_network_role_tag: data + port_app_oam_0_port_network_role_tag: oam + compute_app_metadata: + - vf_module_id: + get_input: vf_module_id + vm_role: app + vnf_id: + get_input: vnf_id + vnf_name: + get_input: vnf_name + vf_module_name: + get_input: vf_module_name + port_app_data_0_port_ip_requirements: + - ip_version: 6 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + port_app_internal_0_port_allowed_address_pairs: + - ip_address: + get_input: internal_subnet_cidr + port_app_data_0_port_name: + - str_replace: + template: $vnf_name-app_data_2_port_0 + params: + $vnf_name: + get_input: vnf_name + port_app_oam_0_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + port_app_internal_0_port_network: + - internal_net_0 + port_app_data_0_port_security_groups: + - get_input: data_security_groups + port_app_internal_0_port_replacement_policy: + - AUTO + port_app_internal_0_port_mac_requirements: + mac_count_required: + is_required: false + port_app_oam_0_port_security_groups: + - get_input: oam_security_groups + port_app_internal_0_port_name: + - str_replace: + template: $vnf_name-app_internal_2_port_0 + params: + $vnf_name: + get_input: vnf_name + port_app_oam_0_port_fixed_ips: + - ip_address: + get_input: + - app_oam_ips + - 2 + port_app_data_0_port_replacement_policy: + - AUTO + compute_app_name: + - get_input: + - app_names + - 2 + port_app_internal_0_port_security_groups: + - get_input: app_security_groups + compute_app_image_update_policy: + - REBUILD + compute_app_user_data_format: + - RAW + service_template_filter: + substitute_service_template: Nested_appServiceTemplate.yaml + count: 1 + index_value: + get_property: + - SELF + - service_template_filter + - index_value + requirements: + - link_app_app_internal_0_port: + capability: tosca.capabilities.network.Linkable + node: internal_net_0 + relationship: tosca.relationships.network.LinksTo + network:system:vip:m001:m002: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: AUTO + ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: true + security_groups: + get_input: plt_security_groups + mac_requirements: + mac_count_required: + is_required: false + allowed_address_pairs: + - ip_address: + get_input: internal_subnet_cidr + name: + str_replace: + template: $vnf_name-network_system_vip_m001_m002 + params: + $vnf_name: + get_input: vnf_name + network: internal_net_0 + requirements: + - link: + capability: tosca.capabilities.network.Linkable + node: internal_net_0 + relationship: tosca.relationships.network.LinksTo + abstract_iox_1: + type: org.openecomp.resource.abstract.nodes.iox + directives: + - substitutable + properties: + port_iox_data_0_port_ip_requirements: + - ip_version: 6 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + port_iox_internal_0_port_network: + - internal_net_0 + port_iox_data_0_port_name: + - str_replace: + template: $vnf_name-iox_data_0_port_0 + params: + $vnf_name: + get_input: vnf_name + vm_flavor_name: + get_input: iox_flavor_name + port_iox_data_0_port_allowed_address_pairs: + - ip_address: + get_attribute: + - network:data:vip:m004:m003 + - fixed_ips + - 0 + - ip_address + port_iox_internal_0_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: true + vm_image_name: + get_input: iox_image_name + port_iox_oam_0_port_name: + - str_replace: + template: $vnf_name-iox_oam_0_port_0 + params: + $vnf_name: + get_input: vnf_name + port_iox_oam_0_port_network_role_tag: oam + compute_iox_user_data_format: + - RAW + port_iox_data_0_port_fixed_ips: + - ip_address: + get_input: + - iox_data_v6_ips + - 0 + port_iox_internal_0_port_allowed_address_pairs: + - ip_address: + get_input: internal_subnet_cidr + compute_iox_config_drive: + - true + port_iox_oam_0_port_replacement_policy: + - AUTO + port_iox_data_0_port_security_groups: + - get_input: data_security_groups + compute_iox_image_update_policy: + - REBUILD + port_iox_oam_0_port_network: + - get_input: oam_net_id + port_iox_internal_0_port_security_groups: + - get_input: iox_security_groups + port_iox_internal_0_port_name: + - str_replace: + template: $vnf_name-iox_internal_0_port_0 + params: + $vnf_name: + get_input: vnf_name + port_iox_oam_0_port_fixed_ips: + - ip_address: + get_input: + - iox_oam_ips + - 0 + compute_iox_name: + - get_input: + - iox_names + - 0 + port_iox_data_0_port_network: + - get_input: data_net_id + port_iox_internal_0_port_replacement_policy: + - AUTO + port_iox_internal_0_port_mac_requirements: + mac_count_required: + is_required: false + port_iox_data_0_port_mac_requirements: + mac_count_required: + is_required: false + port_iox_data_0_port_replacement_policy: + - AUTO + compute_iox_metadata: + - vf_module_id: + get_input: vf_module_id + vm_role: iox + vnf_id: + get_input: vnf_id + vnf_name: + get_input: vnf_name + vf_module_name: + get_input: vf_module_name + port_iox_oam_0_port_allowed_address_pairs: + - ip_address: + get_attribute: + - network:io:vip:m004:m003 + - fixed_ips + - 0 + - ip_address + compute_iox_availability_zone: + - get_input: availability_zone_0 + port_iox_oam_0_port_security_groups: + - get_input: oam_security_groups + port_iox_oam_0_port_mac_requirements: + mac_count_required: + is_required: false + port_iox_oam_0_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + port_iox_data_0_port_network_role_tag: data + service_template_filter: + substitute_service_template: Nested_ioxServiceTemplate.yaml + count: 1 + index_value: + get_property: + - SELF + - service_template_filter + - index_value + requirements: + - link_iox_iox_internal_0_port: + capability: tosca.capabilities.network.Linkable + node: internal_net_0 + relationship: tosca.relationships.network.LinksTo + abstract_app_2: + type: org.openecomp.resource.abstract.nodes.app + directives: + - substitutable + properties: + port_app_data_0_port_mac_requirements: + mac_count_required: + is_required: false + compute_app_scheduler_hints: + - group: app_server_group_group + port_app_internal_0_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: true + port_app_oam_0_port_replacement_policy: + - AUTO + port_app_oam_0_port_network: + - get_input: oam_net_id + vm_flavor_name: + get_input: app_flavor_name + port_app_data_0_port_fixed_ips: + - ip_address: + get_input: + - app_data_v6_ips + - 1 + vm_image_name: + get_input: app_image_name + port_app_oam_0_port_name: + - str_replace: + template: $vnf_name-app_oam_1_port_0 + params: + $vnf_name: + get_input: vnf_name + compute_app_availability_zone: + - get_input: availability_zone_1 + compute_app_config_drive: + - true + port_app_oam_0_port_mac_requirements: + mac_count_required: + is_required: false + port_app_data_0_port_network: + - get_input: data_net_id + port_app_data_0_port_network_role_tag: data + port_app_oam_0_port_network_role_tag: oam + compute_app_metadata: + - vf_module_id: + get_input: vf_module_id + vm_role: app + vnf_id: + get_input: vnf_id + vnf_name: + get_input: vnf_name + vf_module_name: + get_input: vf_module_name + port_app_data_0_port_ip_requirements: + - ip_version: 6 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + port_app_internal_0_port_allowed_address_pairs: + - ip_address: + get_input: internal_subnet_cidr + port_app_data_0_port_name: + - str_replace: + template: $vnf_name-app_data_1_port_0 + params: + $vnf_name: + get_input: vnf_name + port_app_oam_0_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + port_app_internal_0_port_network: + - internal_net_0 + port_app_data_0_port_security_groups: + - get_input: data_security_groups + port_app_internal_0_port_replacement_policy: + - AUTO + port_app_internal_0_port_mac_requirements: + mac_count_required: + is_required: false + port_app_oam_0_port_security_groups: + - get_input: oam_security_groups + port_app_internal_0_port_name: + - str_replace: + template: $vnf_name-app_internal_1_port_0 + params: + $vnf_name: + get_input: vnf_name + port_app_oam_0_port_fixed_ips: + - ip_address: + get_input: + - app_oam_ips + - 1 + port_app_data_0_port_replacement_policy: + - AUTO + compute_app_name: + - get_input: + - app_names + - 1 + port_app_internal_0_port_security_groups: + - get_input: app_security_groups + compute_app_image_update_policy: + - REBUILD + compute_app_user_data_format: + - RAW + service_template_filter: + substitute_service_template: Nested_appServiceTemplate.yaml + count: 1 + index_value: + get_property: + - SELF + - service_template_filter + - index_value + requirements: + - link_app_app_internal_0_port: + capability: tosca.capabilities.network.Linkable + node: internal_net_0 + relationship: tosca.relationships.network.LinksTo + abstract_app_1: + type: org.openecomp.resource.abstract.nodes.app + directives: + - substitutable + properties: + port_app_data_0_port_mac_requirements: + mac_count_required: + is_required: false + compute_app_scheduler_hints: + - group: app_server_group_group + port_app_internal_0_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: true + port_app_oam_0_port_replacement_policy: + - AUTO + port_app_oam_0_port_network: + - get_input: oam_net_id + vm_flavor_name: + get_input: app_flavor_name + port_app_data_0_port_fixed_ips: + - ip_address: + get_input: + - app_data_v6_ips + - 0 + vm_image_name: + get_input: app_image_name + port_app_oam_0_port_name: + - str_replace: + template: $vnf_name-app_oam_0_port_0 + params: + $vnf_name: + get_input: vnf_name + compute_app_availability_zone: + - get_input: availability_zone_0 + compute_app_config_drive: + - true + port_app_oam_0_port_mac_requirements: + mac_count_required: + is_required: false + port_app_data_0_port_network: + - get_input: data_net_id + port_app_data_0_port_network_role_tag: data + port_app_oam_0_port_network_role_tag: oam + compute_app_metadata: + - vf_module_id: + get_input: vf_module_id + vm_role: app + vnf_id: + get_input: vnf_id + vnf_name: + get_input: vnf_name + vf_module_name: + get_input: vf_module_name + port_app_data_0_port_ip_requirements: + - ip_version: 6 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + port_app_internal_0_port_allowed_address_pairs: + - ip_address: + get_input: internal_subnet_cidr + port_app_data_0_port_name: + - str_replace: + template: $vnf_name-app_data_0_port_0 + params: + $vnf_name: + get_input: vnf_name + port_app_oam_0_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + port_app_internal_0_port_network: + - internal_net_0 + port_app_data_0_port_security_groups: + - get_input: data_security_groups + port_app_internal_0_port_replacement_policy: + - AUTO + port_app_internal_0_port_mac_requirements: + mac_count_required: + is_required: false + port_app_oam_0_port_security_groups: + - get_input: oam_security_groups + port_app_internal_0_port_name: + - str_replace: + template: $vnf_name-app_internal_0_port_0 + params: + $vnf_name: + get_input: vnf_name + port_app_oam_0_port_fixed_ips: + - ip_address: + get_input: + - app_oam_ips + - 0 + port_app_data_0_port_replacement_policy: + - AUTO + compute_app_name: + - get_input: + - app_names + - 0 + port_app_internal_0_port_security_groups: + - get_input: app_security_groups + compute_app_image_update_policy: + - REBUILD + compute_app_user_data_format: + - RAW + service_template_filter: + substitute_service_template: Nested_appServiceTemplate.yaml + count: 1 + index_value: + get_property: + - SELF + - service_template_filter + - index_value + requirements: + - link_app_app_internal_0_port: + capability: tosca.capabilities.network.Linkable + node: internal_net_0 + relationship: tosca.relationships.network.LinksTo + internal_net_0: + type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net + properties: + dhcp_enabled: 'True' + network_name: + str_replace: + template: $prefix-internal_net_0 + params: + $prefix: + get_input: vnf_name + subnets: + internal_0_subnet_0: + enable_dhcp: 'True' + name: + str_replace: + template: $vnf_name-internal_0_subnet_0 + params: + $vnf_name: + get_input: vnf_name + cidr: + get_input: internal_subnet_cidr + gateway_ip: '' + abstract_plt_1: + type: org.openecomp.resource.abstract.nodes.plt + directives: + - substitutable + properties: + port_plt_internal_0_port_allowed_address_pairs: + - ip_address: + get_input: internal_subnet_cidr + port_plt_oam_0_port_security_groups: + - get_input: oam_security_groups + compute_plt_config_drive: + - true + vm_flavor_name: + get_input: plt_flavor_name + port_plt_data_0_port_fixed_ips: + - ip_address: + get_input: + - plt_data_v6_ips + - 1 + vm_image_name: + get_input: plt_image_name + compute_plt_availability_zone: + - get_input: availability_zone_1 + port_plt_oam_0_port_name: + - str_replace: + template: $vnf_name-plt_oam_0_port_0 + params: + $vnf_name: + get_input: vnf_name + port_plt_internal_0_port_security_groups: + - get_input: plt_security_groups + port_plt_oam_0_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + port_plt_data_0_port_mac_requirements: + mac_count_required: + is_required: false + port_plt_data_0_port_allowed_address_pairs: + - ip_address: + get_attribute: + - network:data:vip:m001:m002 + - fixed_ips + - 0 + - ip_address + port_plt_data_0_port_ip_requirements: + - ip_version: 6 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + port_plt_internal_0_port_network: + - internal_net_0 + compute_plt_metadata: + - vf_module_id: + get_input: vf_module_id + vm_role: plt + vnf_id: + get_input: vnf_id + vnf_name: + get_input: vnf_name + vf_module_name: + get_input: vf_module_name + port_plt_data_0_port_security_groups: + - get_input: data_security_groups + port_plt_internal_0_port_mac_requirements: + mac_count_required: + is_required: false + port_plt_data_0_port_network_role_tag: data + port_plt_internal_0_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: true + port_plt_oam_0_port_fixed_ips: + - ip_address: + get_input: + - plt_oam_ips + - 0 + port_plt_oam_0_port_network_role_tag: oam + port_plt_internal_0_port_name: + - str_replace: + template: $vnf_name-plt_internal_0_port_0 + params: + $vnf_name: + get_input: vnf_name + compute_plt_image_update_policy: + - REBUILD + port_plt_oam_0_port_allowed_address_pairs: + - ip_address: + get_attribute: + - network:oam:vip:m001:m002 + - fixed_ips + - 0 + - ip_address + port_plt_data_0_port_name: + - str_replace: + template: $vnf_name-plt_data_0_port_0 + params: + $vnf_name: + get_input: vnf_name + compute_plt_user_data_format: + - RAW + port_plt_internal_0_port_replacement_policy: + - AUTO + port_plt_data_0_port_network: + - get_input: data_net_id + port_plt_oam_0_port_network: + - get_input: oam_net_id + port_plt_oam_0_port_replacement_policy: + - AUTO + port_plt_data_0_port_replacement_policy: + - AUTO + port_plt_oam_0_port_mac_requirements: + mac_count_required: + is_required: false + compute_plt_name: + - get_input: + - plt_names + - 1 + service_template_filter: + substitute_service_template: Nested_pltServiceTemplate.yaml + count: 1 + index_value: + get_property: + - SELF + - service_template_filter + - index_value + requirements: + - link_plt_plt_internal_0_port: + capability: tosca.capabilities.network.Linkable + node: internal_net_0 + relationship: tosca.relationships.network.LinksTo + abstract_plt_0: + type: org.openecomp.resource.abstract.nodes.plt + directives: + - substitutable + properties: + port_plt_internal_0_port_allowed_address_pairs: + - ip_address: + get_input: internal_subnet_cidr + port_plt_oam_0_port_security_groups: + - get_input: oam_security_groups + compute_plt_config_drive: + - true + vm_flavor_name: + get_input: plt_flavor_name + port_plt_data_0_port_fixed_ips: + - ip_address: + get_input: + - plt_data_v6_ips + - 0 + vm_image_name: + get_input: plt_image_name + compute_plt_availability_zone: + - get_input: availability_zone_0 + port_plt_oam_0_port_name: + - str_replace: + template: $vnf_name-plt_oam_0_port_0 + params: + $vnf_name: + get_input: vnf_name + port_plt_internal_0_port_security_groups: + - get_input: plt_security_groups + port_plt_oam_0_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + port_plt_data_0_port_mac_requirements: + mac_count_required: + is_required: false + port_plt_data_0_port_allowed_address_pairs: + - ip_address: + get_attribute: + - network:data:vip:m001:m002 + - fixed_ips + - 0 + - ip_address + port_plt_data_0_port_ip_requirements: + - ip_version: 6 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + port_plt_internal_0_port_network: + - internal_net_0 + compute_plt_metadata: + - vf_module_id: + get_input: vf_module_id + vm_role: plt + vnf_id: + get_input: vnf_id + vnf_name: + get_input: vnf_name + vf_module_name: + get_input: vf_module_name + port_plt_data_0_port_security_groups: + - get_input: data_security_groups + port_plt_internal_0_port_mac_requirements: + mac_count_required: + is_required: false + port_plt_data_0_port_network_role_tag: data + port_plt_internal_0_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: true + port_plt_oam_0_port_fixed_ips: + - ip_address: + get_input: + - plt_oam_ips + - 0 + port_plt_oam_0_port_network_role_tag: oam + port_plt_internal_0_port_name: + - str_replace: + template: $vnf_name-plt_internal_0_port_0 + params: + $vnf_name: + get_input: vnf_name + compute_plt_image_update_policy: + - REBUILD + port_plt_oam_0_port_allowed_address_pairs: + - ip_address: + get_attribute: + - network:oam:vip:m001:m002 + - fixed_ips + - 0 + - ip_address + port_plt_data_0_port_name: + - str_replace: + template: $vnf_name-plt_data_0_port_0 + params: + $vnf_name: + get_input: vnf_name + compute_plt_user_data_format: + - RAW + port_plt_internal_0_port_replacement_policy: + - AUTO + port_plt_data_0_port_network: + - get_input: data_net_id + port_plt_oam_0_port_network: + - get_input: oam_net_id + port_plt_oam_0_port_replacement_policy: + - AUTO + port_plt_data_0_port_replacement_policy: + - AUTO + port_plt_oam_0_port_mac_requirements: + mac_count_required: + is_required: false + compute_plt_name: + - get_input: + - plt_names + - 0 + service_template_filter: + substitute_service_template: Nested_pltServiceTemplate.yaml + count: 1 + index_value: + get_property: + - SELF + - service_template_filter + - index_value + requirements: + - link_plt_plt_internal_0_port: + capability: tosca.capabilities.network.Linkable + node: internal_net_0 + relationship: tosca.relationships.network.LinksTo + network:io:vip:m004:m003: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: AUTO + ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + security_groups: + get_input: oam_security_groups + fixed_ips: + - ip_address: + get_input: iox_oam_floating_ip + mac_requirements: + mac_count_required: + is_required: false + name: + str_replace: + template: $vnf_name-network_io_vip_m004_m003 + params: + $vnf_name: + get_input: vnf_name + network_role_tag: oam + network: + get_input: oam_net_id + groups: + base_vIECCF_group: + type: org.openecomp.groups.heat.HeatStack + properties: + heat_file: ../Artifacts/base_vIECCF.yml + members: + - network:data:vip:m001:m002 + - network:data:vip:m004:m003 + - network:oam:vip:m001:m002 + - network:system:vip:m001:m002 + - internal_net_0 + - network:io:vip:m004:m003 + - abstract_iox_0 + - abstract_iox_1 + - abstract_app_0 + - abstract_app_1 + - abstract_app_2 + - abstract_plt_0 + - abstract_plt_1 + app_server_group_group: + type: tosca.groups.Root + members: + - abstract_app_0 + - abstract_app_1 + - abstract_app_2 + base_vIECCF_volume_group: + type: org.openecomp.groups.heat.HeatStack + properties: + heat_file: ../Artifacts/base_vIECCF_volume.yml + description: Volume creation template for vCCF + members: + - app_volume_1 + - app_volume_2 + - plt_volume_shared_0 + - app_volume_0 + - plt_volume_1 + - plt_volume_0 + outputs: + plt_volume_shared_id_0: + description: ServiceData2 volume for plt VMs + value: plt_volume_shared_0 + oam_management_v4_address: + value: + get_input: plt_oam_floating_ip + app_volume_id_0: + description: ServiceData1 volume for first app VM + value: app_volume_0 + app_volume_id_1: + description: ServiceData1 volume for second app VM + value: app_volume_1 + app_volume_id_2: + description: ServiceData1 volume for third app VM + value: app_volume_2 + plt_volume_id_0: + description: ServiceData1 volume for first plt VM + value: plt_volume_0 + plt_volume_id_1: + description: ServiceData1 volume for second plt VM + value: plt_volume_1 + policies: + app_server_group_policy: + type: org.openecomp.policies.placement.Antilocate + properties: + name: + str_replace: + template: $vnf_name-app_server_group + params: + $vnf_name: + get_input: vnf_name + container_type: host + targets: + - app_server_group_group diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/Nested_appServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/Nested_appServiceTemplate.yaml new file mode 100644 index 0000000000..096c214eb4 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/Nested_appServiceTemplate.yaml @@ -0,0 +1,632 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +metadata: + template_name: Nested_app +imports: +- openecomp_heat_index: + file: openecomp-heat/_index.yml +- GlobalSubstitutionTypes: + file: GlobalSubstitutionTypesServiceTemplate.yaml +node_types: + org.openecomp.resource.vfc.compute.nodes.heat.app: + derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server +topology_template: + inputs: + port_app_data_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + compute_app_scheduler_hints: + type: list + required: true + entry_schema: + type: json + port_app_internal_0_port_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_app_data_0_port_network_role: + type: string + required: true + port_app_oam_0_port_replacement_policy: + type: list + required: true + entry_schema: + type: string + port_app_oam_0_port_network: + type: list + required: true + entry_schema: + type: string + vm_flavor_name: + type: string + required: true + port_app_data_0_port_fixed_ips: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + vm_image_name: + type: string + required: true + port_app_oam_0_port_name: + type: list + required: true + entry_schema: + type: string + compute_app_availability_zone: + type: list + required: true + entry_schema: + type: string + compute_app_config_drive: + type: list + required: true + entry_schema: + type: boolean + port_app_oam_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_app_data_0_port_network: + type: list + required: true + entry_schema: + type: string + port_app_data_0_port_network_role_tag: + type: string + required: true + port_app_oam_0_port_network_role_tag: + type: string + required: true + port_app_data_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_app_data_0_port_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_app_internal_0_port_network_role_tag: + type: string + required: true + port_app_oam_0_port_network_role: + type: string + required: true + compute_app_metadata: + type: list + required: true + entry_schema: + type: json + port_app_data_0_port_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_app_internal_0_port_network_role: + type: string + required: true + port_app_internal_0_port_subnetpoolid: + type: string + required: true + port_app_internal_0_port_allowed_address_pairs: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.network.AddressPair + port_app_data_0_port_subnetpoolid: + type: string + required: true + port_app_oam_0_port_subnetpoolid: + type: string + required: true + port_app_internal_0_port_order: + type: integer + required: true + port_app_internal_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_app_data_0_port_name: + type: list + required: true + entry_schema: + type: string + port_app_oam_0_port_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_app_oam_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_app_internal_0_port_network: + type: list + required: true + entry_schema: + type: string + port_app_data_0_port_security_groups: + type: list + required: true + entry_schema: + type: json + port_app_oam_0_port_order: + type: integer + required: true + port_app_internal_0_port_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_app_internal_0_port_replacement_policy: + type: list + required: true + entry_schema: + type: string + port_app_internal_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_app_data_0_port_order: + type: integer + required: true + port_app_oam_0_port_security_groups: + type: list + required: true + entry_schema: + type: json + port_app_internal_0_port_name: + type: list + required: true + entry_schema: + type: string + index_value: + type: integer + description: Index value of this substitution service template runtime instance + required: false + default: 0 + constraints: + - greater_or_equal: 0 + port_app_oam_0_port_fixed_ips: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_app_data_0_port_replacement_policy: + type: list + required: true + entry_schema: + type: string + compute_app_name: + type: list + required: true + entry_schema: + type: string + port_app_oam_0_port_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_app_internal_0_port_security_groups: + type: list + required: true + entry_schema: + type: json + compute_app_image_update_policy: + type: list + required: true + entry_schema: + type: string + compute_app_user_data_format: + type: list + required: true + entry_schema: + type: string + node_templates: + app: + type: org.openecomp.resource.vfc.compute.nodes.heat.app + properties: + availability_zone: + get_input: + - compute_app_availability_zone + - index_value + flavor: + get_input: vm_flavor_name + metadata: + get_input: + - compute_app_metadata + - index_value + config_drive: + get_input: + - compute_app_config_drive + - index_value + image: + get_input: vm_image_name + name: + get_input: + - compute_app_name + - index_value + image_update_policy: + get_input: + - compute_app_image_update_policy + - index_value + scheduler_hints: + get_input: + - compute_app_scheduler_hints + - index_value + user_data_format: + get_input: + - compute_app_user_data_format + - index_value + app_app_internal_0_port: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: + get_input: + - port_app_internal_0_port_replacement_policy + - index_value + mac_requirements: + get_input: port_app_internal_0_port_mac_requirements + allowed_address_pairs: + get_input: port_app_internal_0_port_allowed_address_pairs + order: + get_input: port_app_internal_0_port_order + security_groups: + get_input: + - port_app_internal_0_port_security_groups + - index_value + exCP_naming: + get_input: port_app_internal_0_port_exCP_naming + vlan_requirements: + get_input: port_app_internal_0_port_vlan_requirements + ip_requirements: + get_input: port_app_internal_0_port_ip_requirements + network_role_tag: + get_input: port_app_internal_0_port_network_role_tag + network_role: + get_input: port_app_internal_0_port_network_role + subnetpoolid: + get_input: port_app_internal_0_port_subnetpoolid + name: + get_input: + - port_app_internal_0_port_name + - index_value + network: + get_input: + - port_app_internal_0_port_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: app + relationship: tosca.relationships.network.BindsTo + app_app_oam_0_port: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: + get_input: + - port_app_oam_0_port_replacement_policy + - index_value + mac_requirements: + get_input: port_app_oam_0_port_mac_requirements + order: + get_input: port_app_oam_0_port_order + security_groups: + get_input: + - port_app_oam_0_port_security_groups + - index_value + exCP_naming: + get_input: port_app_oam_0_port_exCP_naming + vlan_requirements: + get_input: port_app_oam_0_port_vlan_requirements + ip_requirements: + get_input: port_app_oam_0_port_ip_requirements + network_role_tag: + get_input: port_app_oam_0_port_network_role_tag + network_role: + get_input: port_app_oam_0_port_network_role + subnetpoolid: + get_input: port_app_oam_0_port_subnetpoolid + fixed_ips: + get_input: port_app_oam_0_port_fixed_ips + name: + get_input: + - port_app_oam_0_port_name + - index_value + network: + get_input: + - port_app_oam_0_port_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: app + relationship: tosca.relationships.network.BindsTo + app_app_data_0_port: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: + get_input: + - port_app_data_0_port_replacement_policy + - index_value + mac_requirements: + get_input: port_app_data_0_port_mac_requirements + order: + get_input: port_app_data_0_port_order + security_groups: + get_input: + - port_app_data_0_port_security_groups + - index_value + exCP_naming: + get_input: port_app_data_0_port_exCP_naming + vlan_requirements: + get_input: port_app_data_0_port_vlan_requirements + ip_requirements: + get_input: port_app_data_0_port_ip_requirements + network_role_tag: + get_input: port_app_data_0_port_network_role_tag + network_role: + get_input: port_app_data_0_port_network_role + subnetpoolid: + get_input: port_app_data_0_port_subnetpoolid + fixed_ips: + get_input: port_app_data_0_port_fixed_ips + name: + get_input: + - port_app_data_0_port_name + - index_value + network: + get_input: + - port_app_data_0_port_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: app + relationship: tosca.relationships.network.BindsTo + substitution_mappings: + node_type: org.openecomp.resource.abstract.nodes.app + capabilities: + disk.device.write.requests_app: + - app + - disk.device.write.requests + feature_app_app_oam_0_port: + - app_app_oam_0_port + - feature + disk.device.capacity_app: + - app + - disk.device.capacity + disk.root.size_app: + - app + - disk.root.size + disk.device.iops_app: + - app + - disk.device.iops + network.incoming.packets.rate_app_app_oam_0_port: + - app_app_oam_0_port + - network.incoming.packets.rate + network.incoming.bytes.rate_app_app_data_0_port: + - app_app_data_0_port + - network.incoming.bytes.rate + network.incoming.bytes_app_app_oam_0_port: + - app_app_oam_0_port + - network.incoming.bytes + network.incoming.packets.rate_app_app_internal_0_port: + - app_app_internal_0_port + - network.incoming.packets.rate + cpu.delta_app: + - app + - cpu.delta + host_app: + - app + - host + disk.write.bytes.rate_app: + - app + - disk.write.bytes.rate + disk.write.requests.rate_app: + - app + - disk.write.requests.rate + disk.device.latency_app: + - app + - disk.device.latency + disk.ephemeral.size_app: + - app + - disk.ephemeral.size + network.outgoing.bytes_app_app_oam_0_port: + - app_app_oam_0_port + - network.outgoing.bytes + disk.device.write.requests.rate_app: + - app + - disk.device.write.requests.rate + disk.device.read.bytes_app: + - app + - disk.device.read.bytes + binding_app_app_data_0_port: + - app_app_data_0_port + - binding + disk.device.read.requests.rate_app: + - app + - disk.device.read.requests.rate + vcpus_app: + - app + - vcpus + disk.device.read.requests_app: + - app + - disk.device.read.requests + feature_app_app_internal_0_port: + - app_app_internal_0_port + - feature + cpu_util_app: + - app + - cpu_util + endpoint_app: + - app + - endpoint + network.incoming.packets.rate_app_app_data_0_port: + - app_app_data_0_port + - network.incoming.packets.rate + disk.iops_app: + - app + - disk.iops + disk.device.write.bytes_app: + - app + - disk.device.write.bytes + disk.read.bytes.rate_app: + - app + - disk.read.bytes.rate + disk.latency_app: + - app + - disk.latency + memory.usage_app: + - app + - memory.usage + attachment_app_app_oam_0_port: + - app_app_oam_0_port + - attachment + os_app: + - app + - os + network.incoming.packets_app_app_internal_0_port: + - app_app_internal_0_port + - network.incoming.packets + network.incoming.packets_app_app_oam_0_port: + - app_app_oam_0_port + - network.incoming.packets + network.outgoing.bytes.rate_app_app_internal_0_port: + - app_app_internal_0_port + - network.outgoing.bytes.rate + network.outgoing.bytes.rate_app_app_oam_0_port: + - app_app_oam_0_port + - network.outgoing.bytes.rate + memory_app: + - app + - memory + disk.read.requests_app: + - app + - disk.read.requests + network.outpoing.packets_app_app_oam_0_port: + - app_app_oam_0_port + - network.outpoing.packets + network.incoming.bytes_app_app_data_0_port: + - app_app_data_0_port + - network.incoming.bytes + disk.write.bytes_app: + - app + - disk.write.bytes + disk.allocation_app: + - app + - disk.allocation + network.outgoing.bytes_app_app_internal_0_port: + - app_app_internal_0_port + - network.outgoing.bytes + attachment_app_app_data_0_port: + - app_app_data_0_port + - attachment + network.incoming.bytes.rate_app_app_oam_0_port: + - app_app_oam_0_port + - network.incoming.bytes.rate + network.outgoing.packets.rate_app_app_internal_0_port: + - app_app_internal_0_port + - network.outgoing.packets.rate + network.incoming.bytes.rate_app_app_internal_0_port: + - app_app_internal_0_port + - network.incoming.bytes.rate + memory.resident_app: + - app + - memory.resident + network.outgoing.packets.rate_app_app_oam_0_port: + - app_app_oam_0_port + - network.outgoing.packets.rate + network.outgoing.bytes.rate_app_app_data_0_port: + - app_app_data_0_port + - network.outgoing.bytes.rate + cpu_app: + - app + - cpu + feature_app_app_data_0_port: + - app_app_data_0_port + - feature + disk.usage_app: + - app + - disk.usage + feature_app: + - app + - feature + disk.read.bytes_app: + - app + - disk.read.bytes + scalable_app: + - app + - scalable + network.outgoing.packets.rate_app_app_data_0_port: + - app_app_data_0_port + - network.outgoing.packets.rate + disk.device.read.bytes.rate_app: + - app + - disk.device.read.bytes.rate + disk.device.allocation_app: + - app + - disk.device.allocation + binding_app: + - app + - binding + disk.device.write.bytes.rate_app: + - app + - disk.device.write.bytes.rate + binding_app_app_oam_0_port: + - app_app_oam_0_port + - binding + disk.device.usage_app: + - app + - disk.device.usage + network.outpoing.packets_app_app_data_0_port: + - app_app_data_0_port + - network.outpoing.packets + network.outgoing.bytes_app_app_data_0_port: + - app_app_data_0_port + - network.outgoing.bytes + network.incoming.bytes_app_app_internal_0_port: + - app_app_internal_0_port + - network.incoming.bytes + disk.write.requests_app: + - app + - disk.write.requests + binding_app_app_internal_0_port: + - app_app_internal_0_port + - binding + instance_app: + - app + - instance + attachment_app_app_internal_0_port: + - app_app_internal_0_port + - attachment + network.incoming.packets_app_app_data_0_port: + - app_app_data_0_port + - network.incoming.packets + network.outpoing.packets_app_app_internal_0_port: + - app_app_internal_0_port + - network.outpoing.packets + disk.capacity_app: + - app + - disk.capacity + requirements: + link_app_app_oam_0_port: + - app_app_oam_0_port + - link + dependency_app_app_internal_0_port: + - app_app_internal_0_port + - dependency + dependency_app: + - app + - dependency + dependency_app_app_oam_0_port: + - app_app_oam_0_port + - dependency + local_storage_app: + - app + - local_storage + link_app_app_internal_0_port: + - app_app_internal_0_port + - link + link_app_app_data_0_port: + - app_app_data_0_port + - link + dependency_app_app_data_0_port: + - app_app_data_0_port + - dependency diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/Nested_ioxServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/Nested_ioxServiceTemplate.yaml new file mode 100644 index 0000000000..a157cf8c26 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/Nested_ioxServiceTemplate.yaml @@ -0,0 +1,637 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +metadata: + template_name: Nested_iox +imports: +- openecomp_heat_index: + file: openecomp-heat/_index.yml +- GlobalSubstitutionTypes: + file: GlobalSubstitutionTypesServiceTemplate.yaml +node_types: + org.openecomp.resource.vfc.compute.nodes.heat.iox: + derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server +topology_template: + inputs: + port_iox_data_0_port_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_iox_oam_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_iox_internal_0_port_network: + type: list + required: true + entry_schema: + type: string + port_iox_data_0_port_name: + type: list + required: true + entry_schema: + type: string + vm_flavor_name: + type: string + required: true + port_iox_data_0_port_subnetpoolid: + type: string + required: true + port_iox_data_0_port_allowed_address_pairs: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.network.AddressPair + port_iox_internal_0_port_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + vm_image_name: + type: string + required: true + port_iox_oam_0_port_name: + type: list + required: true + entry_schema: + type: string + port_iox_oam_0_port_network_role_tag: + type: string + required: true + port_iox_oam_0_port_subnetpoolid: + type: string + required: true + compute_iox_user_data_format: + type: list + required: true + entry_schema: + type: string + port_iox_data_0_port_fixed_ips: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_iox_internal_0_port_allowed_address_pairs: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.network.AddressPair + compute_iox_config_drive: + type: list + required: true + entry_schema: + type: boolean + port_iox_internal_0_port_order: + type: integer + required: true + port_iox_oam_0_port_replacement_policy: + type: list + required: true + entry_schema: + type: string + port_iox_data_0_port_security_groups: + type: list + required: true + entry_schema: + type: json + port_iox_internal_0_port_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + compute_iox_image_update_policy: + type: list + required: true + entry_schema: + type: string + port_iox_oam_0_port_order: + type: integer + required: true + port_iox_oam_0_port_network: + type: list + required: true + entry_schema: + type: string + port_iox_internal_0_port_security_groups: + type: list + required: true + entry_schema: + type: json + port_iox_oam_0_port_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_iox_data_0_port_order: + type: integer + required: true + port_iox_internal_0_port_name: + type: list + required: true + entry_schema: + type: string + port_iox_oam_0_port_fixed_ips: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_iox_data_0_port_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + compute_iox_name: + type: list + required: true + entry_schema: + type: string + port_iox_data_0_port_network: + type: list + required: true + entry_schema: + type: string + port_iox_internal_0_port_replacement_policy: + type: list + required: true + entry_schema: + type: string + port_iox_internal_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_iox_data_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_iox_data_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_iox_oam_0_port_network_role: + type: string + required: true + port_iox_internal_0_port_network_role: + type: string + required: true + port_iox_data_0_port_network_role: + type: string + required: true + port_iox_data_0_port_replacement_policy: + type: list + required: true + entry_schema: + type: string + compute_iox_metadata: + type: list + required: true + entry_schema: + type: json + index_value: + type: integer + description: Index value of this substitution service template runtime instance + required: false + default: 0 + constraints: + - greater_or_equal: 0 + port_iox_internal_0_port_network_role_tag: + type: string + required: true + port_iox_oam_0_port_allowed_address_pairs: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.network.AddressPair + port_iox_internal_0_port_subnetpoolid: + type: string + required: true + compute_iox_availability_zone: + type: list + required: true + entry_schema: + type: string + port_iox_oam_0_port_security_groups: + type: list + required: true + entry_schema: + type: json + port_iox_oam_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_iox_oam_0_port_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_iox_internal_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_iox_data_0_port_network_role_tag: + type: string + required: true + node_templates: + iox_iox_data_0_port: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: + get_input: + - port_iox_data_0_port_replacement_policy + - index_value + mac_requirements: + get_input: port_iox_data_0_port_mac_requirements + allowed_address_pairs: + get_input: port_iox_data_0_port_allowed_address_pairs + order: + get_input: port_iox_data_0_port_order + security_groups: + get_input: + - port_iox_data_0_port_security_groups + - index_value + exCP_naming: + get_input: port_iox_data_0_port_exCP_naming + vlan_requirements: + get_input: port_iox_data_0_port_vlan_requirements + ip_requirements: + get_input: port_iox_data_0_port_ip_requirements + network_role_tag: + get_input: port_iox_data_0_port_network_role_tag + network_role: + get_input: port_iox_data_0_port_network_role + subnetpoolid: + get_input: port_iox_data_0_port_subnetpoolid + fixed_ips: + get_input: port_iox_data_0_port_fixed_ips + name: + get_input: + - port_iox_data_0_port_name + - index_value + network: + get_input: + - port_iox_data_0_port_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: iox + relationship: tosca.relationships.network.BindsTo + iox: + type: org.openecomp.resource.vfc.compute.nodes.heat.iox + properties: + availability_zone: + get_input: + - compute_iox_availability_zone + - index_value + flavor: + get_input: vm_flavor_name + metadata: + get_input: + - compute_iox_metadata + - index_value + config_drive: + get_input: + - compute_iox_config_drive + - index_value + image: + get_input: vm_image_name + name: + get_input: + - compute_iox_name + - index_value + image_update_policy: + get_input: + - compute_iox_image_update_policy + - index_value + user_data_format: + get_input: + - compute_iox_user_data_format + - index_value + iox_iox_oam_0_port: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: + get_input: + - port_iox_oam_0_port_replacement_policy + - index_value + mac_requirements: + get_input: port_iox_oam_0_port_mac_requirements + allowed_address_pairs: + get_input: port_iox_oam_0_port_allowed_address_pairs + order: + get_input: port_iox_oam_0_port_order + security_groups: + get_input: + - port_iox_oam_0_port_security_groups + - index_value + exCP_naming: + get_input: port_iox_oam_0_port_exCP_naming + vlan_requirements: + get_input: port_iox_oam_0_port_vlan_requirements + ip_requirements: + get_input: port_iox_oam_0_port_ip_requirements + network_role_tag: + get_input: port_iox_oam_0_port_network_role_tag + network_role: + get_input: port_iox_oam_0_port_network_role + subnetpoolid: + get_input: port_iox_oam_0_port_subnetpoolid + fixed_ips: + get_input: port_iox_oam_0_port_fixed_ips + name: + get_input: + - port_iox_oam_0_port_name + - index_value + network: + get_input: + - port_iox_oam_0_port_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: iox + relationship: tosca.relationships.network.BindsTo + iox_iox_internal_0_port: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: + get_input: + - port_iox_internal_0_port_replacement_policy + - index_value + mac_requirements: + get_input: port_iox_internal_0_port_mac_requirements + allowed_address_pairs: + get_input: port_iox_internal_0_port_allowed_address_pairs + order: + get_input: port_iox_internal_0_port_order + security_groups: + get_input: + - port_iox_internal_0_port_security_groups + - index_value + exCP_naming: + get_input: port_iox_internal_0_port_exCP_naming + vlan_requirements: + get_input: port_iox_internal_0_port_vlan_requirements + ip_requirements: + get_input: port_iox_internal_0_port_ip_requirements + network_role_tag: + get_input: port_iox_internal_0_port_network_role_tag + network_role: + get_input: port_iox_internal_0_port_network_role + subnetpoolid: + get_input: port_iox_internal_0_port_subnetpoolid + name: + get_input: + - port_iox_internal_0_port_name + - index_value + network: + get_input: + - port_iox_internal_0_port_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: iox + relationship: tosca.relationships.network.BindsTo + substitution_mappings: + node_type: org.openecomp.resource.abstract.nodes.iox + capabilities: + cpu.delta_iox: + - iox + - cpu.delta + disk.device.latency_iox: + - iox + - disk.device.latency + memory_iox: + - iox + - memory + network.outgoing.packets.rate_iox_iox_data_0_port: + - iox_iox_data_0_port + - network.outgoing.packets.rate + disk.device.read.bytes_iox: + - iox + - disk.device.read.bytes + disk.read.requests_iox: + - iox + - disk.read.requests + disk.write.requests_iox: + - iox + - disk.write.requests + network.incoming.bytes_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - network.incoming.bytes + network.incoming.packets.rate_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - network.incoming.packets.rate + disk.device.read.requests.rate_iox: + - iox + - disk.device.read.requests.rate + disk.device.write.requests.rate_iox: + - iox + - disk.device.write.requests.rate + disk.capacity_iox: + - iox + - disk.capacity + disk.write.bytes_iox: + - iox + - disk.write.bytes + disk.device.write.requests_iox: + - iox + - disk.device.write.requests + disk.device.allocation_iox: + - iox + - disk.device.allocation + feature_iox_iox_data_0_port: + - iox_iox_data_0_port + - feature + disk.root.size_iox: + - iox + - disk.root.size + vcpus_iox: + - iox + - vcpus + disk.device.iops_iox: + - iox + - disk.device.iops + network.outgoing.bytes.rate_iox_iox_data_0_port: + - iox_iox_data_0_port + - network.outgoing.bytes.rate + disk.read.bytes.rate_iox: + - iox + - disk.read.bytes.rate + network.outgoing.bytes_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - network.outgoing.bytes + attachment_iox_iox_data_0_port: + - iox_iox_data_0_port + - attachment + network.incoming.packets.rate_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - network.incoming.packets.rate + disk.latency_iox: + - iox + - disk.latency + network.incoming.packets.rate_iox_iox_data_0_port: + - iox_iox_data_0_port + - network.incoming.packets.rate + network.incoming.bytes_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - network.incoming.bytes + cpu_util_iox: + - iox + - cpu_util + binding_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - binding + network.incoming.bytes_iox_iox_data_0_port: + - iox_iox_data_0_port + - network.incoming.bytes + disk.device.capacity_iox: + - iox + - disk.device.capacity + disk.iops_iox: + - iox + - disk.iops + network.outpoing.packets_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - network.outpoing.packets + endpoint_iox: + - iox + - endpoint + binding_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - binding + disk.device.read.requests_iox: + - iox + - disk.device.read.requests + memory.usage_iox: + - iox + - memory.usage + attachment_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - attachment + network.outgoing.bytes_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - network.outgoing.bytes + cpu_iox: + - iox + - cpu + feature_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - feature + disk.usage_iox: + - iox + - disk.usage + scalable_iox: + - iox + - scalable + feature_iox: + - iox + - feature + memory.resident_iox: + - iox + - memory.resident + disk.device.write.bytes_iox: + - iox + - disk.device.write.bytes + network.outgoing.packets.rate_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - network.outgoing.packets.rate + binding_iox_iox_data_0_port: + - iox_iox_data_0_port + - binding + network.outgoing.bytes.rate_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - network.outgoing.bytes.rate + network.incoming.bytes.rate_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - network.incoming.bytes.rate + network.incoming.bytes.rate_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - network.incoming.bytes.rate + disk.allocation_iox: + - iox + - disk.allocation + network.outgoing.packets.rate_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - network.outgoing.packets.rate + binding_iox: + - iox + - binding + os_iox: + - iox + - os + host_iox: + - iox + - host + disk.write.requests.rate_iox: + - iox + - disk.write.requests.rate + disk.write.bytes.rate_iox: + - iox + - disk.write.bytes.rate + disk.read.bytes_iox: + - iox + - disk.read.bytes + network.incoming.packets_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - network.incoming.packets + instance_iox: + - iox + - instance + disk.ephemeral.size_iox: + - iox + - disk.ephemeral.size + network.outpoing.packets_iox_iox_data_0_port: + - iox_iox_data_0_port + - network.outpoing.packets + attachment_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - attachment + feature_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - feature + network.incoming.packets_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - network.incoming.packets + network.outpoing.packets_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - network.outpoing.packets + disk.device.read.bytes.rate_iox: + - iox + - disk.device.read.bytes.rate + network.incoming.bytes.rate_iox_iox_data_0_port: + - iox_iox_data_0_port + - network.incoming.bytes.rate + network.incoming.packets_iox_iox_data_0_port: + - iox_iox_data_0_port + - network.incoming.packets + disk.device.write.bytes.rate_iox: + - iox + - disk.device.write.bytes.rate + network.outgoing.bytes.rate_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - network.outgoing.bytes.rate + disk.device.usage_iox: + - iox + - disk.device.usage + network.outgoing.bytes_iox_iox_data_0_port: + - iox_iox_data_0_port + - network.outgoing.bytes + requirements: + dependency_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - dependency + link_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - link + dependency_iox: + - iox + - dependency + dependency_iox_iox_data_0_port: + - iox_iox_data_0_port + - dependency + link_iox_iox_data_0_port: + - iox_iox_data_0_port + - link + link_iox_iox_internal_0_port: + - iox_iox_internal_0_port + - link + local_storage_iox: + - iox + - local_storage + dependency_iox_iox_oam_0_port: + - iox_iox_oam_0_port + - dependency diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/Nested_pltServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/Nested_pltServiceTemplate.yaml new file mode 100644 index 0000000000..c1ef9cb284 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/Nested_pltServiceTemplate.yaml @@ -0,0 +1,637 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +metadata: + template_name: Nested_plt +imports: +- openecomp_heat_index: + file: openecomp-heat/_index.yml +- GlobalSubstitutionTypes: + file: GlobalSubstitutionTypesServiceTemplate.yaml +node_types: + org.openecomp.resource.vfc.compute.nodes.heat.plt: + derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server +topology_template: + inputs: + port_plt_oam_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_plt_oam_0_port_subnetpoolid: + type: string + required: true + port_plt_internal_0_port_allowed_address_pairs: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.network.AddressPair + port_plt_oam_0_port_security_groups: + type: list + required: true + entry_schema: + type: json + compute_plt_config_drive: + type: list + required: true + entry_schema: + type: boolean + port_plt_data_0_port_subnetpoolid: + type: string + required: true + vm_flavor_name: + type: string + required: true + port_plt_internal_0_port_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_plt_data_0_port_fixed_ips: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + vm_image_name: + type: string + required: true + compute_plt_availability_zone: + type: list + required: true + entry_schema: + type: string + port_plt_oam_0_port_name: + type: list + required: true + entry_schema: + type: string + port_plt_internal_0_port_security_groups: + type: list + required: true + entry_schema: + type: json + port_plt_internal_0_port_network_role_tag: + type: string + required: true + port_plt_oam_0_port_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_plt_data_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_plt_data_0_port_allowed_address_pairs: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.network.AddressPair + port_plt_internal_0_port_subnetpoolid: + type: string + required: true + port_plt_data_0_port_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_plt_internal_0_port_network: + type: list + required: true + entry_schema: + type: string + compute_plt_metadata: + type: list + required: true + entry_schema: + type: json + port_plt_data_0_port_security_groups: + type: list + required: true + entry_schema: + type: json + port_plt_internal_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_plt_data_0_port_order: + type: integer + required: true + port_plt_data_0_port_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_plt_data_0_port_network_role_tag: + type: string + required: true + port_plt_internal_0_port_order: + type: integer + required: true + port_plt_internal_0_port_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_plt_oam_0_port_fixed_ips: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_plt_oam_0_port_network_role_tag: + type: string + required: true + port_plt_internal_0_port_name: + type: list + required: true + entry_schema: + type: string + port_plt_oam_0_port_order: + type: integer + required: true + compute_plt_image_update_policy: + type: list + required: true + entry_schema: + type: string + port_plt_oam_0_port_network_role: + type: string + required: true + port_plt_oam_0_port_allowed_address_pairs: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.network.AddressPair + port_plt_data_0_port_name: + type: list + required: true + entry_schema: + type: string + port_plt_data_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_plt_internal_0_port_network_role: + type: string + required: true + compute_plt_user_data_format: + type: list + required: true + entry_schema: + type: string + port_plt_internal_0_port_replacement_policy: + type: list + required: true + entry_schema: + type: string + port_plt_data_0_port_network: + type: list + required: true + entry_schema: + type: string + port_plt_data_0_port_network_role: + type: string + required: true + port_plt_internal_0_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + index_value: + type: integer + description: Index value of this substitution service template runtime instance + required: false + default: 0 + constraints: + - greater_or_equal: 0 + port_plt_oam_0_port_network: + type: list + required: true + entry_schema: + type: string + port_plt_oam_0_port_replacement_policy: + type: list + required: true + entry_schema: + type: string + port_plt_data_0_port_replacement_policy: + type: list + required: true + entry_schema: + type: string + port_plt_oam_0_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + compute_plt_name: + type: list + required: true + entry_schema: + type: string + port_plt_oam_0_port_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + node_templates: + plt_plt_internal_0_port: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: + get_input: + - port_plt_internal_0_port_replacement_policy + - index_value + mac_requirements: + get_input: port_plt_internal_0_port_mac_requirements + allowed_address_pairs: + get_input: port_plt_internal_0_port_allowed_address_pairs + order: + get_input: port_plt_internal_0_port_order + security_groups: + get_input: + - port_plt_internal_0_port_security_groups + - index_value + exCP_naming: + get_input: port_plt_internal_0_port_exCP_naming + vlan_requirements: + get_input: port_plt_internal_0_port_vlan_requirements + ip_requirements: + get_input: port_plt_internal_0_port_ip_requirements + network_role_tag: + get_input: port_plt_internal_0_port_network_role_tag + network_role: + get_input: port_plt_internal_0_port_network_role + subnetpoolid: + get_input: port_plt_internal_0_port_subnetpoolid + name: + get_input: + - port_plt_internal_0_port_name + - index_value + network: + get_input: + - port_plt_internal_0_port_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: plt + relationship: tosca.relationships.network.BindsTo + plt_plt_data_0_port: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: + get_input: + - port_plt_data_0_port_replacement_policy + - index_value + mac_requirements: + get_input: port_plt_data_0_port_mac_requirements + allowed_address_pairs: + get_input: port_plt_data_0_port_allowed_address_pairs + order: + get_input: port_plt_data_0_port_order + security_groups: + get_input: + - port_plt_data_0_port_security_groups + - index_value + exCP_naming: + get_input: port_plt_data_0_port_exCP_naming + vlan_requirements: + get_input: port_plt_data_0_port_vlan_requirements + ip_requirements: + get_input: port_plt_data_0_port_ip_requirements + network_role_tag: + get_input: port_plt_data_0_port_network_role_tag + network_role: + get_input: port_plt_data_0_port_network_role + subnetpoolid: + get_input: port_plt_data_0_port_subnetpoolid + fixed_ips: + get_input: port_plt_data_0_port_fixed_ips + name: + get_input: + - port_plt_data_0_port_name + - index_value + network: + get_input: + - port_plt_data_0_port_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: plt + relationship: tosca.relationships.network.BindsTo + plt: + type: org.openecomp.resource.vfc.compute.nodes.heat.plt + properties: + availability_zone: + get_input: + - compute_plt_availability_zone + - index_value + flavor: + get_input: vm_flavor_name + metadata: + get_input: + - compute_plt_metadata + - index_value + config_drive: + get_input: + - compute_plt_config_drive + - index_value + image: + get_input: vm_image_name + name: + get_input: + - compute_plt_name + - index_value + image_update_policy: + get_input: + - compute_plt_image_update_policy + - index_value + user_data_format: + get_input: + - compute_plt_user_data_format + - index_value + plt_plt_oam_0_port: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + replacement_policy: + get_input: + - port_plt_oam_0_port_replacement_policy + - index_value + mac_requirements: + get_input: port_plt_oam_0_port_mac_requirements + allowed_address_pairs: + get_input: port_plt_oam_0_port_allowed_address_pairs + order: + get_input: port_plt_oam_0_port_order + security_groups: + get_input: + - port_plt_oam_0_port_security_groups + - index_value + exCP_naming: + get_input: port_plt_oam_0_port_exCP_naming + vlan_requirements: + get_input: port_plt_oam_0_port_vlan_requirements + ip_requirements: + get_input: port_plt_oam_0_port_ip_requirements + network_role_tag: + get_input: port_plt_oam_0_port_network_role_tag + network_role: + get_input: port_plt_oam_0_port_network_role + subnetpoolid: + get_input: port_plt_oam_0_port_subnetpoolid + fixed_ips: + get_input: port_plt_oam_0_port_fixed_ips + name: + get_input: + - port_plt_oam_0_port_name + - index_value + network: + get_input: + - port_plt_oam_0_port_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: plt + relationship: tosca.relationships.network.BindsTo + substitution_mappings: + node_type: org.openecomp.resource.abstract.nodes.plt + capabilities: + network.outgoing.bytes.rate_plt_plt_oam_0_port: + - plt_plt_oam_0_port + - network.outgoing.bytes.rate + disk.device.usage_plt: + - plt + - disk.device.usage + disk.iops_plt: + - plt + - disk.iops + disk.read.bytes.rate_plt: + - plt + - disk.read.bytes.rate + disk.device.allocation_plt: + - plt + - disk.device.allocation + disk.device.write.bytes.rate_plt: + - plt + - disk.device.write.bytes.rate + disk.read.bytes_plt: + - plt + - disk.read.bytes + network.incoming.packets_plt_plt_internal_0_port: + - plt_plt_internal_0_port + - network.incoming.packets + disk.capacity_plt: + - plt + - disk.capacity + disk.write.bytes_plt: + - plt + - disk.write.bytes + disk.device.read.bytes.rate_plt: + - plt + - disk.device.read.bytes.rate + endpoint_plt: + - plt + - endpoint + disk.read.requests_plt: + - plt + - disk.read.requests + network.outpoing.packets_plt_plt_oam_0_port: + - plt_plt_oam_0_port + - network.outpoing.packets + disk.device.write.requests.rate_plt: + - plt + - disk.device.write.requests.rate + attachment_plt_plt_data_0_port: + - plt_plt_data_0_port + - attachment + feature_plt: + - plt + - feature + cpu_plt: + - plt + - cpu + disk.write.requests_plt: + - plt + - disk.write.requests + network.incoming.packets.rate_plt_plt_internal_0_port: + - plt_plt_internal_0_port + - network.incoming.packets.rate + disk.device.write.bytes_plt: + - plt + - disk.device.write.bytes + network.outgoing.bytes_plt_plt_oam_0_port: + - plt_plt_oam_0_port + - network.outgoing.bytes + network.outpoing.packets_plt_plt_internal_0_port: + - plt_plt_internal_0_port + - network.outpoing.packets + network.incoming.bytes_plt_plt_internal_0_port: + - plt_plt_internal_0_port + - network.incoming.bytes + network.outgoing.packets.rate_plt_plt_oam_0_port: + - plt_plt_oam_0_port + - network.outgoing.packets.rate + network.incoming.bytes_plt_plt_oam_0_port: + - plt_plt_oam_0_port + - network.incoming.bytes + network.incoming.bytes_plt_plt_data_0_port: + - plt_plt_data_0_port + - network.incoming.bytes + attachment_plt_plt_internal_0_port: + - plt_plt_internal_0_port + - attachment + binding_plt: + - plt + - binding + network.incoming.bytes.rate_plt_plt_oam_0_port: + - plt_plt_oam_0_port + - network.incoming.bytes.rate + disk.device.read.bytes_plt: + - plt + - disk.device.read.bytes + disk.device.latency_plt: + - plt + - disk.device.latency + network.incoming.packets.rate_plt_plt_data_0_port: + - plt_plt_data_0_port + - network.incoming.packets.rate + network.outgoing.bytes_plt_plt_internal_0_port: + - plt_plt_internal_0_port + - network.outgoing.bytes + binding_plt_plt_internal_0_port: + - plt_plt_internal_0_port + - binding + feature_plt_plt_internal_0_port: + - plt_plt_internal_0_port + - feature + instance_plt: + - plt + - instance + disk.latency_plt: + - plt + - disk.latency + disk.write.bytes.rate_plt: + - plt + - disk.write.bytes.rate + disk.ephemeral.size_plt: + - plt + - disk.ephemeral.size + cpu_util_plt: + - plt + - cpu_util + binding_plt_plt_oam_0_port: + - plt_plt_oam_0_port + - binding + memory.usage_plt: + - plt + - memory.usage + attachment_plt_plt_oam_0_port: + - plt_plt_oam_0_port + - attachment + network.incoming.packets_plt_plt_oam_0_port: + - plt_plt_oam_0_port + - network.incoming.packets + disk.device.capacity_plt: + - plt + - disk.device.capacity + binding_plt_plt_data_0_port: + - plt_plt_data_0_port + - binding + disk.device.read.requests_plt: + - plt + - disk.device.read.requests + memory.resident_plt: + - plt + - memory.resident + network.outgoing.packets.rate_plt_plt_internal_0_port: + - plt_plt_internal_0_port + - network.outgoing.packets.rate + scalable_plt: + - plt + - scalable + network.incoming.packets.rate_plt_plt_oam_0_port: + - plt_plt_oam_0_port + - network.incoming.packets.rate + network.outgoing.packets.rate_plt_plt_data_0_port: + - plt_plt_data_0_port + - network.outgoing.packets.rate + network.incoming.bytes.rate_plt_plt_data_0_port: + - plt_plt_data_0_port + - network.incoming.bytes.rate + disk.usage_plt: + - plt + - disk.usage + feature_plt_plt_oam_0_port: + - plt_plt_oam_0_port + - feature + network.incoming.bytes.rate_plt_plt_internal_0_port: + - plt_plt_internal_0_port + - network.incoming.bytes.rate + memory_plt: + - plt + - memory + disk.root.size_plt: + - plt + - disk.root.size + network.outgoing.bytes_plt_plt_data_0_port: + - plt_plt_data_0_port + - network.outgoing.bytes + cpu.delta_plt: + - plt + - cpu.delta + disk.device.write.requests_plt: + - plt + - disk.device.write.requests + feature_plt_plt_data_0_port: + - plt_plt_data_0_port + - feature + network.outgoing.bytes.rate_plt_plt_data_0_port: + - plt_plt_data_0_port + - network.outgoing.bytes.rate + disk.device.read.requests.rate_plt: + - plt + - disk.device.read.requests.rate + network.outpoing.packets_plt_plt_data_0_port: + - plt_plt_data_0_port + - network.outpoing.packets + os_plt: + - plt + - os + network.outgoing.bytes.rate_plt_plt_internal_0_port: + - plt_plt_internal_0_port + - network.outgoing.bytes.rate + network.incoming.packets_plt_plt_data_0_port: + - plt_plt_data_0_port + - network.incoming.packets + disk.allocation_plt: + - plt + - disk.allocation + host_plt: + - plt + - host + vcpus_plt: + - plt + - vcpus + disk.device.iops_plt: + - plt + - disk.device.iops + disk.write.requests.rate_plt: + - plt + - disk.write.requests.rate + requirements: + local_storage_plt: + - plt + - local_storage + link_plt_plt_internal_0_port: + - plt_plt_internal_0_port + - link + dependency_plt_plt_oam_0_port: + - plt_plt_oam_0_port + - dependency + dependency_plt_plt_data_0_port: + - plt_plt_data_0_port + - dependency + link_plt_plt_data_0_port: + - plt_plt_data_0_port + - link + dependency_plt_plt_internal_0_port: + - plt_plt_internal_0_port + - dependency + link_plt_plt_oam_0_port: + - plt_plt_oam_0_port + - link + dependency_plt: + - plt + - dependency |