From 7b492b5f191cd5c22e3c4254f5f3ef7476122e9d Mon Sep 17 00:00:00 2001 From: vempo Date: Sun, 5 Nov 2017 17:14:25 +0200 Subject: Port scaling not working properly Made changes in evaluating port naming pattern. Change-Id: If9a3fc9c3d50fa5c4da319d2ff7d5f8ce6ca8ffe Issue-ID: SDC-573 Signed-off-by: vempo --- .../computewithtwosameporttypes/in/MANIFEST.json | 32 + .../computewithtwosameporttypes/in/base_vIECCF.env | 140 ++ .../computewithtwosameporttypes/in/base_vIECCF.yml | 1604 ++++++++++++++ .../in/base_vIECCF_volume.env | 33 + .../in/base_vIECCF_volume.yml | 139 ++ .../in/node_userdata_script.sh | 152 ++ .../GlobalSubstitutionTypesServiceTemplate.yaml | 2272 ++++++++++++++++++++ .../out/MainServiceTemplate.yaml | 1542 +++++++++++++ .../out/Nested_appServiceTemplate.yaml | 632 ++++++ .../out/Nested_ioxServiceTemplate.yaml | 637 ++++++ .../out/Nested_pltServiceTemplate.yaml | 637 ++++++ .../GlobalSubstitutionTypesServiceTemplate.yaml | 942 ++++---- .../out/MainServiceTemplate.yaml | 62 +- .../Nested_pd_server_main_1bServiceTemplate.yaml | 148 +- .../Nested_pd_server_main_1b_1ServiceTemplate.yaml | 148 +- ...Nested_pd_server_nested2_1bServiceTemplate.yaml | 178 +- .../Nested_ps_server_main_1bServiceTemplate.yaml | 158 +- .../Nested_ps_server_main_1b_1ServiceTemplate.yaml | 158 +- ...Nested_ps_server_nested2_1bServiceTemplate.yaml | 184 +- .../out/nested1ServiceTemplate.yaml | 114 +- .../out/nested2ServiceTemplate.yaml | 88 +- .../GlobalSubstitutionTypesServiceTemplate.yaml | 594 ++--- .../out/MainServiceTemplate.yaml | 50 +- .../out/Nested_pd_server_1bServiceTemplate.yaml | 174 +- .../out/Nested_pd_server_1b_1ServiceTemplate.yaml | 140 +- .../out/Nested_rd_server_1bServiceTemplate.yaml | 146 +- .../out/Nested_rd_server_1b_1ServiceTemplate.yaml | 152 +- .../out/nested1ServiceTemplate.yaml | 98 +- .../GlobalSubstitutionTypesServiceTemplate.yaml | 264 +-- .../out/Nested_pd_server_1bServiceTemplate.yaml | 140 +- .../out/Nested_ps_server_1bServiceTemplate.yaml | 146 +- .../out/nested1ServiceTemplate.yaml | 98 +- .../GlobalSubstitutionTypesServiceTemplate.yaml | 264 +-- .../out/Nested_pd_server_1bServiceTemplate.yaml | 140 +- .../out/Nested_ps_server_1bServiceTemplate.yaml | 146 +- .../out/nested1ServiceTemplate.yaml | 98 +- .../computewithtwosameporttypes2/in/MANIFEST.json | 17 + .../in/hot-mog-0108-bs1271.env | 55 + .../in/hot-mog-0108-bs1271.yml | 230 ++ .../GlobalSubstitutionTypesServiceTemplate.yaml | 542 +++++ .../out/MainServiceTemplate.yaml | 470 ++++ .../out/Nested_pd_serverServiceTemplate.yaml | 394 ++++ .../computewithtwosameporttypes3/in/MANIFEST.json | 17 + .../in/hot-mog-0108-bs1271.env | 55 + .../in/hot-mog-0108-bs1271.yml | 230 ++ .../GlobalSubstitutionTypesServiceTemplate.yaml | 542 +++++ .../out/MainServiceTemplate.yaml | 478 ++++ .../out/Nested_pd_serverServiceTemplate.yaml | 394 ++++ .../computewithtwosameporttypes4/in/MANIFEST.json | 17 + .../in/hot-mog-0108-bs1271.env | 55 + .../in/hot-mog-0108-bs1271.yml | 230 ++ .../GlobalSubstitutionTypesServiceTemplate.yaml | 542 +++++ .../out/MainServiceTemplate.yaml | 478 ++++ .../out/Nested_pd_serverServiceTemplate.yaml | 394 ++++ 54 files changed, 15375 insertions(+), 2415 deletions(-) create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/MANIFEST.json create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/base_vIECCF.env create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/base_vIECCF.yml create mode 100644 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 create mode 100644 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 create mode 100644 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 create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/GlobalSubstitutionTypesServiceTemplate.yaml create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/MainServiceTemplate.yaml create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/Nested_appServiceTemplate.yaml create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/Nested_ioxServiceTemplate.yaml create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/out/Nested_pltServiceTemplate.yaml create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/in/MANIFEST.json create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/in/hot-mog-0108-bs1271.env create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/in/hot-mog-0108-bs1271.yml create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/GlobalSubstitutionTypesServiceTemplate.yaml create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/MainServiceTemplate.yaml create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/Nested_pd_serverServiceTemplate.yaml create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/in/MANIFEST.json create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/in/hot-mog-0108-bs1271.env create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/in/hot-mog-0108-bs1271.yml create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/GlobalSubstitutionTypesServiceTemplate.yaml create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/MainServiceTemplate.yaml create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/Nested_pd_serverServiceTemplate.yaml create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/in/MANIFEST.json create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/in/hot-mog-0108-bs1271.env create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/in/hot-mog-0108-bs1271.yml create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/out/GlobalSubstitutionTypesServiceTemplate.yaml create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/out/MainServiceTemplate.yaml create mode 100644 openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/out/Nested_pd_serverServiceTemplate.yaml (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest') 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/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 diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/GlobalSubstitutionTypesServiceTemplate.yaml index b41b4dece5..32fbdf01c7 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/GlobalSubstitutionTypesServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/GlobalSubstitutionTypesServiceTemplate.yaml @@ -8,14 +8,14 @@ node_types: org.openecomp.resource.abstract.nodes.pd_server_nested2_1b: derived_from: org.openecomp.resource.abstract.nodes.VFC properties: - port_pd_server_nested_b_port_vlan_requirements: + port_pd_server_nested2_1b_port_vlan_requirements: type: list required: true status: SUPPORTED entry_schema: type: org.openecomp.datatypes.network.VlanRequirements - port_pd_server_nested_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming + port_pd_server_nested2_1b_port_order: + type: integer required: true status: SUPPORTED index_value: @@ -26,21 +26,31 @@ node_types: status: SUPPORTED constraints: - greater_or_equal: 0 - port_pd_server_nested_b_port_fixed_ips: + port_pd_server_nested2_1b_port_replacement_policy: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_pd_server_nested2_1b_port_fixed_ips: type: list required: true status: SUPPORTED entry_schema: type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_pd_server_nested_b_port_network_role_tag: + port_pd_server_nested2_1b_port_network_role: type: string required: true status: SUPPORTED + port_pd_server_nested2_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED vm_flavor_name: type: string required: true status: SUPPORTED - port_pd_server_nested_b_port_subnetpoolid: + port_pd_server_nested2_1b_port_subnetpoolid: type: string required: true status: SUPPORTED @@ -56,54 +66,31 @@ node_types: status: SUPPORTED entry_schema: type: string - port_pd_server_nested_b_port_order: - type: integer + vm_image_name: + type: string required: true status: SUPPORTED - port_pd_server_nested_b_port_network: + port_pd_server_nested2_1b_port_ip_requirements: type: list required: true status: SUPPORTED entry_schema: - type: string - port_pd_server_nested_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements + type: org.openecomp.datatypes.network.IpRequirements + port_pd_server_nested2_1b_port_network_role_tag: + type: string required: true status: SUPPORTED - port_pd_server_nested_b_port_replacement_policy: + port_pd_server_nested2_1b_port_network: type: list required: true status: SUPPORTED entry_schema: type: string - vm_image_name: - type: string - required: true - status: SUPPORTED - port_pd_server_nested_b_port_network_role: - type: string - required: true - status: SUPPORTED - port_pd_server_nested_b_port_ip_requirements: - type: list + port_pd_server_nested2_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements requirements: - - dependency_pd_server_nested2_1b_pd_server_nested_b_port: - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - occurrences: - - 0 - - UNBOUNDED - - link_pd_server_nested2_1b_pd_server_nested_b_port: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - occurrences: - - 1 - - 1 - dependency_pd_server_nested2_1b: capability: tosca.capabilities.Node node: tosca.nodes.Root @@ -118,32 +105,45 @@ node_types: occurrences: - 0 - UNBOUNDED + - dependency_pd_server_nested2_1b_pd_server_nested2_1b_port: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_pd_server_nested2_1b_pd_server_nested2_1b_port: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 capabilities: - cpu_pd_server_nested2_1b: + network.outpoing.packets_pd_server_nested2_1b_pd_server_nested2_1b_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.ephemeral.size_pd_server_nested2_1b: + cpu_pd_server_nested2_1b: 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_pd_server_nested2_1b_pd_server_nested_b_port: + disk.ephemeral.size_pd_server_nested2_1b: 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_pd_server_nested2_1b: + network.incoming.packets_pd_server_nested2_1b_pd_server_nested2_1b_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_pd_server_nested2_1b_pd_server_nested_b_port: + memory.usage_pd_server_nested2_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -172,15 +172,14 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.packets.rate_pd_server_nested2_1b_pd_server_nested_b_port: + disk.device.read.requests.rate_pd_server_nested2_1b: 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_pd_server_nested2_1b: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + attachment_pd_server_nested2_1b_pd_server_nested2_1b_port: + type: tosca.capabilities.Attachment occurrences: - 1 - UNBOUNDED @@ -207,7 +206,7 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.packets_pd_server_nested2_1b_pd_server_nested_b_port: + network.outgoing.packets.rate_pd_server_nested2_1b_pd_server_nested2_1b_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: @@ -219,6 +218,12 @@ node_types: occurrences: - 1 - UNBOUNDED + network.outgoing.bytes_pd_server_nested2_1b_pd_server_nested2_1b_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_pd_server_nested2_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -260,17 +265,6 @@ node_types: occurrences: - 1 - UNBOUNDED - feature_pd_server_nested2_1b_pd_server_nested_b_port: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - network.incoming.bytes.rate_pd_server_nested2_1b_pd_server_nested_b_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_pd_server_nested2_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -283,18 +277,6 @@ node_types: occurrences: - 1 - UNBOUNDED - binding_pd_server_nested2_1b_pd_server_nested_b_port: - type: tosca.capabilities.network.Bindable - valid_source_types: - - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface - occurrences: - - 0 - - UNBOUNDED - attachment_pd_server_nested2_1b_pd_server_nested_b_port: - type: tosca.capabilities.Attachment - occurrences: - - 1 - - UNBOUNDED instance_pd_server_nested2_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -330,19 +312,26 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.bytes_pd_server_nested2_1b_pd_server_nested_b_port: + cpu.delta_pd_server_nested2_1b: 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_pd_server_nested2_1b: + binding_pd_server_nested2_1b_pd_server_nested2_1b_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED + vcpus_pd_server_nested2_1b: 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_pd_server_nested2_1b: + network.incoming.bytes_pd_server_nested2_1b_pd_server_nested2_1b_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: @@ -366,19 +355,19 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.bytes_pd_server_nested2_1b_pd_server_nested_b_port: + network.outgoing.bytes.rate_pd_server_nested2_1b_pd_server_nested2_1b_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_pd_server_nested2_1b: + network.incoming.bytes.rate_pd_server_nested2_1b_pd_server_nested2_1b_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_pd_server_nested2_1b_pd_server_nested_b_port: + disk.allocation_pd_server_nested2_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -390,6 +379,17 @@ node_types: occurrences: - 1 - UNBOUNDED + network.incoming.packets.rate_pd_server_nested2_1b_pd_server_nested2_1b_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 + feature_pd_server_nested2_1b_pd_server_nested2_1b_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED memory.resident_pd_server_nested2_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -6830,11 +6830,19 @@ node_types: org.openecomp.resource.abstract.nodes.ps_server_main_1b_1: derived_from: org.openecomp.resource.abstract.nodes.VFC properties: - port_ps_server_main_b_port_network_role_tag: - type: string + port_ps_server_main_1b_port_fixed_ips: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_ps_server_main_1b_port_ip_requirements: + type: list required: true status: SUPPORTED - port_ps_server_main_b_port_network_role: + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_ps_server_main_1b_port_subnetpoolid: type: string required: true status: SUPPORTED @@ -6844,7 +6852,7 @@ node_types: status: SUPPORTED entry_schema: type: string - port_ps_server_main_b_port_exCP_naming: + port_ps_server_main_1b_port_exCP_naming: type: org.openecomp.datatypes.Naming required: true status: SUPPORTED @@ -6856,47 +6864,27 @@ node_types: status: SUPPORTED constraints: - greater_or_equal: 0 - port_ps_server_main_b_port_replacement_policy: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - port_ps_server_main_b_port_ip_requirements: - type: list - required: true - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements vm_flavor_name: type: string required: true status: SUPPORTED - port_ps_server_main_b_port_network: - type: list + port_ps_server_main_1b_port_network_role: + type: string required: true status: SUPPORTED - entry_schema: - type: string - port_ps_server_main_b_port_order: + port_ps_server_main_1b_port_order: type: integer required: true status: SUPPORTED - port_ps_server_main_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - status: SUPPORTED - port_ps_server_main_b_port_fixed_ips: - type: list + port_ps_server_main_1b_port_network_role_tag: + type: string required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps vm_image_name: type: string required: true status: SUPPORTED - port_ps_server_main_b_port_vlan_requirements: + port_ps_server_main_1b_port_vlan_requirements: type: list required: true status: SUPPORTED @@ -6908,19 +6896,31 @@ node_types: status: SUPPORTED entry_schema: type: string - port_ps_server_main_b_port_subnetpoolid: - type: string + port_ps_server_main_1b_port_replacement_policy: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_ps_server_main_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + port_ps_server_main_1b_port_network: + type: list required: true status: SUPPORTED + entry_schema: + type: string requirements: - - dependency_ps_server_main_1b_ps_server_main_b_port: + - dependency_ps_server_main_1b_ps_server_main_1b_port: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_ps_server_main_1b_ps_server_main_b_port: + - link_ps_server_main_1b_ps_server_main_1b_port: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: @@ -6941,6 +6941,12 @@ node_types: - 0 - UNBOUNDED capabilities: + network.incoming.bytes_ps_server_main_1b_ps_server_main_1b_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_ps_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -6959,9 +6965,8 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.packets.rate_ps_server_main_1b_ps_server_main_b_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + attachment_ps_server_main_1b_ps_server_main_1b_port: + type: tosca.capabilities.Attachment occurrences: - 1 - UNBOUNDED @@ -6977,7 +6982,7 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.bytes_ps_server_main_1b_ps_server_main_b_port: + network.outgoing.packets.rate_ps_server_main_1b_ps_server_main_1b_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: @@ -6989,6 +6994,13 @@ node_types: occurrences: - 1 - UNBOUNDED + binding_ps_server_main_1b_ps_server_main_1b_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED disk.device.write.bytes.rate_ps_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -7019,6 +7031,12 @@ node_types: occurrences: - 1 - UNBOUNDED + network.outpoing.packets_ps_server_main_1b_ps_server_main_1b_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_ps_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -7031,6 +7049,11 @@ node_types: occurrences: - 1 - UNBOUNDED + feature_ps_server_main_1b_ps_server_main_1b_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED disk.device.read.requests_ps_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -7054,6 +7077,18 @@ node_types: occurrences: - 1 - UNBOUNDED + network.outgoing.bytes_ps_server_main_1b_ps_server_main_1b_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_ps_server_main_1b_ps_server_main_1b_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_ps_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -7088,17 +7123,6 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.packets_ps_server_main_1b_ps_server_main_b_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 - feature_ps_server_main_1b_ps_server_main_b_port: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED disk.device.write.bytes_ps_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -7117,31 +7141,26 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.bytes.rate_ps_server_main_1b_ps_server_main_b_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + binding_ps_server_main_1b: + type: tosca.capabilities.network.Bindable occurrences: - 1 - UNBOUNDED - network.incoming.bytes.rate_ps_server_main_1b_ps_server_main_b_port: + network.incoming.packets_ps_server_main_1b_ps_server_main_1b_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_ps_server_main_1b: - type: tosca.capabilities.network.Bindable - occurrences: - - 1 - - UNBOUNDED disk.device.read.bytes.rate_ps_server_main_1b: 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_ps_server_main_1b_ps_server_main_b_port: - type: tosca.capabilities.Attachment + network.outgoing.bytes.rate_ps_server_main_1b_ps_server_main_1b_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 @@ -7152,25 +7171,12 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outpoing.packets_ps_server_main_1b_ps_server_main_b_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.iops_ps_server_main_1b: 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_ps_server_main_1b_ps_server_main_b_port: - type: tosca.capabilities.network.Bindable - valid_source_types: - - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface - occurrences: - - 0 - - UNBOUNDED disk.write.requests_ps_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -7218,25 +7224,19 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.packets.rate_ps_server_main_1b_ps_server_main_b_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_ps_server_main_1b_ps_server_main_b_port: + memory_ps_server_main_1b: 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_ps_server_main_1b: + disk.root.size_ps_server_main_1b: 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_ps_server_main_1b: + network.incoming.bytes.rate_ps_server_main_1b_ps_server_main_1b_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: @@ -9633,10 +9633,6 @@ node_types: org.openecomp.resource.abstract.nodes.pd_server_main_1b: derived_from: org.openecomp.resource.abstract.nodes.VFC properties: - port_pd_server_main_b_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 @@ -9645,8 +9641,8 @@ node_types: status: SUPPORTED constraints: - greater_or_equal: 0 - port_pd_server_main_b_port_order: - type: integer + port_pd_server_main_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming required: true status: SUPPORTED compute_pd_server_main_1b_availability_zone: @@ -9655,66 +9651,70 @@ node_types: status: SUPPORTED entry_schema: type: string - port_pd_server_main_b_port_replacement_policy: + port_pd_server_main_1b_port_replacement_policy: type: list required: true status: SUPPORTED entry_schema: type: string - port_pd_server_main_b_port_subnetpoolid: + port_pd_server_main_1b_port_subnetpoolid: type: string required: true status: SUPPORTED - port_pd_server_main_b_port_network_role_tag: - type: string + port_pd_server_main_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true status: SUPPORTED vm_flavor_name: type: string required: true status: SUPPORTED - port_pd_server_main_b_port_fixed_ips: - type: list + vm_image_name: + type: string required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_pd_server_main_b_port_vlan_requirements: + port_pd_server_main_1b_port_network_role: + type: string + required: true + status: SUPPORTED + compute_pd_server_main_1b_name: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements - port_pd_server_main_b_port_network_role: - type: string + type: string + port_pd_server_main_1b_port_network: + type: list required: true status: SUPPORTED - port_pd_server_main_b_port_ip_requirements: + entry_schema: + type: string + port_pd_server_main_1b_port_ip_requirements: type: list required: true status: SUPPORTED entry_schema: type: org.openecomp.datatypes.network.IpRequirements - vm_image_name: + port_pd_server_main_1b_port_network_role_tag: type: string required: true status: SUPPORTED - port_pd_server_main_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - status: SUPPORTED - compute_pd_server_main_1b_name: + port_pd_server_main_1b_port_vlan_requirements: type: list required: true status: SUPPORTED entry_schema: - type: string - port_pd_server_main_b_port_network: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd_server_main_1b_port_fixed_ips: type: list required: true status: SUPPORTED entry_schema: - type: string + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_pd_server_main_1b_port_order: + type: integer + required: true + status: SUPPORTED requirements: - dependency_pd_server_main_1b: capability: tosca.capabilities.Node @@ -9730,14 +9730,14 @@ node_types: occurrences: - 0 - UNBOUNDED - - dependency_pd_server_main_1b_pd_server_main_b_port: + - dependency_pd_server_main_1b_pd_server_main_1b_port: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_pd_server_main_1b_pd_server_main_b_port: + - link_pd_server_main_1b_pd_server_main_1b_port: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: @@ -9790,19 +9790,14 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.packets.rate_pd_server_main_1b_pd_server_main_b_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_pd_server_main_1b: type: tosca.capabilities.Endpoint.Admin occurrences: - 1 - UNBOUNDED - attachment_pd_server_main_1b_pd_server_main_b_port: - type: tosca.capabilities.Attachment + network.incoming.packets.rate_pd_server_main_1b_pd_server_main_1b_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 @@ -9812,6 +9807,13 @@ node_types: occurrences: - 1 - UNBOUNDED + binding_pd_server_main_1b_pd_server_main_1b_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED host_pd_server_main_1b: type: tosca.capabilities.Container valid_source_types: @@ -9819,25 +9821,18 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outpoing.packets_pd_server_main_1b_pd_server_main_b_port: + cpu.delta_pd_server_main_1b: 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_pd_server_main_1b: + network.incoming.packets_pd_server_main_1b_pd_server_main_1b_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_pd_server_main_1b_pd_server_main_b_port: - type: tosca.capabilities.network.Bindable - valid_source_types: - - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface - occurrences: - - 0 - - UNBOUNDED disk.device.read.bytes_pd_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -9850,7 +9845,7 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.bytes_pd_server_main_1b_pd_server_main_b_port: + network.outgoing.packets.rate_pd_server_main_1b_pd_server_main_1b_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: @@ -9868,12 +9863,6 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.packets.rate_pd_server_main_1b_pd_server_main_b_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_pd_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -9886,7 +9875,7 @@ node_types: occurrences: - 1 - UNBOUNDED - feature_pd_server_main_1b_pd_server_main_b_port: + feature_pd_server_main_1b_pd_server_main_1b_port: type: tosca.capabilities.Node occurrences: - 1 @@ -9908,43 +9897,37 @@ node_types: occurrences: - 1 - UNBOUNDED - disk.read.requests_pd_server_main_1b: + network.outgoing.bytes_pd_server_main_1b_pd_server_main_1b_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_pd_server_main_1b: - 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_pd_server_main_1b: + disk.read.requests_pd_server_main_1b: 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_pd_server_main_1b_pd_server_main_b_port: + disk.allocation_pd_server_main_1b: 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_pd_server_main_1b: + network.incoming.bytes.rate_pd_server_main_1b_pd_server_main_1b_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_pd_server_main_1b_pd_server_main_b_port: + disk.device.usage_pd_server_main_1b: 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_pd_server_main_1b_pd_server_main_b_port: + disk.write.requests.rate_pd_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -9985,6 +9968,12 @@ node_types: occurrences: - 1 - UNBOUNDED + network.outgoing.bytes.rate_pd_server_main_1b_pd_server_main_1b_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_pd_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -9997,18 +9986,23 @@ node_types: occurrences: - 1 - UNBOUNDED - disk.device.allocation_pd_server_main_1b: + network.incoming.bytes_pd_server_main_1b_pd_server_main_1b_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_pd_server_main_1b_pd_server_main_b_port: + disk.device.allocation_pd_server_main_1b: 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_pd_server_main_1b_pd_server_main_1b_port: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED disk.iops_pd_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -10027,6 +10021,12 @@ node_types: occurrences: - 1 - UNBOUNDED + network.outpoing.packets_pd_server_main_1b_pd_server_main_1b_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_pd_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -10054,10 +10054,6 @@ node_types: org.openecomp.resource.abstract.nodes.pd_server_main_1b_1: derived_from: org.openecomp.resource.abstract.nodes.VFC properties: - port_pd_server_main_b_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 @@ -10066,8 +10062,8 @@ node_types: status: SUPPORTED constraints: - greater_or_equal: 0 - port_pd_server_main_b_port_order: - type: integer + port_pd_server_main_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming required: true status: SUPPORTED compute_pd_server_main_1b_availability_zone: @@ -10076,66 +10072,70 @@ node_types: status: SUPPORTED entry_schema: type: string - port_pd_server_main_b_port_replacement_policy: + port_pd_server_main_1b_port_replacement_policy: type: list required: true status: SUPPORTED entry_schema: type: string - port_pd_server_main_b_port_subnetpoolid: + port_pd_server_main_1b_port_subnetpoolid: type: string required: true status: SUPPORTED - port_pd_server_main_b_port_network_role_tag: - type: string + port_pd_server_main_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true status: SUPPORTED vm_flavor_name: type: string required: true status: SUPPORTED - port_pd_server_main_b_port_fixed_ips: - type: list + vm_image_name: + type: string required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_pd_server_main_b_port_vlan_requirements: + port_pd_server_main_1b_port_network_role: + type: string + required: true + status: SUPPORTED + compute_pd_server_main_1b_name: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements - port_pd_server_main_b_port_network_role: - type: string + type: string + port_pd_server_main_1b_port_network: + type: list required: true status: SUPPORTED - port_pd_server_main_b_port_ip_requirements: + entry_schema: + type: string + port_pd_server_main_1b_port_ip_requirements: type: list required: true status: SUPPORTED entry_schema: type: org.openecomp.datatypes.network.IpRequirements - vm_image_name: + port_pd_server_main_1b_port_network_role_tag: type: string required: true status: SUPPORTED - port_pd_server_main_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - status: SUPPORTED - compute_pd_server_main_1b_name: + port_pd_server_main_1b_port_vlan_requirements: type: list required: true status: SUPPORTED entry_schema: - type: string - port_pd_server_main_b_port_network: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd_server_main_1b_port_fixed_ips: type: list required: true status: SUPPORTED entry_schema: - type: string + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_pd_server_main_1b_port_order: + type: integer + required: true + status: SUPPORTED requirements: - dependency_pd_server_main_1b: capability: tosca.capabilities.Node @@ -10151,14 +10151,14 @@ node_types: occurrences: - 0 - UNBOUNDED - - dependency_pd_server_main_1b_pd_server_main_b_port: + - dependency_pd_server_main_1b_pd_server_main_1b_port: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_pd_server_main_1b_pd_server_main_b_port: + - link_pd_server_main_1b_pd_server_main_1b_port: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: @@ -10211,19 +10211,14 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.packets.rate_pd_server_main_1b_pd_server_main_b_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_pd_server_main_1b: type: tosca.capabilities.Endpoint.Admin occurrences: - 1 - UNBOUNDED - attachment_pd_server_main_1b_pd_server_main_b_port: - type: tosca.capabilities.Attachment + network.incoming.packets.rate_pd_server_main_1b_pd_server_main_1b_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 @@ -10233,6 +10228,13 @@ node_types: occurrences: - 1 - UNBOUNDED + binding_pd_server_main_1b_pd_server_main_1b_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED host_pd_server_main_1b: type: tosca.capabilities.Container valid_source_types: @@ -10240,25 +10242,18 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outpoing.packets_pd_server_main_1b_pd_server_main_b_port: + cpu.delta_pd_server_main_1b: 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_pd_server_main_1b: + network.incoming.packets_pd_server_main_1b_pd_server_main_1b_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_pd_server_main_1b_pd_server_main_b_port: - type: tosca.capabilities.network.Bindable - valid_source_types: - - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface - occurrences: - - 0 - - UNBOUNDED disk.device.read.bytes_pd_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -10271,7 +10266,7 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.bytes_pd_server_main_1b_pd_server_main_b_port: + network.outgoing.packets.rate_pd_server_main_1b_pd_server_main_1b_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: @@ -10289,12 +10284,6 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.packets.rate_pd_server_main_1b_pd_server_main_b_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_pd_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -10307,7 +10296,7 @@ node_types: occurrences: - 1 - UNBOUNDED - feature_pd_server_main_1b_pd_server_main_b_port: + feature_pd_server_main_1b_pd_server_main_1b_port: type: tosca.capabilities.Node occurrences: - 1 @@ -10329,43 +10318,37 @@ node_types: occurrences: - 1 - UNBOUNDED - disk.read.requests_pd_server_main_1b: - 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_pd_server_main_1b: + network.outgoing.bytes_pd_server_main_1b_pd_server_main_1b_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_pd_server_main_1b: + disk.read.requests_pd_server_main_1b: 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_pd_server_main_1b_pd_server_main_b_port: + disk.allocation_pd_server_main_1b: 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_pd_server_main_1b: + network.incoming.bytes.rate_pd_server_main_1b_pd_server_main_1b_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_pd_server_main_1b_pd_server_main_b_port: + disk.device.usage_pd_server_main_1b: 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_pd_server_main_1b_pd_server_main_b_port: + disk.write.requests.rate_pd_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -10406,6 +10389,12 @@ node_types: occurrences: - 1 - UNBOUNDED + network.outgoing.bytes.rate_pd_server_main_1b_pd_server_main_1b_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_pd_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -10418,18 +10407,23 @@ node_types: occurrences: - 1 - UNBOUNDED - disk.device.allocation_pd_server_main_1b: + network.incoming.bytes_pd_server_main_1b_pd_server_main_1b_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_pd_server_main_1b_pd_server_main_b_port: + disk.device.allocation_pd_server_main_1b: 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_pd_server_main_1b_pd_server_main_1b_port: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED disk.iops_pd_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -10448,6 +10442,12 @@ node_types: occurrences: - 1 - UNBOUNDED + network.outpoing.packets_pd_server_main_1b_pd_server_main_1b_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_pd_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -10538,11 +10538,19 @@ node_types: org.openecomp.resource.abstract.nodes.ps_server_main_1b: derived_from: org.openecomp.resource.abstract.nodes.VFC properties: - port_ps_server_main_b_port_network_role_tag: - type: string + port_ps_server_main_1b_port_fixed_ips: + type: list required: true status: SUPPORTED - port_ps_server_main_b_port_network_role: + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_ps_server_main_1b_port_ip_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_ps_server_main_1b_port_subnetpoolid: type: string required: true status: SUPPORTED @@ -10552,7 +10560,7 @@ node_types: status: SUPPORTED entry_schema: type: string - port_ps_server_main_b_port_exCP_naming: + port_ps_server_main_1b_port_exCP_naming: type: org.openecomp.datatypes.Naming required: true status: SUPPORTED @@ -10564,47 +10572,27 @@ node_types: status: SUPPORTED constraints: - greater_or_equal: 0 - port_ps_server_main_b_port_replacement_policy: - type: list - required: true - status: SUPPORTED - entry_schema: - type: string - port_ps_server_main_b_port_ip_requirements: - type: list - required: true - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements vm_flavor_name: type: string required: true status: SUPPORTED - port_ps_server_main_b_port_network: - type: list + port_ps_server_main_1b_port_network_role: + type: string required: true status: SUPPORTED - entry_schema: - type: string - port_ps_server_main_b_port_order: + port_ps_server_main_1b_port_order: type: integer required: true status: SUPPORTED - port_ps_server_main_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - status: SUPPORTED - port_ps_server_main_b_port_fixed_ips: - type: list + port_ps_server_main_1b_port_network_role_tag: + type: string required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps vm_image_name: type: string required: true status: SUPPORTED - port_ps_server_main_b_port_vlan_requirements: + port_ps_server_main_1b_port_vlan_requirements: type: list required: true status: SUPPORTED @@ -10616,19 +10604,31 @@ node_types: status: SUPPORTED entry_schema: type: string - port_ps_server_main_b_port_subnetpoolid: - type: string + port_ps_server_main_1b_port_replacement_policy: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_ps_server_main_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + port_ps_server_main_1b_port_network: + type: list required: true status: SUPPORTED + entry_schema: + type: string requirements: - - dependency_ps_server_main_1b_ps_server_main_b_port: + - dependency_ps_server_main_1b_ps_server_main_1b_port: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_ps_server_main_1b_ps_server_main_b_port: + - link_ps_server_main_1b_ps_server_main_1b_port: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: @@ -10649,6 +10649,12 @@ node_types: - 0 - UNBOUNDED capabilities: + network.incoming.bytes_ps_server_main_1b_ps_server_main_1b_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_ps_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -10667,9 +10673,8 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.packets.rate_ps_server_main_1b_ps_server_main_b_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + attachment_ps_server_main_1b_ps_server_main_1b_port: + type: tosca.capabilities.Attachment occurrences: - 1 - UNBOUNDED @@ -10685,7 +10690,7 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.bytes_ps_server_main_1b_ps_server_main_b_port: + network.outgoing.packets.rate_ps_server_main_1b_ps_server_main_1b_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: @@ -10697,6 +10702,13 @@ node_types: occurrences: - 1 - UNBOUNDED + binding_ps_server_main_1b_ps_server_main_1b_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED disk.device.write.bytes.rate_ps_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -10727,6 +10739,12 @@ node_types: occurrences: - 1 - UNBOUNDED + network.outpoing.packets_ps_server_main_1b_ps_server_main_1b_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_ps_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -10739,6 +10757,11 @@ node_types: occurrences: - 1 - UNBOUNDED + feature_ps_server_main_1b_ps_server_main_1b_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED disk.device.read.requests_ps_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -10762,6 +10785,18 @@ node_types: occurrences: - 1 - UNBOUNDED + network.outgoing.bytes_ps_server_main_1b_ps_server_main_1b_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_ps_server_main_1b_ps_server_main_1b_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_ps_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -10796,17 +10831,6 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.packets_ps_server_main_1b_ps_server_main_b_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 - feature_ps_server_main_1b_ps_server_main_b_port: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED disk.device.write.bytes_ps_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -10825,31 +10849,26 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.bytes.rate_ps_server_main_1b_ps_server_main_b_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + binding_ps_server_main_1b: + type: tosca.capabilities.network.Bindable occurrences: - 1 - UNBOUNDED - network.incoming.bytes.rate_ps_server_main_1b_ps_server_main_b_port: + network.incoming.packets_ps_server_main_1b_ps_server_main_1b_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_ps_server_main_1b: - type: tosca.capabilities.network.Bindable - occurrences: - - 1 - - UNBOUNDED disk.device.read.bytes.rate_ps_server_main_1b: 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_ps_server_main_1b_ps_server_main_b_port: - type: tosca.capabilities.Attachment + network.outgoing.bytes.rate_ps_server_main_1b_ps_server_main_1b_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 @@ -10860,25 +10879,12 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outpoing.packets_ps_server_main_1b_ps_server_main_b_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.iops_ps_server_main_1b: 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_ps_server_main_1b_ps_server_main_b_port: - type: tosca.capabilities.network.Bindable - valid_source_types: - - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface - occurrences: - - 0 - - UNBOUNDED disk.write.requests_ps_server_main_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -10926,25 +10932,19 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.packets.rate_ps_server_main_1b_ps_server_main_b_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_ps_server_main_1b_ps_server_main_b_port: + memory_ps_server_main_1b: 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_ps_server_main_1b: + disk.root.size_ps_server_main_1b: 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_ps_server_main_1b: + network.incoming.bytes.rate_ps_server_main_1b_ps_server_main_1b_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: @@ -11380,24 +11380,20 @@ node_types: org.openecomp.resource.abstract.nodes.ps_server_nested2_1b: derived_from: org.openecomp.resource.abstract.nodes.VFC properties: - port_ps_server_nested_b_port_replacement_policy: - type: list + port_ps_server_nested2_1b_port_network_role_tag: + type: string required: true status: SUPPORTED - entry_schema: - type: string - port_ps_server_nested_b_port_ip_requirements: + port_ps_server_nested2_1b_port_ip_requirements: type: list required: true status: SUPPORTED entry_schema: type: org.openecomp.datatypes.network.IpRequirements - port_ps_server_nested_b_port_network: - type: list + port_ps_server_nested2_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming required: true status: SUPPORTED - entry_schema: - type: string index_value: type: integer description: Index value of this substitution service template runtime instance @@ -11412,11 +11408,13 @@ node_types: status: SUPPORTED entry_schema: type: string - port_ps_server_nested_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming + compute_ps_server_nested2_1b_availability_zone: + type: list required: true status: SUPPORTED - compute_ps_server_nested2_1b_availability_zone: + entry_schema: + type: string + port_ps_server_nested2_1b_port_replacement_policy: type: list required: true status: SUPPORTED @@ -11426,56 +11424,45 @@ node_types: type: string required: true status: SUPPORTED - port_ps_server_nested_b_port_fixed_ips: + port_ps_server_nested2_1b_port_network: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_ps_server_nested_b_port_subnetpoolid: - type: string + type: string + port_ps_server_nested2_1b_port_vlan_requirements: + type: list required: true status: SUPPORTED - port_ps_server_nested_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_ps_server_nested2_1b_port_network_role: + type: string required: true status: SUPPORTED vm_image_name: type: string required: true status: SUPPORTED - port_ps_server_nested_b_port_vlan_requirements: - type: list + port_ps_server_nested2_1b_port_order: + type: integer required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements - port_ps_server_nested_b_port_network_role: + port_ps_server_nested2_1b_port_subnetpoolid: type: string required: true status: SUPPORTED - port_ps_server_nested_b_port_network_role_tag: - type: string + port_ps_server_nested2_1b_port_fixed_ips: + type: list required: true status: SUPPORTED - port_ps_server_nested_b_port_order: - type: integer + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_ps_server_nested2_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true status: SUPPORTED requirements: - - dependency_ps_server_nested2_1b_ps_server_nested_b_port: - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - occurrences: - - 0 - - UNBOUNDED - - link_ps_server_nested2_1b_ps_server_nested_b_port: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - occurrences: - - 1 - - 1 - dependency_ps_server_nested2_1b: capability: tosca.capabilities.Node node: tosca.nodes.Root @@ -11490,44 +11477,39 @@ node_types: occurrences: - 0 - UNBOUNDED - capabilities: - disk.device.read.bytes.rate_ps_server_nested2_1b: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + - dependency_ps_server_nested2_1b_ps_server_nested2_1b_port: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn occurrences: - - 1 + - 0 - UNBOUNDED - network.incoming.packets.rate_ps_server_nested2_1b_ps_server_nested_b_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + - link_ps_server_nested2_1b_ps_server_nested2_1b_port: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo occurrences: - 1 - - UNBOUNDED - disk.iops_ps_server_nested2_1b: - 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_ps_server_nested2_1b: + capabilities: + disk.device.read.bytes.rate_ps_server_nested2_1b: 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_ps_server_nested2_1b_ps_server_nested_b_port: + disk.iops_ps_server_nested2_1b: 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_ps_server_nested2_1b: + vcpus_ps_server_nested2_1b: 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_ps_server_nested2_1b_ps_server_nested_b_port: + instance_ps_server_nested2_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -11557,25 +11539,25 @@ node_types: occurrences: - 1 - UNBOUNDED - disk.device.allocation_ps_server_nested2_1b: + network.incoming.packets_ps_server_nested2_1b_ps_server_nested2_1b_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_ps_server_nested2_1b: + disk.device.allocation_ps_server_nested2_1b: 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_ps_server_nested2_1b: + cpu.delta_ps_server_nested2_1b: 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_ps_server_nested2_1b_ps_server_nested_b_port: + memory.resident_ps_server_nested2_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -11618,6 +11600,12 @@ node_types: occurrences: - 1 - UNBOUNDED + network.incoming.bytes_ps_server_nested2_1b_ps_server_nested2_1b_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_ps_server_nested2_1b: type: tosca.capabilities.Scalable occurrences: @@ -11629,13 +11617,31 @@ node_types: occurrences: - 1 - UNBOUNDED + network.outgoing.bytes.rate_ps_server_nested2_1b_ps_server_nested2_1b_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_ps_server_nested2_1b_ps_server_nested2_1b_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_ps_server_nested2_1b_ps_server_nested2_1b_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_ps_server_nested2_1b: 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_ps_server_nested2_1b_ps_server_nested_b_port: + network.incoming.bytes.rate_ps_server_nested2_1b_ps_server_nested2_1b_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: @@ -11647,24 +11653,23 @@ node_types: occurrences: - 1 - UNBOUNDED - disk.write.requests_ps_server_nested2_1b: + network.outgoing.bytes_ps_server_nested2_1b_ps_server_nested2_1b_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_ps_server_nested2_1b: + disk.write.requests_ps_server_nested2_1b: 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_ps_server_nested2_1b_ps_server_nested_b_port: - type: tosca.capabilities.network.Bindable - valid_source_types: - - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + memory_ps_server_nested2_1b: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - - 0 + - 1 - UNBOUNDED disk.device.read.requests.rate_ps_server_nested2_1b: type: org.openecomp.capabilities.metric.Ceilometer @@ -11678,12 +11683,7 @@ node_types: occurrences: - 1 - UNBOUNDED - feature_ps_server_nested2_1b_ps_server_nested_b_port: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - network.incoming.bytes_ps_server_nested2_1b_ps_server_nested_b_port: + network.incoming.packets.rate_ps_server_nested2_1b_ps_server_nested2_1b_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: @@ -11695,6 +11695,11 @@ node_types: occurrences: - 1 - UNBOUNDED + feature_ps_server_nested2_1b_ps_server_nested2_1b_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED disk.device.write.requests.rate_ps_server_nested2_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -11734,12 +11739,6 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.bytes.rate_ps_server_nested2_1b_ps_server_nested_b_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_ps_server_nested2_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -11752,11 +11751,6 @@ node_types: occurrences: - 1 - UNBOUNDED - attachment_ps_server_nested2_1b_ps_server_nested_b_port: - type: tosca.capabilities.Attachment - occurrences: - - 1 - - UNBOUNDED os_ps_server_nested2_1b: type: tosca.capabilities.OperatingSystem occurrences: @@ -11780,19 +11774,25 @@ node_types: occurrences: - 1 - UNBOUNDED - disk.device.read.requests_ps_server_nested2_1b: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + binding_ps_server_nested2_1b_ps_server_nested2_1b_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED + attachment_ps_server_nested2_1b_ps_server_nested2_1b_port: + type: tosca.capabilities.Attachment occurrences: - 1 - UNBOUNDED - disk.device.write.bytes.rate_ps_server_nested2_1b: + disk.device.read.requests_ps_server_nested2_1b: 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_ps_server_nested2_1b_ps_server_nested_b_port: + disk.device.write.bytes.rate_ps_server_nested2_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/MainServiceTemplate.yaml index ed4dbd6cb2..3e27a96590 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/MainServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/MainServiceTemplate.yaml @@ -105,32 +105,32 @@ topology_template: properties: compute_pd_server_main_1b_availability_zone: - get_input: availability_zone_0 - port_pd_server_main_b_port_replacement_policy: + port_pd_server_main_1b_port_replacement_policy: - AUTO + port_pd_server_main_1b_port_mac_requirements: + mac_count_required: + is_required: false vm_flavor_name: get_input: pd_server_main_1b_flavor - port_pd_server_main_b_port_fixed_ips: - - ip_address: - get_input: - - pd_server_main_1b_ips - - 0 - port_pd_server_main_b_port_ip_requirements: - - ip_version: 4 - ip_count_required: - is_required: true - floating_ip_count_required: - is_required: false vm_image_name: get_input: pd_server_main_1b_image - port_pd_server_main_b_port_mac_requirements: - mac_count_required: - is_required: false compute_pd_server_main_1b_name: - get_input: - pd_server_main_1b_names - 0 - port_pd_server_main_b_port_network: + port_pd_server_main_1b_port_network: - get_input: jsa_name + port_pd_server_main_1b_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + port_pd_server_main_1b_port_fixed_ips: + - ip_address: + get_input: + - pd_server_main_1b_ips + - 0 service_template_filter: substitute_service_template: Nested_pd_server_main_1b_1ServiceTemplate.yaml count: 1 @@ -144,34 +144,34 @@ topology_template: directives: - substitutable properties: - compute_ps_server_main_1b_availability_zone: - - get_input: availability_zone_0 - port_ps_server_main_b_port_replacement_policy: - - AUTO - port_ps_server_main_b_port_ip_requirements: + port_ps_server_main_1b_port_fixed_ips: + - ip_address: + get_input: + - ps_server_main_1b_ips + - 0 + port_ps_server_main_1b_port_ip_requirements: - ip_version: 4 ip_count_required: is_required: true floating_ip_count_required: is_required: false + compute_ps_server_main_1b_availability_zone: + - get_input: availability_zone_0 vm_flavor_name: get_input: ps_server_main_1b_flavor - port_ps_server_main_b_port_network: - - get_input: jsa_name - port_ps_server_main_b_port_mac_requirements: - mac_count_required: - is_required: false - port_ps_server_main_b_port_fixed_ips: - - ip_address: - get_input: - - ps_server_main_1b_ips - - 0 vm_image_name: get_input: ps_server_main_1b_image compute_ps_server_main_1b_name: - get_input: - ps_server_main_1b_names - 1 + port_ps_server_main_1b_port_replacement_policy: + - AUTO + port_ps_server_main_1b_port_mac_requirements: + mac_count_required: + is_required: false + port_ps_server_main_1b_port_network: + - get_input: jsa_name service_template_filter: substitute_service_template: Nested_ps_server_main_1b_1ServiceTemplate.yaml count: 1 diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_pd_server_main_1bServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_pd_server_main_1bServiceTemplate.yaml index 697a9a1f1a..b489bc4c05 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_pd_server_main_1bServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_pd_server_main_1bServiceTemplate.yaml @@ -11,9 +11,6 @@ node_types: derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server topology_template: inputs: - port_pd_server_main_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true index_value: type: integer description: Index value of this substitution service template runtime instance @@ -21,62 +18,65 @@ topology_template: default: 0 constraints: - greater_or_equal: 0 - port_pd_server_main_b_port_order: - type: integer + port_pd_server_main_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming required: true compute_pd_server_main_1b_availability_zone: type: list required: true entry_schema: type: string - port_pd_server_main_b_port_replacement_policy: + port_pd_server_main_1b_port_replacement_policy: type: list required: true entry_schema: type: string - port_pd_server_main_b_port_subnetpoolid: + port_pd_server_main_1b_port_subnetpoolid: type: string required: true - port_pd_server_main_b_port_network_role_tag: - type: string + port_pd_server_main_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true vm_flavor_name: type: string required: true - port_pd_server_main_b_port_fixed_ips: + vm_image_name: + type: string + required: true + port_pd_server_main_1b_port_network_role: + type: string + required: true + compute_pd_server_main_1b_name: type: list required: true entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_pd_server_main_b_port_vlan_requirements: + type: string + port_pd_server_main_1b_port_network: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements - port_pd_server_main_b_port_network_role: - type: string - required: true - port_pd_server_main_b_port_ip_requirements: + type: string + port_pd_server_main_1b_port_ip_requirements: type: list required: true entry_schema: type: org.openecomp.datatypes.network.IpRequirements - vm_image_name: + port_pd_server_main_1b_port_network_role_tag: type: string required: true - port_pd_server_main_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - compute_pd_server_main_1b_name: + port_pd_server_main_1b_port_vlan_requirements: type: list required: true entry_schema: - type: string - port_pd_server_main_b_port_network: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd_server_main_1b_port_fixed_ips: type: list required: true entry_schema: - type: string + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_pd_server_main_1b_port_order: + type: integer + required: true node_templates: pd_server_main_1b: type: org.openecomp.resource.vfc.compute.nodes.heat.pd_server_main_1b @@ -93,34 +93,34 @@ topology_template: get_input: - compute_pd_server_main_1b_name - index_value - pd_server_main_1b_pd_server_main_b_port: + pd_server_main_1b_pd_server_main_1b_port: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_pd_server_main_b_port_exCP_naming + get_input: port_pd_server_main_1b_port_exCP_naming replacement_policy: get_input: - - port_pd_server_main_b_port_replacement_policy + - port_pd_server_main_1b_port_replacement_policy - index_value vlan_requirements: - get_input: port_pd_server_main_b_port_vlan_requirements + get_input: port_pd_server_main_1b_port_vlan_requirements ip_requirements: - get_input: port_pd_server_main_b_port_ip_requirements + get_input: port_pd_server_main_1b_port_ip_requirements network_role_tag: - get_input: port_pd_server_main_b_port_network_role_tag + get_input: port_pd_server_main_1b_port_network_role_tag mac_requirements: - get_input: port_pd_server_main_b_port_mac_requirements + get_input: port_pd_server_main_1b_port_mac_requirements order: - get_input: port_pd_server_main_b_port_order + get_input: port_pd_server_main_1b_port_order network_role: - get_input: port_pd_server_main_b_port_network_role + get_input: port_pd_server_main_1b_port_network_role subnetpoolid: - get_input: port_pd_server_main_b_port_subnetpoolid + get_input: port_pd_server_main_1b_port_subnetpoolid fixed_ips: - get_input: port_pd_server_main_b_port_fixed_ips + get_input: port_pd_server_main_1b_port_fixed_ips network: get_input: - - port_pd_server_main_b_port_network + - port_pd_server_main_1b_port_network - index_value requirements: - binding: @@ -154,56 +154,50 @@ topology_template: scalable_pd_server_main_1b: - pd_server_main_1b - scalable - network.incoming.packets.rate_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - network.incoming.packets.rate endpoint_pd_server_main_1b: - pd_server_main_1b - endpoint - attachment_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - attachment + network.incoming.packets.rate_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - network.incoming.packets.rate instance_pd_server_main_1b: - pd_server_main_1b - instance + binding_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - binding host_pd_server_main_1b: - pd_server_main_1b - host - network.outpoing.packets_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - network.outpoing.packets cpu.delta_pd_server_main_1b: - pd_server_main_1b - cpu.delta - binding_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - binding + network.incoming.packets_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - network.incoming.packets disk.device.read.bytes_pd_server_main_1b: - pd_server_main_1b - disk.device.read.bytes disk.device.read.bytes.rate_pd_server_main_1b: - pd_server_main_1b - disk.device.read.bytes.rate - network.outgoing.bytes_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - network.outgoing.bytes + network.outgoing.packets.rate_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - network.outgoing.packets.rate disk.device.iops_pd_server_main_1b: - pd_server_main_1b - disk.device.iops disk.device.write.requests.rate_pd_server_main_1b: - pd_server_main_1b - disk.device.write.requests.rate - network.outgoing.packets.rate_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - network.outgoing.packets.rate disk.device.write.bytes_pd_server_main_1b: - pd_server_main_1b - disk.device.write.bytes disk.device.latency_pd_server_main_1b: - pd_server_main_1b - disk.device.latency - feature_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port + feature_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port - feature binding_pd_server_main_1b: - pd_server_main_1b @@ -214,27 +208,24 @@ topology_template: disk.ephemeral.size_pd_server_main_1b: - pd_server_main_1b - disk.ephemeral.size + network.outgoing.bytes_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - network.outgoing.bytes disk.read.requests_pd_server_main_1b: - pd_server_main_1b - disk.read.requests disk.allocation_pd_server_main_1b: - pd_server_main_1b - disk.allocation + network.incoming.bytes.rate_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - network.incoming.bytes.rate disk.device.usage_pd_server_main_1b: - pd_server_main_1b - disk.device.usage - network.incoming.bytes.rate_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - network.incoming.bytes.rate disk.write.requests.rate_pd_server_main_1b: - pd_server_main_1b - disk.write.requests.rate - network.incoming.bytes_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - network.incoming.bytes - network.outgoing.bytes.rate_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - network.outgoing.bytes.rate os_pd_server_main_1b: - pd_server_main_1b - os @@ -253,18 +244,24 @@ topology_template: disk.latency_pd_server_main_1b: - pd_server_main_1b - disk.latency + network.outgoing.bytes.rate_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - network.outgoing.bytes.rate disk.read.bytes.rate_pd_server_main_1b: - pd_server_main_1b - disk.read.bytes.rate disk.device.read.requests_pd_server_main_1b: - pd_server_main_1b - disk.device.read.requests + network.incoming.bytes_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - network.incoming.bytes disk.device.allocation_pd_server_main_1b: - pd_server_main_1b - disk.device.allocation - network.incoming.packets_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - network.incoming.packets + attachment_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - attachment disk.iops_pd_server_main_1b: - pd_server_main_1b - disk.iops @@ -274,6 +271,9 @@ topology_template: disk.write.requests_pd_server_main_1b: - pd_server_main_1b - disk.write.requests + network.outpoing.packets_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - network.outpoing.packets cpu_util_pd_server_main_1b: - pd_server_main_1b - cpu_util @@ -287,15 +287,15 @@ topology_template: - pd_server_main_1b - disk.device.read.requests.rate requirements: - link_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port + link_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port - link - dependency_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - dependency dependency_pd_server_main_1b: - pd_server_main_1b - dependency local_storage_pd_server_main_1b: - pd_server_main_1b - local_storage + dependency_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - dependency diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_pd_server_main_1b_1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_pd_server_main_1b_1ServiceTemplate.yaml index 164b9eee61..c1f087a7f3 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_pd_server_main_1b_1ServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_pd_server_main_1b_1ServiceTemplate.yaml @@ -11,9 +11,6 @@ node_types: derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server topology_template: inputs: - port_pd_server_main_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true index_value: type: integer description: Index value of this substitution service template runtime instance @@ -21,62 +18,65 @@ topology_template: default: 0 constraints: - greater_or_equal: 0 - port_pd_server_main_b_port_order: - type: integer + port_pd_server_main_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming required: true compute_pd_server_main_1b_availability_zone: type: list required: true entry_schema: type: string - port_pd_server_main_b_port_replacement_policy: + port_pd_server_main_1b_port_replacement_policy: type: list required: true entry_schema: type: string - port_pd_server_main_b_port_subnetpoolid: + port_pd_server_main_1b_port_subnetpoolid: type: string required: true - port_pd_server_main_b_port_network_role_tag: - type: string + port_pd_server_main_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true vm_flavor_name: type: string required: true - port_pd_server_main_b_port_fixed_ips: + vm_image_name: + type: string + required: true + port_pd_server_main_1b_port_network_role: + type: string + required: true + compute_pd_server_main_1b_name: type: list required: true entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_pd_server_main_b_port_vlan_requirements: + type: string + port_pd_server_main_1b_port_network: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements - port_pd_server_main_b_port_network_role: - type: string - required: true - port_pd_server_main_b_port_ip_requirements: + type: string + port_pd_server_main_1b_port_ip_requirements: type: list required: true entry_schema: type: org.openecomp.datatypes.network.IpRequirements - vm_image_name: + port_pd_server_main_1b_port_network_role_tag: type: string required: true - port_pd_server_main_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - compute_pd_server_main_1b_name: + port_pd_server_main_1b_port_vlan_requirements: type: list required: true entry_schema: - type: string - port_pd_server_main_b_port_network: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd_server_main_1b_port_fixed_ips: type: list required: true entry_schema: - type: string + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_pd_server_main_1b_port_order: + type: integer + required: true node_templates: pd_server_main_1b: type: org.openecomp.resource.vfc.compute.nodes.heat.pd_server_main_1b @@ -93,34 +93,34 @@ topology_template: get_input: - compute_pd_server_main_1b_name - index_value - pd_server_main_1b_pd_server_main_b_port: + pd_server_main_1b_pd_server_main_1b_port: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_pd_server_main_b_port_exCP_naming + get_input: port_pd_server_main_1b_port_exCP_naming replacement_policy: get_input: - - port_pd_server_main_b_port_replacement_policy + - port_pd_server_main_1b_port_replacement_policy - index_value vlan_requirements: - get_input: port_pd_server_main_b_port_vlan_requirements + get_input: port_pd_server_main_1b_port_vlan_requirements ip_requirements: - get_input: port_pd_server_main_b_port_ip_requirements + get_input: port_pd_server_main_1b_port_ip_requirements network_role_tag: - get_input: port_pd_server_main_b_port_network_role_tag + get_input: port_pd_server_main_1b_port_network_role_tag mac_requirements: - get_input: port_pd_server_main_b_port_mac_requirements + get_input: port_pd_server_main_1b_port_mac_requirements order: - get_input: port_pd_server_main_b_port_order + get_input: port_pd_server_main_1b_port_order network_role: - get_input: port_pd_server_main_b_port_network_role + get_input: port_pd_server_main_1b_port_network_role subnetpoolid: - get_input: port_pd_server_main_b_port_subnetpoolid + get_input: port_pd_server_main_1b_port_subnetpoolid fixed_ips: - get_input: port_pd_server_main_b_port_fixed_ips + get_input: port_pd_server_main_1b_port_fixed_ips network: get_input: - - port_pd_server_main_b_port_network + - port_pd_server_main_1b_port_network - index_value requirements: - binding: @@ -154,56 +154,50 @@ topology_template: scalable_pd_server_main_1b: - pd_server_main_1b - scalable - network.incoming.packets.rate_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - network.incoming.packets.rate endpoint_pd_server_main_1b: - pd_server_main_1b - endpoint - attachment_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - attachment + network.incoming.packets.rate_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - network.incoming.packets.rate instance_pd_server_main_1b: - pd_server_main_1b - instance + binding_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - binding host_pd_server_main_1b: - pd_server_main_1b - host - network.outpoing.packets_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - network.outpoing.packets cpu.delta_pd_server_main_1b: - pd_server_main_1b - cpu.delta - binding_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - binding + network.incoming.packets_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - network.incoming.packets disk.device.read.bytes_pd_server_main_1b: - pd_server_main_1b - disk.device.read.bytes disk.device.read.bytes.rate_pd_server_main_1b: - pd_server_main_1b - disk.device.read.bytes.rate - network.outgoing.bytes_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - network.outgoing.bytes + network.outgoing.packets.rate_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - network.outgoing.packets.rate disk.device.iops_pd_server_main_1b: - pd_server_main_1b - disk.device.iops disk.device.write.requests.rate_pd_server_main_1b: - pd_server_main_1b - disk.device.write.requests.rate - network.outgoing.packets.rate_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - network.outgoing.packets.rate disk.device.write.bytes_pd_server_main_1b: - pd_server_main_1b - disk.device.write.bytes disk.device.latency_pd_server_main_1b: - pd_server_main_1b - disk.device.latency - feature_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port + feature_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port - feature binding_pd_server_main_1b: - pd_server_main_1b @@ -214,27 +208,24 @@ topology_template: disk.ephemeral.size_pd_server_main_1b: - pd_server_main_1b - disk.ephemeral.size + network.outgoing.bytes_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - network.outgoing.bytes disk.read.requests_pd_server_main_1b: - pd_server_main_1b - disk.read.requests disk.allocation_pd_server_main_1b: - pd_server_main_1b - disk.allocation + network.incoming.bytes.rate_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - network.incoming.bytes.rate disk.device.usage_pd_server_main_1b: - pd_server_main_1b - disk.device.usage - network.incoming.bytes.rate_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - network.incoming.bytes.rate disk.write.requests.rate_pd_server_main_1b: - pd_server_main_1b - disk.write.requests.rate - network.incoming.bytes_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - network.incoming.bytes - network.outgoing.bytes.rate_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - network.outgoing.bytes.rate os_pd_server_main_1b: - pd_server_main_1b - os @@ -253,18 +244,24 @@ topology_template: disk.latency_pd_server_main_1b: - pd_server_main_1b - disk.latency + network.outgoing.bytes.rate_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - network.outgoing.bytes.rate disk.read.bytes.rate_pd_server_main_1b: - pd_server_main_1b - disk.read.bytes.rate disk.device.read.requests_pd_server_main_1b: - pd_server_main_1b - disk.device.read.requests + network.incoming.bytes_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - network.incoming.bytes disk.device.allocation_pd_server_main_1b: - pd_server_main_1b - disk.device.allocation - network.incoming.packets_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - network.incoming.packets + attachment_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - attachment disk.iops_pd_server_main_1b: - pd_server_main_1b - disk.iops @@ -274,6 +271,9 @@ topology_template: disk.write.requests_pd_server_main_1b: - pd_server_main_1b - disk.write.requests + network.outpoing.packets_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - network.outpoing.packets cpu_util_pd_server_main_1b: - pd_server_main_1b - cpu_util @@ -287,15 +287,15 @@ topology_template: - pd_server_main_1b - disk.device.read.requests.rate requirements: - link_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port + link_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port - link - dependency_pd_server_main_1b_pd_server_main_b_port: - - pd_server_main_1b_pd_server_main_b_port - - dependency dependency_pd_server_main_1b: - pd_server_main_1b - dependency local_storage_pd_server_main_1b: - pd_server_main_1b - local_storage + dependency_pd_server_main_1b_pd_server_main_1b_port: + - pd_server_main_1b_pd_server_main_1b_port + - dependency diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_pd_server_nested2_1bServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_pd_server_nested2_1bServiceTemplate.yaml index 13bd976915..2c205ebc52 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_pd_server_nested2_1bServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_pd_server_nested2_1bServiceTemplate.yaml @@ -11,13 +11,13 @@ node_types: derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server topology_template: inputs: - port_pd_server_nested_b_port_vlan_requirements: + port_pd_server_nested2_1b_port_vlan_requirements: type: list required: true entry_schema: type: org.openecomp.datatypes.network.VlanRequirements - port_pd_server_nested_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming + port_pd_server_nested2_1b_port_order: + type: integer required: true index_value: type: integer @@ -26,18 +26,26 @@ topology_template: default: 0 constraints: - greater_or_equal: 0 - port_pd_server_nested_b_port_fixed_ips: + port_pd_server_nested2_1b_port_replacement_policy: + type: list + required: true + entry_schema: + type: string + port_pd_server_nested2_1b_port_fixed_ips: type: list required: true entry_schema: type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_pd_server_nested_b_port_network_role_tag: + port_pd_server_nested2_1b_port_network_role: type: string required: true + port_pd_server_nested2_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true vm_flavor_name: type: string required: true - port_pd_server_nested_b_port_subnetpoolid: + port_pd_server_nested2_1b_port_subnetpoolid: type: string required: true compute_pd_server_nested2_1b_availability_zone: @@ -50,101 +58,93 @@ topology_template: required: true entry_schema: type: string - port_pd_server_nested_b_port_order: - type: integer + vm_image_name: + type: string required: true - port_pd_server_nested_b_port_network: + port_pd_server_nested2_1b_port_ip_requirements: type: list required: true entry_schema: - type: string - port_pd_server_nested_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements + type: org.openecomp.datatypes.network.IpRequirements + port_pd_server_nested2_1b_port_network_role_tag: + type: string required: true - port_pd_server_nested_b_port_replacement_policy: + port_pd_server_nested2_1b_port_network: type: list required: true entry_schema: type: string - vm_image_name: - type: string - required: true - port_pd_server_nested_b_port_network_role: - type: string - required: true - port_pd_server_nested_b_port_ip_requirements: - type: list + port_pd_server_nested2_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming required: true - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements node_templates: - pd_server_nested2_1b_pd_server_nested_b_port: + pd_server_nested2_1b: + type: org.openecomp.resource.vfc.compute.nodes.heat.pd_server_nested2_1b + properties: + availability_zone: + get_input: + - compute_pd_server_nested2_1b_availability_zone + - index_value + flavor: + get_input: vm_flavor_name + image: + get_input: vm_image_name + name: + get_input: + - compute_pd_server_nested2_1b_name + - index_value + pd_server_nested2_1b_pd_server_nested2_1b_port: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_pd_server_nested_b_port_exCP_naming + get_input: port_pd_server_nested2_1b_port_exCP_naming replacement_policy: get_input: - - port_pd_server_nested_b_port_replacement_policy + - port_pd_server_nested2_1b_port_replacement_policy - index_value vlan_requirements: - get_input: port_pd_server_nested_b_port_vlan_requirements + get_input: port_pd_server_nested2_1b_port_vlan_requirements ip_requirements: - get_input: port_pd_server_nested_b_port_ip_requirements + get_input: port_pd_server_nested2_1b_port_ip_requirements network_role_tag: - get_input: port_pd_server_nested_b_port_network_role_tag + get_input: port_pd_server_nested2_1b_port_network_role_tag mac_requirements: - get_input: port_pd_server_nested_b_port_mac_requirements + get_input: port_pd_server_nested2_1b_port_mac_requirements order: - get_input: port_pd_server_nested_b_port_order + get_input: port_pd_server_nested2_1b_port_order network_role: - get_input: port_pd_server_nested_b_port_network_role + get_input: port_pd_server_nested2_1b_port_network_role subnetpoolid: - get_input: port_pd_server_nested_b_port_subnetpoolid + get_input: port_pd_server_nested2_1b_port_subnetpoolid fixed_ips: - get_input: port_pd_server_nested_b_port_fixed_ips + get_input: port_pd_server_nested2_1b_port_fixed_ips network: get_input: - - port_pd_server_nested_b_port_network + - port_pd_server_nested2_1b_port_network - index_value requirements: - binding: capability: tosca.capabilities.network.Bindable node: pd_server_nested2_1b relationship: tosca.relationships.network.BindsTo - pd_server_nested2_1b: - type: org.openecomp.resource.vfc.compute.nodes.heat.pd_server_nested2_1b - properties: - availability_zone: - get_input: - - compute_pd_server_nested2_1b_availability_zone - - index_value - flavor: - get_input: vm_flavor_name - image: - get_input: vm_image_name - name: - get_input: - - compute_pd_server_nested2_1b_name - - index_value substitution_mappings: node_type: org.openecomp.resource.abstract.nodes.pd_server_nested2_1b capabilities: + network.outpoing.packets_pd_server_nested2_1b_pd_server_nested2_1b_port: + - pd_server_nested2_1b_pd_server_nested2_1b_port + - network.outpoing.packets cpu_pd_server_nested2_1b: - pd_server_nested2_1b - cpu disk.ephemeral.size_pd_server_nested2_1b: - pd_server_nested2_1b - disk.ephemeral.size - network.outgoing.packets.rate_pd_server_nested2_1b_pd_server_nested_b_port: - - pd_server_nested2_1b_pd_server_nested_b_port - - network.outgoing.packets.rate + network.incoming.packets_pd_server_nested2_1b_pd_server_nested2_1b_port: + - pd_server_nested2_1b_pd_server_nested2_1b_port + - network.incoming.packets memory.usage_pd_server_nested2_1b: - pd_server_nested2_1b - memory.usage - network.outgoing.bytes.rate_pd_server_nested2_1b_pd_server_nested_b_port: - - pd_server_nested2_1b_pd_server_nested_b_port - - network.outgoing.bytes.rate disk.write.bytes.rate_pd_server_nested2_1b: - pd_server_nested2_1b - disk.write.bytes.rate @@ -157,12 +157,12 @@ topology_template: endpoint_pd_server_nested2_1b: - pd_server_nested2_1b - endpoint - network.incoming.packets.rate_pd_server_nested2_1b_pd_server_nested_b_port: - - pd_server_nested2_1b_pd_server_nested_b_port - - network.incoming.packets.rate disk.device.read.requests.rate_pd_server_nested2_1b: - pd_server_nested2_1b - disk.device.read.requests.rate + attachment_pd_server_nested2_1b_pd_server_nested2_1b_port: + - pd_server_nested2_1b_pd_server_nested2_1b_port + - attachment binding_pd_server_nested2_1b: - pd_server_nested2_1b - binding @@ -175,12 +175,15 @@ topology_template: disk.device.latency_pd_server_nested2_1b: - pd_server_nested2_1b - disk.device.latency - network.incoming.packets_pd_server_nested2_1b_pd_server_nested_b_port: - - pd_server_nested2_1b_pd_server_nested_b_port - - network.incoming.packets + network.outgoing.packets.rate_pd_server_nested2_1b_pd_server_nested2_1b_port: + - pd_server_nested2_1b_pd_server_nested2_1b_port + - network.outgoing.packets.rate disk.device.write.bytes.rate_pd_server_nested2_1b: - pd_server_nested2_1b - disk.device.write.bytes.rate + network.outgoing.bytes_pd_server_nested2_1b_pd_server_nested2_1b_port: + - pd_server_nested2_1b_pd_server_nested2_1b_port + - network.outgoing.bytes disk.iops_pd_server_nested2_1b: - pd_server_nested2_1b - disk.iops @@ -202,24 +205,12 @@ topology_template: disk.device.read.requests_pd_server_nested2_1b: - pd_server_nested2_1b - disk.device.read.requests - feature_pd_server_nested2_1b_pd_server_nested_b_port: - - pd_server_nested2_1b_pd_server_nested_b_port - - feature - network.incoming.bytes.rate_pd_server_nested2_1b_pd_server_nested_b_port: - - pd_server_nested2_1b_pd_server_nested_b_port - - network.incoming.bytes.rate disk.capacity_pd_server_nested2_1b: - pd_server_nested2_1b - disk.capacity disk.write.bytes_pd_server_nested2_1b: - pd_server_nested2_1b - disk.write.bytes - binding_pd_server_nested2_1b_pd_server_nested_b_port: - - pd_server_nested2_1b_pd_server_nested_b_port - - binding - attachment_pd_server_nested2_1b_pd_server_nested_b_port: - - pd_server_nested2_1b_pd_server_nested_b_port - - attachment instance_pd_server_nested2_1b: - pd_server_nested2_1b - instance @@ -238,15 +229,18 @@ topology_template: disk.read.bytes_pd_server_nested2_1b: - pd_server_nested2_1b - disk.read.bytes - network.outgoing.bytes_pd_server_nested2_1b_pd_server_nested_b_port: - - pd_server_nested2_1b_pd_server_nested_b_port - - network.outgoing.bytes cpu.delta_pd_server_nested2_1b: - pd_server_nested2_1b - cpu.delta + binding_pd_server_nested2_1b_pd_server_nested2_1b_port: + - pd_server_nested2_1b_pd_server_nested2_1b_port + - binding vcpus_pd_server_nested2_1b: - pd_server_nested2_1b - vcpus + network.incoming.bytes_pd_server_nested2_1b_pd_server_nested2_1b_port: + - pd_server_nested2_1b_pd_server_nested2_1b_port + - network.incoming.bytes disk.latency_pd_server_nested2_1b: - pd_server_nested2_1b - disk.latency @@ -256,18 +250,24 @@ topology_template: cpu_util_pd_server_nested2_1b: - pd_server_nested2_1b - cpu_util - network.incoming.bytes_pd_server_nested2_1b_pd_server_nested_b_port: - - pd_server_nested2_1b_pd_server_nested_b_port - - network.incoming.bytes + network.outgoing.bytes.rate_pd_server_nested2_1b_pd_server_nested2_1b_port: + - pd_server_nested2_1b_pd_server_nested2_1b_port + - network.outgoing.bytes.rate + network.incoming.bytes.rate_pd_server_nested2_1b_pd_server_nested2_1b_port: + - pd_server_nested2_1b_pd_server_nested2_1b_port + - network.incoming.bytes.rate disk.allocation_pd_server_nested2_1b: - pd_server_nested2_1b - disk.allocation - network.outpoing.packets_pd_server_nested2_1b_pd_server_nested_b_port: - - pd_server_nested2_1b_pd_server_nested_b_port - - network.outpoing.packets disk.device.write.requests.rate_pd_server_nested2_1b: - pd_server_nested2_1b - disk.device.write.requests.rate + network.incoming.packets.rate_pd_server_nested2_1b_pd_server_nested2_1b_port: + - pd_server_nested2_1b_pd_server_nested2_1b_port + - network.incoming.packets.rate + feature_pd_server_nested2_1b_pd_server_nested2_1b_port: + - pd_server_nested2_1b_pd_server_nested2_1b_port + - feature memory.resident_pd_server_nested2_1b: - pd_server_nested2_1b - memory.resident @@ -287,15 +287,15 @@ topology_template: - pd_server_nested2_1b - host requirements: - dependency_pd_server_nested2_1b_pd_server_nested_b_port: - - pd_server_nested2_1b_pd_server_nested_b_port - - dependency local_storage_pd_server_nested2_1b: - pd_server_nested2_1b - local_storage - link_pd_server_nested2_1b_pd_server_nested_b_port: - - pd_server_nested2_1b_pd_server_nested_b_port - - link dependency_pd_server_nested2_1b: - pd_server_nested2_1b - dependency + dependency_pd_server_nested2_1b_pd_server_nested2_1b_port: + - pd_server_nested2_1b_pd_server_nested2_1b_port + - dependency + link_pd_server_nested2_1b_pd_server_nested2_1b_port: + - pd_server_nested2_1b_pd_server_nested2_1b_port + - link diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_ps_server_main_1bServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_ps_server_main_1bServiceTemplate.yaml index b6af3a68ed..c4c0dccb77 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_ps_server_main_1bServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_ps_server_main_1bServiceTemplate.yaml @@ -11,10 +11,17 @@ node_types: derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server topology_template: inputs: - port_ps_server_main_b_port_network_role_tag: - type: string + port_ps_server_main_1b_port_fixed_ips: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_ps_server_main_1b_port_ip_requirements: + type: list required: true - port_ps_server_main_b_port_network_role: + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_ps_server_main_1b_port_subnetpoolid: type: string required: true compute_ps_server_main_1b_availability_zone: @@ -22,7 +29,7 @@ topology_template: required: true entry_schema: type: string - port_ps_server_main_b_port_exCP_naming: + port_ps_server_main_1b_port_exCP_naming: type: org.openecomp.datatypes.Naming required: true index_value: @@ -32,39 +39,22 @@ topology_template: default: 0 constraints: - greater_or_equal: 0 - port_ps_server_main_b_port_replacement_policy: - type: list - required: true - entry_schema: - type: string - port_ps_server_main_b_port_ip_requirements: - type: list - required: true - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements vm_flavor_name: type: string required: true - port_ps_server_main_b_port_network: - type: list + port_ps_server_main_1b_port_network_role: + type: string required: true - entry_schema: - type: string - port_ps_server_main_b_port_order: + port_ps_server_main_1b_port_order: type: integer required: true - port_ps_server_main_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - port_ps_server_main_b_port_fixed_ips: - type: list + port_ps_server_main_1b_port_network_role_tag: + type: string required: true - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps vm_image_name: type: string required: true - port_ps_server_main_b_port_vlan_requirements: + port_ps_server_main_1b_port_vlan_requirements: type: list required: true entry_schema: @@ -74,38 +64,48 @@ topology_template: required: true entry_schema: type: string - port_ps_server_main_b_port_subnetpoolid: - type: string + port_ps_server_main_1b_port_replacement_policy: + type: list + required: true + entry_schema: + type: string + port_ps_server_main_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_ps_server_main_1b_port_network: + type: list required: true + entry_schema: + type: string node_templates: - ps_server_main_1b_ps_server_main_b_port: + ps_server_main_1b_ps_server_main_1b_port: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_ps_server_main_b_port_exCP_naming + get_input: port_ps_server_main_1b_port_exCP_naming replacement_policy: get_input: - - port_ps_server_main_b_port_replacement_policy + - port_ps_server_main_1b_port_replacement_policy - index_value vlan_requirements: - get_input: port_ps_server_main_b_port_vlan_requirements + get_input: port_ps_server_main_1b_port_vlan_requirements ip_requirements: - get_input: port_ps_server_main_b_port_ip_requirements + get_input: port_ps_server_main_1b_port_ip_requirements network_role_tag: - get_input: port_ps_server_main_b_port_network_role_tag + get_input: port_ps_server_main_1b_port_network_role_tag mac_requirements: - get_input: port_ps_server_main_b_port_mac_requirements + get_input: port_ps_server_main_1b_port_mac_requirements order: - get_input: port_ps_server_main_b_port_order + get_input: port_ps_server_main_1b_port_order network_role: - get_input: port_ps_server_main_b_port_network_role + get_input: port_ps_server_main_1b_port_network_role subnetpoolid: - get_input: port_ps_server_main_b_port_subnetpoolid + get_input: port_ps_server_main_1b_port_subnetpoolid fixed_ips: - get_input: port_ps_server_main_b_port_fixed_ips + get_input: port_ps_server_main_1b_port_fixed_ips network: get_input: - - port_ps_server_main_b_port_network + - port_ps_server_main_1b_port_network - index_value requirements: - binding: @@ -130,6 +130,9 @@ topology_template: substitution_mappings: node_type: org.openecomp.resource.abstract.nodes.ps_server_main_1b capabilities: + network.incoming.bytes_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - network.incoming.bytes disk.device.write.requests_ps_server_main_1b: - ps_server_main_1b - disk.device.write.requests @@ -139,21 +142,24 @@ topology_template: disk.capacity_ps_server_main_1b: - ps_server_main_1b - disk.capacity - network.incoming.packets.rate_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - network.incoming.packets.rate + attachment_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - attachment disk.device.read.bytes_ps_server_main_1b: - ps_server_main_1b - disk.device.read.bytes vcpus_ps_server_main_1b: - ps_server_main_1b - vcpus - network.incoming.bytes_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - network.incoming.bytes + network.outgoing.packets.rate_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - network.outgoing.packets.rate cpu_util_ps_server_main_1b: - ps_server_main_1b - cpu_util + binding_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - binding disk.device.write.bytes.rate_ps_server_main_1b: - ps_server_main_1b - disk.device.write.bytes.rate @@ -169,12 +175,18 @@ topology_template: instance_ps_server_main_1b: - ps_server_main_1b - instance + network.outpoing.packets_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - network.outpoing.packets disk.read.bytes.rate_ps_server_main_1b: - ps_server_main_1b - disk.read.bytes.rate disk.latency_ps_server_main_1b: - ps_server_main_1b - disk.latency + feature_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - feature disk.device.read.requests_ps_server_main_1b: - ps_server_main_1b - disk.device.read.requests @@ -187,6 +199,12 @@ topology_template: scalable_ps_server_main_1b: - ps_server_main_1b - scalable + network.outgoing.bytes_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - network.outgoing.bytes + network.incoming.packets.rate_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - network.incoming.packets.rate disk.usage_ps_server_main_1b: - ps_server_main_1b - disk.usage @@ -205,12 +223,6 @@ topology_template: disk.write.bytes_ps_server_main_1b: - ps_server_main_1b - disk.write.bytes - network.incoming.packets_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - network.incoming.packets - feature_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - feature disk.device.write.bytes_ps_server_main_1b: - ps_server_main_1b - disk.device.write.bytes @@ -220,33 +232,24 @@ topology_template: disk.write.bytes.rate_ps_server_main_1b: - ps_server_main_1b - disk.write.bytes.rate - network.outgoing.bytes.rate_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - network.outgoing.bytes.rate - network.incoming.bytes.rate_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - network.incoming.bytes.rate binding_ps_server_main_1b: - ps_server_main_1b - binding + network.incoming.packets_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - network.incoming.packets disk.device.read.bytes.rate_ps_server_main_1b: - ps_server_main_1b - disk.device.read.bytes.rate - attachment_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - attachment + network.outgoing.bytes.rate_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - network.outgoing.bytes.rate host_ps_server_main_1b: - ps_server_main_1b - host - network.outpoing.packets_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - network.outpoing.packets disk.device.iops_ps_server_main_1b: - ps_server_main_1b - disk.device.iops - binding_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - binding disk.write.requests_ps_server_main_1b: - ps_server_main_1b - disk.write.requests @@ -271,18 +274,15 @@ topology_template: disk.device.usage_ps_server_main_1b: - ps_server_main_1b - disk.device.usage - network.outgoing.packets.rate_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - network.outgoing.packets.rate - network.outgoing.bytes_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - network.outgoing.bytes memory_ps_server_main_1b: - ps_server_main_1b - memory disk.root.size_ps_server_main_1b: - ps_server_main_1b - disk.root.size + network.incoming.bytes.rate_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - network.incoming.bytes.rate disk.allocation_ps_server_main_1b: - ps_server_main_1b - disk.allocation @@ -290,12 +290,12 @@ topology_template: dependency_ps_server_main_1b: - ps_server_main_1b - dependency - dependency_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port + link_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - link + dependency_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port - dependency local_storage_ps_server_main_1b: - ps_server_main_1b - local_storage - link_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - link diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_ps_server_main_1b_1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_ps_server_main_1b_1ServiceTemplate.yaml index e37760f13e..2aac373139 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_ps_server_main_1b_1ServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_ps_server_main_1b_1ServiceTemplate.yaml @@ -11,10 +11,17 @@ node_types: derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server topology_template: inputs: - port_ps_server_main_b_port_network_role_tag: - type: string + port_ps_server_main_1b_port_fixed_ips: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_ps_server_main_1b_port_ip_requirements: + type: list required: true - port_ps_server_main_b_port_network_role: + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_ps_server_main_1b_port_subnetpoolid: type: string required: true compute_ps_server_main_1b_availability_zone: @@ -22,7 +29,7 @@ topology_template: required: true entry_schema: type: string - port_ps_server_main_b_port_exCP_naming: + port_ps_server_main_1b_port_exCP_naming: type: org.openecomp.datatypes.Naming required: true index_value: @@ -32,39 +39,22 @@ topology_template: default: 0 constraints: - greater_or_equal: 0 - port_ps_server_main_b_port_replacement_policy: - type: list - required: true - entry_schema: - type: string - port_ps_server_main_b_port_ip_requirements: - type: list - required: true - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements vm_flavor_name: type: string required: true - port_ps_server_main_b_port_network: - type: list + port_ps_server_main_1b_port_network_role: + type: string required: true - entry_schema: - type: string - port_ps_server_main_b_port_order: + port_ps_server_main_1b_port_order: type: integer required: true - port_ps_server_main_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - port_ps_server_main_b_port_fixed_ips: - type: list + port_ps_server_main_1b_port_network_role_tag: + type: string required: true - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps vm_image_name: type: string required: true - port_ps_server_main_b_port_vlan_requirements: + port_ps_server_main_1b_port_vlan_requirements: type: list required: true entry_schema: @@ -74,38 +64,48 @@ topology_template: required: true entry_schema: type: string - port_ps_server_main_b_port_subnetpoolid: - type: string + port_ps_server_main_1b_port_replacement_policy: + type: list + required: true + entry_schema: + type: string + port_ps_server_main_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_ps_server_main_1b_port_network: + type: list required: true + entry_schema: + type: string node_templates: - ps_server_main_1b_ps_server_main_b_port: + ps_server_main_1b_ps_server_main_1b_port: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_ps_server_main_b_port_exCP_naming + get_input: port_ps_server_main_1b_port_exCP_naming replacement_policy: get_input: - - port_ps_server_main_b_port_replacement_policy + - port_ps_server_main_1b_port_replacement_policy - index_value vlan_requirements: - get_input: port_ps_server_main_b_port_vlan_requirements + get_input: port_ps_server_main_1b_port_vlan_requirements ip_requirements: - get_input: port_ps_server_main_b_port_ip_requirements + get_input: port_ps_server_main_1b_port_ip_requirements network_role_tag: - get_input: port_ps_server_main_b_port_network_role_tag + get_input: port_ps_server_main_1b_port_network_role_tag mac_requirements: - get_input: port_ps_server_main_b_port_mac_requirements + get_input: port_ps_server_main_1b_port_mac_requirements order: - get_input: port_ps_server_main_b_port_order + get_input: port_ps_server_main_1b_port_order network_role: - get_input: port_ps_server_main_b_port_network_role + get_input: port_ps_server_main_1b_port_network_role subnetpoolid: - get_input: port_ps_server_main_b_port_subnetpoolid + get_input: port_ps_server_main_1b_port_subnetpoolid fixed_ips: - get_input: port_ps_server_main_b_port_fixed_ips + get_input: port_ps_server_main_1b_port_fixed_ips network: get_input: - - port_ps_server_main_b_port_network + - port_ps_server_main_1b_port_network - index_value requirements: - binding: @@ -130,6 +130,9 @@ topology_template: substitution_mappings: node_type: org.openecomp.resource.abstract.nodes.ps_server_main_1b_1 capabilities: + network.incoming.bytes_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - network.incoming.bytes disk.device.write.requests_ps_server_main_1b: - ps_server_main_1b - disk.device.write.requests @@ -139,21 +142,24 @@ topology_template: disk.capacity_ps_server_main_1b: - ps_server_main_1b - disk.capacity - network.incoming.packets.rate_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - network.incoming.packets.rate + attachment_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - attachment disk.device.read.bytes_ps_server_main_1b: - ps_server_main_1b - disk.device.read.bytes vcpus_ps_server_main_1b: - ps_server_main_1b - vcpus - network.incoming.bytes_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - network.incoming.bytes + network.outgoing.packets.rate_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - network.outgoing.packets.rate cpu_util_ps_server_main_1b: - ps_server_main_1b - cpu_util + binding_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - binding disk.device.write.bytes.rate_ps_server_main_1b: - ps_server_main_1b - disk.device.write.bytes.rate @@ -169,12 +175,18 @@ topology_template: instance_ps_server_main_1b: - ps_server_main_1b - instance + network.outpoing.packets_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - network.outpoing.packets disk.read.bytes.rate_ps_server_main_1b: - ps_server_main_1b - disk.read.bytes.rate disk.latency_ps_server_main_1b: - ps_server_main_1b - disk.latency + feature_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - feature disk.device.read.requests_ps_server_main_1b: - ps_server_main_1b - disk.device.read.requests @@ -187,6 +199,12 @@ topology_template: scalable_ps_server_main_1b: - ps_server_main_1b - scalable + network.outgoing.bytes_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - network.outgoing.bytes + network.incoming.packets.rate_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - network.incoming.packets.rate disk.usage_ps_server_main_1b: - ps_server_main_1b - disk.usage @@ -205,12 +223,6 @@ topology_template: disk.write.bytes_ps_server_main_1b: - ps_server_main_1b - disk.write.bytes - network.incoming.packets_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - network.incoming.packets - feature_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - feature disk.device.write.bytes_ps_server_main_1b: - ps_server_main_1b - disk.device.write.bytes @@ -220,33 +232,24 @@ topology_template: disk.write.bytes.rate_ps_server_main_1b: - ps_server_main_1b - disk.write.bytes.rate - network.outgoing.bytes.rate_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - network.outgoing.bytes.rate - network.incoming.bytes.rate_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - network.incoming.bytes.rate binding_ps_server_main_1b: - ps_server_main_1b - binding + network.incoming.packets_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - network.incoming.packets disk.device.read.bytes.rate_ps_server_main_1b: - ps_server_main_1b - disk.device.read.bytes.rate - attachment_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - attachment + network.outgoing.bytes.rate_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - network.outgoing.bytes.rate host_ps_server_main_1b: - ps_server_main_1b - host - network.outpoing.packets_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - network.outpoing.packets disk.device.iops_ps_server_main_1b: - ps_server_main_1b - disk.device.iops - binding_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - binding disk.write.requests_ps_server_main_1b: - ps_server_main_1b - disk.write.requests @@ -271,18 +274,15 @@ topology_template: disk.device.usage_ps_server_main_1b: - ps_server_main_1b - disk.device.usage - network.outgoing.packets.rate_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - network.outgoing.packets.rate - network.outgoing.bytes_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - network.outgoing.bytes memory_ps_server_main_1b: - ps_server_main_1b - memory disk.root.size_ps_server_main_1b: - ps_server_main_1b - disk.root.size + network.incoming.bytes.rate_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - network.incoming.bytes.rate disk.allocation_ps_server_main_1b: - ps_server_main_1b - disk.allocation @@ -290,12 +290,12 @@ topology_template: dependency_ps_server_main_1b: - ps_server_main_1b - dependency - dependency_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port + link_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port + - link + dependency_ps_server_main_1b_ps_server_main_1b_port: + - ps_server_main_1b_ps_server_main_1b_port - dependency local_storage_ps_server_main_1b: - ps_server_main_1b - local_storage - link_ps_server_main_1b_ps_server_main_b_port: - - ps_server_main_1b_ps_server_main_b_port - - link diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_ps_server_nested2_1bServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_ps_server_nested2_1bServiceTemplate.yaml index c39aa2dc26..b8fe67e9ef 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_ps_server_nested2_1bServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/Nested_ps_server_nested2_1bServiceTemplate.yaml @@ -11,21 +11,17 @@ node_types: derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server topology_template: inputs: - port_ps_server_nested_b_port_replacement_policy: - type: list + port_ps_server_nested2_1b_port_network_role_tag: + type: string required: true - entry_schema: - type: string - port_ps_server_nested_b_port_ip_requirements: + port_ps_server_nested2_1b_port_ip_requirements: type: list required: true entry_schema: type: org.openecomp.datatypes.network.IpRequirements - port_ps_server_nested_b_port_network: - type: list + port_ps_server_nested2_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming required: true - entry_schema: - type: string index_value: type: integer description: Index value of this substitution service template runtime instance @@ -38,119 +34,114 @@ topology_template: required: true entry_schema: type: string - port_ps_server_nested_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true compute_ps_server_nested2_1b_availability_zone: type: list required: true entry_schema: type: string - vm_flavor_name: - type: string - required: true - port_ps_server_nested_b_port_fixed_ips: + port_ps_server_nested2_1b_port_replacement_policy: type: list required: true entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_ps_server_nested_b_port_subnetpoolid: + type: string + vm_flavor_name: type: string required: true - port_ps_server_nested_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - vm_image_name: - type: string + port_ps_server_nested2_1b_port_network: + type: list required: true - port_ps_server_nested_b_port_vlan_requirements: + entry_schema: + type: string + port_ps_server_nested2_1b_port_vlan_requirements: type: list required: true entry_schema: type: org.openecomp.datatypes.network.VlanRequirements - port_ps_server_nested_b_port_network_role: + port_ps_server_nested2_1b_port_network_role: type: string required: true - port_ps_server_nested_b_port_network_role_tag: + vm_image_name: type: string required: true - port_ps_server_nested_b_port_order: + port_ps_server_nested2_1b_port_order: type: integer required: true + port_ps_server_nested2_1b_port_subnetpoolid: + type: string + required: true + port_ps_server_nested2_1b_port_fixed_ips: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_ps_server_nested2_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true node_templates: - ps_server_nested2_1b_ps_server_nested_b_port: + ps_server_nested2_1b: + type: org.openecomp.resource.vfc.compute.nodes.heat.ps_server_nested2_1b + properties: + availability_zone: + get_input: + - compute_ps_server_nested2_1b_availability_zone + - index_value + flavor: + get_input: vm_flavor_name + image: + get_input: vm_image_name + name: + get_input: + - compute_ps_server_nested2_1b_name + - index_value + ps_server_nested2_1b_ps_server_nested2_1b_port: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_ps_server_nested_b_port_exCP_naming + get_input: port_ps_server_nested2_1b_port_exCP_naming replacement_policy: get_input: - - port_ps_server_nested_b_port_replacement_policy + - port_ps_server_nested2_1b_port_replacement_policy - index_value vlan_requirements: - get_input: port_ps_server_nested_b_port_vlan_requirements + get_input: port_ps_server_nested2_1b_port_vlan_requirements ip_requirements: - get_input: port_ps_server_nested_b_port_ip_requirements + get_input: port_ps_server_nested2_1b_port_ip_requirements network_role_tag: - get_input: port_ps_server_nested_b_port_network_role_tag + get_input: port_ps_server_nested2_1b_port_network_role_tag mac_requirements: - get_input: port_ps_server_nested_b_port_mac_requirements + get_input: port_ps_server_nested2_1b_port_mac_requirements order: - get_input: port_ps_server_nested_b_port_order + get_input: port_ps_server_nested2_1b_port_order network_role: - get_input: port_ps_server_nested_b_port_network_role + get_input: port_ps_server_nested2_1b_port_network_role subnetpoolid: - get_input: port_ps_server_nested_b_port_subnetpoolid + get_input: port_ps_server_nested2_1b_port_subnetpoolid fixed_ips: - get_input: port_ps_server_nested_b_port_fixed_ips + get_input: port_ps_server_nested2_1b_port_fixed_ips network: get_input: - - port_ps_server_nested_b_port_network + - port_ps_server_nested2_1b_port_network - index_value requirements: - binding: capability: tosca.capabilities.network.Bindable node: ps_server_nested2_1b relationship: tosca.relationships.network.BindsTo - ps_server_nested2_1b: - type: org.openecomp.resource.vfc.compute.nodes.heat.ps_server_nested2_1b - properties: - availability_zone: - get_input: - - compute_ps_server_nested2_1b_availability_zone - - index_value - flavor: - get_input: vm_flavor_name - image: - get_input: vm_image_name - name: - get_input: - - compute_ps_server_nested2_1b_name - - index_value substitution_mappings: node_type: org.openecomp.resource.abstract.nodes.ps_server_nested2_1b capabilities: disk.device.read.bytes.rate_ps_server_nested2_1b: - ps_server_nested2_1b - disk.device.read.bytes.rate - network.incoming.packets.rate_ps_server_nested2_1b_ps_server_nested_b_port: - - ps_server_nested2_1b_ps_server_nested_b_port - - network.incoming.packets.rate disk.iops_ps_server_nested2_1b: - ps_server_nested2_1b - disk.iops vcpus_ps_server_nested2_1b: - ps_server_nested2_1b - vcpus - network.outgoing.packets.rate_ps_server_nested2_1b_ps_server_nested_b_port: - - ps_server_nested2_1b_ps_server_nested_b_port - - network.outgoing.packets.rate instance_ps_server_nested2_1b: - ps_server_nested2_1b - instance - network.incoming.packets_ps_server_nested2_1b_ps_server_nested_b_port: - - ps_server_nested2_1b_ps_server_nested_b_port - - network.incoming.packets disk.usage_ps_server_nested2_1b: - ps_server_nested2_1b - disk.usage @@ -163,6 +154,9 @@ topology_template: disk.read.bytes_ps_server_nested2_1b: - ps_server_nested2_1b - disk.read.bytes + network.incoming.packets_ps_server_nested2_1b_ps_server_nested2_1b_port: + - ps_server_nested2_1b_ps_server_nested2_1b_port + - network.incoming.packets disk.device.allocation_ps_server_nested2_1b: - ps_server_nested2_1b - disk.device.allocation @@ -172,9 +166,6 @@ topology_template: memory.resident_ps_server_nested2_1b: - ps_server_nested2_1b - memory.resident - network.outpoing.packets_ps_server_nested2_1b_ps_server_nested_b_port: - - ps_server_nested2_1b_ps_server_nested_b_port - - network.outpoing.packets disk.ephemeral.size_ps_server_nested2_1b: - ps_server_nested2_1b - disk.ephemeral.size @@ -193,45 +184,57 @@ topology_template: disk.read.bytes.rate_ps_server_nested2_1b: - ps_server_nested2_1b - disk.read.bytes.rate + network.incoming.bytes_ps_server_nested2_1b_ps_server_nested2_1b_port: + - ps_server_nested2_1b_ps_server_nested2_1b_port + - network.incoming.bytes scalable_ps_server_nested2_1b: - ps_server_nested2_1b - scalable disk.write.requests.rate_ps_server_nested2_1b: - ps_server_nested2_1b - disk.write.requests.rate + network.outgoing.bytes.rate_ps_server_nested2_1b_ps_server_nested2_1b_port: + - ps_server_nested2_1b_ps_server_nested2_1b_port + - network.outgoing.bytes.rate + network.outgoing.packets.rate_ps_server_nested2_1b_ps_server_nested2_1b_port: + - ps_server_nested2_1b_ps_server_nested2_1b_port + - network.outgoing.packets.rate + network.outpoing.packets_ps_server_nested2_1b_ps_server_nested2_1b_port: + - ps_server_nested2_1b_ps_server_nested2_1b_port + - network.outpoing.packets cpu_util_ps_server_nested2_1b: - ps_server_nested2_1b - cpu_util - network.outgoing.bytes_ps_server_nested2_1b_ps_server_nested_b_port: - - ps_server_nested2_1b_ps_server_nested_b_port - - network.outgoing.bytes + network.incoming.bytes.rate_ps_server_nested2_1b_ps_server_nested2_1b_port: + - ps_server_nested2_1b_ps_server_nested2_1b_port + - network.incoming.bytes.rate disk.read.requests_ps_server_nested2_1b: - ps_server_nested2_1b - disk.read.requests + network.outgoing.bytes_ps_server_nested2_1b_ps_server_nested2_1b_port: + - ps_server_nested2_1b_ps_server_nested2_1b_port + - network.outgoing.bytes disk.write.requests_ps_server_nested2_1b: - ps_server_nested2_1b - disk.write.requests memory_ps_server_nested2_1b: - ps_server_nested2_1b - memory - binding_ps_server_nested2_1b_ps_server_nested_b_port: - - ps_server_nested2_1b_ps_server_nested_b_port - - binding disk.device.read.requests.rate_ps_server_nested2_1b: - ps_server_nested2_1b - disk.device.read.requests.rate disk.device.latency_ps_server_nested2_1b: - ps_server_nested2_1b - disk.device.latency - feature_ps_server_nested2_1b_ps_server_nested_b_port: - - ps_server_nested2_1b_ps_server_nested_b_port - - feature - network.incoming.bytes_ps_server_nested2_1b_ps_server_nested_b_port: - - ps_server_nested2_1b_ps_server_nested_b_port - - network.incoming.bytes + network.incoming.packets.rate_ps_server_nested2_1b_ps_server_nested2_1b_port: + - ps_server_nested2_1b_ps_server_nested2_1b_port + - network.incoming.packets.rate disk.latency_ps_server_nested2_1b: - ps_server_nested2_1b - disk.latency + feature_ps_server_nested2_1b_ps_server_nested2_1b_port: + - ps_server_nested2_1b_ps_server_nested2_1b_port + - feature disk.device.write.requests.rate_ps_server_nested2_1b: - ps_server_nested2_1b - disk.device.write.requests.rate @@ -253,18 +256,12 @@ topology_template: disk.root.size_ps_server_nested2_1b: - ps_server_nested2_1b - disk.root.size - network.incoming.bytes.rate_ps_server_nested2_1b_ps_server_nested_b_port: - - ps_server_nested2_1b_ps_server_nested_b_port - - network.incoming.bytes.rate disk.device.write.requests_ps_server_nested2_1b: - ps_server_nested2_1b - disk.device.write.requests disk.device.iops_ps_server_nested2_1b: - ps_server_nested2_1b - disk.device.iops - attachment_ps_server_nested2_1b_ps_server_nested_b_port: - - ps_server_nested2_1b_ps_server_nested_b_port - - attachment os_ps_server_nested2_1b: - ps_server_nested2_1b - os @@ -277,15 +274,18 @@ topology_template: cpu_ps_server_nested2_1b: - ps_server_nested2_1b - cpu + binding_ps_server_nested2_1b_ps_server_nested2_1b_port: + - ps_server_nested2_1b_ps_server_nested2_1b_port + - binding + attachment_ps_server_nested2_1b_ps_server_nested2_1b_port: + - ps_server_nested2_1b_ps_server_nested2_1b_port + - attachment disk.device.read.requests_ps_server_nested2_1b: - ps_server_nested2_1b - disk.device.read.requests disk.device.write.bytes.rate_ps_server_nested2_1b: - ps_server_nested2_1b - disk.device.write.bytes.rate - network.outgoing.bytes.rate_ps_server_nested2_1b_ps_server_nested_b_port: - - ps_server_nested2_1b_ps_server_nested_b_port - - network.outgoing.bytes.rate requirements: local_storage_ps_server_nested2_1b: - ps_server_nested2_1b @@ -293,9 +293,9 @@ topology_template: dependency_ps_server_nested2_1b: - ps_server_nested2_1b - dependency - link_ps_server_nested2_1b_ps_server_nested_b_port: - - ps_server_nested2_1b_ps_server_nested_b_port - - link - dependency_ps_server_nested2_1b_ps_server_nested_b_port: - - ps_server_nested2_1b_ps_server_nested_b_port + dependency_ps_server_nested2_1b_ps_server_nested2_1b_port: + - ps_server_nested2_1b_ps_server_nested2_1b_port - dependency + link_ps_server_nested2_1b_ps_server_nested2_1b_port: + - ps_server_nested2_1b_ps_server_nested2_1b_port + - link diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/nested1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/nested1ServiceTemplate.yaml index c411944118..cc6778d633 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/nested1ServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/nested1ServiceTemplate.yaml @@ -135,34 +135,34 @@ topology_template: directives: - substitutable properties: - compute_ps_server_main_1b_availability_zone: - - get_input: availability_zone_0 - port_ps_server_main_b_port_replacement_policy: - - AUTO - port_ps_server_main_b_port_ip_requirements: + port_ps_server_main_1b_port_fixed_ips: + - ip_address: + get_input: + - ps_server_main_1b_ips + - 0 + port_ps_server_main_1b_port_ip_requirements: - ip_version: 4 ip_count_required: is_required: true floating_ip_count_required: is_required: false + compute_ps_server_main_1b_availability_zone: + - get_input: availability_zone_0 vm_flavor_name: get_input: ps_server_main_1b_flavor - port_ps_server_main_b_port_network: - - get_input: jsa_name - port_ps_server_main_b_port_mac_requirements: - mac_count_required: - is_required: false - port_ps_server_main_b_port_fixed_ips: - - ip_address: - get_input: - - ps_server_main_1b_ips - - 0 vm_image_name: get_input: ps_server_main_1b_image compute_ps_server_main_1b_name: - get_input: - ps_server_main_1b_names - 1 + port_ps_server_main_1b_port_replacement_policy: + - AUTO + port_ps_server_main_1b_port_mac_requirements: + mac_count_required: + is_required: false + port_ps_server_main_1b_port_network: + - get_input: jsa_name service_template_filter: substitute_service_template: Nested_ps_server_main_1bServiceTemplate.yaml count: 1 @@ -224,32 +224,32 @@ topology_template: properties: compute_pd_server_main_1b_availability_zone: - get_input: availability_zone_0 - port_pd_server_main_b_port_replacement_policy: + port_pd_server_main_1b_port_replacement_policy: - AUTO + port_pd_server_main_1b_port_mac_requirements: + mac_count_required: + is_required: false vm_flavor_name: get_input: pd_server_main_1b_flavor - port_pd_server_main_b_port_fixed_ips: - - ip_address: - get_input: - - pd_server_main_1b_ips - - 0 - port_pd_server_main_b_port_ip_requirements: - - ip_version: 4 - ip_count_required: - is_required: true - floating_ip_count_required: - is_required: false vm_image_name: get_input: pd_server_main_1b_image - port_pd_server_main_b_port_mac_requirements: - mac_count_required: - is_required: false compute_pd_server_main_1b_name: - get_input: - pd_server_main_1b_names - 0 - port_pd_server_main_b_port_network: + port_pd_server_main_1b_port_network: - get_input: jsa_name + port_pd_server_main_1b_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + port_pd_server_main_1b_port_fixed_ips: + - ip_address: + get_input: + - pd_server_main_1b_ips + - 0 service_template_filter: substitute_service_template: Nested_pd_server_main_1bServiceTemplate.yaml count: 1 @@ -468,7 +468,7 @@ topology_template: - binding_ps_server_main_1b network.outgoing.bytes.rate_pd_server_main_1b_port: - abstract_pd_server_main_1b - - network.outgoing.bytes.rate_pd_server_main_1b_pd_server_main_b_port + - network.outgoing.bytes.rate_pd_server_main_1b_pd_server_main_1b_port binding_cmaui_port_1: - abstract_cmaui_1c1_main - binding_cmaui_1c1_main_cmaui_port @@ -660,10 +660,10 @@ topology_template: - disk.device.latency_server_pd_pattern4_test_nested_pattern_4_same_type_diff_file attachment_pd_server_main_1b_port: - abstract_pd_server_main_1b - - attachment_pd_server_main_1b_pd_server_main_b_port + - attachment_pd_server_main_1b_pd_server_main_1b_port feature_ps_server_main_1b_port: - abstract_ps_server_main_1b - - feature_ps_server_main_1b_ps_server_main_b_port + - feature_ps_server_main_1b_ps_server_main_1b_port disk.root.size_server_nested2_1c1_cmaui_1_test_nested2Level: - test_nested2Level - disk.root.size_server_nested2_1c1_cmaui_1 @@ -681,7 +681,7 @@ topology_template: - disk.device.read.requests_pd_server_main_1b network.incoming.bytes.rate_ps_server_main_1b_port: - abstract_ps_server_main_1b - - network.incoming.bytes.rate_ps_server_main_1b_ps_server_main_b_port + - network.incoming.bytes.rate_ps_server_main_1b_ps_server_main_1b_port disk.allocation_server_main_pd_1b: - abstract_pd_server_main_1b - disk.allocation_pd_server_main_1b @@ -759,7 +759,7 @@ topology_template: - disk.device.write.bytes.rate_server_nested2_1c1_cmaui_1 network.outpoing.packets_ps_server_main_1b_port: - abstract_ps_server_main_1b - - network.outpoing.packets_ps_server_main_1b_ps_server_main_b_port + - network.outpoing.packets_ps_server_main_1b_ps_server_main_1b_port feature_pd_server_pattern4_port_2_test_nested_pattern_4_main_1: - test_nested_pattern_4_main_1 - feature_pd_server_pattern4_port_2 @@ -774,7 +774,7 @@ topology_template: - network.incoming.packets_pd_server_pattern4_port_1_test_nested_pattern_4_same_type_diff_file network.outgoing.bytes_ps_server_main_1b_port: - abstract_ps_server_main_1b - - network.outgoing.bytes_ps_server_main_1b_ps_server_main_b_port + - network.outgoing.bytes_ps_server_main_1b_ps_server_main_1b_port disk.ephemeral.size_server_main_pd_1b: - abstract_pd_server_main_1b - disk.ephemeral.size_pd_server_main_1b @@ -942,7 +942,7 @@ topology_template: - scalable_server_nested2_pd_1b network.outgoing.packets.rate_ps_server_main_1b_port: - abstract_ps_server_main_1b - - network.outgoing.packets.rate_ps_server_main_1b_ps_server_main_b_port + - network.outgoing.packets.rate_ps_server_main_1b_ps_server_main_1b_port disk.device.write.bytes.rate_server_main_ps_1b: - abstract_ps_server_main_1b - disk.device.write.bytes.rate_ps_server_main_1b @@ -999,7 +999,7 @@ topology_template: - binding_server_pd_pattern4_test_nested_pattern_4_nested2 network.outgoing.bytes_pd_server_main_1b_port: - abstract_pd_server_main_1b - - network.outgoing.bytes_pd_server_main_1b_pd_server_main_b_port + - network.outgoing.bytes_pd_server_main_1b_pd_server_main_1b_port instance_server_main_ps_1b: - abstract_ps_server_main_1b - instance_ps_server_main_1b @@ -1080,7 +1080,7 @@ topology_template: - disk.device.latency_server_pd_pattern4 network.outgoing.packets.rate_pd_server_main_1b_port: - abstract_pd_server_main_1b - - network.outgoing.packets.rate_pd_server_main_1b_pd_server_main_b_port + - network.outgoing.packets.rate_pd_server_main_1b_pd_server_main_1b_port disk.ephemeral.size_server_pd_pattern4_test_nested_pattern_4_same_type_diff_file_test_nested2Level: - test_nested2Level - disk.ephemeral.size_server_pd_pattern4_test_nested_pattern_4_same_type_diff_file @@ -1257,7 +1257,7 @@ topology_template: - disk.read.bytes.rate_server_nested2_ps_1b network.incoming.bytes_pd_server_main_1b_port: - abstract_pd_server_main_1b - - network.incoming.bytes_pd_server_main_1b_pd_server_main_b_port + - network.incoming.bytes_pd_server_main_1b_pd_server_main_1b_port endpoint_server_nested2_1c1_cmaui_1_test_nested2Level: - test_nested2Level - endpoint_server_nested2_1c1_cmaui_1 @@ -1416,7 +1416,7 @@ topology_template: - cpu_server_pd_pattern4_test_nested_pattern_4_nested2 network.outpoing.packets_pd_server_main_1b_port: - abstract_pd_server_main_1b - - network.outpoing.packets_pd_server_main_1b_pd_server_main_b_port + - network.outpoing.packets_pd_server_main_1b_pd_server_main_1b_port network.outpoing.packets_pd_server_pattern4_port_2_test_nested_pattern_4_main_1: - test_nested_pattern_4_main_1 - network.outpoing.packets_pd_server_pattern4_port_2 @@ -1497,7 +1497,7 @@ topology_template: - memory_server_nested2_1c1_cmaui_2 attachment_ps_server_main_1b_port: - abstract_ps_server_main_1b - - attachment_ps_server_main_1b_ps_server_main_b_port + - attachment_ps_server_main_1b_ps_server_main_1b_port disk.write.bytes.rate_server_nested2_pd_1b_test_nested2Level: - test_nested2Level - disk.write.bytes.rate_server_nested2_pd_1b @@ -1524,7 +1524,7 @@ topology_template: - feature_jsa_security_group1_test_resourceGroup network.outgoing.bytes.rate_ps_server_main_1b_port: - abstract_ps_server_main_1b - - network.outgoing.bytes.rate_ps_server_main_1b_ps_server_main_b_port + - network.outgoing.bytes.rate_ps_server_main_1b_ps_server_main_1b_port cpu_server_main_ps_1b: - abstract_ps_server_main_1b - cpu_ps_server_main_1b @@ -1710,7 +1710,7 @@ topology_template: - network.outgoing.bytes_pd_server_pattern4_port_1 feature_pd_server_main_1b_port: - abstract_pd_server_main_1b - - feature_pd_server_main_1b_pd_server_main_b_port + - feature_pd_server_main_1b_pd_server_main_1b_port disk.device.write.requests.rate_server_pd_pattern4_test_nested_pattern_4_main_1: - test_nested_pattern_4_main_1 - disk.device.write.requests.rate_server_pd_pattern4 @@ -1755,7 +1755,7 @@ topology_template: - feature_server_nested2_1c1_cmaui_1 network.incoming.packets.rate_pd_server_main_1b_port: - abstract_pd_server_main_1b - - network.incoming.packets.rate_pd_server_main_1b_pd_server_main_b_port + - network.incoming.packets.rate_pd_server_main_1b_pd_server_main_1b_port disk.allocation_server_pd_pattern4_test_nested_pattern_4_nested2_test_nested2Level: - test_nested2Level - disk.allocation_server_pd_pattern4_test_nested_pattern_4_nested2 @@ -1779,7 +1779,7 @@ topology_template: - disk.device.capacity_server_nested2_pd_1b network.incoming.bytes.rate_pd_server_main_1b_port: - abstract_pd_server_main_1b - - network.incoming.bytes.rate_pd_server_main_1b_pd_server_main_b_port + - network.incoming.bytes.rate_pd_server_main_1b_pd_server_main_1b_port disk.latency_server_pd_pattern4_test_nested_pattern_4_main_1: - test_nested_pattern_4_main_1 - disk.latency_server_pd_pattern4 @@ -1830,13 +1830,13 @@ topology_template: - feature_pd_server_nested2_1b_port network.incoming.packets_ps_server_main_1b_port: - abstract_ps_server_main_1b - - network.incoming.packets_ps_server_main_1b_ps_server_main_b_port + - network.incoming.packets_ps_server_main_1b_ps_server_main_1b_port binding_cmaui_port_2_test_nested2Level: - test_nested2Level - binding_cmaui_port_2 binding_pd_server_main_1b_port: - abstract_pd_server_main_1b - - binding_pd_server_main_1b_pd_server_main_b_port + - binding_pd_server_main_1b_pd_server_main_1b_port binding_server_main_1c1_cmaui_1: - abstract_cmaui_1c1_main - binding_cmaui_1c1_main @@ -1872,7 +1872,7 @@ topology_template: - scalable_server_nested2_1c1_cmaui_2 network.incoming.packets_pd_server_main_1b_port: - abstract_pd_server_main_1b - - network.incoming.packets_pd_server_main_1b_pd_server_main_b_port + - network.incoming.packets_pd_server_main_1b_pd_server_main_1b_port memory_server_nested2_pd_1b_test_nested2Level: - test_nested2Level - memory_server_nested2_pd_1b @@ -1977,7 +1977,7 @@ topology_template: - disk.device.write.requests.rate_server_nested2_1c1_cmaui_2 network.incoming.bytes_ps_server_main_1b_port: - abstract_ps_server_main_1b - - network.incoming.bytes_ps_server_main_1b_ps_server_main_b_port + - network.incoming.bytes_ps_server_main_1b_ps_server_main_1b_port scalable_server_nested2_1c1_cmaui_1_test_nested2Level: - test_nested2Level - scalable_server_nested2_1c1_cmaui_1 @@ -2049,7 +2049,7 @@ topology_template: - disk.device.write.bytes.rate_server_pd_pattern4 network.incoming.packets.rate_ps_server_main_1b_port: - abstract_ps_server_main_1b - - network.incoming.packets.rate_ps_server_main_1b_ps_server_main_b_port + - network.incoming.packets.rate_ps_server_main_1b_ps_server_main_1b_port disk.device.latency_server_nested2_pd_1b_test_nested2Level: - test_nested2Level - disk.device.latency_server_nested2_pd_1b @@ -2097,7 +2097,7 @@ topology_template: - network.incoming.packets_pd_server_pattern4_port_2 binding_ps_server_main_1b_port: - abstract_ps_server_main_1b - - binding_ps_server_main_1b_ps_server_main_b_port + - binding_ps_server_main_1b_ps_server_main_1b_port feature_test_resourceGroup_test_nested2Level: - test_nested2Level - feature_test_resourceGroup @@ -2134,7 +2134,7 @@ topology_template: - dependency_jsa_security_group2_test_resourceGroup dependency_pd_server_main_1b_port: - abstract_pd_server_main_1b - - dependency_pd_server_main_1b_pd_server_main_b_port + - dependency_pd_server_main_1b_pd_server_main_1b_port dependency_cmaui_port_2_test_nested2Level: - test_nested2Level - dependency_cmaui_port_2 @@ -2182,7 +2182,7 @@ topology_template: - local_storage_server_nested2_1c1_cmaui_2 dependency_ps_server_main_1b_port: - abstract_ps_server_main_1b - - dependency_ps_server_main_1b_ps_server_main_b_port + - dependency_ps_server_main_1b_ps_server_main_1b_port dependency_pd_server_pattern4_port_2_test_nested_pattern_4_nested2_test_nested2Level: - test_nested2Level - dependency_pd_server_pattern4_port_2_test_nested_pattern_4_nested2 @@ -2233,7 +2233,7 @@ topology_template: - dependency_server_pd_pattern4_test_nested_pattern_4_nested2 link_ps_server_main_1b_port: - abstract_ps_server_main_1b - - link_ps_server_main_1b_ps_server_main_b_port + - link_ps_server_main_1b_ps_server_main_1b_port dependency_pd_server_pattern4_port_1_test_nested_pattern_4_same_type_diff_file_test_nested2Level: - test_nested2Level - dependency_pd_server_pattern4_port_1_test_nested_pattern_4_same_type_diff_file @@ -2242,7 +2242,7 @@ topology_template: - dependency_cmaui_port_1 link_pd_server_main_1b_port: - abstract_pd_server_main_1b - - link_pd_server_main_1b_pd_server_main_b_port + - link_pd_server_main_1b_pd_server_main_1b_port local_storage_server_pd_pattern4_test_nested_pattern_4_main_1: - test_nested_pattern_4_main_1 - local_storage_server_pd_pattern4 diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/nested2ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/nested2ServiceTemplate.yaml index 935ec13ca3..c851f7f561 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/nested2ServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/allPatternsDependsOnConnectivity/out/nested2ServiceTemplate.yaml @@ -108,11 +108,16 @@ topology_template: directives: - substitutable properties: - port_pd_server_nested_b_port_fixed_ips: + port_pd_server_nested2_1b_port_replacement_policy: + - AUTO + port_pd_server_nested2_1b_port_fixed_ips: - ip_address: get_input: - pd_server_nested2_1b_ips - 0 + port_pd_server_nested2_1b_port_mac_requirements: + mac_count_required: + is_required: false vm_flavor_name: get_input: pd_server_nested2_1b_flavor compute_pd_server_nested2_1b_availability_zone: @@ -121,21 +126,16 @@ topology_template: - get_input: - pd_server_nested2_1b_names - 0 - port_pd_server_nested_b_port_network: - - get_input: jsa_name - port_pd_server_nested_b_port_mac_requirements: - mac_count_required: - is_required: false - port_pd_server_nested_b_port_replacement_policy: - - AUTO vm_image_name: get_input: pd_server_nested2_1b_image - port_pd_server_nested_b_port_ip_requirements: + port_pd_server_nested2_1b_port_ip_requirements: - ip_version: 4 ip_count_required: is_required: true floating_ip_count_required: is_required: false + port_pd_server_nested2_1b_port_network: + - get_input: jsa_name service_template_filter: substitute_service_template: Nested_pd_server_nested2_1bServiceTemplate.yaml count: 1 @@ -212,34 +212,34 @@ topology_template: directives: - substitutable properties: - port_ps_server_nested_b_port_replacement_policy: - - AUTO - port_ps_server_nested_b_port_ip_requirements: + port_ps_server_nested2_1b_port_ip_requirements: - ip_version: 4 ip_count_required: is_required: true floating_ip_count_required: is_required: false - port_ps_server_nested_b_port_network: - - get_input: jsa_name compute_ps_server_nested2_1b_name: - get_input: - ps_server_nested2_1b_names - 1 compute_ps_server_nested2_1b_availability_zone: - get_input: availability_zone_0 + port_ps_server_nested2_1b_port_replacement_policy: + - AUTO vm_flavor_name: get_input: ps_server_nested2_1b_flavor - port_ps_server_nested_b_port_fixed_ips: + port_ps_server_nested2_1b_port_network: + - get_input: jsa_name + vm_image_name: + get_input: ps_server_nested2_1b_image + port_ps_server_nested2_1b_port_fixed_ips: - ip_address: get_input: - ps_server_nested2_1b_ips - 0 - port_ps_server_nested_b_port_mac_requirements: + port_ps_server_nested2_1b_port_mac_requirements: mac_count_required: is_required: false - vm_image_name: - get_input: ps_server_nested2_1b_image service_template_filter: substitute_service_template: Nested_ps_server_nested2_1bServiceTemplate.yaml count: 1 @@ -339,7 +339,7 @@ topology_template: - network.incoming.packets_pd_server_pattern4_port_2 network.incoming.packets.rate_pd_server_nested2_1b_port: - abstract_pd_server_nested2_1b - - network.incoming.packets.rate_pd_server_nested2_1b_pd_server_nested_b_port + - network.incoming.packets.rate_pd_server_nested2_1b_pd_server_nested2_1b_port os_server_nested2_pd_1b: - abstract_pd_server_nested2_1b - os_pd_server_nested2_1b @@ -384,13 +384,13 @@ topology_template: - disk.device.read.requests.rate_server_pd_pattern4 network.outgoing.packets.rate_ps_server_nested2_1b_port: - abstract_ps_server_nested2_1b - - network.outgoing.packets.rate_ps_server_nested2_1b_ps_server_nested_b_port + - network.outgoing.packets.rate_ps_server_nested2_1b_ps_server_nested2_1b_port memory.resident_server_nested2_ps_1b: - abstract_ps_server_nested2_1b - memory.resident_ps_server_nested2_1b network.outpoing.packets_pd_server_nested2_1b_port: - abstract_pd_server_nested2_1b - - network.outpoing.packets_pd_server_nested2_1b_pd_server_nested_b_port + - network.outpoing.packets_pd_server_nested2_1b_pd_server_nested2_1b_port disk.device.read.bytes_server_nested2_1c1_cmaui_2: - abstract_cmaui_1c1_nested2 - disk.device.read.bytes_cmaui_1c1_nested2 @@ -432,7 +432,7 @@ topology_template: - feature network.outgoing.bytes.rate_ps_server_nested2_1b_port: - abstract_ps_server_nested2_1b - - network.outgoing.bytes.rate_ps_server_nested2_1b_ps_server_nested_b_port + - network.outgoing.bytes.rate_ps_server_nested2_1b_ps_server_nested2_1b_port memory_server_pd_pattern4_test_nested_pattern_4_nested2: - test_nested_pattern_4_nested2 - memory_server_pd_pattern4 @@ -444,7 +444,7 @@ topology_template: - disk.write.bytes.rate_cmaui_1c1_nested2 attachment_ps_server_nested2_1b_port: - abstract_ps_server_nested2_1b - - attachment_ps_server_nested2_1b_ps_server_nested_b_port + - attachment_ps_server_nested2_1b_ps_server_nested2_1b_port binding_pd_server_pattern4_port_1_test_nested_pattern_4_same_type_diff_file: - test_nested_pattern_4_same_type_diff_file - binding_pd_server_pattern4_port_1 @@ -456,7 +456,7 @@ topology_template: - cpu_util_pd_server_nested2_1b network.incoming.packets_pd_server_nested2_1b_port: - abstract_pd_server_nested2_1b - - network.incoming.packets_pd_server_nested2_1b_pd_server_nested_b_port + - network.incoming.packets_pd_server_nested2_1b_pd_server_nested2_1b_port network.incoming.bytes.rate_pd_server_pattern4_port_1_test_nested_pattern_4_nested2: - test_nested_pattern_4_nested2 - network.incoming.bytes.rate_pd_server_pattern4_port_1 @@ -522,7 +522,7 @@ topology_template: - disk.read.requests_ps_server_nested2_1b network.incoming.bytes_ps_server_nested2_1b_port: - abstract_ps_server_nested2_1b - - network.incoming.bytes_ps_server_nested2_1b_ps_server_nested_b_port + - network.incoming.bytes_ps_server_nested2_1b_ps_server_nested2_1b_port disk.device.read.requests_server_pd_pattern4_test_nested_pattern_4_same_type_diff_file: - test_nested_pattern_4_same_type_diff_file - disk.device.read.requests_server_pd_pattern4 @@ -684,7 +684,7 @@ topology_template: - endpoint_ps_server_nested2_1b network.incoming.bytes_pd_server_nested2_1b_port: - abstract_pd_server_nested2_1b - - network.incoming.bytes_pd_server_nested2_1b_pd_server_nested_b_port + - network.incoming.bytes_pd_server_nested2_1b_pd_server_nested2_1b_port vcpus_server_pd_pattern4_test_nested_pattern_4_same_type_diff_file: - test_nested_pattern_4_same_type_diff_file - vcpus_server_pd_pattern4 @@ -708,7 +708,7 @@ topology_template: - disk.usage_server_pd_pattern4 network.outgoing.bytes_ps_server_nested2_1b_port: - abstract_ps_server_nested2_1b - - network.outgoing.bytes_ps_server_nested2_1b_ps_server_nested_b_port + - network.outgoing.bytes_ps_server_nested2_1b_ps_server_nested2_1b_port disk.write.requests_server_nested2_pd_1b: - abstract_pd_server_nested2_1b - disk.write.requests_pd_server_nested2_1b @@ -729,7 +729,7 @@ topology_template: - disk.device.allocation_server_pd_pattern4 feature_pd_server_nested2_1b_port: - abstract_pd_server_nested2_1b - - feature_pd_server_nested2_1b_pd_server_nested_b_port + - feature_pd_server_nested2_1b_pd_server_nested2_1b_port cpu_util_server_nested2_ps_1b: - abstract_ps_server_nested2_1b - cpu_util_ps_server_nested2_1b @@ -765,10 +765,10 @@ topology_template: - os_cmaui_1c1_nested2 network.incoming.bytes.rate_pd_server_nested2_1b_port: - abstract_pd_server_nested2_1b - - network.incoming.bytes.rate_pd_server_nested2_1b_pd_server_nested_b_port + - network.incoming.bytes.rate_pd_server_nested2_1b_pd_server_nested2_1b_port attachment_pd_server_nested2_1b_port: - abstract_pd_server_nested2_1b - - attachment_pd_server_nested2_1b_pd_server_nested_b_port + - attachment_pd_server_nested2_1b_pd_server_nested2_1b_port disk.allocation_server_pd_pattern4_test_nested_pattern_4_nested2: - test_nested_pattern_4_nested2 - disk.allocation_server_pd_pattern4 @@ -786,7 +786,7 @@ topology_template: - memory.resident_pd_server_nested2_1b network.outgoing.packets.rate_pd_server_nested2_1b_port: - abstract_pd_server_nested2_1b - - network.outgoing.packets.rate_pd_server_nested2_1b_pd_server_nested_b_port + - network.outgoing.packets.rate_pd_server_nested2_1b_pd_server_nested2_1b_port disk.device.usage_server_nested2_1c1_cmaui_2: - abstract_cmaui_1c1_nested2 - disk.device.usage_cmaui_1c1_nested2 @@ -801,7 +801,7 @@ topology_template: - disk.write.requests.rate_server_pd_pattern4 network.outpoing.packets_ps_server_nested2_1b_port: - abstract_ps_server_nested2_1b - - network.outpoing.packets_ps_server_nested2_1b_ps_server_nested_b_port + - network.outpoing.packets_ps_server_nested2_1b_ps_server_nested2_1b_port feature_server_nested2_ps_1b: - abstract_ps_server_nested2_1b - feature_ps_server_nested2_1b @@ -834,16 +834,16 @@ topology_template: - attachment_pd_server_pattern4_port_2 network.outgoing.bytes.rate_pd_server_nested2_1b_port: - abstract_pd_server_nested2_1b - - network.outgoing.bytes.rate_pd_server_nested2_1b_pd_server_nested_b_port + - network.outgoing.bytes.rate_pd_server_nested2_1b_pd_server_nested2_1b_port network.incoming.packets.rate_ps_server_nested2_1b_port: - abstract_ps_server_nested2_1b - - network.incoming.packets.rate_ps_server_nested2_1b_ps_server_nested_b_port + - network.incoming.packets.rate_ps_server_nested2_1b_ps_server_nested2_1b_port disk.device.read.requests_server_nested2_1c1_cmaui_2: - abstract_cmaui_1c1_nested2 - disk.device.read.requests_cmaui_1c1_nested2 binding_ps_server_nested2_1b_port: - abstract_ps_server_nested2_1b - - binding_ps_server_nested2_1b_ps_server_nested_b_port + - binding_ps_server_nested2_1b_ps_server_nested2_1b_port host_server_pd_pattern4_test_nested_pattern_4_nested2: - test_nested_pattern_4_nested2 - host_server_pd_pattern4 @@ -945,7 +945,7 @@ topology_template: - disk.device.write.requests.rate_ps_server_nested2_1b network.incoming.packets_ps_server_nested2_1b_port: - abstract_ps_server_nested2_1b - - network.incoming.packets_ps_server_nested2_1b_ps_server_nested_b_port + - network.incoming.packets_ps_server_nested2_1b_ps_server_nested2_1b_port binding_server_nested2_pd_1b: - abstract_pd_server_nested2_1b - binding_pd_server_nested2_1b @@ -1224,7 +1224,7 @@ topology_template: - disk.iops_cmaui_1c1_nested2 feature_ps_server_nested2_1b_port: - abstract_ps_server_nested2_1b - - feature_ps_server_nested2_1b_ps_server_nested_b_port + - feature_ps_server_nested2_1b_ps_server_nested2_1b_port disk.iops_server_nested2_1c1_cmaui_1: - abstract_cmaui_1c1_nested2 - disk.iops_cmaui_1c1_nested2 @@ -1308,13 +1308,13 @@ topology_template: - disk.read.bytes.rate_pd_server_nested2_1b binding_pd_server_nested2_1b_port: - abstract_pd_server_nested2_1b - - binding_pd_server_nested2_1b_pd_server_nested_b_port + - binding_pd_server_nested2_1b_pd_server_nested2_1b_port disk.root.size_server_pd_pattern4_test_nested_pattern_4_nested2: - test_nested_pattern_4_nested2 - disk.root.size_server_pd_pattern4 network.incoming.bytes.rate_ps_server_nested2_1b_port: - abstract_ps_server_nested2_1b - - network.incoming.bytes.rate_ps_server_nested2_1b_ps_server_nested_b_port + - network.incoming.bytes.rate_ps_server_nested2_1b_ps_server_nested2_1b_port disk.device.read.bytes.rate_server_pd_pattern4_test_nested_pattern_4_same_type_diff_file: - test_nested_pattern_4_same_type_diff_file - disk.device.read.bytes.rate_server_pd_pattern4 @@ -1341,7 +1341,7 @@ topology_template: - network.outpoing.packets_pd_server_pattern4_port_1 network.outgoing.bytes_pd_server_nested2_1b_port: - abstract_pd_server_nested2_1b - - network.outgoing.bytes_pd_server_nested2_1b_pd_server_nested_b_port + - network.outgoing.bytes_pd_server_nested2_1b_pd_server_nested2_1b_port disk.device.allocation_server_nested2_1c1_cmaui_1: - abstract_cmaui_1c1_nested2 - disk.device.allocation_cmaui_1c1_nested2 @@ -1375,7 +1375,7 @@ topology_template: - dependency_pd_server_pattern4_port_2 link_ps_server_nested2_1b_port: - abstract_ps_server_nested2_1b - - link_ps_server_nested2_1b_ps_server_nested_b_port + - link_ps_server_nested2_1b_ps_server_nested2_1b_port dependency_server_nested2_ps_1b: - abstract_ps_server_nested2_1b - dependency_ps_server_nested2_1b @@ -1417,7 +1417,7 @@ topology_template: - dependency_cmaui_1c1_nested2_cmaui_port link_pd_server_nested2_1b_port: - abstract_pd_server_nested2_1b - - link_pd_server_nested2_1b_pd_server_nested_b_port + - link_pd_server_nested2_1b_pd_server_nested2_1b_port dependency_server_pd_pattern4_test_nested_pattern_4_nested2: - test_nested_pattern_4_nested2 - dependency_server_pd_pattern4 @@ -1432,7 +1432,7 @@ topology_template: - local_storage_server_pd_pattern4 dependency_pd_server_nested2_1b_port: - abstract_pd_server_nested2_1b - - dependency_pd_server_nested2_1b_pd_server_nested_b_port + - dependency_pd_server_nested2_1b_pd_server_nested2_1b_port port_jsa_security_group1_test_nested3Level: - test_nested3Level - port_jsa_security_group1 @@ -1441,7 +1441,7 @@ topology_template: - link_pd_server_pattern4_port_1 dependency_ps_server_nested2_1b_port: - abstract_ps_server_nested2_1b - - dependency_ps_server_nested2_1b_ps_server_nested_b_port + - dependency_ps_server_nested2_1b_ps_server_nested2_1b_port dependency_pd_server_pattern4_port_2_test_nested_pattern_4_same_type_diff_file: - test_nested_pattern_4_same_type_diff_file - dependency_pd_server_pattern4_port_2 diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/GlobalSubstitutionTypesServiceTemplate.yaml index 8ba567db2c..ae6c22ede7 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/GlobalSubstitutionTypesServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/GlobalSubstitutionTypesServiceTemplate.yaml @@ -14,10 +14,6 @@ node_types: status: SUPPORTED entry_schema: type: string - port_pd_server_b_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 @@ -30,17 +26,13 @@ node_types: type: string required: true status: SUPPORTED - port_pd_server_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - status: SUPPORTED - port_pd_server_b_port_fixed_ips: + port_pd_server_1b_port_vlan_requirements: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_pd_server_b_port_subnetpoolid: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd_server_1b_port_network_role_tag: type: string required: true status: SUPPORTED @@ -48,27 +40,27 @@ node_types: type: string required: true status: SUPPORTED - port_pd_server_b_port_ip_requirements: + port_pd_server_1b_port_replacement_policy: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_pd_server_b_port_network: - type: list + type: string + port_pd_server_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true status: SUPPORTED - entry_schema: - type: string - port_pd_server_b_port_network_role_tag: + port_pd_server_1b_port_network_role: type: string required: true status: SUPPORTED - port_pd_server_b_port_network_role: - type: string + port_pd_server_1b_port_fixed_ips: + type: list required: true status: SUPPORTED - port_pd_server_b_port_replacement_policy: + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_pd_server_1b_port_network: type: list required: true status: SUPPORTED @@ -80,16 +72,24 @@ node_types: status: SUPPORTED entry_schema: type: string - port_pd_server_b_port_order: + port_pd_server_1b_port_order: type: integer required: true status: SUPPORTED - port_pd_server_b_port_vlan_requirements: + port_pd_server_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + port_pd_server_1b_port_ip_requirements: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements + type: org.openecomp.datatypes.network.IpRequirements + port_pd_server_1b_port_subnetpoolid: + type: string + required: true + status: SUPPORTED attributes: pd_server_1b_accessIPv4: type: string @@ -109,14 +109,14 @@ node_types: occurrences: - 0 - UNBOUNDED - - dependency_pd_server_1b_pd_server_b_port: + - dependency_pd_server_1b_pd_server_1b_port: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_pd_server_1b_pd_server_b_port: + - link_pd_server_1b_pd_server_1b_port: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: @@ -129,6 +129,11 @@ node_types: occurrences: - 1 - UNBOUNDED + feature_pd_server_1b_pd_server_1b_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED host_pd_server_1b: type: tosca.capabilities.Container valid_source_types: @@ -142,37 +147,25 @@ node_types: occurrences: - 1 - UNBOUNDED - feature_pd_server_1b_pd_server_b_port: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED disk.allocation_pd_server_1b: 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_pd_server_1b_pd_server_b_port: + network.incoming.bytes.rate_pd_server_1b_pd_server_1b_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_pd_server_1b_pd_server_b_port: + cpu.delta_pd_server_1b: 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_pd_server_1b_pd_server_b_port: - type: tosca.capabilities.network.Bindable - valid_source_types: - - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface - occurrences: - - 0 - - UNBOUNDED - cpu.delta_pd_server_1b: + network.incoming.bytes_pd_server_1b_pd_server_1b_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: @@ -195,6 +188,13 @@ node_types: occurrences: - 1 - UNBOUNDED + binding_pd_server_1b_pd_server_1b_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED cpu_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -230,8 +230,9 @@ node_types: occurrences: - 1 - UNBOUNDED - attachment_pd_server_1b_pd_server_b_port: - type: tosca.capabilities.Attachment + network.outpoing.packets_pd_server_1b_pd_server_1b_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 @@ -265,25 +266,30 @@ node_types: occurrences: - 1 - UNBOUNDED + attachment_pd_server_1b_pd_server_1b_port: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED disk.device.write.requests_pd_server_1b: 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_pd_server_1b_pd_server_b_port: + disk.latency_pd_server_1b: 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_pd_server_1b: + disk.ephemeral.size_pd_server_1b: 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_pd_server_1b: + network.outgoing.bytes.rate_pd_server_1b_pd_server_1b_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: @@ -318,12 +324,6 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.packets.rate_pd_server_1b_pd_server_b_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_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -347,6 +347,12 @@ node_types: occurrences: - 1 - UNBOUNDED + network.incoming.packets.rate_pd_server_1b_pd_server_1b_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_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -364,19 +370,19 @@ node_types: occurrences: - 1 - UNBOUNDED - memory.resident_pd_server_1b: + network.outgoing.bytes_pd_server_1b_pd_server_1b_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_pd_server_1b_pd_server_b_port: + memory.resident_pd_server_1b: 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_pd_server_1b_pd_server_b_port: + network.incoming.packets_pd_server_1b_pd_server_1b_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: @@ -400,7 +406,7 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outpoing.packets_pd_server_1b_pd_server_b_port: + network.outgoing.packets.rate_pd_server_1b_pd_server_1b_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: @@ -418,12 +424,6 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.bytes_pd_server_1b_pd_server_b_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.rate_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -1841,7 +1841,7 @@ node_types: org.openecomp.resource.abstract.nodes.pd_server_1b: derived_from: org.openecomp.resource.abstract.nodes.VFC properties: - port_ps_server_b_port_vlan_requirements: + port_ps_server_1b_port_vlan_requirements: type: list required: true status: SUPPORTED @@ -1853,18 +1853,20 @@ node_types: status: SUPPORTED entry_schema: type: string - port_ps_server_b_port_ip_requirements: - type: list + port_ps_server_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_ps_server_b_port_replacement_policy: + port_ps_server_1b_port_network_role_tag: + type: string + required: true + status: SUPPORTED + port_ps_server_1b_port_fixed_ips: type: list required: true status: SUPPORTED entry_schema: - type: string + type: org.openecomp.datatypes.heat.neutron.port.FixedIps index_value: type: integer description: Index value of this substitution service template runtime instance @@ -1873,50 +1875,48 @@ node_types: status: SUPPORTED constraints: - greater_or_equal: 0 - port_ps_server_b_port_network_role: - type: string - required: true - status: SUPPORTED - port_ps_server_b_port_fixed_ips: - type: list + port_ps_server_1b_port_order: + type: integer required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps vm_flavor_name: type: string required: true status: SUPPORTED - port_ps_server_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements + port_ps_server_1b_port_network: + type: list required: true status: SUPPORTED - port_ps_server_b_port_subnetpoolid: - type: string + entry_schema: + type: string + port_ps_server_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming required: true status: SUPPORTED - port_ps_server_b_port_order: - type: integer + port_ps_server_1b_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_ps_server_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - status: SUPPORTED - port_ps_server_b_port_network_role_tag: + port_ps_server_1b_port_network_role: type: string required: true status: SUPPORTED - port_ps_server_b_port_network: + port_ps_server_1b_port_replacement_policy: type: list required: true status: SUPPORTED entry_schema: type: string + port_ps_server_1b_port_subnetpoolid: + type: string + required: true + status: SUPPORTED compute_pd_server_1b_availability_zone: type: list required: true @@ -1924,19 +1924,6 @@ node_types: entry_schema: type: string requirements: - - dependency_pd_server_1b_ps_server_b_port: - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - occurrences: - - 0 - - UNBOUNDED - - link_pd_server_1b_ps_server_b_port: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - occurrences: - - 1 - - 1 - dependency_pd_server_1b: capability: tosca.capabilities.Node node: tosca.nodes.Root @@ -1951,6 +1938,19 @@ node_types: occurrences: - 0 - UNBOUNDED + - dependency_pd_server_1b_ps_server_1b_port: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_pd_server_1b_ps_server_1b_port: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 capabilities: disk.device.read.bytes_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer @@ -1965,6 +1965,12 @@ node_types: occurrences: - 1 - UNBOUNDED + network.outpoing.packets_pd_server_1b_ps_server_1b_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_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -1977,12 +1983,29 @@ node_types: occurrences: - 1 - UNBOUNDED + network.incoming.bytes.rate_pd_server_1b_ps_server_1b_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 + feature_pd_server_1b_ps_server_1b_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED cpu.delta_pd_server_1b: 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_pd_server_1b_ps_server_1b_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_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -2000,7 +2023,7 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.bytes.rate_pd_server_1b_ps_server_b_port: + network.outgoing.bytes.rate_pd_server_1b_ps_server_1b_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: @@ -2012,13 +2035,6 @@ node_types: occurrences: - 1 - UNBOUNDED - binding_pd_server_1b_ps_server_b_port: - type: tosca.capabilities.network.Bindable - valid_source_types: - - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface - occurrences: - - 0 - - UNBOUNDED disk.write.bytes.rate_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -2042,19 +2058,19 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.bytes_pd_server_1b_ps_server_b_port: + memory.usage_pd_server_1b: 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_pd_server_1b: + memory_pd_server_1b: 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_pd_server_1b: + network.outgoing.bytes_pd_server_1b_ps_server_1b_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: @@ -2084,23 +2100,12 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outpoing.packets_pd_server_1b_ps_server_b_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_pd_server_1b: 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_pd_server_1b_ps_server_b_port: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED disk.latency_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -2113,11 +2118,12 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.packets.rate_pd_server_1b_ps_server_b_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + binding_pd_server_1b_ps_server_1b_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface occurrences: - - 1 + - 0 - UNBOUNDED scalable_pd_server_1b: type: tosca.capabilities.Scalable @@ -2148,18 +2154,6 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.packets.rate_pd_server_1b_ps_server_b_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_pd_server_1b_ps_server_b_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_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -2189,6 +2183,12 @@ node_types: occurrences: - 1 - UNBOUNDED + network.outgoing.packets.rate_pd_server_1b_ps_server_1b_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_pd_server_1b: type: tosca.capabilities.network.Bindable occurrences: @@ -2206,48 +2206,48 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.bytes_pd_server_1b_ps_server_b_port: + network.incoming.packets.rate_pd_server_1b_ps_server_1b_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_pd_server_1b: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + attachment_pd_server_1b_ps_server_1b_port: + type: tosca.capabilities.Attachment occurrences: - 1 - UNBOUNDED - disk.device.capacity_pd_server_1b: + network.incoming.bytes_pd_server_1b_ps_server_1b_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.requests_pd_server_1b: + disk.device.write.requests.rate_pd_server_1b: 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_pd_server_1b_ps_server_b_port: - type: tosca.capabilities.Attachment + disk.device.capacity_pd_server_1b: + 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_pd_server_1b: + disk.read.requests_pd_server_1b: 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_pd_server_1b: + disk.capacity_pd_server_1b: 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_pd_server_1b_ps_server_b_port: + disk.usage_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -5269,24 +5269,26 @@ node_types: org.openecomp.resource.abstract.nodes.rd_server_1b_1: derived_from: org.openecomp.resource.abstract.nodes.VFC properties: - port_ps_server_b_port_vlan_requirements: + port_ps_server_1b_port_vlan_requirements: type: list required: true status: SUPPORTED entry_schema: type: org.openecomp.datatypes.network.VlanRequirements - port_ps_server_b_port_ip_requirements: - type: list + port_ps_server_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_ps_server_b_port_replacement_policy: + port_ps_server_1b_port_network_role_tag: + type: string + required: true + status: SUPPORTED + port_ps_server_1b_port_fixed_ips: type: list required: true status: SUPPORTED entry_schema: - type: string + type: org.openecomp.datatypes.heat.neutron.port.FixedIps index_value: type: integer description: Index value of this substitution service template runtime instance @@ -5301,65 +5303,63 @@ node_types: status: SUPPORTED entry_schema: type: string - port_ps_server_b_port_network_role: - type: string - required: true - status: SUPPORTED - port_ps_server_b_port_fixed_ips: - type: list + port_ps_server_1b_port_order: + type: integer required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps vm_flavor_name: type: string required: true status: SUPPORTED - port_ps_server_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements + port_ps_server_1b_port_network: + type: list required: true status: SUPPORTED - port_ps_server_b_port_subnetpoolid: - type: string + entry_schema: + type: string + port_ps_server_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming required: true status: SUPPORTED - port_ps_server_b_port_order: - type: integer + port_ps_server_1b_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_ps_server_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - status: SUPPORTED - port_ps_server_b_port_network_role_tag: + port_ps_server_1b_port_network_role: type: string required: true status: SUPPORTED - compute_rd_server_1b_name: + port_ps_server_1b_port_replacement_policy: type: list required: true status: SUPPORTED entry_schema: type: string - port_ps_server_b_port_network: + compute_rd_server_1b_name: type: list required: true status: SUPPORTED entry_schema: type: string + port_ps_server_1b_port_subnetpoolid: + type: string + required: true + status: SUPPORTED requirements: - - dependency_rd_server_1b_ps_server_b_port: + - dependency_rd_server_1b_ps_server_1b_port: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_rd_server_1b_ps_server_b_port: + - link_rd_server_1b_ps_server_1b_port: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: @@ -5427,7 +5427,7 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.packets.rate_rd_server_1b_ps_server_b_port: + network.incoming.bytes_rd_server_1b_ps_server_1b_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: @@ -5439,6 +5439,13 @@ node_types: occurrences: - 1 - UNBOUNDED + binding_rd_server_1b_ps_server_1b_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED disk.device.latency_rd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -5463,12 +5470,6 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.packets.rate_rd_server_1b_ps_server_b_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_rd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -5480,8 +5481,9 @@ node_types: occurrences: - 1 - UNBOUNDED - attachment_rd_server_1b_ps_server_b_port: - type: tosca.capabilities.Attachment + network.outpoing.packets_rd_server_1b_ps_server_1b_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 @@ -5497,18 +5499,23 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.bytes_rd_server_1b_ps_server_b_port: + disk.device.allocation_rd_server_1b: 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_rd_server_1b: + network.incoming.packets_rd_server_1b_ps_server_1b_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 + feature_rd_server_1b_ps_server_1b_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED disk.device.read.requests_rd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -5527,19 +5534,19 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.bytes_rd_server_1b_ps_server_b_port: + memory_rd_server_1b: 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_rd_server_1b: + disk.write.bytes_rd_server_1b: 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_rd_server_1b: + network.outgoing.packets.rate_rd_server_1b_ps_server_1b_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: @@ -5550,53 +5557,42 @@ node_types: occurrences: - 1 - UNBOUNDED - disk.read.bytes_rd_server_1b: + network.incoming.packets.rate_rd_server_1b_ps_server_1b_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 - feature_rd_server_1b: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - memory.resident_rd_server_1b: + network.outgoing.bytes_rd_server_1b_ps_server_1b_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.requests_rd_server_1b: + disk.read.bytes_rd_server_1b: 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_rd_server_1b: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + feature_rd_server_1b: + type: tosca.capabilities.Node occurrences: - 1 - UNBOUNDED - network.incoming.packets_rd_server_1b_ps_server_b_port: + memory.resident_rd_server_1b: 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_rd_server_1b_ps_server_b_port: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - network.outpoing.packets_rd_server_1b_ps_server_b_port: + disk.read.requests_rd_server_1b: 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_rd_server_1b_ps_server_b_port: + disk.ephemeral.size_rd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -5632,6 +5628,12 @@ node_types: occurrences: - 1 - UNBOUNDED + network.incoming.bytes.rate_rd_server_1b_ps_server_1b_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_rd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -5657,13 +5659,18 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.bytes.rate_rd_server_1b_ps_server_b_port: + attachment_rd_server_1b_ps_server_1b_port: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED + disk.iops_rd_server_1b: 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_rd_server_1b: + network.outgoing.bytes.rate_rd_server_1b_ps_server_1b_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: @@ -5674,13 +5681,6 @@ node_types: occurrences: - 1 - UNBOUNDED - binding_rd_server_1b_ps_server_b_port: - type: tosca.capabilities.network.Bindable - valid_source_types: - - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface - occurrences: - - 0 - - UNBOUNDED memory.usage_rd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -5690,8 +5690,14 @@ node_types: org.openecomp.resource.abstract.nodes.rd_server_1b: derived_from: org.openecomp.resource.abstract.nodes.VFC properties: - port_rd_server_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming + port_rd_server_1b_port_network: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_rd_server_1b_port_order: + type: integer required: true status: SUPPORTED index_value: @@ -5712,37 +5718,29 @@ node_types: type: string required: true status: SUPPORTED - port_rd_server_b_port_replacement_policy: + port_rd_server_1b_port_ip_requirements: type: list required: true status: SUPPORTED entry_schema: - type: string - port_rd_server_b_port_subnetpoolid: + type: org.openecomp.datatypes.network.IpRequirements + port_rd_server_1b_port_network_role_tag: type: string required: true status: SUPPORTED - port_rd_server_b_port_network: - type: list + port_rd_server_1b_port_network_role: + type: string required: true status: SUPPORTED - entry_schema: - type: string vm_image_name: type: string required: true status: SUPPORTED - port_rd_server_b_port_order: - type: integer - required: true - status: SUPPORTED - port_rd_server_b_port_ip_requirements: - type: list + port_rd_server_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_rd_server_b_port_network_role: + port_rd_server_1b_port_subnetpoolid: type: string required: true status: SUPPORTED @@ -5752,39 +5750,41 @@ node_types: status: SUPPORTED entry_schema: type: string - port_rd_server_b_port_fixed_ips: + port_rd_server_1b_port_fixed_ips: type: list required: true status: SUPPORTED entry_schema: type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_rd_server_b_port_network_role_tag: - type: string - required: true - status: SUPPORTED - port_rd_server_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements + port_rd_server_1b_port_replacement_policy: + type: list required: true status: SUPPORTED - port_rd_server_b_port_vlan_requirements: + entry_schema: + type: string + port_rd_server_1b_port_vlan_requirements: type: list required: true status: SUPPORTED entry_schema: type: org.openecomp.datatypes.network.VlanRequirements + port_rd_server_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED attributes: rd_server_1b_accessIPv4: type: string status: SUPPORTED requirements: - - dependency_rd_server_1b_rd_server_b_port: + - dependency_rd_server_1b_rd_server_1b_port: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_rd_server_1b_rd_server_b_port: + - link_rd_server_1b_rd_server_1b_port: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: @@ -5805,13 +5805,15 @@ node_types: - 0 - UNBOUNDED capabilities: - attachment_rd_server_1b_rd_server_b_port: - type: tosca.capabilities.Attachment + network.outgoing.bytes.rate_rd_server_1b_rd_server_1b_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 - feature_rd_server_1b_rd_server_b_port: - type: tosca.capabilities.Node + network.incoming.packets_rd_server_1b_rd_server_1b_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 @@ -5839,24 +5841,12 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.bytes_rd_server_1b_rd_server_b_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_rd_server_1b: 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_rd_server_1b_rd_server_b_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_rd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -5892,7 +5882,13 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.bytes.rate_rd_server_1b_rd_server_b_port: + network.incoming.bytes_rd_server_1b_rd_server_1b_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_rd_server_1b_rd_server_1b_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: @@ -5939,13 +5935,6 @@ node_types: occurrences: - 1 - UNBOUNDED - binding_rd_server_1b_rd_server_b_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_rd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -5964,6 +5953,17 @@ node_types: occurrences: - 1 - UNBOUNDED + network.incoming.packets.rate_rd_server_1b_rd_server_1b_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_rd_server_1b_rd_server_1b_port: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED memory_rd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -5981,20 +5981,20 @@ node_types: occurrences: - 1 - UNBOUNDED - disk.read.bytes_rd_server_1b: + network.outgoing.packets.rate_rd_server_1b_rd_server_1b_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 - feature_rd_server_1b: - type: tosca.capabilities.Node + disk.read.bytes_rd_server_1b: + 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_rd_server_1b_rd_server_b_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + feature_rd_server_1b: + type: tosca.capabilities.Node occurrences: - 1 - UNBOUNDED @@ -6034,6 +6034,13 @@ node_types: occurrences: - 1 - UNBOUNDED + binding_rd_server_1b_rd_server_1b_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED disk.device.iops_rd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -6065,50 +6072,43 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.packets.rate_rd_server_1b_rd_server_b_port: + disk.allocation_rd_server_1b: 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_rd_server_1b_rd_server_b_port: + network.outpoing.packets_rd_server_1b_rd_server_1b_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_rd_server_1b_rd_server_b_port: + disk.iops_rd_server_1b: 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_rd_server_1b: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + endpoint_rd_server_1b: + type: tosca.capabilities.Endpoint.Admin occurrences: - 1 - UNBOUNDED - network.outgoing.bytes_rd_server_1b_rd_server_b_port: + network.outgoing.bytes_rd_server_1b_rd_server_1b_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_rd_server_1b: + memory.usage_rd_server_1b: 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_rd_server_1b: - type: tosca.capabilities.Endpoint.Admin - occurrences: - - 1 - - UNBOUNDED - memory.usage_rd_server_1b: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + feature_rd_server_1b_rd_server_1b_port: + type: tosca.capabilities.Node occurrences: - 1 - UNBOUNDED diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/MainServiceTemplate.yaml index e9b295a2d9..581e296e13 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/MainServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/MainServiceTemplate.yaml @@ -134,34 +134,34 @@ topology_template: directives: - substitutable properties: - port_ps_server_b_port_ip_requirements: - - ip_version: 4 - ip_count_required: - is_required: true - floating_ip_count_required: + port_ps_server_1b_port_mac_requirements: + mac_count_required: is_required: false - port_ps_server_b_port_replacement_policy: - - AUTO - compute_rd_server_1b_availability_zone: - - get_input: availability_zone_0 - port_ps_server_b_port_fixed_ips: + port_ps_server_1b_port_fixed_ips: - ip_address: get_input: - ps_server_1b_ips - 0 + compute_rd_server_1b_availability_zone: + - get_input: availability_zone_0 vm_flavor_name: get_input: rd_server_1b_flavor - port_ps_server_b_port_mac_requirements: - mac_count_required: + port_ps_server_1b_port_network: + - get_input: net + port_ps_server_1b_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: is_required: false vm_image_name: get_input: rd_server_1b_image + port_ps_server_1b_port_replacement_policy: + - AUTO compute_rd_server_1b_name: - get_input: - rd_server_1b_names - 1 - port_ps_server_b_port_network: - - get_input: net service_template_filter: substitute_service_template: Nested_rd_server_1b_1ServiceTemplate.yaml count: 1 @@ -193,34 +193,34 @@ topology_template: directives: - substitutable properties: + port_rd_server_1b_port_network: + - get_input: net compute_rd_server_1b_availability_zone: - get_input: availability_zone_0 vm_flavor_name: get_input: rd_server_1b_flavor - port_rd_server_b_port_replacement_policy: - - AUTO - port_rd_server_b_port_network: - - get_input: net - vm_image_name: - get_input: rd_server_1b_image - port_rd_server_b_port_ip_requirements: + port_rd_server_1b_port_ip_requirements: - ip_version: 4 ip_count_required: is_required: true floating_ip_count_required: is_required: false + vm_image_name: + get_input: rd_server_1b_image + port_rd_server_1b_port_mac_requirements: + mac_count_required: + is_required: false compute_rd_server_1b_name: - get_input: - rd_server_1b_names - 0 - port_rd_server_b_port_fixed_ips: + port_rd_server_1b_port_fixed_ips: - ip_address: get_input: - rd_server_1b_ips - 0 - port_rd_server_b_port_mac_requirements: - mac_count_required: - is_required: false + port_rd_server_1b_port_replacement_policy: + - AUTO service_template_filter: substitute_service_template: Nested_rd_server_1bServiceTemplate.yaml count: 1 diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/Nested_pd_server_1bServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/Nested_pd_server_1bServiceTemplate.yaml index 70c67e0735..b3373b5408 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/Nested_pd_server_1bServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/Nested_pd_server_1bServiceTemplate.yaml @@ -11,7 +11,7 @@ node_types: derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server topology_template: inputs: - port_ps_server_b_port_vlan_requirements: + port_ps_server_1b_port_vlan_requirements: type: list required: true entry_schema: @@ -21,16 +21,17 @@ topology_template: required: true entry_schema: type: string - port_ps_server_b_port_ip_requirements: - type: list + port_ps_server_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_ps_server_b_port_replacement_policy: + port_ps_server_1b_port_network_role_tag: + type: string + required: true + port_ps_server_1b_port_fixed_ips: type: list required: true entry_schema: - type: string + type: org.openecomp.datatypes.heat.neutron.port.FixedIps index_value: type: integer description: Index value of this substitution service template runtime instance @@ -38,95 +39,94 @@ topology_template: default: 0 constraints: - greater_or_equal: 0 - port_ps_server_b_port_network_role: - type: string - required: true - port_ps_server_b_port_fixed_ips: - type: list + port_ps_server_1b_port_order: + type: integer required: true - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps vm_flavor_name: type: string required: true - port_ps_server_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements + port_ps_server_1b_port_network: + type: list required: true - port_ps_server_b_port_subnetpoolid: - type: string + entry_schema: + type: string + port_ps_server_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming required: true - port_ps_server_b_port_order: - type: integer + port_ps_server_1b_port_ip_requirements: + type: list required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements vm_image_name: type: string required: true - port_ps_server_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - port_ps_server_b_port_network_role_tag: + port_ps_server_1b_port_network_role: type: string required: true - port_ps_server_b_port_network: + port_ps_server_1b_port_replacement_policy: type: list required: true entry_schema: type: string + port_ps_server_1b_port_subnetpoolid: + type: string + required: true compute_pd_server_1b_availability_zone: type: list required: true entry_schema: type: string node_templates: - pd_server_1b_ps_server_b_port: + pd_server_1b: + type: org.openecomp.resource.vfc.compute.nodes.heat.pd_server_1b + properties: + availability_zone: + get_input: + - compute_pd_server_1b_availability_zone + - index_value + flavor: + get_input: vm_flavor_name + image: + get_input: vm_image_name + name: + get_input: + - compute_pd_server_1b_name + - index_value + pd_server_1b_ps_server_1b_port: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_ps_server_b_port_exCP_naming + get_input: port_ps_server_1b_port_exCP_naming replacement_policy: get_input: - - port_ps_server_b_port_replacement_policy + - port_ps_server_1b_port_replacement_policy - index_value vlan_requirements: - get_input: port_ps_server_b_port_vlan_requirements + get_input: port_ps_server_1b_port_vlan_requirements ip_requirements: - get_input: port_ps_server_b_port_ip_requirements + get_input: port_ps_server_1b_port_ip_requirements network_role_tag: - get_input: port_ps_server_b_port_network_role_tag + get_input: port_ps_server_1b_port_network_role_tag mac_requirements: - get_input: port_ps_server_b_port_mac_requirements + get_input: port_ps_server_1b_port_mac_requirements order: - get_input: port_ps_server_b_port_order + get_input: port_ps_server_1b_port_order network_role: - get_input: port_ps_server_b_port_network_role + get_input: port_ps_server_1b_port_network_role subnetpoolid: - get_input: port_ps_server_b_port_subnetpoolid + get_input: port_ps_server_1b_port_subnetpoolid fixed_ips: - get_input: port_ps_server_b_port_fixed_ips + get_input: port_ps_server_1b_port_fixed_ips network: get_input: - - port_ps_server_b_port_network + - port_ps_server_1b_port_network - index_value requirements: - binding: capability: tosca.capabilities.network.Bindable node: pd_server_1b relationship: tosca.relationships.network.BindsTo - pd_server_1b: - type: org.openecomp.resource.vfc.compute.nodes.heat.pd_server_1b - properties: - availability_zone: - get_input: - - compute_pd_server_1b_availability_zone - - index_value - flavor: - get_input: vm_flavor_name - image: - get_input: vm_image_name - name: - get_input: - - compute_pd_server_1b_name - - index_value substitution_mappings: node_type: org.openecomp.resource.abstract.nodes.pd_server_1b capabilities: @@ -136,15 +136,27 @@ topology_template: host_pd_server_1b: - pd_server_1b - host + network.outpoing.packets_pd_server_1b_ps_server_1b_port: + - pd_server_1b_ps_server_1b_port + - network.outpoing.packets disk.read.bytes.rate_pd_server_1b: - pd_server_1b - disk.read.bytes.rate disk.allocation_pd_server_1b: - pd_server_1b - disk.allocation + network.incoming.bytes.rate_pd_server_1b_ps_server_1b_port: + - pd_server_1b_ps_server_1b_port + - network.incoming.bytes.rate + feature_pd_server_1b_ps_server_1b_port: + - pd_server_1b_ps_server_1b_port + - feature cpu.delta_pd_server_1b: - pd_server_1b - cpu.delta + network.incoming.packets_pd_server_1b_ps_server_1b_port: + - pd_server_1b_ps_server_1b_port + - network.incoming.packets disk.device.read.requests_pd_server_1b: - pd_server_1b - disk.device.read.requests @@ -154,15 +166,12 @@ topology_template: disk.device.iops_pd_server_1b: - pd_server_1b - disk.device.iops - network.outgoing.bytes.rate_pd_server_1b_ps_server_b_port: - - pd_server_1b_ps_server_b_port + network.outgoing.bytes.rate_pd_server_1b_ps_server_1b_port: + - pd_server_1b_ps_server_1b_port - network.outgoing.bytes.rate cpu_pd_server_1b: - pd_server_1b - cpu - binding_pd_server_1b_ps_server_b_port: - - pd_server_1b_ps_server_b_port - - binding disk.write.bytes.rate_pd_server_1b: - pd_server_1b - disk.write.bytes.rate @@ -175,15 +184,15 @@ topology_template: disk.device.allocation_pd_server_1b: - pd_server_1b - disk.device.allocation - network.outgoing.bytes_pd_server_1b_ps_server_b_port: - - pd_server_1b_ps_server_b_port - - network.outgoing.bytes memory.usage_pd_server_1b: - pd_server_1b - memory.usage memory_pd_server_1b: - pd_server_1b - memory + network.outgoing.bytes_pd_server_1b_ps_server_1b_port: + - pd_server_1b_ps_server_1b_port + - network.outgoing.bytes disk.device.read.bytes.rate_pd_server_1b: - pd_server_1b - disk.device.read.bytes.rate @@ -196,24 +205,18 @@ topology_template: disk.device.usage_pd_server_1b: - pd_server_1b - disk.device.usage - network.outpoing.packets_pd_server_1b_ps_server_b_port: - - pd_server_1b_ps_server_b_port - - network.outpoing.packets disk.device.write.requests_pd_server_1b: - pd_server_1b - disk.device.write.requests - feature_pd_server_1b_ps_server_b_port: - - pd_server_1b_ps_server_b_port - - feature disk.latency_pd_server_1b: - pd_server_1b - disk.latency disk.ephemeral.size_pd_server_1b: - pd_server_1b - disk.ephemeral.size - network.outgoing.packets.rate_pd_server_1b_ps_server_b_port: - - pd_server_1b_ps_server_b_port - - network.outgoing.packets.rate + binding_pd_server_1b_ps_server_1b_port: + - pd_server_1b_ps_server_1b_port + - binding scalable_pd_server_1b: - pd_server_1b - scalable @@ -229,12 +232,6 @@ topology_template: disk.iops_pd_server_1b: - pd_server_1b - disk.iops - network.incoming.packets.rate_pd_server_1b_ps_server_b_port: - - pd_server_1b_ps_server_b_port - - network.incoming.packets.rate - network.incoming.packets_pd_server_1b_ps_server_b_port: - - pd_server_1b_ps_server_b_port - - network.incoming.packets disk.write.bytes_pd_server_1b: - pd_server_1b - disk.write.bytes @@ -250,6 +247,9 @@ topology_template: instance_pd_server_1b: - pd_server_1b - instance + network.outgoing.packets.rate_pd_server_1b_ps_server_1b_port: + - pd_server_1b_ps_server_1b_port + - network.outgoing.packets.rate binding_pd_server_1b: - pd_server_1b - binding @@ -259,8 +259,14 @@ topology_template: memory.resident_pd_server_1b: - pd_server_1b - memory.resident - network.incoming.bytes_pd_server_1b_ps_server_b_port: - - pd_server_1b_ps_server_b_port + network.incoming.packets.rate_pd_server_1b_ps_server_1b_port: + - pd_server_1b_ps_server_1b_port + - network.incoming.packets.rate + attachment_pd_server_1b_ps_server_1b_port: + - pd_server_1b_ps_server_1b_port + - attachment + network.incoming.bytes_pd_server_1b_ps_server_1b_port: + - pd_server_1b_ps_server_1b_port - network.incoming.bytes disk.device.write.requests.rate_pd_server_1b: - pd_server_1b @@ -271,18 +277,12 @@ topology_template: disk.read.requests_pd_server_1b: - pd_server_1b - disk.read.requests - attachment_pd_server_1b_ps_server_b_port: - - pd_server_1b_ps_server_b_port - - attachment disk.capacity_pd_server_1b: - pd_server_1b - disk.capacity disk.usage_pd_server_1b: - pd_server_1b - disk.usage - network.incoming.bytes.rate_pd_server_1b_ps_server_b_port: - - pd_server_1b_ps_server_b_port - - network.incoming.bytes.rate disk.write.requests.rate_pd_server_1b: - pd_server_1b - disk.write.requests.rate @@ -293,9 +293,9 @@ topology_template: local_storage_pd_server_1b: - pd_server_1b - local_storage - dependency_pd_server_1b_ps_server_b_port: - - pd_server_1b_ps_server_b_port + dependency_pd_server_1b_ps_server_1b_port: + - pd_server_1b_ps_server_1b_port - dependency - link_pd_server_1b_ps_server_b_port: - - pd_server_1b_ps_server_b_port + link_pd_server_1b_ps_server_1b_port: + - pd_server_1b_ps_server_1b_port - link diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/Nested_pd_server_1b_1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/Nested_pd_server_1b_1ServiceTemplate.yaml index 17108e5bae..0d2a6a0347 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/Nested_pd_server_1b_1ServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/Nested_pd_server_1b_1ServiceTemplate.yaml @@ -16,9 +16,6 @@ topology_template: required: true entry_schema: type: string - port_pd_server_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true index_value: type: integer description: Index value of this substitution service template runtime instance @@ -29,37 +26,34 @@ topology_template: vm_flavor_name: type: string required: true - port_pd_server_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - port_pd_server_b_port_fixed_ips: + port_pd_server_1b_port_vlan_requirements: type: list required: true entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_pd_server_b_port_subnetpoolid: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd_server_1b_port_network_role_tag: type: string required: true vm_image_name: type: string required: true - port_pd_server_b_port_ip_requirements: - type: list - required: true - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_pd_server_b_port_network: + port_pd_server_1b_port_replacement_policy: type: list required: true entry_schema: type: string - port_pd_server_b_port_network_role_tag: - type: string + port_pd_server_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true - port_pd_server_b_port_network_role: + port_pd_server_1b_port_network_role: type: string required: true - port_pd_server_b_port_replacement_policy: + port_pd_server_1b_port_fixed_ips: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_pd_server_1b_port_network: type: list required: true entry_schema: @@ -69,14 +63,20 @@ topology_template: required: true entry_schema: type: string - port_pd_server_b_port_order: + port_pd_server_1b_port_order: type: integer required: true - port_pd_server_b_port_vlan_requirements: + port_pd_server_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_pd_server_1b_port_ip_requirements: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements + type: org.openecomp.datatypes.network.IpRequirements + port_pd_server_1b_port_subnetpoolid: + type: string + required: true node_templates: pd_server_1b: type: org.openecomp.resource.vfc.compute.nodes.heat.pd_server_1b @@ -93,34 +93,34 @@ topology_template: get_input: - compute_pd_server_1b_name - index_value - pd_server_1b_pd_server_b_port: + pd_server_1b_pd_server_1b_port: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_pd_server_b_port_exCP_naming + get_input: port_pd_server_1b_port_exCP_naming replacement_policy: get_input: - - port_pd_server_b_port_replacement_policy + - port_pd_server_1b_port_replacement_policy - index_value vlan_requirements: - get_input: port_pd_server_b_port_vlan_requirements + get_input: port_pd_server_1b_port_vlan_requirements ip_requirements: - get_input: port_pd_server_b_port_ip_requirements + get_input: port_pd_server_1b_port_ip_requirements network_role_tag: - get_input: port_pd_server_b_port_network_role_tag + get_input: port_pd_server_1b_port_network_role_tag mac_requirements: - get_input: port_pd_server_b_port_mac_requirements + get_input: port_pd_server_1b_port_mac_requirements order: - get_input: port_pd_server_b_port_order + get_input: port_pd_server_1b_port_order network_role: - get_input: port_pd_server_b_port_network_role + get_input: port_pd_server_1b_port_network_role subnetpoolid: - get_input: port_pd_server_b_port_subnetpoolid + get_input: port_pd_server_1b_port_subnetpoolid fixed_ips: - get_input: port_pd_server_b_port_fixed_ips + get_input: port_pd_server_1b_port_fixed_ips network: get_input: - - port_pd_server_b_port_network + - port_pd_server_1b_port_network - index_value requirements: - binding: @@ -140,30 +140,27 @@ topology_template: disk.device.read.bytes_pd_server_1b: - pd_server_1b - disk.device.read.bytes + feature_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - feature host_pd_server_1b: - pd_server_1b - host disk.read.bytes.rate_pd_server_1b: - pd_server_1b - disk.read.bytes.rate - feature_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - feature disk.allocation_pd_server_1b: - pd_server_1b - disk.allocation - network.incoming.bytes_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.incoming.bytes - network.outgoing.bytes.rate_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.outgoing.bytes.rate - binding_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - binding + network.incoming.bytes.rate_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.incoming.bytes.rate cpu.delta_pd_server_1b: - pd_server_1b - cpu.delta + network.incoming.bytes_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.incoming.bytes disk.device.read.requests_pd_server_1b: - pd_server_1b - disk.device.read.requests @@ -173,6 +170,9 @@ topology_template: disk.device.iops_pd_server_1b: - pd_server_1b - disk.device.iops + binding_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - binding cpu_pd_server_1b: - pd_server_1b - cpu @@ -191,9 +191,9 @@ topology_template: memory.usage_pd_server_1b: - pd_server_1b - memory.usage - attachment_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - attachment + network.outpoing.packets_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.outpoing.packets memory_pd_server_1b: - pd_server_1b - memory @@ -209,18 +209,21 @@ topology_template: disk.device.usage_pd_server_1b: - pd_server_1b - disk.device.usage + attachment_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - attachment disk.device.write.requests_pd_server_1b: - pd_server_1b - disk.device.write.requests - network.incoming.bytes.rate_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.incoming.bytes.rate disk.latency_pd_server_1b: - pd_server_1b - disk.latency disk.ephemeral.size_pd_server_1b: - pd_server_1b - disk.ephemeral.size + network.outgoing.bytes.rate_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.outgoing.bytes.rate scalable_pd_server_1b: - pd_server_1b - scalable @@ -236,9 +239,6 @@ topology_template: disk.iops_pd_server_1b: - pd_server_1b - disk.iops - network.incoming.packets.rate_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.incoming.packets.rate disk.write.bytes_pd_server_1b: - pd_server_1b - disk.write.bytes @@ -251,6 +251,9 @@ topology_template: vcpus_pd_server_1b: - pd_server_1b - vcpus + network.incoming.packets.rate_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.incoming.packets.rate instance_pd_server_1b: - pd_server_1b - instance @@ -260,15 +263,15 @@ topology_template: cpu_util_pd_server_1b: - pd_server_1b - cpu_util + network.outgoing.bytes_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.outgoing.bytes memory.resident_pd_server_1b: - pd_server_1b - memory.resident - network.incoming.packets_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port + network.incoming.packets_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port - network.incoming.packets - network.outgoing.packets.rate_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.outgoing.packets.rate disk.device.write.requests.rate_pd_server_1b: - pd_server_1b - disk.device.write.requests.rate @@ -278,18 +281,15 @@ topology_template: disk.read.requests_pd_server_1b: - pd_server_1b - disk.read.requests - network.outpoing.packets_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.outpoing.packets + network.outgoing.packets.rate_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.outgoing.packets.rate disk.capacity_pd_server_1b: - pd_server_1b - disk.capacity disk.usage_pd_server_1b: - pd_server_1b - disk.usage - network.outgoing.bytes_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.outgoing.bytes disk.write.requests.rate_pd_server_1b: - pd_server_1b - disk.write.requests.rate @@ -300,9 +300,9 @@ topology_template: local_storage_pd_server_1b: - pd_server_1b - local_storage - link_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port + link_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port - link - dependency_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port + dependency_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port - dependency diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/Nested_rd_server_1bServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/Nested_rd_server_1bServiceTemplate.yaml index 4b16f1f28b..b94ff90054 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/Nested_rd_server_1bServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/Nested_rd_server_1bServiceTemplate.yaml @@ -11,8 +11,13 @@ node_types: derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server topology_template: inputs: - port_rd_server_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming + port_rd_server_1b_port_network: + type: list + required: true + entry_schema: + type: string + port_rd_server_1b_port_order: + type: integer required: true index_value: type: integer @@ -29,31 +34,24 @@ topology_template: vm_flavor_name: type: string required: true - port_rd_server_b_port_replacement_policy: + port_rd_server_1b_port_ip_requirements: type: list required: true entry_schema: - type: string - port_rd_server_b_port_subnetpoolid: + type: org.openecomp.datatypes.network.IpRequirements + port_rd_server_1b_port_network_role_tag: type: string required: true - port_rd_server_b_port_network: - type: list + port_rd_server_1b_port_network_role: + type: string required: true - entry_schema: - type: string vm_image_name: type: string required: true - port_rd_server_b_port_order: - type: integer - required: true - port_rd_server_b_port_ip_requirements: - type: list + port_rd_server_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_rd_server_b_port_network_role: + port_rd_server_1b_port_subnetpoolid: type: string required: true compute_rd_server_1b_name: @@ -61,51 +59,53 @@ topology_template: required: true entry_schema: type: string - port_rd_server_b_port_fixed_ips: + port_rd_server_1b_port_fixed_ips: type: list required: true entry_schema: type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_rd_server_b_port_network_role_tag: - type: string - required: true - port_rd_server_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements + port_rd_server_1b_port_replacement_policy: + type: list required: true - port_rd_server_b_port_vlan_requirements: + entry_schema: + type: string + port_rd_server_1b_port_vlan_requirements: type: list required: true entry_schema: type: org.openecomp.datatypes.network.VlanRequirements + port_rd_server_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true node_templates: - rd_server_1b_rd_server_b_port: + rd_server_1b_rd_server_1b_port: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_rd_server_b_port_exCP_naming + get_input: port_rd_server_1b_port_exCP_naming replacement_policy: get_input: - - port_rd_server_b_port_replacement_policy + - port_rd_server_1b_port_replacement_policy - index_value vlan_requirements: - get_input: port_rd_server_b_port_vlan_requirements + get_input: port_rd_server_1b_port_vlan_requirements ip_requirements: - get_input: port_rd_server_b_port_ip_requirements + get_input: port_rd_server_1b_port_ip_requirements network_role_tag: - get_input: port_rd_server_b_port_network_role_tag + get_input: port_rd_server_1b_port_network_role_tag mac_requirements: - get_input: port_rd_server_b_port_mac_requirements + get_input: port_rd_server_1b_port_mac_requirements order: - get_input: port_rd_server_b_port_order + get_input: port_rd_server_1b_port_order network_role: - get_input: port_rd_server_b_port_network_role + get_input: port_rd_server_1b_port_network_role subnetpoolid: - get_input: port_rd_server_b_port_subnetpoolid + get_input: port_rd_server_1b_port_subnetpoolid fixed_ips: - get_input: port_rd_server_b_port_fixed_ips + get_input: port_rd_server_1b_port_fixed_ips network: get_input: - - port_rd_server_b_port_network + - port_rd_server_1b_port_network - index_value requirements: - binding: @@ -137,12 +137,12 @@ topology_template: substitution_mappings: node_type: org.openecomp.resource.abstract.nodes.rd_server_1b capabilities: - attachment_rd_server_1b_rd_server_b_port: - - rd_server_1b_rd_server_b_port - - attachment - feature_rd_server_1b_rd_server_b_port: - - rd_server_1b_rd_server_b_port - - feature + network.outgoing.bytes.rate_rd_server_1b_rd_server_1b_port: + - rd_server_1b_rd_server_1b_port + - network.outgoing.bytes.rate + network.incoming.packets_rd_server_1b_rd_server_1b_port: + - rd_server_1b_rd_server_1b_port + - network.incoming.packets disk.usage_rd_server_1b: - rd_server_1b - disk.usage @@ -155,15 +155,9 @@ topology_template: disk.device.write.requests_rd_server_1b: - rd_server_1b - disk.device.write.requests - network.incoming.bytes_rd_server_1b_rd_server_b_port: - - rd_server_1b_rd_server_b_port - - network.incoming.bytes disk.device.write.bytes_rd_server_1b: - rd_server_1b - disk.device.write.bytes - network.outgoing.bytes.rate_rd_server_1b_rd_server_b_port: - - rd_server_1b_rd_server_b_port - - network.outgoing.bytes.rate disk.capacity_rd_server_1b: - rd_server_1b - disk.capacity @@ -182,8 +176,11 @@ topology_template: disk.device.read.bytes.rate_rd_server_1b: - rd_server_1b - disk.device.read.bytes.rate - network.incoming.bytes.rate_rd_server_1b_rd_server_b_port: - - rd_server_1b_rd_server_b_port + network.incoming.bytes_rd_server_1b_rd_server_1b_port: + - rd_server_1b_rd_server_1b_port + - network.incoming.bytes + network.incoming.bytes.rate_rd_server_1b_rd_server_1b_port: + - rd_server_1b_rd_server_1b_port - network.incoming.bytes.rate disk.read.bytes.rate_rd_server_1b: - rd_server_1b @@ -206,9 +203,6 @@ topology_template: disk.device.allocation_rd_server_1b: - rd_server_1b - disk.device.allocation - binding_rd_server_1b_rd_server_b_port: - - rd_server_1b_rd_server_b_port - - binding disk.device.read.requests_rd_server_1b: - rd_server_1b - disk.device.read.requests @@ -218,6 +212,12 @@ topology_template: disk.write.bytes.rate_rd_server_1b: - rd_server_1b - disk.write.bytes.rate + network.incoming.packets.rate_rd_server_1b_rd_server_1b_port: + - rd_server_1b_rd_server_1b_port + - network.incoming.packets.rate + attachment_rd_server_1b_rd_server_1b_port: + - rd_server_1b_rd_server_1b_port + - attachment memory_rd_server_1b: - rd_server_1b - memory @@ -227,15 +227,15 @@ topology_template: binding_rd_server_1b: - rd_server_1b - binding + network.outgoing.packets.rate_rd_server_1b_rd_server_1b_port: + - rd_server_1b_rd_server_1b_port + - network.outgoing.packets.rate disk.read.bytes_rd_server_1b: - rd_server_1b - disk.read.bytes feature_rd_server_1b: - rd_server_1b - feature - network.incoming.packets.rate_rd_server_1b_rd_server_b_port: - - rd_server_1b_rd_server_b_port - - network.incoming.packets.rate memory.resident_rd_server_1b: - rd_server_1b - memory.resident @@ -254,6 +254,9 @@ topology_template: disk.device.write.bytes.rate_rd_server_1b: - rd_server_1b - disk.device.write.bytes.rate + binding_rd_server_1b_rd_server_1b_port: + - rd_server_1b_rd_server_1b_port + - binding disk.device.iops_rd_server_1b: - rd_server_1b - disk.device.iops @@ -269,40 +272,37 @@ topology_template: disk.device.capacity_rd_server_1b: - rd_server_1b - disk.device.capacity - network.outgoing.packets.rate_rd_server_1b_rd_server_b_port: - - rd_server_1b_rd_server_b_port - - network.outgoing.packets.rate - network.incoming.packets_rd_server_1b_rd_server_b_port: - - rd_server_1b_rd_server_b_port - - network.incoming.packets - network.outpoing.packets_rd_server_1b_rd_server_b_port: - - rd_server_1b_rd_server_b_port - - network.outpoing.packets disk.allocation_rd_server_1b: - rd_server_1b - disk.allocation - network.outgoing.bytes_rd_server_1b_rd_server_b_port: - - rd_server_1b_rd_server_b_port - - network.outgoing.bytes + network.outpoing.packets_rd_server_1b_rd_server_1b_port: + - rd_server_1b_rd_server_1b_port + - network.outpoing.packets disk.iops_rd_server_1b: - rd_server_1b - disk.iops endpoint_rd_server_1b: - rd_server_1b - endpoint + network.outgoing.bytes_rd_server_1b_rd_server_1b_port: + - rd_server_1b_rd_server_1b_port + - network.outgoing.bytes memory.usage_rd_server_1b: - rd_server_1b - memory.usage + feature_rd_server_1b_rd_server_1b_port: + - rd_server_1b_rd_server_1b_port + - feature requirements: + dependency_rd_server_1b_rd_server_1b_port: + - rd_server_1b_rd_server_1b_port + - dependency dependency_rd_server_1b: - rd_server_1b - dependency local_storage_rd_server_1b: - rd_server_1b - local_storage - link_rd_server_1b_rd_server_b_port: - - rd_server_1b_rd_server_b_port + link_rd_server_1b_rd_server_1b_port: + - rd_server_1b_rd_server_1b_port - link - dependency_rd_server_1b_rd_server_b_port: - - rd_server_1b_rd_server_b_port - - dependency diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/Nested_rd_server_1b_1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/Nested_rd_server_1b_1ServiceTemplate.yaml index d5a219aa65..03f95284d2 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/Nested_rd_server_1b_1ServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/Nested_rd_server_1b_1ServiceTemplate.yaml @@ -11,21 +11,22 @@ node_types: derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server topology_template: inputs: - port_ps_server_b_port_vlan_requirements: + port_ps_server_1b_port_vlan_requirements: type: list required: true entry_schema: type: org.openecomp.datatypes.network.VlanRequirements - port_ps_server_b_port_ip_requirements: - type: list + port_ps_server_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_ps_server_b_port_replacement_policy: + port_ps_server_1b_port_network_role_tag: + type: string + required: true + port_ps_server_1b_port_fixed_ips: type: list required: true entry_schema: - type: string + type: org.openecomp.datatypes.heat.neutron.port.FixedIps index_value: type: integer description: Index value of this substitution service template runtime instance @@ -38,74 +39,73 @@ topology_template: required: true entry_schema: type: string - port_ps_server_b_port_network_role: - type: string - required: true - port_ps_server_b_port_fixed_ips: - type: list + port_ps_server_1b_port_order: + type: integer required: true - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps vm_flavor_name: type: string required: true - port_ps_server_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements + port_ps_server_1b_port_network: + type: list required: true - port_ps_server_b_port_subnetpoolid: - type: string + entry_schema: + type: string + port_ps_server_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming required: true - port_ps_server_b_port_order: - type: integer + port_ps_server_1b_port_ip_requirements: + type: list required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements vm_image_name: type: string required: true - port_ps_server_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - port_ps_server_b_port_network_role_tag: + port_ps_server_1b_port_network_role: type: string required: true - compute_rd_server_1b_name: + port_ps_server_1b_port_replacement_policy: type: list required: true entry_schema: type: string - port_ps_server_b_port_network: + compute_rd_server_1b_name: type: list required: true entry_schema: type: string + port_ps_server_1b_port_subnetpoolid: + type: string + required: true node_templates: - rd_server_1b_ps_server_b_port: + rd_server_1b_ps_server_1b_port: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_ps_server_b_port_exCP_naming + get_input: port_ps_server_1b_port_exCP_naming replacement_policy: get_input: - - port_ps_server_b_port_replacement_policy + - port_ps_server_1b_port_replacement_policy - index_value vlan_requirements: - get_input: port_ps_server_b_port_vlan_requirements + get_input: port_ps_server_1b_port_vlan_requirements ip_requirements: - get_input: port_ps_server_b_port_ip_requirements + get_input: port_ps_server_1b_port_ip_requirements network_role_tag: - get_input: port_ps_server_b_port_network_role_tag + get_input: port_ps_server_1b_port_network_role_tag mac_requirements: - get_input: port_ps_server_b_port_mac_requirements + get_input: port_ps_server_1b_port_mac_requirements order: - get_input: port_ps_server_b_port_order + get_input: port_ps_server_1b_port_order network_role: - get_input: port_ps_server_b_port_network_role + get_input: port_ps_server_1b_port_network_role subnetpoolid: - get_input: port_ps_server_b_port_subnetpoolid + get_input: port_ps_server_1b_port_subnetpoolid fixed_ips: - get_input: port_ps_server_b_port_fixed_ips + get_input: port_ps_server_1b_port_fixed_ips network: get_input: - - port_ps_server_b_port_network + - port_ps_server_1b_port_network - index_value requirements: - binding: @@ -154,12 +154,15 @@ topology_template: scalable_rd_server_1b: - rd_server_1b - scalable - network.outgoing.packets.rate_rd_server_1b_ps_server_b_port: - - rd_server_1b_ps_server_b_port - - network.outgoing.packets.rate + network.incoming.bytes_rd_server_1b_ps_server_1b_port: + - rd_server_1b_ps_server_1b_port + - network.incoming.bytes disk.device.usage_rd_server_1b: - rd_server_1b - disk.device.usage + binding_rd_server_1b_ps_server_1b_port: + - rd_server_1b_ps_server_1b_port + - binding disk.device.latency_rd_server_1b: - rd_server_1b - disk.device.latency @@ -172,30 +175,30 @@ topology_template: disk.root.size_rd_server_1b: - rd_server_1b - disk.root.size - network.incoming.packets.rate_rd_server_1b_ps_server_b_port: - - rd_server_1b_ps_server_b_port - - network.incoming.packets.rate disk.device.write.requests.rate_rd_server_1b: - rd_server_1b - disk.device.write.requests.rate os_rd_server_1b: - rd_server_1b - os - attachment_rd_server_1b_ps_server_b_port: - - rd_server_1b_ps_server_b_port - - attachment + network.outpoing.packets_rd_server_1b_ps_server_1b_port: + - rd_server_1b_ps_server_1b_port + - network.outpoing.packets disk.device.read.bytes_rd_server_1b: - rd_server_1b - disk.device.read.bytes disk.device.read.requests.rate_rd_server_1b: - rd_server_1b - disk.device.read.requests.rate - network.incoming.bytes_rd_server_1b_ps_server_b_port: - - rd_server_1b_ps_server_b_port - - network.incoming.bytes disk.device.allocation_rd_server_1b: - rd_server_1b - disk.device.allocation + network.incoming.packets_rd_server_1b_ps_server_1b_port: + - rd_server_1b_ps_server_1b_port + - network.incoming.packets + feature_rd_server_1b_ps_server_1b_port: + - rd_server_1b_ps_server_1b_port + - feature disk.device.read.requests_rd_server_1b: - rd_server_1b - disk.device.read.requests @@ -205,18 +208,24 @@ topology_template: disk.write.bytes.rate_rd_server_1b: - rd_server_1b - disk.write.bytes.rate - network.outgoing.bytes_rd_server_1b_ps_server_b_port: - - rd_server_1b_ps_server_b_port - - network.outgoing.bytes memory_rd_server_1b: - rd_server_1b - memory disk.write.bytes_rd_server_1b: - rd_server_1b - disk.write.bytes + network.outgoing.packets.rate_rd_server_1b_ps_server_1b_port: + - rd_server_1b_ps_server_1b_port + - network.outgoing.packets.rate binding_rd_server_1b: - rd_server_1b - binding + network.incoming.packets.rate_rd_server_1b_ps_server_1b_port: + - rd_server_1b_ps_server_1b_port + - network.incoming.packets.rate + network.outgoing.bytes_rd_server_1b_ps_server_1b_port: + - rd_server_1b_ps_server_1b_port + - network.outgoing.bytes disk.read.bytes_rd_server_1b: - rd_server_1b - disk.read.bytes @@ -232,18 +241,6 @@ topology_template: disk.ephemeral.size_rd_server_1b: - rd_server_1b - disk.ephemeral.size - network.incoming.packets_rd_server_1b_ps_server_b_port: - - rd_server_1b_ps_server_b_port - - network.incoming.packets - feature_rd_server_1b_ps_server_b_port: - - rd_server_1b_ps_server_b_port - - feature - network.outpoing.packets_rd_server_1b_ps_server_b_port: - - rd_server_1b_ps_server_b_port - - network.outpoing.packets - network.incoming.bytes.rate_rd_server_1b_ps_server_b_port: - - rd_server_1b_ps_server_b_port - - network.incoming.bytes.rate disk.latency_rd_server_1b: - rd_server_1b - disk.latency @@ -259,6 +256,9 @@ topology_template: cpu_rd_server_1b: - rd_server_1b - cpu + network.incoming.bytes.rate_rd_server_1b_ps_server_1b_port: + - rd_server_1b_ps_server_1b_port + - network.incoming.bytes.rate cpu.delta_rd_server_1b: - rd_server_1b - cpu.delta @@ -271,31 +271,31 @@ topology_template: disk.allocation_rd_server_1b: - rd_server_1b - disk.allocation - network.outgoing.bytes.rate_rd_server_1b_ps_server_b_port: - - rd_server_1b_ps_server_b_port - - network.outgoing.bytes.rate + attachment_rd_server_1b_ps_server_1b_port: + - rd_server_1b_ps_server_1b_port + - attachment disk.iops_rd_server_1b: - rd_server_1b - disk.iops + network.outgoing.bytes.rate_rd_server_1b_ps_server_1b_port: + - rd_server_1b_ps_server_1b_port + - network.outgoing.bytes.rate endpoint_rd_server_1b: - rd_server_1b - endpoint - binding_rd_server_1b_ps_server_b_port: - - rd_server_1b_ps_server_b_port - - binding memory.usage_rd_server_1b: - rd_server_1b - memory.usage requirements: - link_rd_server_1b_ps_server_b_port: - - rd_server_1b_ps_server_b_port - - link dependency_rd_server_1b: - rd_server_1b - dependency local_storage_rd_server_1b: - rd_server_1b - local_storage - dependency_rd_server_1b_ps_server_b_port: - - rd_server_1b_ps_server_b_port + dependency_rd_server_1b_ps_server_1b_port: + - rd_server_1b_ps_server_1b_port - dependency + link_rd_server_1b_ps_server_1b_port: + - rd_server_1b_ps_server_1b_port + - link diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/nested1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/nested1ServiceTemplate.yaml index 6edd5eb6e4..19f9133272 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/nested1ServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/nested1ServiceTemplate.yaml @@ -135,28 +135,28 @@ topology_template: - 0 vm_flavor_name: get_input: pd_server_1b_flavor - port_pd_server_b_port_mac_requirements: + vm_image_name: + get_input: pd_server_1b_image + port_pd_server_1b_port_replacement_policy: + - AUTO + port_pd_server_1b_port_mac_requirements: mac_count_required: is_required: false - port_pd_server_b_port_fixed_ips: + port_pd_server_1b_port_fixed_ips: - ip_address: get_input: - pd_server_1b_ips - 0 - vm_image_name: - get_input: pd_server_1b_image - port_pd_server_b_port_ip_requirements: + port_pd_server_1b_port_network: + - get_input: net + compute_pd_server_1b_availability_zone: + - get_input: availability_zone_0 + port_pd_server_1b_port_ip_requirements: - ip_version: 4 ip_count_required: is_required: true floating_ip_count_required: is_required: false - port_pd_server_b_port_network: - - get_input: net - port_pd_server_b_port_replacement_policy: - - AUTO - compute_pd_server_1b_availability_zone: - - get_input: availability_zone_0 service_template_filter: substitute_service_template: Nested_pd_server_1b_1ServiceTemplate.yaml count: 1 @@ -251,28 +251,28 @@ topology_template: - get_input: - pd_server_1b_names - 1 - port_ps_server_b_port_ip_requirements: - - ip_version: 4 - ip_count_required: - is_required: true - floating_ip_count_required: + port_ps_server_1b_port_mac_requirements: + mac_count_required: is_required: false - port_ps_server_b_port_replacement_policy: - - AUTO - port_ps_server_b_port_fixed_ips: + port_ps_server_1b_port_fixed_ips: - ip_address: get_input: - ps_server_1b_ips - 0 vm_flavor_name: get_input: pd_server_1b_flavor - port_ps_server_b_port_mac_requirements: - mac_count_required: + port_ps_server_1b_port_network: + - get_input: net + port_ps_server_1b_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: is_required: false vm_image_name: get_input: pd_server_1b_image - port_ps_server_b_port_network: - - get_input: net + port_ps_server_1b_port_replacement_policy: + - AUTO compute_pd_server_1b_availability_zone: - get_input: availability_zone_0 service_template_filter: @@ -465,7 +465,7 @@ topology_template: - disk.usage_oam_server_1c2 network.incoming.bytes_pd_server_1b_port: - abstract_pd_server_1b_1 - - network.incoming.bytes_pd_server_1b_pd_server_b_port + - network.incoming.bytes_pd_server_1b_pd_server_1b_port feature_server_1c1_cmaui_2: - abstract_cmaui_1c1 - feature_cmaui_1c1 @@ -507,10 +507,10 @@ topology_template: - feature_server_pd network.incoming.packets_pd_server_1b_port: - abstract_pd_server_1b_1 - - network.incoming.packets_pd_server_1b_pd_server_b_port + - network.incoming.packets_pd_server_1b_pd_server_1b_port attachment_ps_server_1b_port: - abstract_pd_server_1b - - attachment_pd_server_1b_ps_server_b_port + - attachment_pd_server_1b_ps_server_1b_port disk.device.write.requests.rate_server_1c2_oam_1: - abstract_oam_server_1c2_0 - disk.device.write.requests.rate_oam_server_1c2 @@ -723,7 +723,7 @@ topology_template: - feature_cmaui_1c1_cmaui_port network.incoming.bytes.rate_pd_server_1b_port: - abstract_pd_server_1b_1 - - network.incoming.bytes.rate_pd_server_1b_pd_server_b_port + - network.incoming.bytes.rate_pd_server_1b_pd_server_1b_port network.outgoing.bytes_oam_port_2: - abstract_oam_server_1c2_1 - network.outgoing.bytes_oam_server_1c2_oam_port @@ -798,7 +798,7 @@ topology_template: - host_pd_server_1b network.outgoing.packets.rate_ps_server_1b_port: - abstract_pd_server_1b - - network.outgoing.packets.rate_pd_server_1b_ps_server_b_port + - network.outgoing.packets.rate_pd_server_1b_ps_server_1b_port disk.root.size_server_1b_pd_1: - abstract_pd_server_1b_1 - disk.root.size_pd_server_1b @@ -816,19 +816,19 @@ topology_template: - disk.device.usage_cmaui_1c1 network.incoming.bytes_ps_server_1b_port: - abstract_pd_server_1b - - network.incoming.bytes_pd_server_1b_ps_server_b_port + - network.incoming.bytes_pd_server_1b_ps_server_1b_port host_server_1b_pd_2: - abstract_pd_server_1b - host_pd_server_1b attachment_pd_server_1b_port: - abstract_pd_server_1b_1 - - attachment_pd_server_1b_pd_server_b_port + - attachment_pd_server_1b_pd_server_1b_port vcpus_server_1c1_cmaui_2: - abstract_cmaui_1c1 - vcpus_cmaui_1c1 binding_ps_server_1b_port: - abstract_pd_server_1b - - binding_pd_server_1b_ps_server_b_port + - binding_pd_server_1b_ps_server_1b_port disk.device.latency_server_1c2_oam_2: - abstract_oam_server_1c2_1 - disk.device.latency_oam_server_1c2 @@ -870,7 +870,7 @@ topology_template: - disk.write.requests_pd_server_1b binding_pd_server_1b_port: - abstract_pd_server_1b_1 - - binding_pd_server_1b_pd_server_b_port + - binding_pd_server_1b_pd_server_1b_port disk.device.read.requests.rate_server_1b_pd_1: - abstract_pd_server_1b_1 - disk.device.read.requests.rate_pd_server_1b @@ -960,7 +960,7 @@ topology_template: - memory.usage_pd_server_1b network.outpoing.packets_ps_server_1b_port: - abstract_pd_server_1b - - network.outpoing.packets_pd_server_1b_ps_server_b_port + - network.outpoing.packets_pd_server_1b_ps_server_1b_port memory.usage_server_1c2_oam_1: - abstract_oam_server_1c2_0 - memory.usage_oam_server_1c2 @@ -999,7 +999,7 @@ topology_template: - disk.device.write.requests_pd_server_1b network.incoming.bytes.rate_ps_server_1b_port: - abstract_pd_server_1b - - network.incoming.bytes.rate_pd_server_1b_ps_server_b_port + - network.incoming.bytes.rate_pd_server_1b_ps_server_1b_port cpu_util_server_pd_nested1_pattern_4: - nested1_pattern_4 - cpu_util_server_pd @@ -1047,7 +1047,7 @@ topology_template: - binding_cmaui_1c1 feature_ps_server_1b_port: - abstract_pd_server_1b - - feature_pd_server_1b_ps_server_b_port + - feature_pd_server_1b_ps_server_1b_port disk.device.iops_server_1c2_oam_2: - abstract_oam_server_1c2_1 - disk.device.iops_oam_server_1c2 @@ -1074,7 +1074,7 @@ topology_template: - disk.device.read.bytes.rate_pd_server_1b network.outgoing.packets.rate_pd_server_1b_port: - abstract_pd_server_1b_1 - - network.outgoing.packets.rate_pd_server_1b_pd_server_b_port + - network.outgoing.packets.rate_pd_server_1b_pd_server_1b_port disk.write.requests.rate_server_1b_pd_1: - abstract_pd_server_1b_1 - disk.write.requests.rate_pd_server_1b @@ -1170,7 +1170,7 @@ topology_template: - cpu_util_pd_server_1b network.outgoing.bytes.rate_ps_server_1b_port: - abstract_pd_server_1b - - network.outgoing.bytes.rate_pd_server_1b_ps_server_b_port + - network.outgoing.bytes.rate_pd_server_1b_ps_server_1b_port disk.write.requests_server_pd_nested1_pattern_4: - nested1_pattern_4 - disk.write.requests_server_pd @@ -1179,7 +1179,7 @@ topology_template: - feature_pd_server_1b network.incoming.packets.rate_ps_server_1b_port: - abstract_pd_server_1b - - network.incoming.packets.rate_pd_server_1b_ps_server_b_port + - network.incoming.packets.rate_pd_server_1b_ps_server_1b_port disk.device.write.requests.rate_server_1c1_cmaui_2: - abstract_cmaui_1c1 - disk.device.write.requests.rate_cmaui_1c1 @@ -1242,7 +1242,7 @@ topology_template: - disk.iops_pd_server_1b network.outpoing.packets_pd_server_1b_port: - abstract_pd_server_1b_1 - - network.outpoing.packets_pd_server_1b_pd_server_b_port + - network.outpoing.packets_pd_server_1b_pd_server_1b_port disk.device.read.requests_server_1c1_cmaui_2: - abstract_cmaui_1c1 - disk.device.read.requests_cmaui_1c1 @@ -1266,7 +1266,7 @@ topology_template: - disk.device.allocation_oam_server_1c2 network.outgoing.bytes_pd_server_1b_port: - abstract_pd_server_1b_1 - - network.outgoing.bytes_pd_server_1b_pd_server_b_port + - network.outgoing.bytes_pd_server_1b_pd_server_1b_port disk.write.requests_server_1c1_cmaui_2: - abstract_cmaui_1c1 - disk.write.requests_cmaui_1c1 @@ -1422,13 +1422,13 @@ topology_template: - disk.device.read.requests.rate_cmaui_1c1 network.incoming.packets_ps_server_1b_port: - abstract_pd_server_1b - - network.incoming.packets_pd_server_1b_ps_server_b_port + - network.incoming.packets_pd_server_1b_ps_server_1b_port instance_server_pd_nested1_pattern_4: - nested1_pattern_4 - instance_server_pd feature_pd_server_1b_port: - abstract_pd_server_1b_1 - - feature_pd_server_1b_pd_server_b_port + - feature_pd_server_1b_pd_server_1b_port disk.latency_server_1c1_cmaui_1: - abstract_cmaui_1c1 - disk.latency_cmaui_1c1 @@ -1467,7 +1467,7 @@ topology_template: - disk.write.bytes_cmaui_1c1 network.outgoing.bytes.rate_pd_server_1b_port: - abstract_pd_server_1b_1 - - network.outgoing.bytes.rate_pd_server_1b_pd_server_b_port + - network.outgoing.bytes.rate_pd_server_1b_pd_server_1b_port disk.write.bytes_server_1c1_cmaui_2: - abstract_cmaui_1c1 - disk.write.bytes_cmaui_1c1 @@ -1485,7 +1485,7 @@ topology_template: - disk.device.latency_pd_server_1b network.incoming.packets.rate_pd_server_1b_port: - abstract_pd_server_1b_1 - - network.incoming.packets.rate_pd_server_1b_pd_server_b_port + - network.incoming.packets.rate_pd_server_1b_pd_server_1b_port feature_nested1_pattern_4: - nested1_pattern_4 - feature @@ -1542,7 +1542,7 @@ topology_template: - network.incoming.bytes.rate_cmaui_1c1_cmaui_port network.outgoing.bytes_ps_server_1b_port: - abstract_pd_server_1b - - network.outgoing.bytes_pd_server_1b_ps_server_b_port + - network.outgoing.bytes_pd_server_1b_ps_server_1b_port network.incoming.bytes.rate_cmaui_port_2: - abstract_cmaui_1c1 - network.incoming.bytes.rate_cmaui_1c1_cmaui_port @@ -1582,7 +1582,7 @@ topology_template: requirements: link_pd_server_1b_port: - abstract_pd_server_1b_1 - - link_pd_server_1b_pd_server_b_port + - link_pd_server_1b_pd_server_1b_port dependency_oam_port_2: - abstract_oam_server_1c2_1 - dependency_oam_server_1c2_oam_port @@ -1597,10 +1597,10 @@ topology_template: - link_pd_server_port_2 link_ps_server_1b_port: - abstract_pd_server_1b - - link_pd_server_1b_ps_server_b_port + - link_pd_server_1b_ps_server_1b_port dependency_ps_server_1b_port: - abstract_pd_server_1b - - dependency_pd_server_1b_ps_server_b_port + - dependency_pd_server_1b_ps_server_1b_port dependency_server_1c2_oam_1: - abstract_oam_server_1c2_0 - dependency_oam_server_1c2 @@ -1648,7 +1648,7 @@ topology_template: - dependency_cmaui_1c1 dependency_pd_server_1b_port: - abstract_pd_server_1b_1 - - dependency_pd_server_1b_pd_server_b_port + - dependency_pd_server_1b_pd_server_1b_port dependency_packet_internal_network: - packet_internal_network - dependency diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/out/GlobalSubstitutionTypesServiceTemplate.yaml index ef3fc1ac7f..9c1f678489 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/out/GlobalSubstitutionTypesServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/out/GlobalSubstitutionTypesServiceTemplate.yaml @@ -435,10 +435,6 @@ node_types: status: SUPPORTED entry_schema: type: string - port_pd_server_b_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 @@ -451,17 +447,13 @@ node_types: type: string required: true status: SUPPORTED - port_pd_server_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - status: SUPPORTED - port_pd_server_b_port_fixed_ips: + port_pd_server_1b_port_vlan_requirements: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_pd_server_b_port_subnetpoolid: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd_server_1b_port_network_role_tag: type: string required: true status: SUPPORTED @@ -469,27 +461,27 @@ node_types: type: string required: true status: SUPPORTED - port_pd_server_b_port_ip_requirements: + port_pd_server_1b_port_replacement_policy: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_pd_server_b_port_network: - type: list + type: string + port_pd_server_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true status: SUPPORTED - entry_schema: - type: string - port_pd_server_b_port_network_role_tag: + port_pd_server_1b_port_network_role: type: string required: true status: SUPPORTED - port_pd_server_b_port_network_role: - type: string + port_pd_server_1b_port_fixed_ips: + type: list required: true status: SUPPORTED - port_pd_server_b_port_replacement_policy: + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_pd_server_1b_port_network: type: list required: true status: SUPPORTED @@ -501,16 +493,24 @@ node_types: status: SUPPORTED entry_schema: type: string - port_pd_server_b_port_order: + port_pd_server_1b_port_order: type: integer required: true status: SUPPORTED - port_pd_server_b_port_vlan_requirements: + port_pd_server_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + port_pd_server_1b_port_ip_requirements: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements + type: org.openecomp.datatypes.network.IpRequirements + port_pd_server_1b_port_subnetpoolid: + type: string + required: true + status: SUPPORTED requirements: - dependency_pd_server_1b: capability: tosca.capabilities.Node @@ -526,14 +526,14 @@ node_types: occurrences: - 0 - UNBOUNDED - - dependency_pd_server_1b_pd_server_b_port: + - dependency_pd_server_1b_pd_server_1b_port: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_pd_server_1b_pd_server_b_port: + - link_pd_server_1b_pd_server_1b_port: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: @@ -546,6 +546,11 @@ node_types: occurrences: - 1 - UNBOUNDED + feature_pd_server_1b_pd_server_1b_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED host_pd_server_1b: type: tosca.capabilities.Container valid_source_types: @@ -559,37 +564,25 @@ node_types: occurrences: - 1 - UNBOUNDED - feature_pd_server_1b_pd_server_b_port: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED disk.allocation_pd_server_1b: 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_pd_server_1b_pd_server_b_port: + network.incoming.bytes.rate_pd_server_1b_pd_server_1b_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_pd_server_1b_pd_server_b_port: + cpu.delta_pd_server_1b: 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_pd_server_1b_pd_server_b_port: - type: tosca.capabilities.network.Bindable - valid_source_types: - - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface - occurrences: - - 0 - - UNBOUNDED - cpu.delta_pd_server_1b: + network.incoming.bytes_pd_server_1b_pd_server_1b_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: @@ -612,6 +605,13 @@ node_types: occurrences: - 1 - UNBOUNDED + binding_pd_server_1b_pd_server_1b_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED cpu_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -647,8 +647,9 @@ node_types: occurrences: - 1 - UNBOUNDED - attachment_pd_server_1b_pd_server_b_port: - type: tosca.capabilities.Attachment + network.outpoing.packets_pd_server_1b_pd_server_1b_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 @@ -682,25 +683,30 @@ node_types: occurrences: - 1 - UNBOUNDED + attachment_pd_server_1b_pd_server_1b_port: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED disk.device.write.requests_pd_server_1b: 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_pd_server_1b_pd_server_b_port: + disk.latency_pd_server_1b: 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_pd_server_1b: + disk.ephemeral.size_pd_server_1b: 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_pd_server_1b: + network.outgoing.bytes.rate_pd_server_1b_pd_server_1b_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: @@ -735,12 +741,6 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.packets.rate_pd_server_1b_pd_server_b_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_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -764,6 +764,12 @@ node_types: occurrences: - 1 - UNBOUNDED + network.incoming.packets.rate_pd_server_1b_pd_server_1b_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_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -781,19 +787,19 @@ node_types: occurrences: - 1 - UNBOUNDED - memory.resident_pd_server_1b: + network.outgoing.bytes_pd_server_1b_pd_server_1b_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_pd_server_1b_pd_server_b_port: + memory.resident_pd_server_1b: 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_pd_server_1b_pd_server_b_port: + network.incoming.packets_pd_server_1b_pd_server_1b_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: @@ -817,7 +823,7 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outpoing.packets_pd_server_1b_pd_server_b_port: + network.outgoing.packets.rate_pd_server_1b_pd_server_1b_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: @@ -835,12 +841,6 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.bytes_pd_server_1b_pd_server_b_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.rate_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -3003,24 +3003,26 @@ node_types: org.openecomp.resource.abstract.nodes.ps_server_1b: derived_from: org.openecomp.resource.abstract.nodes.VFC properties: - port_ps_server_b_port_vlan_requirements: + port_ps_server_1b_port_vlan_requirements: type: list required: true status: SUPPORTED entry_schema: type: org.openecomp.datatypes.network.VlanRequirements - port_ps_server_b_port_ip_requirements: - type: list + port_ps_server_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_ps_server_b_port_replacement_policy: + port_ps_server_1b_port_network_role_tag: + type: string + required: true + status: SUPPORTED + port_ps_server_1b_port_fixed_ips: type: list required: true status: SUPPORTED entry_schema: - type: string + type: org.openecomp.datatypes.heat.neutron.port.FixedIps index_value: type: integer description: Index value of this substitution service template runtime instance @@ -3029,50 +3031,48 @@ node_types: status: SUPPORTED constraints: - greater_or_equal: 0 - port_ps_server_b_port_network_role: - type: string - required: true - status: SUPPORTED - port_ps_server_b_port_fixed_ips: - type: list + port_ps_server_1b_port_order: + type: integer required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps vm_flavor_name: type: string required: true status: SUPPORTED - port_ps_server_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements + port_ps_server_1b_port_network: + type: list required: true status: SUPPORTED - port_ps_server_b_port_subnetpoolid: - type: string + entry_schema: + type: string + port_ps_server_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming required: true status: SUPPORTED - port_ps_server_b_port_order: - type: integer + port_ps_server_1b_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_ps_server_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - status: SUPPORTED - port_ps_server_b_port_network_role_tag: + port_ps_server_1b_port_network_role: type: string required: true status: SUPPORTED - port_ps_server_b_port_network: + port_ps_server_1b_port_replacement_policy: type: list required: true status: SUPPORTED entry_schema: type: string + port_ps_server_1b_port_subnetpoolid: + type: string + required: true + status: SUPPORTED compute_ps_server_1b_availability_zone: type: list required: true @@ -3100,14 +3100,14 @@ node_types: occurrences: - 0 - UNBOUNDED - - dependency_ps_server_1b_ps_server_b_port: + - dependency_ps_server_1b_ps_server_1b_port: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_ps_server_1b_ps_server_b_port: + - link_ps_server_1b_ps_server_1b_port: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: @@ -3167,13 +3167,18 @@ node_types: occurrences: - 1 - UNBOUNDED - disk.device.capacity_ps_server_1b: + attachment_ps_server_1b_ps_server_1b_port: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED + network.outgoing.packets.rate_ps_server_1b_ps_server_1b_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_ps_server_1b_ps_server_b_port: + disk.device.capacity_ps_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -3209,12 +3214,6 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.bytes.rate_ps_server_1b_ps_server_b_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 host_ps_server_1b: type: tosca.capabilities.Container valid_source_types: @@ -3246,6 +3245,12 @@ node_types: occurrences: - 1 - UNBOUNDED + network.incoming.bytes_ps_server_1b_ps_server_1b_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.rate_ps_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -3270,66 +3275,60 @@ node_types: occurrences: - 1 - UNBOUNDED - feature_ps_server_1b_ps_server_b_port: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED binding_ps_server_1b: type: tosca.capabilities.network.Bindable occurrences: - 1 - UNBOUNDED - network.incoming.bytes_ps_server_1b_ps_server_b_port: + memory.resident_ps_server_1b: 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_ps_server_1b_ps_server_b_port: + memory_ps_server_1b: 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_ps_server_1b: + disk.write.bytes_ps_server_1b: 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_ps_server_1b: + disk.device.write.bytes.rate_ps_server_1b: 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_ps_server_1b: + disk.read.bytes_ps_server_1b: 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_ps_server_1b: + network.incoming.packets.rate_ps_server_1b_ps_server_1b_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_ps_server_1b_ps_server_b_port: - type: tosca.capabilities.network.Bindable - valid_source_types: - - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + network.outgoing.bytes_ps_server_1b_ps_server_1b_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: - - 0 + - 1 - UNBOUNDED - disk.read.bytes_ps_server_1b: + network.incoming.packets_ps_server_1b_ps_server_1b_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_ps_server_1b_ps_server_b_port: + network.outgoing.bytes.rate_ps_server_1b_ps_server_1b_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: @@ -3345,11 +3344,6 @@ node_types: occurrences: - 1 - UNBOUNDED - attachment_ps_server_1b_ps_server_b_port: - type: tosca.capabilities.Attachment - occurrences: - - 1 - - UNBOUNDED disk.iops_ps_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -3368,13 +3362,7 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.packets.rate_ps_server_1b_ps_server_b_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_ps_server_1b_ps_server_b_port: + network.outpoing.packets_ps_server_1b_ps_server_1b_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: @@ -3397,19 +3385,24 @@ node_types: occurrences: - 1 - UNBOUNDED - vcpus_ps_server_1b: + network.incoming.bytes.rate_ps_server_1b_ps_server_1b_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_ps_server_1b: + feature_ps_server_1b_ps_server_1b_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + vcpus_ps_server_1b: 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_ps_server_1b_ps_server_b_port: + cpu.delta_ps_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -3421,6 +3414,13 @@ node_types: occurrences: - 1 - UNBOUNDED + binding_ps_server_1b_ps_server_1b_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED org.openecomp.resource.abstract.nodes.cmaui_1c1: derived_from: org.openecomp.resource.abstract.nodes.VFC properties: diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/out/Nested_pd_server_1bServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/out/Nested_pd_server_1bServiceTemplate.yaml index 81488c79d9..1dbe52f405 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/out/Nested_pd_server_1bServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/out/Nested_pd_server_1bServiceTemplate.yaml @@ -16,9 +16,6 @@ topology_template: required: true entry_schema: type: string - port_pd_server_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true index_value: type: integer description: Index value of this substitution service template runtime instance @@ -29,37 +26,34 @@ topology_template: vm_flavor_name: type: string required: true - port_pd_server_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - port_pd_server_b_port_fixed_ips: + port_pd_server_1b_port_vlan_requirements: type: list required: true entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_pd_server_b_port_subnetpoolid: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd_server_1b_port_network_role_tag: type: string required: true vm_image_name: type: string required: true - port_pd_server_b_port_ip_requirements: - type: list - required: true - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_pd_server_b_port_network: + port_pd_server_1b_port_replacement_policy: type: list required: true entry_schema: type: string - port_pd_server_b_port_network_role_tag: - type: string + port_pd_server_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true - port_pd_server_b_port_network_role: + port_pd_server_1b_port_network_role: type: string required: true - port_pd_server_b_port_replacement_policy: + port_pd_server_1b_port_fixed_ips: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_pd_server_1b_port_network: type: list required: true entry_schema: @@ -69,14 +63,20 @@ topology_template: required: true entry_schema: type: string - port_pd_server_b_port_order: + port_pd_server_1b_port_order: type: integer required: true - port_pd_server_b_port_vlan_requirements: + port_pd_server_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_pd_server_1b_port_ip_requirements: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements + type: org.openecomp.datatypes.network.IpRequirements + port_pd_server_1b_port_subnetpoolid: + type: string + required: true node_templates: pd_server_1b: type: org.openecomp.resource.vfc.compute.nodes.heat.pd_server_1b @@ -93,34 +93,34 @@ topology_template: get_input: - compute_pd_server_1b_name - index_value - pd_server_1b_pd_server_b_port: + pd_server_1b_pd_server_1b_port: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_pd_server_b_port_exCP_naming + get_input: port_pd_server_1b_port_exCP_naming replacement_policy: get_input: - - port_pd_server_b_port_replacement_policy + - port_pd_server_1b_port_replacement_policy - index_value vlan_requirements: - get_input: port_pd_server_b_port_vlan_requirements + get_input: port_pd_server_1b_port_vlan_requirements ip_requirements: - get_input: port_pd_server_b_port_ip_requirements + get_input: port_pd_server_1b_port_ip_requirements network_role_tag: - get_input: port_pd_server_b_port_network_role_tag + get_input: port_pd_server_1b_port_network_role_tag mac_requirements: - get_input: port_pd_server_b_port_mac_requirements + get_input: port_pd_server_1b_port_mac_requirements order: - get_input: port_pd_server_b_port_order + get_input: port_pd_server_1b_port_order network_role: - get_input: port_pd_server_b_port_network_role + get_input: port_pd_server_1b_port_network_role subnetpoolid: - get_input: port_pd_server_b_port_subnetpoolid + get_input: port_pd_server_1b_port_subnetpoolid fixed_ips: - get_input: port_pd_server_b_port_fixed_ips + get_input: port_pd_server_1b_port_fixed_ips network: get_input: - - port_pd_server_b_port_network + - port_pd_server_1b_port_network - index_value requirements: - binding: @@ -133,30 +133,27 @@ topology_template: disk.device.read.bytes_pd_server_1b: - pd_server_1b - disk.device.read.bytes + feature_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - feature host_pd_server_1b: - pd_server_1b - host disk.read.bytes.rate_pd_server_1b: - pd_server_1b - disk.read.bytes.rate - feature_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - feature disk.allocation_pd_server_1b: - pd_server_1b - disk.allocation - network.incoming.bytes_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.incoming.bytes - network.outgoing.bytes.rate_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.outgoing.bytes.rate - binding_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - binding + network.incoming.bytes.rate_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.incoming.bytes.rate cpu.delta_pd_server_1b: - pd_server_1b - cpu.delta + network.incoming.bytes_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.incoming.bytes disk.device.read.requests_pd_server_1b: - pd_server_1b - disk.device.read.requests @@ -166,6 +163,9 @@ topology_template: disk.device.iops_pd_server_1b: - pd_server_1b - disk.device.iops + binding_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - binding cpu_pd_server_1b: - pd_server_1b - cpu @@ -184,9 +184,9 @@ topology_template: memory.usage_pd_server_1b: - pd_server_1b - memory.usage - attachment_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - attachment + network.outpoing.packets_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.outpoing.packets memory_pd_server_1b: - pd_server_1b - memory @@ -202,18 +202,21 @@ topology_template: disk.device.usage_pd_server_1b: - pd_server_1b - disk.device.usage + attachment_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - attachment disk.device.write.requests_pd_server_1b: - pd_server_1b - disk.device.write.requests - network.incoming.bytes.rate_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.incoming.bytes.rate disk.latency_pd_server_1b: - pd_server_1b - disk.latency disk.ephemeral.size_pd_server_1b: - pd_server_1b - disk.ephemeral.size + network.outgoing.bytes.rate_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.outgoing.bytes.rate scalable_pd_server_1b: - pd_server_1b - scalable @@ -229,9 +232,6 @@ topology_template: disk.iops_pd_server_1b: - pd_server_1b - disk.iops - network.incoming.packets.rate_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.incoming.packets.rate disk.write.bytes_pd_server_1b: - pd_server_1b - disk.write.bytes @@ -244,6 +244,9 @@ topology_template: vcpus_pd_server_1b: - pd_server_1b - vcpus + network.incoming.packets.rate_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.incoming.packets.rate instance_pd_server_1b: - pd_server_1b - instance @@ -253,15 +256,15 @@ topology_template: cpu_util_pd_server_1b: - pd_server_1b - cpu_util + network.outgoing.bytes_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.outgoing.bytes memory.resident_pd_server_1b: - pd_server_1b - memory.resident - network.incoming.packets_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port + network.incoming.packets_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port - network.incoming.packets - network.outgoing.packets.rate_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.outgoing.packets.rate disk.device.write.requests.rate_pd_server_1b: - pd_server_1b - disk.device.write.requests.rate @@ -271,18 +274,15 @@ topology_template: disk.read.requests_pd_server_1b: - pd_server_1b - disk.read.requests - network.outpoing.packets_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.outpoing.packets + network.outgoing.packets.rate_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.outgoing.packets.rate disk.capacity_pd_server_1b: - pd_server_1b - disk.capacity disk.usage_pd_server_1b: - pd_server_1b - disk.usage - network.outgoing.bytes_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.outgoing.bytes disk.write.requests.rate_pd_server_1b: - pd_server_1b - disk.write.requests.rate @@ -293,9 +293,9 @@ topology_template: local_storage_pd_server_1b: - pd_server_1b - local_storage - link_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port + link_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port - link - dependency_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port + dependency_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port - dependency diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/out/Nested_ps_server_1bServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/out/Nested_ps_server_1bServiceTemplate.yaml index 6d0f966e57..c97cb23644 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/out/Nested_ps_server_1bServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/out/Nested_ps_server_1bServiceTemplate.yaml @@ -11,21 +11,22 @@ node_types: derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server topology_template: inputs: - port_ps_server_b_port_vlan_requirements: + port_ps_server_1b_port_vlan_requirements: type: list required: true entry_schema: type: org.openecomp.datatypes.network.VlanRequirements - port_ps_server_b_port_ip_requirements: - type: list + port_ps_server_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_ps_server_b_port_replacement_policy: + port_ps_server_1b_port_network_role_tag: + type: string + required: true + port_ps_server_1b_port_fixed_ips: type: list required: true entry_schema: - type: string + type: org.openecomp.datatypes.heat.neutron.port.FixedIps index_value: type: integer description: Index value of this substitution service template runtime instance @@ -33,40 +34,39 @@ topology_template: default: 0 constraints: - greater_or_equal: 0 - port_ps_server_b_port_network_role: - type: string - required: true - port_ps_server_b_port_fixed_ips: - type: list + port_ps_server_1b_port_order: + type: integer required: true - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps vm_flavor_name: type: string required: true - port_ps_server_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements + port_ps_server_1b_port_network: + type: list required: true - port_ps_server_b_port_subnetpoolid: - type: string + entry_schema: + type: string + port_ps_server_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming required: true - port_ps_server_b_port_order: - type: integer + port_ps_server_1b_port_ip_requirements: + type: list required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements vm_image_name: type: string required: true - port_ps_server_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - port_ps_server_b_port_network_role_tag: + port_ps_server_1b_port_network_role: type: string required: true - port_ps_server_b_port_network: + port_ps_server_1b_port_replacement_policy: type: list required: true entry_schema: type: string + port_ps_server_1b_port_subnetpoolid: + type: string + required: true compute_ps_server_1b_availability_zone: type: list required: true @@ -93,34 +93,34 @@ topology_template: get_input: - compute_ps_server_1b_name - index_value - ps_server_1b_ps_server_b_port: + ps_server_1b_ps_server_1b_port: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_ps_server_b_port_exCP_naming + get_input: port_ps_server_1b_port_exCP_naming replacement_policy: get_input: - - port_ps_server_b_port_replacement_policy + - port_ps_server_1b_port_replacement_policy - index_value vlan_requirements: - get_input: port_ps_server_b_port_vlan_requirements + get_input: port_ps_server_1b_port_vlan_requirements ip_requirements: - get_input: port_ps_server_b_port_ip_requirements + get_input: port_ps_server_1b_port_ip_requirements network_role_tag: - get_input: port_ps_server_b_port_network_role_tag + get_input: port_ps_server_1b_port_network_role_tag mac_requirements: - get_input: port_ps_server_b_port_mac_requirements + get_input: port_ps_server_1b_port_mac_requirements order: - get_input: port_ps_server_b_port_order + get_input: port_ps_server_1b_port_order network_role: - get_input: port_ps_server_b_port_network_role + get_input: port_ps_server_1b_port_network_role subnetpoolid: - get_input: port_ps_server_b_port_subnetpoolid + get_input: port_ps_server_1b_port_subnetpoolid fixed_ips: - get_input: port_ps_server_b_port_fixed_ips + get_input: port_ps_server_1b_port_fixed_ips network: get_input: - - port_ps_server_b_port_network + - port_ps_server_1b_port_network - index_value requirements: - binding: @@ -157,12 +157,15 @@ topology_template: disk.device.iops_ps_server_1b: - ps_server_1b - disk.device.iops + attachment_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - attachment + network.outgoing.packets.rate_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - network.outgoing.packets.rate disk.device.capacity_ps_server_1b: - ps_server_1b - disk.device.capacity - network.incoming.packets.rate_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - network.incoming.packets.rate instance_ps_server_1b: - ps_server_1b - instance @@ -178,9 +181,6 @@ topology_template: disk.device.read.requests_ps_server_1b: - ps_server_1b - disk.device.read.requests - network.incoming.bytes.rate_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - network.incoming.bytes.rate host_ps_server_1b: - ps_server_1b - host @@ -196,6 +196,9 @@ topology_template: disk.capacity_ps_server_1b: - ps_server_1b - disk.capacity + network.incoming.bytes_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - network.incoming.bytes disk.write.requests.rate_ps_server_1b: - ps_server_1b - disk.write.requests.rate @@ -208,18 +211,9 @@ topology_template: disk.root.size_ps_server_1b: - ps_server_1b - disk.root.size - feature_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - feature binding_ps_server_1b: - ps_server_1b - binding - network.incoming.bytes_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - network.incoming.bytes - network.outgoing.bytes.rate_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - network.outgoing.bytes.rate memory.resident_ps_server_1b: - ps_server_1b - memory.resident @@ -232,24 +226,27 @@ topology_template: disk.device.write.bytes.rate_ps_server_1b: - ps_server_1b - disk.device.write.bytes.rate - binding_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - binding disk.read.bytes_ps_server_1b: - ps_server_1b - disk.read.bytes - network.outgoing.bytes_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port + network.incoming.packets.rate_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - network.incoming.packets.rate + network.outgoing.bytes_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port - network.outgoing.bytes + network.incoming.packets_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - network.incoming.packets + network.outgoing.bytes.rate_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - network.outgoing.bytes.rate feature_ps_server_1b: - ps_server_1b - feature os_ps_server_1b: - ps_server_1b - os - attachment_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - attachment disk.iops_ps_server_1b: - ps_server_1b - disk.iops @@ -259,12 +256,9 @@ topology_template: disk.write.requests_ps_server_1b: - ps_server_1b - disk.write.requests - network.outgoing.packets.rate_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - network.outgoing.packets.rate - network.incoming.packets_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - network.incoming.packets + network.outpoing.packets_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - network.outpoing.packets memory.usage_ps_server_1b: - ps_server_1b - memory.usage @@ -274,27 +268,33 @@ topology_template: endpoint_ps_server_1b: - ps_server_1b - endpoint + network.incoming.bytes.rate_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - network.incoming.bytes.rate + feature_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - feature vcpus_ps_server_1b: - ps_server_1b - vcpus cpu.delta_ps_server_1b: - ps_server_1b - cpu.delta - network.outpoing.packets_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - network.outpoing.packets disk.ephemeral.size_ps_server_1b: - ps_server_1b - disk.ephemeral.size + binding_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - binding requirements: local_storage_ps_server_1b: - ps_server_1b - local_storage - dependency_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port + dependency_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port - dependency - link_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port + link_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port - link dependency_ps_server_1b: - ps_server_1b diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/out/nested1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/out/nested1ServiceTemplate.yaml index ae05dd420d..e214d825ed 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/out/nested1ServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllNonNestedPatterns/out/nested1ServiceTemplate.yaml @@ -185,28 +185,28 @@ topology_template: - 0 vm_flavor_name: get_input: pd_server_1b_flavor - port_pd_server_b_port_mac_requirements: + vm_image_name: + get_input: pd_server_1b_image + port_pd_server_1b_port_replacement_policy: + - AUTO + port_pd_server_1b_port_mac_requirements: mac_count_required: is_required: false - port_pd_server_b_port_fixed_ips: + port_pd_server_1b_port_fixed_ips: - ip_address: get_input: - pd_server_1b_ips - 0 - vm_image_name: - get_input: pd_server_1b_image - port_pd_server_b_port_ip_requirements: + port_pd_server_1b_port_network: + - get_input: net + compute_pd_server_1b_availability_zone: + - get_input: availability_zone_0 + port_pd_server_1b_port_ip_requirements: - ip_version: 4 ip_count_required: is_required: true floating_ip_count_required: is_required: false - port_pd_server_b_port_network: - - get_input: net - port_pd_server_b_port_replacement_policy: - - AUTO - compute_pd_server_1b_availability_zone: - - get_input: availability_zone_0 service_template_filter: substitute_service_template: Nested_pd_server_1bServiceTemplate.yaml count: 1 @@ -220,28 +220,28 @@ topology_template: directives: - substitutable properties: - port_ps_server_b_port_ip_requirements: - - ip_version: 4 - ip_count_required: - is_required: true - floating_ip_count_required: + port_ps_server_1b_port_mac_requirements: + mac_count_required: is_required: false - port_ps_server_b_port_replacement_policy: - - AUTO - port_ps_server_b_port_fixed_ips: + port_ps_server_1b_port_fixed_ips: - ip_address: get_input: - ps_server_1b_ips - 0 vm_flavor_name: get_input: ps_server_1b_flavor - port_ps_server_b_port_mac_requirements: - mac_count_required: + port_ps_server_1b_port_network: + - get_input: net + port_ps_server_1b_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: is_required: false vm_image_name: get_input: ps_server_1b_image - port_ps_server_b_port_network: - - get_input: net + port_ps_server_1b_port_replacement_policy: + - AUTO compute_ps_server_1b_availability_zone: - get_input: availability_zone_0 compute_ps_server_1b_name: @@ -413,7 +413,7 @@ topology_template: - disk.usage_oam_server_1c2 network.incoming.bytes_pd_server_1b_port: - abstract_pd_server_1b - - network.incoming.bytes_pd_server_1b_pd_server_b_port + - network.incoming.bytes_pd_server_1b_pd_server_1b_port feature_server_1c1_cmaui_2: - abstract_cmaui_1c1 - feature_cmaui_1c1 @@ -443,10 +443,10 @@ topology_template: - disk.device.iops_pd_server_1b network.incoming.packets_pd_server_1b_port: - abstract_pd_server_1b - - network.incoming.packets_pd_server_1b_pd_server_b_port + - network.incoming.packets_pd_server_1b_pd_server_1b_port attachment_ps_server_1b_port: - abstract_ps_server_1b - - attachment_ps_server_1b_ps_server_b_port + - attachment_ps_server_1b_ps_server_1b_port disk.device.write.requests.rate_server_1c2_oam_1: - abstract_oam_server_1c2_0 - disk.device.write.requests.rate_oam_server_1c2 @@ -605,7 +605,7 @@ topology_template: - feature_cmaui_1c1_cmaui_port network.incoming.bytes.rate_pd_server_1b_port: - abstract_pd_server_1b - - network.incoming.bytes.rate_pd_server_1b_pd_server_b_port + - network.incoming.bytes.rate_pd_server_1b_pd_server_1b_port network.outgoing.bytes_oam_port_2: - abstract_oam_server_1c2_1 - network.outgoing.bytes_oam_server_1c2_oam_port @@ -671,7 +671,7 @@ topology_template: - endpoint_cmaui_1c1 network.outgoing.packets.rate_ps_server_1b_port: - abstract_ps_server_1b - - network.outgoing.packets.rate_ps_server_1b_ps_server_b_port + - network.outgoing.packets.rate_ps_server_1b_ps_server_1b_port endpoint_server_1c1_cmaui_1: - abstract_cmaui_1c1 - endpoint_cmaui_1c1 @@ -686,16 +686,16 @@ topology_template: - disk.device.usage_cmaui_1c1 network.incoming.bytes_ps_server_1b_port: - abstract_ps_server_1b - - network.incoming.bytes_ps_server_1b_ps_server_b_port + - network.incoming.bytes_ps_server_1b_ps_server_1b_port attachment_pd_server_1b_port: - abstract_pd_server_1b - - attachment_pd_server_1b_pd_server_b_port + - attachment_pd_server_1b_pd_server_1b_port vcpus_server_1c1_cmaui_2: - abstract_cmaui_1c1 - vcpus_cmaui_1c1 binding_ps_server_1b_port: - abstract_ps_server_1b - - binding_ps_server_1b_ps_server_b_port + - binding_ps_server_1b_ps_server_1b_port disk.device.write.bytes.rate_server_1b_ps: - abstract_ps_server_1b - disk.device.write.bytes.rate_ps_server_1b @@ -740,7 +740,7 @@ topology_template: - disk.device.read.requests_ps_server_1b binding_pd_server_1b_port: - abstract_pd_server_1b - - binding_pd_server_1b_pd_server_b_port + - binding_pd_server_1b_pd_server_1b_port disk.read.bytes_server_1c2_oam_1: - abstract_oam_server_1c2_0 - disk.read.bytes_oam_server_1c2 @@ -806,7 +806,7 @@ topology_template: - memory.usage_oam_server_1c2 network.outpoing.packets_ps_server_1b_port: - abstract_ps_server_1b - - network.outpoing.packets_ps_server_1b_ps_server_b_port + - network.outpoing.packets_ps_server_1b_ps_server_1b_port memory.usage_server_1c2_oam_1: - abstract_oam_server_1c2_0 - memory.usage_oam_server_1c2 @@ -836,7 +836,7 @@ topology_template: - memory.resident_cmaui_1c1 network.incoming.bytes.rate_ps_server_1b_port: - abstract_ps_server_1b - - network.incoming.bytes.rate_ps_server_1b_ps_server_b_port + - network.incoming.bytes.rate_ps_server_1b_ps_server_1b_port network.incoming.bytes.rate_oam_port_1: - abstract_oam_server_1c2_0 - network.incoming.bytes.rate_oam_server_1c2_oam_port @@ -878,7 +878,7 @@ topology_template: - binding_cmaui_1c1 feature_ps_server_1b_port: - abstract_ps_server_1b - - feature_ps_server_1b_ps_server_b_port + - feature_ps_server_1b_ps_server_1b_port disk.device.iops_server_1c2_oam_2: - abstract_oam_server_1c2_1 - disk.device.iops_oam_server_1c2 @@ -905,7 +905,7 @@ topology_template: - attachment network.outgoing.packets.rate_pd_server_1b_port: - abstract_pd_server_1b - - network.outgoing.packets.rate_pd_server_1b_pd_server_b_port + - network.outgoing.packets.rate_pd_server_1b_pd_server_1b_port memory_server_1c1_cmaui_1: - abstract_cmaui_1c1 - memory_cmaui_1c1 @@ -974,10 +974,10 @@ topology_template: - network.incoming.packets_cmaui_1c1_cmaui_port network.outgoing.bytes.rate_ps_server_1b_port: - abstract_ps_server_1b - - network.outgoing.bytes.rate_ps_server_1b_ps_server_b_port + - network.outgoing.bytes.rate_ps_server_1b_ps_server_1b_port network.incoming.packets.rate_ps_server_1b_port: - abstract_ps_server_1b - - network.incoming.packets.rate_ps_server_1b_ps_server_b_port + - network.incoming.packets.rate_ps_server_1b_ps_server_1b_port disk.device.write.requests.rate_server_1c1_cmaui_2: - abstract_cmaui_1c1 - disk.device.write.requests.rate_cmaui_1c1 @@ -1040,7 +1040,7 @@ topology_template: - end_point network.outpoing.packets_pd_server_1b_port: - abstract_pd_server_1b - - network.outpoing.packets_pd_server_1b_pd_server_b_port + - network.outpoing.packets_pd_server_1b_pd_server_1b_port feature_server_1b_pd: - abstract_pd_server_1b - feature_pd_server_1b @@ -1067,7 +1067,7 @@ topology_template: - disk.device.allocation_oam_server_1c2 network.outgoing.bytes_pd_server_1b_port: - abstract_pd_server_1b - - network.outgoing.bytes_pd_server_1b_pd_server_b_port + - network.outgoing.bytes_pd_server_1b_pd_server_1b_port disk.write.bytes_server_1b_pd: - abstract_pd_server_1b - disk.write.bytes_pd_server_1b @@ -1205,13 +1205,13 @@ topology_template: - disk.device.read.requests.rate_cmaui_1c1 network.incoming.packets_ps_server_1b_port: - abstract_ps_server_1b - - network.incoming.packets_ps_server_1b_ps_server_b_port + - network.incoming.packets_ps_server_1b_ps_server_1b_port disk.write.requests_server_1b_ps: - abstract_ps_server_1b - disk.write.requests_ps_server_1b feature_pd_server_1b_port: - abstract_pd_server_1b - - feature_pd_server_1b_pd_server_b_port + - feature_pd_server_1b_pd_server_1b_port disk.latency_server_1c1_cmaui_1: - abstract_cmaui_1c1 - disk.latency_cmaui_1c1 @@ -1244,7 +1244,7 @@ topology_template: - disk.write.bytes_cmaui_1c1 network.outgoing.bytes.rate_pd_server_1b_port: - abstract_pd_server_1b - - network.outgoing.bytes.rate_pd_server_1b_pd_server_b_port + - network.outgoing.bytes.rate_pd_server_1b_pd_server_1b_port disk.write.bytes_server_1c1_cmaui_2: - abstract_cmaui_1c1 - disk.write.bytes_cmaui_1c1 @@ -1256,7 +1256,7 @@ topology_template: - feature_oam_server_1c2_oam_port network.incoming.packets.rate_pd_server_1b_port: - abstract_pd_server_1b - - network.incoming.packets.rate_pd_server_1b_pd_server_b_port + - network.incoming.packets.rate_pd_server_1b_pd_server_1b_port disk.device.latency_server_1c1_cmaui_1: - abstract_cmaui_1c1 - disk.device.latency_cmaui_1c1 @@ -1298,7 +1298,7 @@ topology_template: - network.incoming.bytes.rate_cmaui_1c1_cmaui_port network.outgoing.bytes_ps_server_1b_port: - abstract_ps_server_1b - - network.outgoing.bytes_ps_server_1b_ps_server_b_port + - network.outgoing.bytes_ps_server_1b_ps_server_1b_port network.incoming.bytes.rate_cmaui_port_2: - abstract_cmaui_1c1 - network.incoming.bytes.rate_cmaui_1c1_cmaui_port @@ -1341,7 +1341,7 @@ topology_template: - dependency_pd_server_1b link_pd_server_1b_port: - abstract_pd_server_1b - - link_pd_server_1b_pd_server_b_port + - link_pd_server_1b_pd_server_1b_port local_storage_server_1b_ps: - abstract_ps_server_1b - local_storage_ps_server_1b @@ -1359,13 +1359,13 @@ topology_template: - dependency_cmaui_1c1 link_ps_server_1b_port: - abstract_ps_server_1b - - link_ps_server_1b_ps_server_b_port + - link_ps_server_1b_ps_server_1b_port local_storage_server_1b_pd: - abstract_pd_server_1b - local_storage_pd_server_1b dependency_ps_server_1b_port: - abstract_ps_server_1b - - dependency_ps_server_1b_ps_server_b_port + - dependency_ps_server_1b_ps_server_1b_port dependency_server_1b_ps: - abstract_ps_server_1b - dependency_ps_server_1b @@ -1383,7 +1383,7 @@ topology_template: - local_storage_oam_server_1c2 dependency_pd_server_1b_port: - abstract_pd_server_1b - - dependency_pd_server_1b_pd_server_b_port + - dependency_pd_server_1b_pd_server_1b_port dependency_cmaui_port_1: - abstract_cmaui_1c1 - dependency_cmaui_1c1_cmaui_port diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllPatternsConnectivity/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllPatternsConnectivity/out/GlobalSubstitutionTypesServiceTemplate.yaml index d8db407d94..391a1b781c 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllPatternsConnectivity/out/GlobalSubstitutionTypesServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllPatternsConnectivity/out/GlobalSubstitutionTypesServiceTemplate.yaml @@ -985,10 +985,6 @@ node_types: status: SUPPORTED entry_schema: type: string - port_pd_server_b_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 @@ -1001,17 +997,13 @@ node_types: type: string required: true status: SUPPORTED - port_pd_server_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - status: SUPPORTED - port_pd_server_b_port_fixed_ips: + port_pd_server_1b_port_vlan_requirements: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_pd_server_b_port_subnetpoolid: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd_server_1b_port_network_role_tag: type: string required: true status: SUPPORTED @@ -1019,27 +1011,27 @@ node_types: type: string required: true status: SUPPORTED - port_pd_server_b_port_ip_requirements: + port_pd_server_1b_port_replacement_policy: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_pd_server_b_port_network: - type: list + type: string + port_pd_server_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true status: SUPPORTED - entry_schema: - type: string - port_pd_server_b_port_network_role_tag: + port_pd_server_1b_port_network_role: type: string required: true status: SUPPORTED - port_pd_server_b_port_network_role: - type: string + port_pd_server_1b_port_fixed_ips: + type: list required: true status: SUPPORTED - port_pd_server_b_port_replacement_policy: + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_pd_server_1b_port_network: type: list required: true status: SUPPORTED @@ -1051,16 +1043,24 @@ node_types: status: SUPPORTED entry_schema: type: string - port_pd_server_b_port_order: + port_pd_server_1b_port_order: type: integer required: true status: SUPPORTED - port_pd_server_b_port_vlan_requirements: + port_pd_server_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + port_pd_server_1b_port_ip_requirements: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements + type: org.openecomp.datatypes.network.IpRequirements + port_pd_server_1b_port_subnetpoolid: + type: string + required: true + status: SUPPORTED requirements: - dependency_pd_server_1b: capability: tosca.capabilities.Node @@ -1076,14 +1076,14 @@ node_types: occurrences: - 0 - UNBOUNDED - - dependency_pd_server_1b_pd_server_b_port: + - dependency_pd_server_1b_pd_server_1b_port: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_pd_server_1b_pd_server_b_port: + - link_pd_server_1b_pd_server_1b_port: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: @@ -1096,6 +1096,11 @@ node_types: occurrences: - 1 - UNBOUNDED + feature_pd_server_1b_pd_server_1b_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED host_pd_server_1b: type: tosca.capabilities.Container valid_source_types: @@ -1109,37 +1114,25 @@ node_types: occurrences: - 1 - UNBOUNDED - feature_pd_server_1b_pd_server_b_port: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED disk.allocation_pd_server_1b: 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_pd_server_1b_pd_server_b_port: + network.incoming.bytes.rate_pd_server_1b_pd_server_1b_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_pd_server_1b_pd_server_b_port: + cpu.delta_pd_server_1b: 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_pd_server_1b_pd_server_b_port: - type: tosca.capabilities.network.Bindable - valid_source_types: - - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface - occurrences: - - 0 - - UNBOUNDED - cpu.delta_pd_server_1b: + network.incoming.bytes_pd_server_1b_pd_server_1b_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: @@ -1162,6 +1155,13 @@ node_types: occurrences: - 1 - UNBOUNDED + binding_pd_server_1b_pd_server_1b_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED cpu_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -1197,8 +1197,9 @@ node_types: occurrences: - 1 - UNBOUNDED - attachment_pd_server_1b_pd_server_b_port: - type: tosca.capabilities.Attachment + network.outpoing.packets_pd_server_1b_pd_server_1b_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 @@ -1232,25 +1233,30 @@ node_types: occurrences: - 1 - UNBOUNDED + attachment_pd_server_1b_pd_server_1b_port: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED disk.device.write.requests_pd_server_1b: 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_pd_server_1b_pd_server_b_port: + disk.latency_pd_server_1b: 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_pd_server_1b: + disk.ephemeral.size_pd_server_1b: 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_pd_server_1b: + network.outgoing.bytes.rate_pd_server_1b_pd_server_1b_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: @@ -1285,12 +1291,6 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.packets.rate_pd_server_1b_pd_server_b_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_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -1314,6 +1314,12 @@ node_types: occurrences: - 1 - UNBOUNDED + network.incoming.packets.rate_pd_server_1b_pd_server_1b_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_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -1331,19 +1337,19 @@ node_types: occurrences: - 1 - UNBOUNDED - memory.resident_pd_server_1b: + network.outgoing.bytes_pd_server_1b_pd_server_1b_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_pd_server_1b_pd_server_b_port: + memory.resident_pd_server_1b: 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_pd_server_1b_pd_server_b_port: + network.incoming.packets_pd_server_1b_pd_server_1b_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: @@ -1367,7 +1373,7 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outpoing.packets_pd_server_1b_pd_server_b_port: + network.outgoing.packets.rate_pd_server_1b_pd_server_1b_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: @@ -1385,12 +1391,6 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.bytes_pd_server_1b_pd_server_b_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.rate_pd_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -3833,24 +3833,26 @@ node_types: org.openecomp.resource.abstract.nodes.ps_server_1b: derived_from: org.openecomp.resource.abstract.nodes.VFC properties: - port_ps_server_b_port_vlan_requirements: + port_ps_server_1b_port_vlan_requirements: type: list required: true status: SUPPORTED entry_schema: type: org.openecomp.datatypes.network.VlanRequirements - port_ps_server_b_port_ip_requirements: - type: list + port_ps_server_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_ps_server_b_port_replacement_policy: + port_ps_server_1b_port_network_role_tag: + type: string + required: true + status: SUPPORTED + port_ps_server_1b_port_fixed_ips: type: list required: true status: SUPPORTED entry_schema: - type: string + type: org.openecomp.datatypes.heat.neutron.port.FixedIps index_value: type: integer description: Index value of this substitution service template runtime instance @@ -3859,50 +3861,48 @@ node_types: status: SUPPORTED constraints: - greater_or_equal: 0 - port_ps_server_b_port_network_role: - type: string - required: true - status: SUPPORTED - port_ps_server_b_port_fixed_ips: - type: list + port_ps_server_1b_port_order: + type: integer required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps vm_flavor_name: type: string required: true status: SUPPORTED - port_ps_server_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements + port_ps_server_1b_port_network: + type: list required: true status: SUPPORTED - port_ps_server_b_port_subnetpoolid: - type: string + entry_schema: + type: string + port_ps_server_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming required: true status: SUPPORTED - port_ps_server_b_port_order: - type: integer + port_ps_server_1b_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_ps_server_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - status: SUPPORTED - port_ps_server_b_port_network_role_tag: + port_ps_server_1b_port_network_role: type: string required: true status: SUPPORTED - port_ps_server_b_port_network: + port_ps_server_1b_port_replacement_policy: type: list required: true status: SUPPORTED entry_schema: type: string + port_ps_server_1b_port_subnetpoolid: + type: string + required: true + status: SUPPORTED compute_ps_server_1b_availability_zone: type: list required: true @@ -3930,14 +3930,14 @@ node_types: occurrences: - 0 - UNBOUNDED - - dependency_ps_server_1b_ps_server_b_port: + - dependency_ps_server_1b_ps_server_1b_port: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_ps_server_1b_ps_server_b_port: + - link_ps_server_1b_ps_server_1b_port: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: @@ -3997,13 +3997,18 @@ node_types: occurrences: - 1 - UNBOUNDED - disk.device.capacity_ps_server_1b: + attachment_ps_server_1b_ps_server_1b_port: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED + network.outgoing.packets.rate_ps_server_1b_ps_server_1b_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_ps_server_1b_ps_server_b_port: + disk.device.capacity_ps_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -4039,12 +4044,6 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.bytes.rate_ps_server_1b_ps_server_b_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 host_ps_server_1b: type: tosca.capabilities.Container valid_source_types: @@ -4076,6 +4075,12 @@ node_types: occurrences: - 1 - UNBOUNDED + network.incoming.bytes_ps_server_1b_ps_server_1b_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.rate_ps_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -4100,66 +4105,60 @@ node_types: occurrences: - 1 - UNBOUNDED - feature_ps_server_1b_ps_server_b_port: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED binding_ps_server_1b: type: tosca.capabilities.network.Bindable occurrences: - 1 - UNBOUNDED - network.incoming.bytes_ps_server_1b_ps_server_b_port: + memory.resident_ps_server_1b: 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_ps_server_1b_ps_server_b_port: + memory_ps_server_1b: 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_ps_server_1b: + disk.write.bytes_ps_server_1b: 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_ps_server_1b: + disk.device.write.bytes.rate_ps_server_1b: 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_ps_server_1b: + disk.read.bytes_ps_server_1b: 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_ps_server_1b: + network.incoming.packets.rate_ps_server_1b_ps_server_1b_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_ps_server_1b_ps_server_b_port: - type: tosca.capabilities.network.Bindable - valid_source_types: - - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + network.outgoing.bytes_ps_server_1b_ps_server_1b_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: - - 0 + - 1 - UNBOUNDED - disk.read.bytes_ps_server_1b: + network.incoming.packets_ps_server_1b_ps_server_1b_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_ps_server_1b_ps_server_b_port: + network.outgoing.bytes.rate_ps_server_1b_ps_server_1b_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: @@ -4175,11 +4174,6 @@ node_types: occurrences: - 1 - UNBOUNDED - attachment_ps_server_1b_ps_server_b_port: - type: tosca.capabilities.Attachment - occurrences: - - 1 - - UNBOUNDED disk.iops_ps_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -4198,13 +4192,7 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.packets.rate_ps_server_1b_ps_server_b_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_ps_server_1b_ps_server_b_port: + network.outpoing.packets_ps_server_1b_ps_server_1b_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: @@ -4227,19 +4215,24 @@ node_types: occurrences: - 1 - UNBOUNDED - vcpus_ps_server_1b: + network.incoming.bytes.rate_ps_server_1b_ps_server_1b_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_ps_server_1b: + feature_ps_server_1b_ps_server_1b_port: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + vcpus_ps_server_1b: 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_ps_server_1b_ps_server_b_port: + cpu.delta_ps_server_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -4251,6 +4244,13 @@ node_types: occurrences: - 1 - UNBOUNDED + binding_ps_server_1b_ps_server_1b_port: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED org.openecomp.resource.abstract.nodes.cmaui_1c1: derived_from: org.openecomp.resource.abstract.nodes.VFC properties: diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllPatternsConnectivity/out/Nested_pd_server_1bServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllPatternsConnectivity/out/Nested_pd_server_1bServiceTemplate.yaml index 81488c79d9..1dbe52f405 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllPatternsConnectivity/out/Nested_pd_server_1bServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllPatternsConnectivity/out/Nested_pd_server_1bServiceTemplate.yaml @@ -16,9 +16,6 @@ topology_template: required: true entry_schema: type: string - port_pd_server_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true index_value: type: integer description: Index value of this substitution service template runtime instance @@ -29,37 +26,34 @@ topology_template: vm_flavor_name: type: string required: true - port_pd_server_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - port_pd_server_b_port_fixed_ips: + port_pd_server_1b_port_vlan_requirements: type: list required: true entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_pd_server_b_port_subnetpoolid: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd_server_1b_port_network_role_tag: type: string required: true vm_image_name: type: string required: true - port_pd_server_b_port_ip_requirements: - type: list - required: true - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_pd_server_b_port_network: + port_pd_server_1b_port_replacement_policy: type: list required: true entry_schema: type: string - port_pd_server_b_port_network_role_tag: - type: string + port_pd_server_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true - port_pd_server_b_port_network_role: + port_pd_server_1b_port_network_role: type: string required: true - port_pd_server_b_port_replacement_policy: + port_pd_server_1b_port_fixed_ips: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_pd_server_1b_port_network: type: list required: true entry_schema: @@ -69,14 +63,20 @@ topology_template: required: true entry_schema: type: string - port_pd_server_b_port_order: + port_pd_server_1b_port_order: type: integer required: true - port_pd_server_b_port_vlan_requirements: + port_pd_server_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_pd_server_1b_port_ip_requirements: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements + type: org.openecomp.datatypes.network.IpRequirements + port_pd_server_1b_port_subnetpoolid: + type: string + required: true node_templates: pd_server_1b: type: org.openecomp.resource.vfc.compute.nodes.heat.pd_server_1b @@ -93,34 +93,34 @@ topology_template: get_input: - compute_pd_server_1b_name - index_value - pd_server_1b_pd_server_b_port: + pd_server_1b_pd_server_1b_port: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_pd_server_b_port_exCP_naming + get_input: port_pd_server_1b_port_exCP_naming replacement_policy: get_input: - - port_pd_server_b_port_replacement_policy + - port_pd_server_1b_port_replacement_policy - index_value vlan_requirements: - get_input: port_pd_server_b_port_vlan_requirements + get_input: port_pd_server_1b_port_vlan_requirements ip_requirements: - get_input: port_pd_server_b_port_ip_requirements + get_input: port_pd_server_1b_port_ip_requirements network_role_tag: - get_input: port_pd_server_b_port_network_role_tag + get_input: port_pd_server_1b_port_network_role_tag mac_requirements: - get_input: port_pd_server_b_port_mac_requirements + get_input: port_pd_server_1b_port_mac_requirements order: - get_input: port_pd_server_b_port_order + get_input: port_pd_server_1b_port_order network_role: - get_input: port_pd_server_b_port_network_role + get_input: port_pd_server_1b_port_network_role subnetpoolid: - get_input: port_pd_server_b_port_subnetpoolid + get_input: port_pd_server_1b_port_subnetpoolid fixed_ips: - get_input: port_pd_server_b_port_fixed_ips + get_input: port_pd_server_1b_port_fixed_ips network: get_input: - - port_pd_server_b_port_network + - port_pd_server_1b_port_network - index_value requirements: - binding: @@ -133,30 +133,27 @@ topology_template: disk.device.read.bytes_pd_server_1b: - pd_server_1b - disk.device.read.bytes + feature_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - feature host_pd_server_1b: - pd_server_1b - host disk.read.bytes.rate_pd_server_1b: - pd_server_1b - disk.read.bytes.rate - feature_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - feature disk.allocation_pd_server_1b: - pd_server_1b - disk.allocation - network.incoming.bytes_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.incoming.bytes - network.outgoing.bytes.rate_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.outgoing.bytes.rate - binding_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - binding + network.incoming.bytes.rate_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.incoming.bytes.rate cpu.delta_pd_server_1b: - pd_server_1b - cpu.delta + network.incoming.bytes_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.incoming.bytes disk.device.read.requests_pd_server_1b: - pd_server_1b - disk.device.read.requests @@ -166,6 +163,9 @@ topology_template: disk.device.iops_pd_server_1b: - pd_server_1b - disk.device.iops + binding_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - binding cpu_pd_server_1b: - pd_server_1b - cpu @@ -184,9 +184,9 @@ topology_template: memory.usage_pd_server_1b: - pd_server_1b - memory.usage - attachment_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - attachment + network.outpoing.packets_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.outpoing.packets memory_pd_server_1b: - pd_server_1b - memory @@ -202,18 +202,21 @@ topology_template: disk.device.usage_pd_server_1b: - pd_server_1b - disk.device.usage + attachment_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - attachment disk.device.write.requests_pd_server_1b: - pd_server_1b - disk.device.write.requests - network.incoming.bytes.rate_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.incoming.bytes.rate disk.latency_pd_server_1b: - pd_server_1b - disk.latency disk.ephemeral.size_pd_server_1b: - pd_server_1b - disk.ephemeral.size + network.outgoing.bytes.rate_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.outgoing.bytes.rate scalable_pd_server_1b: - pd_server_1b - scalable @@ -229,9 +232,6 @@ topology_template: disk.iops_pd_server_1b: - pd_server_1b - disk.iops - network.incoming.packets.rate_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.incoming.packets.rate disk.write.bytes_pd_server_1b: - pd_server_1b - disk.write.bytes @@ -244,6 +244,9 @@ topology_template: vcpus_pd_server_1b: - pd_server_1b - vcpus + network.incoming.packets.rate_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.incoming.packets.rate instance_pd_server_1b: - pd_server_1b - instance @@ -253,15 +256,15 @@ topology_template: cpu_util_pd_server_1b: - pd_server_1b - cpu_util + network.outgoing.bytes_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.outgoing.bytes memory.resident_pd_server_1b: - pd_server_1b - memory.resident - network.incoming.packets_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port + network.incoming.packets_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port - network.incoming.packets - network.outgoing.packets.rate_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.outgoing.packets.rate disk.device.write.requests.rate_pd_server_1b: - pd_server_1b - disk.device.write.requests.rate @@ -271,18 +274,15 @@ topology_template: disk.read.requests_pd_server_1b: - pd_server_1b - disk.read.requests - network.outpoing.packets_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.outpoing.packets + network.outgoing.packets.rate_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port + - network.outgoing.packets.rate disk.capacity_pd_server_1b: - pd_server_1b - disk.capacity disk.usage_pd_server_1b: - pd_server_1b - disk.usage - network.outgoing.bytes_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port - - network.outgoing.bytes disk.write.requests.rate_pd_server_1b: - pd_server_1b - disk.write.requests.rate @@ -293,9 +293,9 @@ topology_template: local_storage_pd_server_1b: - pd_server_1b - local_storage - link_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port + link_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port - link - dependency_pd_server_1b_pd_server_b_port: - - pd_server_1b_pd_server_b_port + dependency_pd_server_1b_pd_server_1b_port: + - pd_server_1b_pd_server_1b_port - dependency diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllPatternsConnectivity/out/Nested_ps_server_1bServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllPatternsConnectivity/out/Nested_ps_server_1bServiceTemplate.yaml index 6d0f966e57..c97cb23644 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllPatternsConnectivity/out/Nested_ps_server_1bServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllPatternsConnectivity/out/Nested_ps_server_1bServiceTemplate.yaml @@ -11,21 +11,22 @@ node_types: derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server topology_template: inputs: - port_ps_server_b_port_vlan_requirements: + port_ps_server_1b_port_vlan_requirements: type: list required: true entry_schema: type: org.openecomp.datatypes.network.VlanRequirements - port_ps_server_b_port_ip_requirements: - type: list + port_ps_server_1b_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_ps_server_b_port_replacement_policy: + port_ps_server_1b_port_network_role_tag: + type: string + required: true + port_ps_server_1b_port_fixed_ips: type: list required: true entry_schema: - type: string + type: org.openecomp.datatypes.heat.neutron.port.FixedIps index_value: type: integer description: Index value of this substitution service template runtime instance @@ -33,40 +34,39 @@ topology_template: default: 0 constraints: - greater_or_equal: 0 - port_ps_server_b_port_network_role: - type: string - required: true - port_ps_server_b_port_fixed_ips: - type: list + port_ps_server_1b_port_order: + type: integer required: true - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps vm_flavor_name: type: string required: true - port_ps_server_b_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements + port_ps_server_1b_port_network: + type: list required: true - port_ps_server_b_port_subnetpoolid: - type: string + entry_schema: + type: string + port_ps_server_1b_port_exCP_naming: + type: org.openecomp.datatypes.Naming required: true - port_ps_server_b_port_order: - type: integer + port_ps_server_1b_port_ip_requirements: + type: list required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements vm_image_name: type: string required: true - port_ps_server_b_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - port_ps_server_b_port_network_role_tag: + port_ps_server_1b_port_network_role: type: string required: true - port_ps_server_b_port_network: + port_ps_server_1b_port_replacement_policy: type: list required: true entry_schema: type: string + port_ps_server_1b_port_subnetpoolid: + type: string + required: true compute_ps_server_1b_availability_zone: type: list required: true @@ -93,34 +93,34 @@ topology_template: get_input: - compute_ps_server_1b_name - index_value - ps_server_1b_ps_server_b_port: + ps_server_1b_ps_server_1b_port: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_ps_server_b_port_exCP_naming + get_input: port_ps_server_1b_port_exCP_naming replacement_policy: get_input: - - port_ps_server_b_port_replacement_policy + - port_ps_server_1b_port_replacement_policy - index_value vlan_requirements: - get_input: port_ps_server_b_port_vlan_requirements + get_input: port_ps_server_1b_port_vlan_requirements ip_requirements: - get_input: port_ps_server_b_port_ip_requirements + get_input: port_ps_server_1b_port_ip_requirements network_role_tag: - get_input: port_ps_server_b_port_network_role_tag + get_input: port_ps_server_1b_port_network_role_tag mac_requirements: - get_input: port_ps_server_b_port_mac_requirements + get_input: port_ps_server_1b_port_mac_requirements order: - get_input: port_ps_server_b_port_order + get_input: port_ps_server_1b_port_order network_role: - get_input: port_ps_server_b_port_network_role + get_input: port_ps_server_1b_port_network_role subnetpoolid: - get_input: port_ps_server_b_port_subnetpoolid + get_input: port_ps_server_1b_port_subnetpoolid fixed_ips: - get_input: port_ps_server_b_port_fixed_ips + get_input: port_ps_server_1b_port_fixed_ips network: get_input: - - port_ps_server_b_port_network + - port_ps_server_1b_port_network - index_value requirements: - binding: @@ -157,12 +157,15 @@ topology_template: disk.device.iops_ps_server_1b: - ps_server_1b - disk.device.iops + attachment_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - attachment + network.outgoing.packets.rate_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - network.outgoing.packets.rate disk.device.capacity_ps_server_1b: - ps_server_1b - disk.device.capacity - network.incoming.packets.rate_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - network.incoming.packets.rate instance_ps_server_1b: - ps_server_1b - instance @@ -178,9 +181,6 @@ topology_template: disk.device.read.requests_ps_server_1b: - ps_server_1b - disk.device.read.requests - network.incoming.bytes.rate_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - network.incoming.bytes.rate host_ps_server_1b: - ps_server_1b - host @@ -196,6 +196,9 @@ topology_template: disk.capacity_ps_server_1b: - ps_server_1b - disk.capacity + network.incoming.bytes_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - network.incoming.bytes disk.write.requests.rate_ps_server_1b: - ps_server_1b - disk.write.requests.rate @@ -208,18 +211,9 @@ topology_template: disk.root.size_ps_server_1b: - ps_server_1b - disk.root.size - feature_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - feature binding_ps_server_1b: - ps_server_1b - binding - network.incoming.bytes_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - network.incoming.bytes - network.outgoing.bytes.rate_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - network.outgoing.bytes.rate memory.resident_ps_server_1b: - ps_server_1b - memory.resident @@ -232,24 +226,27 @@ topology_template: disk.device.write.bytes.rate_ps_server_1b: - ps_server_1b - disk.device.write.bytes.rate - binding_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - binding disk.read.bytes_ps_server_1b: - ps_server_1b - disk.read.bytes - network.outgoing.bytes_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port + network.incoming.packets.rate_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - network.incoming.packets.rate + network.outgoing.bytes_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port - network.outgoing.bytes + network.incoming.packets_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - network.incoming.packets + network.outgoing.bytes.rate_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - network.outgoing.bytes.rate feature_ps_server_1b: - ps_server_1b - feature os_ps_server_1b: - ps_server_1b - os - attachment_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - attachment disk.iops_ps_server_1b: - ps_server_1b - disk.iops @@ -259,12 +256,9 @@ topology_template: disk.write.requests_ps_server_1b: - ps_server_1b - disk.write.requests - network.outgoing.packets.rate_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - network.outgoing.packets.rate - network.incoming.packets_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - network.incoming.packets + network.outpoing.packets_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - network.outpoing.packets memory.usage_ps_server_1b: - ps_server_1b - memory.usage @@ -274,27 +268,33 @@ topology_template: endpoint_ps_server_1b: - ps_server_1b - endpoint + network.incoming.bytes.rate_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - network.incoming.bytes.rate + feature_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - feature vcpus_ps_server_1b: - ps_server_1b - vcpus cpu.delta_ps_server_1b: - ps_server_1b - cpu.delta - network.outpoing.packets_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port - - network.outpoing.packets disk.ephemeral.size_ps_server_1b: - ps_server_1b - disk.ephemeral.size + binding_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port + - binding requirements: local_storage_ps_server_1b: - ps_server_1b - local_storage - dependency_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port + dependency_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port - dependency - link_ps_server_1b_ps_server_b_port: - - ps_server_1b_ps_server_b_port + link_ps_server_1b_ps_server_1b_port: + - ps_server_1b_ps_server_1b_port - link dependency_ps_server_1b: - ps_server_1b diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllPatternsConnectivity/out/nested1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllPatternsConnectivity/out/nested1ServiceTemplate.yaml index cb7fdc359a..a3bf3f973a 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllPatternsConnectivity/out/nested1ServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/oneLevel/nestedAllPatternsConnectivity/out/nested1ServiceTemplate.yaml @@ -185,28 +185,28 @@ topology_template: - 0 vm_flavor_name: get_input: pd_server_1b_flavor - port_pd_server_b_port_mac_requirements: + vm_image_name: + get_input: pd_server_1b_image + port_pd_server_1b_port_replacement_policy: + - AUTO + port_pd_server_1b_port_mac_requirements: mac_count_required: is_required: false - port_pd_server_b_port_fixed_ips: + port_pd_server_1b_port_fixed_ips: - ip_address: get_input: - pd_server_1b_ips - 0 - vm_image_name: - get_input: pd_server_1b_image - port_pd_server_b_port_ip_requirements: + port_pd_server_1b_port_network: + - get_input: net + compute_pd_server_1b_availability_zone: + - get_input: availability_zone_0 + port_pd_server_1b_port_ip_requirements: - ip_version: 4 ip_count_required: is_required: true floating_ip_count_required: is_required: false - port_pd_server_b_port_network: - - get_input: net - port_pd_server_b_port_replacement_policy: - - AUTO - compute_pd_server_1b_availability_zone: - - get_input: availability_zone_0 service_template_filter: substitute_service_template: Nested_pd_server_1bServiceTemplate.yaml count: 1 @@ -220,28 +220,28 @@ topology_template: directives: - substitutable properties: - port_ps_server_b_port_ip_requirements: - - ip_version: 4 - ip_count_required: - is_required: true - floating_ip_count_required: + port_ps_server_1b_port_mac_requirements: + mac_count_required: is_required: false - port_ps_server_b_port_replacement_policy: - - AUTO - port_ps_server_b_port_fixed_ips: + port_ps_server_1b_port_fixed_ips: - ip_address: get_input: - ps_server_1b_ips - 0 vm_flavor_name: get_input: ps_server_1b_flavor - port_ps_server_b_port_mac_requirements: - mac_count_required: + port_ps_server_1b_port_network: + - get_input: net + port_ps_server_1b_port_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: is_required: false vm_image_name: get_input: ps_server_1b_image - port_ps_server_b_port_network: - - get_input: net + port_ps_server_1b_port_replacement_policy: + - AUTO compute_ps_server_1b_availability_zone: - get_input: availability_zone_0 compute_ps_server_1b_name: @@ -420,7 +420,7 @@ topology_template: - disk.usage_oam_server_1c2 network.incoming.bytes_pd_server_1b_port: - abstract_pd_server_1b - - network.incoming.bytes_pd_server_1b_pd_server_b_port + - network.incoming.bytes_pd_server_1b_pd_server_1b_port feature_server_1c1_cmaui_2: - abstract_cmaui_1c1 - feature_cmaui_1c1 @@ -450,10 +450,10 @@ topology_template: - disk.device.iops_pd_server_1b network.incoming.packets_pd_server_1b_port: - abstract_pd_server_1b - - network.incoming.packets_pd_server_1b_pd_server_b_port + - network.incoming.packets_pd_server_1b_pd_server_1b_port attachment_ps_server_1b_port: - abstract_ps_server_1b - - attachment_ps_server_1b_ps_server_b_port + - attachment_ps_server_1b_ps_server_1b_port disk.device.write.requests.rate_server_1c2_oam_1: - abstract_oam_server_1c2_0 - disk.device.write.requests.rate_oam_server_1c2 @@ -612,7 +612,7 @@ topology_template: - feature_cmaui_1c1_cmaui_port network.incoming.bytes.rate_pd_server_1b_port: - abstract_pd_server_1b - - network.incoming.bytes.rate_pd_server_1b_pd_server_b_port + - network.incoming.bytes.rate_pd_server_1b_pd_server_1b_port network.outgoing.bytes_oam_port_2: - abstract_oam_server_1c2_1 - network.outgoing.bytes_oam_server_1c2_oam_port @@ -678,7 +678,7 @@ topology_template: - endpoint_cmaui_1c1 network.outgoing.packets.rate_ps_server_1b_port: - abstract_ps_server_1b - - network.outgoing.packets.rate_ps_server_1b_ps_server_b_port + - network.outgoing.packets.rate_ps_server_1b_ps_server_1b_port endpoint_server_1c1_cmaui_1: - abstract_cmaui_1c1 - endpoint_cmaui_1c1 @@ -693,16 +693,16 @@ topology_template: - disk.device.usage_cmaui_1c1 network.incoming.bytes_ps_server_1b_port: - abstract_ps_server_1b - - network.incoming.bytes_ps_server_1b_ps_server_b_port + - network.incoming.bytes_ps_server_1b_ps_server_1b_port attachment_pd_server_1b_port: - abstract_pd_server_1b - - attachment_pd_server_1b_pd_server_b_port + - attachment_pd_server_1b_pd_server_1b_port vcpus_server_1c1_cmaui_2: - abstract_cmaui_1c1 - vcpus_cmaui_1c1 binding_ps_server_1b_port: - abstract_ps_server_1b - - binding_ps_server_1b_ps_server_b_port + - binding_ps_server_1b_ps_server_1b_port disk.device.write.bytes.rate_server_1b_ps: - abstract_ps_server_1b - disk.device.write.bytes.rate_ps_server_1b @@ -747,7 +747,7 @@ topology_template: - disk.device.read.requests_ps_server_1b binding_pd_server_1b_port: - abstract_pd_server_1b - - binding_pd_server_1b_pd_server_b_port + - binding_pd_server_1b_pd_server_1b_port disk.read.bytes_server_1c2_oam_1: - abstract_oam_server_1c2_0 - disk.read.bytes_oam_server_1c2 @@ -813,7 +813,7 @@ topology_template: - memory.usage_oam_server_1c2 network.outpoing.packets_ps_server_1b_port: - abstract_ps_server_1b - - network.outpoing.packets_ps_server_1b_ps_server_b_port + - network.outpoing.packets_ps_server_1b_ps_server_1b_port memory.usage_server_1c2_oam_1: - abstract_oam_server_1c2_0 - memory.usage_oam_server_1c2 @@ -843,7 +843,7 @@ topology_template: - memory.resident_cmaui_1c1 network.incoming.bytes.rate_ps_server_1b_port: - abstract_ps_server_1b - - network.incoming.bytes.rate_ps_server_1b_ps_server_b_port + - network.incoming.bytes.rate_ps_server_1b_ps_server_1b_port network.incoming.bytes.rate_oam_port_1: - abstract_oam_server_1c2_0 - network.incoming.bytes.rate_oam_server_1c2_oam_port @@ -885,7 +885,7 @@ topology_template: - binding_cmaui_1c1 feature_ps_server_1b_port: - abstract_ps_server_1b - - feature_ps_server_1b_ps_server_b_port + - feature_ps_server_1b_ps_server_1b_port disk.device.iops_server_1c2_oam_2: - abstract_oam_server_1c2_1 - disk.device.iops_oam_server_1c2 @@ -912,7 +912,7 @@ topology_template: - attachment network.outgoing.packets.rate_pd_server_1b_port: - abstract_pd_server_1b - - network.outgoing.packets.rate_pd_server_1b_pd_server_b_port + - network.outgoing.packets.rate_pd_server_1b_pd_server_1b_port memory_server_1c1_cmaui_1: - abstract_cmaui_1c1 - memory_cmaui_1c1 @@ -981,10 +981,10 @@ topology_template: - network.incoming.packets_cmaui_1c1_cmaui_port network.outgoing.bytes.rate_ps_server_1b_port: - abstract_ps_server_1b - - network.outgoing.bytes.rate_ps_server_1b_ps_server_b_port + - network.outgoing.bytes.rate_ps_server_1b_ps_server_1b_port network.incoming.packets.rate_ps_server_1b_port: - abstract_ps_server_1b - - network.incoming.packets.rate_ps_server_1b_ps_server_b_port + - network.incoming.packets.rate_ps_server_1b_ps_server_1b_port disk.device.write.requests.rate_server_1c1_cmaui_2: - abstract_cmaui_1c1 - disk.device.write.requests.rate_cmaui_1c1 @@ -1047,7 +1047,7 @@ topology_template: - end_point network.outpoing.packets_pd_server_1b_port: - abstract_pd_server_1b - - network.outpoing.packets_pd_server_1b_pd_server_b_port + - network.outpoing.packets_pd_server_1b_pd_server_1b_port feature_server_1b_pd: - abstract_pd_server_1b - feature_pd_server_1b @@ -1074,7 +1074,7 @@ topology_template: - disk.device.allocation_oam_server_1c2 network.outgoing.bytes_pd_server_1b_port: - abstract_pd_server_1b - - network.outgoing.bytes_pd_server_1b_pd_server_b_port + - network.outgoing.bytes_pd_server_1b_pd_server_1b_port disk.write.bytes_server_1b_pd: - abstract_pd_server_1b - disk.write.bytes_pd_server_1b @@ -1212,13 +1212,13 @@ topology_template: - disk.device.read.requests.rate_cmaui_1c1 network.incoming.packets_ps_server_1b_port: - abstract_ps_server_1b - - network.incoming.packets_ps_server_1b_ps_server_b_port + - network.incoming.packets_ps_server_1b_ps_server_1b_port disk.write.requests_server_1b_ps: - abstract_ps_server_1b - disk.write.requests_ps_server_1b feature_pd_server_1b_port: - abstract_pd_server_1b - - feature_pd_server_1b_pd_server_b_port + - feature_pd_server_1b_pd_server_1b_port disk.latency_server_1c1_cmaui_1: - abstract_cmaui_1c1 - disk.latency_cmaui_1c1 @@ -1251,7 +1251,7 @@ topology_template: - disk.write.bytes_cmaui_1c1 network.outgoing.bytes.rate_pd_server_1b_port: - abstract_pd_server_1b - - network.outgoing.bytes.rate_pd_server_1b_pd_server_b_port + - network.outgoing.bytes.rate_pd_server_1b_pd_server_1b_port disk.write.bytes_server_1c1_cmaui_2: - abstract_cmaui_1c1 - disk.write.bytes_cmaui_1c1 @@ -1263,7 +1263,7 @@ topology_template: - feature_oam_server_1c2_oam_port network.incoming.packets.rate_pd_server_1b_port: - abstract_pd_server_1b - - network.incoming.packets.rate_pd_server_1b_pd_server_b_port + - network.incoming.packets.rate_pd_server_1b_pd_server_1b_port disk.device.latency_server_1c1_cmaui_1: - abstract_cmaui_1c1 - disk.device.latency_cmaui_1c1 @@ -1305,7 +1305,7 @@ topology_template: - network.incoming.bytes.rate_cmaui_1c1_cmaui_port network.outgoing.bytes_ps_server_1b_port: - abstract_ps_server_1b - - network.outgoing.bytes_ps_server_1b_ps_server_b_port + - network.outgoing.bytes_ps_server_1b_ps_server_1b_port network.incoming.bytes.rate_cmaui_port_2: - abstract_cmaui_1c1 - network.incoming.bytes.rate_cmaui_1c1_cmaui_port @@ -1348,7 +1348,7 @@ topology_template: - dependency_pd_server_1b link_pd_server_1b_port: - abstract_pd_server_1b - - link_pd_server_1b_pd_server_b_port + - link_pd_server_1b_pd_server_1b_port local_storage_server_1b_ps: - abstract_ps_server_1b - local_storage_ps_server_1b @@ -1366,13 +1366,13 @@ topology_template: - dependency_cmaui_1c1 link_ps_server_1b_port: - abstract_ps_server_1b - - link_ps_server_1b_ps_server_b_port + - link_ps_server_1b_ps_server_1b_port local_storage_server_1b_pd: - abstract_pd_server_1b - local_storage_pd_server_1b dependency_ps_server_1b_port: - abstract_ps_server_1b - - dependency_ps_server_1b_ps_server_b_port + - dependency_ps_server_1b_ps_server_1b_port dependency_server_1b_ps: - abstract_ps_server_1b - dependency_ps_server_1b @@ -1390,7 +1390,7 @@ topology_template: - local_storage_oam_server_1c2 dependency_pd_server_1b_port: - abstract_pd_server_1b - - dependency_pd_server_1b_pd_server_b_port + - dependency_pd_server_1b_pd_server_1b_port dependency_cmaui_port_1: - abstract_cmaui_1c1 - dependency_cmaui_1c1_cmaui_port diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/in/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/in/MANIFEST.json new file mode 100644 index 0000000000..40c2b4c296 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/in/MANIFEST.json @@ -0,0 +1,17 @@ +{ + "name": "hot-mog", + "description": "HOT template to create hot mog server", + "version": "2013-05-23", + "data": [ + { + "file": "hot-mog-0108-bs1271.yml", + "type": "HEAT", + "data": [ + { + "file": "hot-mog-0108-bs1271.env", + "type": "HEAT_ENV" + } + ] + } + ] +} diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/in/hot-mog-0108-bs1271.env b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/in/hot-mog-0108-bs1271.env new file mode 100644 index 0000000000..a02e4b6743 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/in/hot-mog-0108-bs1271.env @@ -0,0 +1,55 @@ +parameters: + pd_server_names: ZRDM1MOGX01MPD001,ZRDM1MOGX01MPD002 + pd_image_name: MOG_BASE_8.0 + pd_flavor_name: m3.xlarge + oam_server_names: ZRDM1MOGX01OAM001,ZRDM1MOGX01OAM002 + oam_image_name: MOG_BASE_8.0 + oam_flavor_name: m3.xlarge + sm_server_names: ZRDM1MOGX01MSM001,ZRDM1MOGX01MSM002 + sm_image_name: MOG_BASE_8.0 + sm_flavor_name: m2.xlarge4 + ps_server_names: ZRDM1MOGX01MPS001,ZRDM1MOGX01MPS002,ZRDM1MOGX01MPS003,ZRDM1MOGX01MPS004 + ps_image_name: MOG_BASE_8.0 + ps_flavor_name: m3.xlarge + cm_server_names: ZRDM1MOGX01MCM001 + cm_image_name: MOG_BASE_8.0 + cm_flavor_name: m3.xlarge + availabilityzone_name: nova + oam_net_name: oam_protected_net_0 + oam_net_ips: 107.250.172.213,107.250.172.214,107.250.172.215,107.250.172.216,107.250.172.217 + #internet_net_name: dmz_protected_net_0 + #internet_net_ips: 107.239.53.4,107.239.53.5 + # internet_net_floating_ip: 107.239.53.6 + sl_net_name: exn_protected_net_0 + sl_net_ips: 107.239.45.4,107.239.45.5 + sl_net_floating_ip: 107.239.45.6 + repl_net_name: cor_direct_net_0 + repl_net_ips: 107.239.33.57,107.239.33.58 + rx_net_name: cor_direct_net_1 + rx_net_ips: 107.239.34.3,107.239.34.4 + rx_net_floating_ip: 107.239.34.5 + ran_net_name: gn_direct_net_0 + ran_net_ips: 107.239.36.3,107.239.36.4 + ran_net_floating_ip: 107.239.36.5 + dummy_net_name_0: mog_dummy_0 + dummy_net_start_0: 169.254.1.4 + dummy_net_end_0: 169.254.1.254 + dummy_net_cidr_0: 169.254.1.0/24 + dummy_net_netmask_0: 255.255.255.0 + dummy_net_name_1: mog_dummy_1 + dummy_net_start_1: 169.254.2.4 + dummy_net_end_1: 169.254.2.254 + dummy_net_cidr_1: 169.254.2.0/24 + dummy_net_netmask_1: 255.255.255.0 + csb_net_name: int_mog_csb_net + csb_net_ips: 172.26.0.10,172.26.0.11,172.26.0.12,172.26.0.13,172.26.0.14,172.26.0.15,172.26.0.16,172.26.0.17,172.26.0.18,172.26.0.19,172.26.0.20 + csb_net_start: 172.26.0.1 + csb_net_end: 172.26.0.254 + csb_net_cidr: 172.26.0.0/24 + csb_net_netmask: 255.255.255.0 + security_group_name: mog_security_group + cluster-manager-vol-1: 43ccf5ba-2d50-427b-a38f-e8c7d8670eee + session-manager-vol-1: 49201898-333d-4c88-b58d-cf573b091633 + session-manager-vol-2: 4c35b5f1-ce99-4220-a6e2-cda6e2d713a0 + oam-vol-1: 0a7fcd9e-2624-401d-ac21-b0191f85ec77 + oam-vol-2: 6d169cb6-6ddc-41dc-920c-2839898a2924 \ 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/singleSubstitution/computewithtwosameporttypes2/in/hot-mog-0108-bs1271.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/in/hot-mog-0108-bs1271.yml new file mode 100644 index 0000000000..c4bd170fcc --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/in/hot-mog-0108-bs1271.yml @@ -0,0 +1,230 @@ +heat_template_version: 2013-05-23 + +description: heat template that creates MOG stack + +parameters: + pd_server_names: + type: comma_delimited_list + label: PD server names + description: name of the PD instance + pd_image_name: + type: string + label: image name + description: PD image name + pd_flavor_name: + type: string + label: PD flavor name + description: flavor name of PD instance + oam_server_names: + type: comma_delimited_list + label: OAM server names + description: name of the OAM instance + oam_image_name: + type: string + label: image name + description: OAM image name + oam_flavor_name: + type: string + label: OAM flavor name + description: flavor name of OAM instance + sm_server_names: + type: comma_delimited_list + label: SM server names + description: name of the SM instance + sm_image_name: + type: string + label: image name + description: SM image name + sm_flavor_name: + type: string + label: SM flavor name + description: flavor name of SM instance + ps_server_names: + type: comma_delimited_list + label: PS server names + description: name of the PS instance + ps_image_name: + type: string + label: PS image name + description: PS image name + ps_flavor_name: + type: string + label: PS flavor name + description: flavor name of PS instance + cm_server_names: + type: comma_delimited_list + label: CM server names + description: name of the CM instance + cm_image_name: + type: string + label: image name + description: CM image name + cm_flavor_name: + type: string + label: CM flavor name + description: flavor name of CM instance + availabilityzone_name: + type: string + label: availabilityzone name + description: availabilityzone name + oam_net_name: + type: string + label: oam network name + description: name of the oam network + oam_net_ips: + type: comma_delimited_list + label: internet network ips + description: ip of the OAM network + sl_net_name: + type: string + label: silver lining network name + description: id of the sl network + sl_net_ips: + type: comma_delimited_list + label: silver lining network ips + description: ips of the sl network + sl_net_floating_ip: + type: string + label: mog sl net virtual ip + description: mog sl net virtual ip + repl_net_name: + type: string + label: Replication network name + description: name of the replication network + repl_net_ips: + type: comma_delimited_list + label: repl network ips + description: ips of repl network + rx_net_name: + type: string + label: Rx network name + description: Rx network name + rx_net_ips: + type: comma_delimited_list + label: Rx network ips + description: Rx network ips + rx_net_floating_ip: + type: string + label: mog rx net virtual ip + description: mog rx net virtual ip + ran_net_name: + type: string + label: RAN network name + description: RAN network name + ran_net_ips: + type: comma_delimited_list + label: RAN network ips + description: RAN network ip + ran_net_floating_ip: + type: string + label: mog ran net virtual ip + description: mog ran net virtual ip + csb_net_name: + type: string + label: csb internal network name + description: csb internal network name + csb_net_start: + type: string + label: csb internal start + description: csb internal start + csb_net_end: + type: string + label: csb internal end + description: csb internal end + csb_net_cidr: + type: string + label: csb ineternal cidr + description: csb internal cidr + csb_net_netmask: + type: string + description: CSB internal network subnet mask + csb_net_ips: + type: comma_delimited_list + description: mog_csb_net IP addresses + dummy_net_name_0: + type: string + label: csb internal network name + description: csb internal network name + dummy_net_start_0: + type: string + label: csb internal start + description: csb internal start + dummy_net_end_0: + type: string + label: csb internal end + description: csb internal end + dummy_net_cidr_0: + type: string + label: csb ineternal cidr + description: csb internal cidr + dummy_net_netmask_0: + type: string + description: CSB internal network subnet mask + dummy_net_name_1: + type: string + label: csb internal network name + description: csb internal network name + dummy_net_start_1: + type: string + label: csb internal start + description: csb internal start + dummy_net_end_1: + type: string + label: csb internal end + description: csb internal end + dummy_net_cidr_1: + type: string + label: csb ineternal cidr + description: csb internal cidr + dummy_net_netmask_1: + type: string + description: CSB internal network subnet mask + + security_group_name: + type: string + label: security group name + description: the name of security group + cluster-manager-vol-1: + type: string + label: mog-cm-vol-1 + description: Cluster Manager volume 1 + session-manager-vol-1: + type: string + label: mog-sm-vol-1 + description: Session Manager volume 1 + session-manager-vol-2: + type: string + label: mog-sm-vol-2 + description: Session Manager volume 2 + oam-vol-1: + type: string + label: mog-oam-vol-1 + description: OAM volume 1 + oam-vol-2: + type: string + label: mog-oam-vol-2 + description: OAM volume 2 + +resources: + server_pd_01: + type: OS::Nova::Server + properties: +# config_drive: "True" + name: {get_param: [pd_server_names, 0]} + image: {get_param: pd_image_name} + flavor: {get_param: pd_flavor_name} + availability_zone: {get_param: availabilityzone_name} + networks: + - port: {get_resource: pd_1_port_0} + - port: {get_resource: pd_2_port_1} + user_data_format: RAW + + pd_1_port_0: + type: OS::Neutron::Port + properties: + network: {get_param: oam_net_name} + pd_2_port_1: + type: OS::Neutron::Port + properties: + network: {get_param: oam_net_name} + diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/GlobalSubstitutionTypesServiceTemplate.yaml new file mode 100644 index 0000000000..20df35a8e9 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/GlobalSubstitutionTypesServiceTemplate.yaml @@ -0,0 +1,542 @@ +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.pd_server: + derived_from: org.openecomp.resource.abstract.nodes.VFC + properties: + port_pd_1_port_0_network: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_pd_1_port_0_vlan_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd_1_port_0_network_role: + type: string + 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_pd_2_port_1_vlan_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + compute_pd_server_availability_zone: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + compute_pd_server_name: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_pd_2_port_1_network: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_pd_2_port_1_network_role: + type: string + required: true + status: SUPPORTED + port_pd_2_port_1_subnetpoolid: + type: string + required: true + status: SUPPORTED + vm_flavor_name: + type: string + required: true + status: SUPPORTED + port_pd_2_port_1_order: + type: integer + required: true + status: SUPPORTED + port_pd_2_port_1_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + vm_image_name: + type: string + required: true + status: SUPPORTED + port_pd_1_port_0_subnetpoolid: + type: string + required: true + status: SUPPORTED + port_pd_1_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + port_pd_1_port_0_order: + type: integer + required: true + status: SUPPORTED + port_pd_1_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + port_pd_1_port_0_ip_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_pd_1_port_0_network_role_tag: + type: string + required: true + status: SUPPORTED + port_pd_2_port_1_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + port_pd_2_port_1_ip_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_pd_2_port_1_network_role_tag: + type: string + required: true + status: SUPPORTED + compute_pd_server_user_data_format: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + requirements: + - dependency_pd_server: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - local_storage_pd_server: + capability: tosca.capabilities.Attachment + node: tosca.nodes.BlockStorage + relationship: tosca.relationships.AttachesTo + occurrences: + - 0 + - UNBOUNDED + - dependency_pd_server_pd_2_port_1: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_pd_server_pd_2_port_1: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 + - dependency_pd_server_pd_1_port_0: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_pd_server_pd_1_port_0: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 + capabilities: + network.incoming.packets_pd_server_pd_2_port_1: + 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_pd_server: + type: tosca.capabilities.Scalable + occurrences: + - 1 + - UNBOUNDED + disk.read.bytes.rate_pd_server: + 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_pd_server_pd_1_port_0: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server_pd_2_port_1: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + feature_pd_server_pd_1_port_0: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + os_pd_server: + type: tosca.capabilities.OperatingSystem + occurrences: + - 1 + - UNBOUNDED + disk.write.bytes.rate_pd_server: + 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_pd_server_pd_1_port_0: + 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_pd_server_pd_2_port_1: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server_pd_1_port_0: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED + disk.iops_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server_pd_2_port_1: + 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_pd_server: + 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_pd_server: + 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_pd_server_pd_2_port_1: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED + disk.device.write.requests_pd_server: + 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_pd_server: + type: tosca.capabilities.Endpoint.Admin + occurrences: + - 1 + - UNBOUNDED + disk.capacity_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server: + type: tosca.capabilities.network.Bindable + occurrences: + - 1 + - UNBOUNDED + disk.read.requests_pd_server: + 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_pd_server_pd_1_port_0: + 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_pd_server_pd_2_port_1: + 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_pd_server_pd_1_port_0: + 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_pd_server_pd_2_port_1: + 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_pd_server: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets.rate_pd_server_pd_1_port_0: + 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_pd_server: + 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_pd_server_pd_1_port_0: + 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_pd_server: + 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_pd_server_pd_2_port_1: + 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_pd_server_pd_2_port_1: + 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_pd_server_pd_1_port_0: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server_pd_2_port_1: + 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_pd_server: + 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_pd_server_pd_2_port_1: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED + disk.device.read.requests_pd_server: + 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_pd_server: + 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_pd_server: + type: tosca.capabilities.Container + valid_source_types: + - tosca.nodes.SoftwareComponent + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes.rate_pd_server_pd_1_port_0: + 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_pd_server: + 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_pd_server: + 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_pd_server_pd_1_port_0: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED + disk.write.requests_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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/singleSubstitution/computewithtwosameporttypes2/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/MainServiceTemplate.yaml new file mode 100644 index 0000000000..229c8d96bd --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/MainServiceTemplate.yaml @@ -0,0 +1,470 @@ +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: + pd_flavor_name: + label: PD flavor name + hidden: false + immutable: false + type: string + description: flavor name of PD instance + default: m3.xlarge + availabilityzone_name: + label: availabilityzone name + hidden: false + immutable: false + type: string + description: availabilityzone name + default: nova + repl_net_ips: + label: repl network ips + hidden: false + immutable: false + type: list + description: ips of repl network + default: + - 107.239.33.57 + - 107.239.33.58 + entry_schema: + type: string + sl_net_name: + label: silver lining network name + hidden: false + immutable: false + type: string + description: id of the sl network + default: exn_protected_net_0 + pd_image_name: + label: image name + hidden: false + immutable: false + type: string + description: PD image name + default: MOG_BASE_8.0 + pd_server_names: + label: PD server names + hidden: false + immutable: false + type: list + description: name of the PD instance + default: + - ZRDM1MOGX01MPD001 + - ZRDM1MOGX01MPD002 + entry_schema: + type: string + sm_server_names: + label: SM server names + hidden: false + immutable: false + type: list + description: name of the SM instance + default: + - ZRDM1MOGX01MSM001 + - ZRDM1MOGX01MSM002 + entry_schema: + type: string + dummy_net_netmask_1: + hidden: false + immutable: false + type: string + description: CSB internal network subnet mask + default: 255.255.255.0 + dummy_net_netmask_0: + hidden: false + immutable: false + type: string + description: CSB internal network subnet mask + default: 255.255.255.0 + ran_net_floating_ip: + label: mog ran net virtual ip + hidden: false + immutable: false + type: string + description: mog ran net virtual ip + default: 107.239.36.5 + ran_net_ips: + label: RAN network ips + hidden: false + immutable: false + type: list + description: RAN network ip + default: + - 107.239.36.3 + - 107.239.36.4 + entry_schema: + type: string + dummy_net_end_0: + label: csb internal end + hidden: false + immutable: false + type: string + description: csb internal end + default: 169.254.1.254 + oam_image_name: + label: image name + hidden: false + immutable: false + type: string + description: OAM image name + default: MOG_BASE_8.0 + dummy_net_end_1: + label: csb internal end + hidden: false + immutable: false + type: string + description: csb internal end + default: 169.254.2.254 + oam_net_name: + label: oam network name + hidden: false + immutable: false + type: string + description: name of the oam network + default: oam_protected_net_0 + oam_net_ips: + label: internet network ips + hidden: false + immutable: false + type: list + description: ip of the OAM network + default: + - 107.250.172.213 + - 107.250.172.214 + - 107.250.172.215 + - 107.250.172.216 + - 107.250.172.217 + entry_schema: + type: string + ran_net_name: + label: RAN network name + hidden: false + immutable: false + type: string + description: RAN network name + default: gn_direct_net_0 + cluster-manager-vol-1: + label: mog-cm-vol-1 + hidden: false + immutable: false + type: string + description: Cluster Manager volume 1 + default: 43ccf5ba-2d50-427b-a38f-e8c7d8670eee + csb_net_netmask: + hidden: false + immutable: false + type: string + description: CSB internal network subnet mask + default: 255.255.255.0 + oam_flavor_name: + label: OAM flavor name + hidden: false + immutable: false + type: string + description: flavor name of OAM instance + default: m3.xlarge + dummy_net_start_0: + label: csb internal start + hidden: false + immutable: false + type: string + description: csb internal start + default: 169.254.1.4 + dummy_net_start_1: + label: csb internal start + hidden: false + immutable: false + type: string + description: csb internal start + default: 169.254.2.4 + cm_flavor_name: + label: CM flavor name + hidden: false + immutable: false + type: string + description: flavor name of CM instance + default: m3.xlarge + sm_image_name: + label: image name + hidden: false + immutable: false + type: string + description: SM image name + default: MOG_BASE_8.0 + ps_server_names: + label: PS server names + hidden: false + immutable: false + type: list + description: name of the PS instance + default: + - ZRDM1MOGX01MPS001 + - ZRDM1MOGX01MPS002 + - ZRDM1MOGX01MPS003 + - ZRDM1MOGX01MPS004 + entry_schema: + type: string + csb_net_ips: + hidden: false + immutable: false + type: list + description: mog_csb_net IP addresses + default: + - 172.26.0.10 + - 172.26.0.11 + - 172.26.0.12 + - 172.26.0.13 + - 172.26.0.14 + - 172.26.0.15 + - 172.26.0.16 + - 172.26.0.17 + - 172.26.0.18 + - 172.26.0.19 + - 172.26.0.20 + entry_schema: + type: string + ps_flavor_name: + label: PS flavor name + hidden: false + immutable: false + type: string + description: flavor name of PS instance + default: m3.xlarge + rx_net_ips: + label: Rx network ips + hidden: false + immutable: false + type: list + description: Rx network ips + default: + - 107.239.34.3 + - 107.239.34.4 + entry_schema: + type: string + dummy_net_name_1: + label: csb internal network name + hidden: false + immutable: false + type: string + description: csb internal network name + default: mog_dummy_1 + dummy_net_cidr_1: + label: csb ineternal cidr + hidden: false + immutable: false + type: string + description: csb internal cidr + default: 169.254.2.0/24 + dummy_net_name_0: + label: csb internal network name + hidden: false + immutable: false + type: string + description: csb internal network name + default: mog_dummy_0 + dummy_net_cidr_0: + label: csb ineternal cidr + hidden: false + immutable: false + type: string + description: csb internal cidr + default: 169.254.1.0/24 + oam-vol-2: + label: mog-oam-vol-2 + hidden: false + immutable: false + type: string + description: OAM volume 2 + default: 6d169cb6-6ddc-41dc-920c-2839898a2924 + sl_net_floating_ip: + label: mog sl net virtual ip + hidden: false + immutable: false + type: string + description: mog sl net virtual ip + default: 107.239.45.6 + session-manager-vol-1: + label: mog-sm-vol-1 + hidden: false + immutable: false + type: string + description: Session Manager volume 1 + default: 49201898-333d-4c88-b58d-cf573b091633 + rx_net_floating_ip: + label: mog rx net virtual ip + hidden: false + immutable: false + type: string + description: mog rx net virtual ip + default: 107.239.34.5 + session-manager-vol-2: + label: mog-sm-vol-2 + hidden: false + immutable: false + type: string + description: Session Manager volume 2 + default: 4c35b5f1-ce99-4220-a6e2-cda6e2d713a0 + oam-vol-1: + label: mog-oam-vol-1 + hidden: false + immutable: false + type: string + description: OAM volume 1 + default: 0a7fcd9e-2624-401d-ac21-b0191f85ec77 + csb_net_start: + label: csb internal start + hidden: false + immutable: false + type: string + description: csb internal start + default: 172.26.0.1 + cm_image_name: + label: image name + hidden: false + immutable: false + type: string + description: CM image name + default: MOG_BASE_8.0 + sm_flavor_name: + label: SM flavor name + hidden: false + immutable: false + type: string + description: flavor name of SM instance + default: m2.xlarge4 + ps_image_name: + label: PS image name + hidden: false + immutable: false + type: string + description: PS image name + default: MOG_BASE_8.0 + oam_server_names: + label: OAM server names + hidden: false + immutable: false + type: list + description: name of the OAM instance + default: + - ZRDM1MOGX01OAM001 + - ZRDM1MOGX01OAM002 + entry_schema: + type: string + csb_net_cidr: + label: csb ineternal cidr + hidden: false + immutable: false + type: string + description: csb internal cidr + default: 172.26.0.0/24 + cm_server_names: + label: CM server names + hidden: false + immutable: false + type: list + description: name of the CM instance + default: + - ZRDM1MOGX01MCM001 + entry_schema: + type: string + sl_net_ips: + label: silver lining network ips + hidden: false + immutable: false + type: list + description: ips of the sl network + default: + - 107.239.45.4 + - 107.239.45.5 + entry_schema: + type: string + rx_net_name: + label: Rx network name + hidden: false + immutable: false + type: string + description: Rx network name + default: cor_direct_net_1 + repl_net_name: + label: Replication network name + hidden: false + immutable: false + type: string + description: name of the replication network + default: cor_direct_net_0 + security_group_name: + label: security group name + hidden: false + immutable: false + type: string + description: the name of security group + default: mog_security_group + csb_net_end: + label: csb internal end + hidden: false + immutable: false + type: string + description: csb internal end + default: 172.26.0.254 + csb_net_name: + label: csb internal network name + hidden: false + immutable: false + type: string + description: csb internal network name + default: int_mog_csb_net + node_templates: + abstract_pd_server: + type: org.openecomp.resource.abstract.nodes.pd_server + directives: + - substitutable + properties: + port_pd_1_port_0_network: + - get_input: oam_net_name + compute_pd_server_availability_zone: + - get_input: availabilityzone_name + compute_pd_server_name: + - get_input: + - pd_server_names + - 0 + port_pd_2_port_1_network: + - get_input: oam_net_name + vm_flavor_name: + get_input: pd_flavor_name + vm_image_name: + get_input: pd_image_name + port_pd_1_port_0_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + port_pd_2_port_1_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + compute_pd_server_user_data_format: + - RAW + service_template_filter: + substitute_service_template: Nested_pd_serverServiceTemplate.yaml + count: 1 + index_value: + get_property: + - SELF + - service_template_filter + - index_value + groups: + hot-mog-0108-bs1271_group: + type: org.openecomp.groups.heat.HeatStack + properties: + heat_file: ../Artifacts/hot-mog-0108-bs1271.yml + description: heat template that creates MOG stack + members: + - abstract_pd_server diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/Nested_pd_serverServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/Nested_pd_serverServiceTemplate.yaml new file mode 100644 index 0000000000..5a050d8fd3 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes2/out/Nested_pd_serverServiceTemplate.yaml @@ -0,0 +1,394 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +metadata: + template_name: Nested_pd_server +imports: +- openecomp_heat_index: + file: openecomp-heat/_index.yml +- GlobalSubstitutionTypes: + file: GlobalSubstitutionTypesServiceTemplate.yaml +node_types: + org.openecomp.resource.vfc.compute.nodes.heat.pd_server: + derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server +topology_template: + inputs: + port_pd_1_port_0_network: + type: list + required: true + entry_schema: + type: string + port_pd_1_port_0_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd_1_port_0_network_role: + type: string + 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_pd_2_port_1_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + compute_pd_server_availability_zone: + type: list + required: true + entry_schema: + type: string + compute_pd_server_name: + type: list + required: true + entry_schema: + type: string + port_pd_2_port_1_network: + type: list + required: true + entry_schema: + type: string + port_pd_2_port_1_network_role: + type: string + required: true + port_pd_2_port_1_subnetpoolid: + type: string + required: true + vm_flavor_name: + type: string + required: true + port_pd_2_port_1_order: + type: integer + required: true + port_pd_2_port_1_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + vm_image_name: + type: string + required: true + port_pd_1_port_0_subnetpoolid: + type: string + required: true + port_pd_1_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_pd_1_port_0_order: + type: integer + required: true + port_pd_1_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_pd_1_port_0_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_pd_1_port_0_network_role_tag: + type: string + required: true + port_pd_2_port_1_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_pd_2_port_1_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_pd_2_port_1_network_role_tag: + type: string + required: true + compute_pd_server_user_data_format: + type: list + required: true + entry_schema: + type: string + node_templates: + pd_server: + type: org.openecomp.resource.vfc.compute.nodes.heat.pd_server + properties: + availability_zone: + get_input: + - compute_pd_server_availability_zone + - index_value + flavor: + get_input: vm_flavor_name + image: + get_input: vm_image_name + name: + get_input: + - compute_pd_server_name + - index_value + user_data_format: + get_input: + - compute_pd_server_user_data_format + - index_value + pd_server_pd_2_port_1: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + exCP_naming: + get_input: port_pd_2_port_1_exCP_naming + vlan_requirements: + get_input: port_pd_2_port_1_vlan_requirements + ip_requirements: + get_input: port_pd_2_port_1_ip_requirements + network_role_tag: + get_input: port_pd_2_port_1_network_role_tag + mac_requirements: + get_input: port_pd_2_port_1_mac_requirements + order: + get_input: port_pd_2_port_1_order + network_role: + get_input: port_pd_2_port_1_network_role + subnetpoolid: + get_input: port_pd_2_port_1_subnetpoolid + network: + get_input: + - port_pd_2_port_1_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: pd_server + relationship: tosca.relationships.network.BindsTo + pd_server_pd_1_port_0: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + exCP_naming: + get_input: port_pd_1_port_0_exCP_naming + vlan_requirements: + get_input: port_pd_1_port_0_vlan_requirements + ip_requirements: + get_input: port_pd_1_port_0_ip_requirements + network_role_tag: + get_input: port_pd_1_port_0_network_role_tag + mac_requirements: + get_input: port_pd_1_port_0_mac_requirements + order: + get_input: port_pd_1_port_0_order + network_role: + get_input: port_pd_1_port_0_network_role + subnetpoolid: + get_input: port_pd_1_port_0_subnetpoolid + network: + get_input: + - port_pd_1_port_0_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: pd_server + relationship: tosca.relationships.network.BindsTo + substitution_mappings: + node_type: org.openecomp.resource.abstract.nodes.pd_server + capabilities: + network.incoming.packets_pd_server_pd_2_port_1: + - pd_server_pd_2_port_1 + - network.incoming.packets + scalable_pd_server: + - pd_server + - scalable + disk.read.bytes.rate_pd_server: + - pd_server + - disk.read.bytes.rate + network.incoming.packets_pd_server_pd_1_port_0: + - pd_server_pd_1_port_0 + - network.incoming.packets + memory.usage_pd_server: + - pd_server + - memory.usage + memory_pd_server: + - pd_server + - memory + disk.device.usage_pd_server: + - pd_server + - disk.device.usage + feature_pd_server_pd_2_port_1: + - pd_server_pd_2_port_1 + - feature + feature_pd_server_pd_1_port_0: + - pd_server_pd_1_port_0 + - feature + os_pd_server: + - pd_server + - os + disk.write.bytes.rate_pd_server: + - pd_server + - disk.write.bytes.rate + network.outgoing.bytes_pd_server_pd_1_port_0: + - pd_server_pd_1_port_0 + - network.outgoing.bytes + network.outgoing.bytes_pd_server_pd_2_port_1: + - pd_server_pd_2_port_1 + - network.outgoing.bytes + cpu_pd_server: + - pd_server + - cpu + cpu_util_pd_server: + - pd_server + - cpu_util + disk.device.write.requests.rate_pd_server: + - pd_server + - disk.device.write.requests.rate + disk.read.bytes_pd_server: + - pd_server + - disk.read.bytes + disk.device.read.bytes.rate_pd_server: + - pd_server + - disk.device.read.bytes.rate + binding_pd_server_pd_1_port_0: + - pd_server_pd_1_port_0 + - binding + disk.iops_pd_server: + - pd_server + - disk.iops + memory.resident_pd_server: + - pd_server + - memory.resident + cpu.delta_pd_server: + - pd_server + - cpu.delta + network.outgoing.bytes.rate_pd_server_pd_2_port_1: + - pd_server_pd_2_port_1 + - network.outgoing.bytes.rate + vcpus_pd_server: + - pd_server + - vcpus + disk.device.write.bytes.rate_pd_server: + - pd_server + - disk.device.write.bytes.rate + attachment_pd_server_pd_2_port_1: + - pd_server_pd_2_port_1 + - attachment + disk.device.write.requests_pd_server: + - pd_server + - disk.device.write.requests + endpoint_pd_server: + - pd_server + - endpoint + disk.capacity_pd_server: + - pd_server + - disk.capacity + disk.device.allocation_pd_server: + - pd_server + - disk.device.allocation + disk.allocation_pd_server: + - pd_server + - disk.allocation + binding_pd_server: + - pd_server + - binding + disk.read.requests_pd_server: + - pd_server + - disk.read.requests + network.outpoing.packets_pd_server_pd_1_port_0: + - pd_server_pd_1_port_0 + - network.outpoing.packets + network.incoming.packets.rate_pd_server_pd_2_port_1: + - pd_server_pd_2_port_1 + - network.incoming.packets.rate + network.incoming.bytes.rate_pd_server_pd_1_port_0: + - pd_server_pd_1_port_0 + - network.incoming.bytes.rate + network.incoming.bytes.rate_pd_server_pd_2_port_1: + - pd_server_pd_2_port_1 + - network.incoming.bytes.rate + feature_pd_server: + - pd_server + - feature + network.incoming.packets.rate_pd_server_pd_1_port_0: + - pd_server_pd_1_port_0 + - network.incoming.packets.rate + disk.usage_pd_server: + - pd_server + - disk.usage + network.outgoing.packets.rate_pd_server_pd_1_port_0: + - pd_server_pd_1_port_0 + - network.outgoing.packets.rate + disk.write.bytes_pd_server: + - pd_server + - disk.write.bytes + network.incoming.bytes_pd_server_pd_2_port_1: + - pd_server_pd_2_port_1 + - network.incoming.bytes + network.outgoing.packets.rate_pd_server_pd_2_port_1: + - pd_server_pd_2_port_1 + - network.outgoing.packets.rate + network.incoming.bytes_pd_server_pd_1_port_0: + - pd_server_pd_1_port_0 + - network.incoming.bytes + disk.device.read.requests.rate_pd_server: + - pd_server + - disk.device.read.requests.rate + disk.root.size_pd_server: + - pd_server + - disk.root.size + disk.device.read.bytes_pd_server: + - pd_server + - disk.device.read.bytes + network.outpoing.packets_pd_server_pd_2_port_1: + - pd_server_pd_2_port_1 + - network.outpoing.packets + disk.device.write.bytes_pd_server: + - pd_server + - disk.device.write.bytes + binding_pd_server_pd_2_port_1: + - pd_server_pd_2_port_1 + - binding + disk.device.read.requests_pd_server: + - pd_server + - disk.device.read.requests + instance_pd_server: + - pd_server + - instance + host_pd_server: + - pd_server + - host + network.outgoing.bytes.rate_pd_server_pd_1_port_0: + - pd_server_pd_1_port_0 + - network.outgoing.bytes.rate + disk.write.requests.rate_pd_server: + - pd_server + - disk.write.requests.rate + disk.ephemeral.size_pd_server: + - pd_server + - disk.ephemeral.size + attachment_pd_server_pd_1_port_0: + - pd_server_pd_1_port_0 + - attachment + disk.write.requests_pd_server: + - pd_server + - disk.write.requests + disk.device.latency_pd_server: + - pd_server + - disk.device.latency + disk.latency_pd_server: + - pd_server + - disk.latency + disk.device.capacity_pd_server: + - pd_server + - disk.device.capacity + disk.device.iops_pd_server: + - pd_server + - disk.device.iops + requirements: + local_storage_pd_server: + - pd_server + - local_storage + dependency_pd_server: + - pd_server + - dependency + link_pd_server_pd_2_port_1: + - pd_server_pd_2_port_1 + - link + dependency_pd_server_pd_1_port_0: + - pd_server_pd_1_port_0 + - dependency + dependency_pd_server_pd_2_port_1: + - pd_server_pd_2_port_1 + - dependency + link_pd_server_pd_1_port_0: + - pd_server_pd_1_port_0 + - link diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/in/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/in/MANIFEST.json new file mode 100644 index 0000000000..40c2b4c296 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/in/MANIFEST.json @@ -0,0 +1,17 @@ +{ + "name": "hot-mog", + "description": "HOT template to create hot mog server", + "version": "2013-05-23", + "data": [ + { + "file": "hot-mog-0108-bs1271.yml", + "type": "HEAT", + "data": [ + { + "file": "hot-mog-0108-bs1271.env", + "type": "HEAT_ENV" + } + ] + } + ] +} diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/in/hot-mog-0108-bs1271.env b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/in/hot-mog-0108-bs1271.env new file mode 100644 index 0000000000..a02e4b6743 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/in/hot-mog-0108-bs1271.env @@ -0,0 +1,55 @@ +parameters: + pd_server_names: ZRDM1MOGX01MPD001,ZRDM1MOGX01MPD002 + pd_image_name: MOG_BASE_8.0 + pd_flavor_name: m3.xlarge + oam_server_names: ZRDM1MOGX01OAM001,ZRDM1MOGX01OAM002 + oam_image_name: MOG_BASE_8.0 + oam_flavor_name: m3.xlarge + sm_server_names: ZRDM1MOGX01MSM001,ZRDM1MOGX01MSM002 + sm_image_name: MOG_BASE_8.0 + sm_flavor_name: m2.xlarge4 + ps_server_names: ZRDM1MOGX01MPS001,ZRDM1MOGX01MPS002,ZRDM1MOGX01MPS003,ZRDM1MOGX01MPS004 + ps_image_name: MOG_BASE_8.0 + ps_flavor_name: m3.xlarge + cm_server_names: ZRDM1MOGX01MCM001 + cm_image_name: MOG_BASE_8.0 + cm_flavor_name: m3.xlarge + availabilityzone_name: nova + oam_net_name: oam_protected_net_0 + oam_net_ips: 107.250.172.213,107.250.172.214,107.250.172.215,107.250.172.216,107.250.172.217 + #internet_net_name: dmz_protected_net_0 + #internet_net_ips: 107.239.53.4,107.239.53.5 + # internet_net_floating_ip: 107.239.53.6 + sl_net_name: exn_protected_net_0 + sl_net_ips: 107.239.45.4,107.239.45.5 + sl_net_floating_ip: 107.239.45.6 + repl_net_name: cor_direct_net_0 + repl_net_ips: 107.239.33.57,107.239.33.58 + rx_net_name: cor_direct_net_1 + rx_net_ips: 107.239.34.3,107.239.34.4 + rx_net_floating_ip: 107.239.34.5 + ran_net_name: gn_direct_net_0 + ran_net_ips: 107.239.36.3,107.239.36.4 + ran_net_floating_ip: 107.239.36.5 + dummy_net_name_0: mog_dummy_0 + dummy_net_start_0: 169.254.1.4 + dummy_net_end_0: 169.254.1.254 + dummy_net_cidr_0: 169.254.1.0/24 + dummy_net_netmask_0: 255.255.255.0 + dummy_net_name_1: mog_dummy_1 + dummy_net_start_1: 169.254.2.4 + dummy_net_end_1: 169.254.2.254 + dummy_net_cidr_1: 169.254.2.0/24 + dummy_net_netmask_1: 255.255.255.0 + csb_net_name: int_mog_csb_net + csb_net_ips: 172.26.0.10,172.26.0.11,172.26.0.12,172.26.0.13,172.26.0.14,172.26.0.15,172.26.0.16,172.26.0.17,172.26.0.18,172.26.0.19,172.26.0.20 + csb_net_start: 172.26.0.1 + csb_net_end: 172.26.0.254 + csb_net_cidr: 172.26.0.0/24 + csb_net_netmask: 255.255.255.0 + security_group_name: mog_security_group + cluster-manager-vol-1: 43ccf5ba-2d50-427b-a38f-e8c7d8670eee + session-manager-vol-1: 49201898-333d-4c88-b58d-cf573b091633 + session-manager-vol-2: 4c35b5f1-ce99-4220-a6e2-cda6e2d713a0 + oam-vol-1: 0a7fcd9e-2624-401d-ac21-b0191f85ec77 + oam-vol-2: 6d169cb6-6ddc-41dc-920c-2839898a2924 \ 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/singleSubstitution/computewithtwosameporttypes3/in/hot-mog-0108-bs1271.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/in/hot-mog-0108-bs1271.yml new file mode 100644 index 0000000000..a63128c832 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/in/hot-mog-0108-bs1271.yml @@ -0,0 +1,230 @@ +heat_template_version: 2013-05-23 + +description: heat template that creates MOG stack + +parameters: + pd_server_names: + type: comma_delimited_list + label: PD server names + description: name of the PD instance + pd_image_name: + type: string + label: image name + description: PD image name + pd_flavor_name: + type: string + label: PD flavor name + description: flavor name of PD instance + oam_server_names: + type: comma_delimited_list + label: OAM server names + description: name of the OAM instance + oam_image_name: + type: string + label: image name + description: OAM image name + oam_flavor_name: + type: string + label: OAM flavor name + description: flavor name of OAM instance + sm_server_names: + type: comma_delimited_list + label: SM server names + description: name of the SM instance + sm_image_name: + type: string + label: image name + description: SM image name + sm_flavor_name: + type: string + label: SM flavor name + description: flavor name of SM instance + ps_server_names: + type: comma_delimited_list + label: PS server names + description: name of the PS instance + ps_image_name: + type: string + label: PS image name + description: PS image name + ps_flavor_name: + type: string + label: PS flavor name + description: flavor name of PS instance + cm_server_names: + type: comma_delimited_list + label: CM server names + description: name of the CM instance + cm_image_name: + type: string + label: image name + description: CM image name + cm_flavor_name: + type: string + label: CM flavor name + description: flavor name of CM instance + availabilityzone_name: + type: string + label: availabilityzone name + description: availabilityzone name + oam_net_name: + type: string + label: oam network name + description: name of the oam network + oam_net_ips: + type: comma_delimited_list + label: internet network ips + description: ip of the OAM network + sl_net_name: + type: string + label: silver lining network name + description: id of the sl network + sl_net_ips: + type: comma_delimited_list + label: silver lining network ips + description: ips of the sl network + sl_net_floating_ip: + type: string + label: mog sl net virtual ip + description: mog sl net virtual ip + repl_net_name: + type: string + label: Replication network name + description: name of the replication network + repl_net_ips: + type: comma_delimited_list + label: repl network ips + description: ips of repl network + rx_net_name: + type: string + label: Rx network name + description: Rx network name + rx_net_ips: + type: comma_delimited_list + label: Rx network ips + description: Rx network ips + rx_net_floating_ip: + type: string + label: mog rx net virtual ip + description: mog rx net virtual ip + ran_net_name: + type: string + label: RAN network name + description: RAN network name + ran_net_ips: + type: comma_delimited_list + label: RAN network ips + description: RAN network ip + ran_net_floating_ip: + type: string + label: mog ran net virtual ip + description: mog ran net virtual ip + csb_net_name: + type: string + label: csb internal network name + description: csb internal network name + csb_net_start: + type: string + label: csb internal start + description: csb internal start + csb_net_end: + type: string + label: csb internal end + description: csb internal end + csb_net_cidr: + type: string + label: csb ineternal cidr + description: csb internal cidr + csb_net_netmask: + type: string + description: CSB internal network subnet mask + csb_net_ips: + type: comma_delimited_list + description: mog_csb_net IP addresses + dummy_net_name_0: + type: string + label: csb internal network name + description: csb internal network name + dummy_net_start_0: + type: string + label: csb internal start + description: csb internal start + dummy_net_end_0: + type: string + label: csb internal end + description: csb internal end + dummy_net_cidr_0: + type: string + label: csb ineternal cidr + description: csb internal cidr + dummy_net_netmask_0: + type: string + description: CSB internal network subnet mask + dummy_net_name_1: + type: string + label: csb internal network name + description: csb internal network name + dummy_net_start_1: + type: string + label: csb internal start + description: csb internal start + dummy_net_end_1: + type: string + label: csb internal end + description: csb internal end + dummy_net_cidr_1: + type: string + label: csb ineternal cidr + description: csb internal cidr + dummy_net_netmask_1: + type: string + description: CSB internal network subnet mask + + security_group_name: + type: string + label: security group name + description: the name of security group + cluster-manager-vol-1: + type: string + label: mog-cm-vol-1 + description: Cluster Manager volume 1 + session-manager-vol-1: + type: string + label: mog-sm-vol-1 + description: Session Manager volume 1 + session-manager-vol-2: + type: string + label: mog-sm-vol-2 + description: Session Manager volume 2 + oam-vol-1: + type: string + label: mog-oam-vol-1 + description: OAM volume 1 + oam-vol-2: + type: string + label: mog-oam-vol-2 + description: OAM volume 2 + +resources: + server_pd_01: + type: OS::Nova::Server + properties: +# config_drive: "True" + name: {get_param: [pd_server_names, 0]} + image: {get_param: pd_image_name} + flavor: {get_param: pd_flavor_name} + availability_zone: {get_param: availabilityzone_name} + networks: + - port: {get_resource: pd_oam1_port_0} + - port: {get_resource: pd_oam1_port_1} + user_data_format: RAW + + pd_oam1_port_0: + type: OS::Neutron::Port + properties: + network: {get_param: oam_net_name} + pd_oam1_port_1: + type: OS::Neutron::Port + properties: + network: {get_param: oam_net_name} + diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/GlobalSubstitutionTypesServiceTemplate.yaml new file mode 100644 index 0000000000..30969f017c --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/GlobalSubstitutionTypesServiceTemplate.yaml @@ -0,0 +1,542 @@ +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.pd_server: + derived_from: org.openecomp.resource.abstract.nodes.VFC + properties: + port_pd_oam1_port_0_network_role_tag: + type: string + required: true + status: SUPPORTED + port_pd_oam1_port_0_network_role: + type: string + required: true + status: SUPPORTED + port_pd_oam1_port_1_ip_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + 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_pd_oam1_port_0_ip_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + compute_pd_server_availability_zone: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + compute_pd_server_name: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + vm_flavor_name: + type: string + required: true + status: SUPPORTED + port_pd_oam1_port_1_order: + type: integer + required: true + status: SUPPORTED + port_pd_oam1_port_0_vlan_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd_oam1_port_1_network: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_pd_oam1_port_1_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + port_pd_oam1_port_1_network_role: + type: string + required: true + status: SUPPORTED + port_pd_oam1_port_1_subnetpoolid: + type: string + required: true + status: SUPPORTED + port_pd_oam1_port_0_order: + type: integer + required: true + status: SUPPORTED + port_pd_oam1_port_1_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + port_pd_oam1_port_0_network: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + vm_image_name: + type: string + required: true + status: SUPPORTED + port_pd_oam1_port_0_subnetpoolid: + type: string + required: true + status: SUPPORTED + port_pd_oam1_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + port_pd_oam1_port_1_network_role_tag: + type: string + required: true + status: SUPPORTED + port_pd_oam1_port_1_vlan_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd_oam1_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + compute_pd_server_user_data_format: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + requirements: + - dependency_pd_server: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - local_storage_pd_server: + capability: tosca.capabilities.Attachment + node: tosca.nodes.BlockStorage + relationship: tosca.relationships.AttachesTo + occurrences: + - 0 + - UNBOUNDED + - dependency_pd_server_pd_oam1_port_1: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_pd_server_pd_oam1_port_1: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 + - dependency_pd_server_pd_oam1_port_0: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_pd_server_pd_oam1_port_0: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 + capabilities: + scalable_pd_server: + type: tosca.capabilities.Scalable + occurrences: + - 1 + - UNBOUNDED + disk.read.bytes.rate_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server: + type: tosca.capabilities.OperatingSystem + occurrences: + - 1 + - UNBOUNDED + disk.write.bytes.rate_pd_server: + 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_pd_server_pd_oam1_port_1: + 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_pd_server_pd_oam1_port_0: + 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_pd_server: + 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_pd_server_pd_oam1_port_1: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + cpu_util_pd_server: + 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_pd_server_pd_oam1_port_0: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + disk.device.write.requests.rate_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server_pd_oam1_port_1: + 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_pd_server_pd_oam1_port_0: + 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_pd_server: + 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_pd_server: + 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_pd_server_pd_oam1_port_0: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED + attachment_pd_server_pd_oam1_port_1: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED + vcpus_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server: + type: tosca.capabilities.Endpoint.Admin + occurrences: + - 1 + - UNBOUNDED + disk.capacity_pd_server: + 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_pd_server_pd_oam1_port_0: + 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_pd_server: + 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_pd_server: + 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_pd_server_pd_oam1_port_1: + 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_pd_server: + type: tosca.capabilities.network.Bindable + occurrences: + - 1 + - UNBOUNDED + disk.read.requests_pd_server: + 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_pd_server: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + disk.usage_pd_server: + 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_pd_server: + 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_pd_server_pd_oam1_port_1: + 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_pd_server_pd_oam1_port_1: + 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_pd_server_pd_oam1_port_1: + 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_pd_server_pd_oam1_port_0: + 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_pd_server_pd_oam1_port_0: + 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_pd_server_pd_oam1_port_0: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server: + type: tosca.capabilities.Container + valid_source_types: + - tosca.nodes.SoftwareComponent + occurrences: + - 1 + - UNBOUNDED + disk.write.requests.rate_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server_pd_oam1_port_0: + 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_pd_server_pd_oam1_port_1: + 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_pd_server: + 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_pd_server_pd_oam1_port_0: + 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_pd_server: + 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_pd_server: + 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_pd_server_pd_oam1_port_1: + 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_pd_server_pd_oam1_port_1: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED + binding_pd_server_pd_oam1_port_0: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED + disk.device.iops_pd_server: + 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/singleSubstitution/computewithtwosameporttypes3/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/MainServiceTemplate.yaml new file mode 100644 index 0000000000..5c32464d0e --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/MainServiceTemplate.yaml @@ -0,0 +1,478 @@ +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: + pd_flavor_name: + label: PD flavor name + hidden: false + immutable: false + type: string + description: flavor name of PD instance + default: m3.xlarge + availabilityzone_name: + label: availabilityzone name + hidden: false + immutable: false + type: string + description: availabilityzone name + default: nova + repl_net_ips: + label: repl network ips + hidden: false + immutable: false + type: list + description: ips of repl network + default: + - 107.239.33.57 + - 107.239.33.58 + entry_schema: + type: string + sl_net_name: + label: silver lining network name + hidden: false + immutable: false + type: string + description: id of the sl network + default: exn_protected_net_0 + pd_image_name: + label: image name + hidden: false + immutable: false + type: string + description: PD image name + default: MOG_BASE_8.0 + pd_server_names: + label: PD server names + hidden: false + immutable: false + type: list + description: name of the PD instance + default: + - ZRDM1MOGX01MPD001 + - ZRDM1MOGX01MPD002 + entry_schema: + type: string + sm_server_names: + label: SM server names + hidden: false + immutable: false + type: list + description: name of the SM instance + default: + - ZRDM1MOGX01MSM001 + - ZRDM1MOGX01MSM002 + entry_schema: + type: string + dummy_net_netmask_1: + hidden: false + immutable: false + type: string + description: CSB internal network subnet mask + default: 255.255.255.0 + dummy_net_netmask_0: + hidden: false + immutable: false + type: string + description: CSB internal network subnet mask + default: 255.255.255.0 + ran_net_floating_ip: + label: mog ran net virtual ip + hidden: false + immutable: false + type: string + description: mog ran net virtual ip + default: 107.239.36.5 + ran_net_ips: + label: RAN network ips + hidden: false + immutable: false + type: list + description: RAN network ip + default: + - 107.239.36.3 + - 107.239.36.4 + entry_schema: + type: string + dummy_net_end_0: + label: csb internal end + hidden: false + immutable: false + type: string + description: csb internal end + default: 169.254.1.254 + oam_image_name: + label: image name + hidden: false + immutable: false + type: string + description: OAM image name + default: MOG_BASE_8.0 + dummy_net_end_1: + label: csb internal end + hidden: false + immutable: false + type: string + description: csb internal end + default: 169.254.2.254 + oam_net_name: + label: oam network name + hidden: false + immutable: false + type: string + description: name of the oam network + default: oam_protected_net_0 + oam_net_ips: + label: internet network ips + hidden: false + immutable: false + type: list + description: ip of the OAM network + default: + - 107.250.172.213 + - 107.250.172.214 + - 107.250.172.215 + - 107.250.172.216 + - 107.250.172.217 + entry_schema: + type: string + ran_net_name: + label: RAN network name + hidden: false + immutable: false + type: string + description: RAN network name + default: gn_direct_net_0 + cluster-manager-vol-1: + label: mog-cm-vol-1 + hidden: false + immutable: false + type: string + description: Cluster Manager volume 1 + default: 43ccf5ba-2d50-427b-a38f-e8c7d8670eee + csb_net_netmask: + hidden: false + immutable: false + type: string + description: CSB internal network subnet mask + default: 255.255.255.0 + oam_flavor_name: + label: OAM flavor name + hidden: false + immutable: false + type: string + description: flavor name of OAM instance + default: m3.xlarge + dummy_net_start_0: + label: csb internal start + hidden: false + immutable: false + type: string + description: csb internal start + default: 169.254.1.4 + dummy_net_start_1: + label: csb internal start + hidden: false + immutable: false + type: string + description: csb internal start + default: 169.254.2.4 + cm_flavor_name: + label: CM flavor name + hidden: false + immutable: false + type: string + description: flavor name of CM instance + default: m3.xlarge + sm_image_name: + label: image name + hidden: false + immutable: false + type: string + description: SM image name + default: MOG_BASE_8.0 + ps_server_names: + label: PS server names + hidden: false + immutable: false + type: list + description: name of the PS instance + default: + - ZRDM1MOGX01MPS001 + - ZRDM1MOGX01MPS002 + - ZRDM1MOGX01MPS003 + - ZRDM1MOGX01MPS004 + entry_schema: + type: string + csb_net_ips: + hidden: false + immutable: false + type: list + description: mog_csb_net IP addresses + default: + - 172.26.0.10 + - 172.26.0.11 + - 172.26.0.12 + - 172.26.0.13 + - 172.26.0.14 + - 172.26.0.15 + - 172.26.0.16 + - 172.26.0.17 + - 172.26.0.18 + - 172.26.0.19 + - 172.26.0.20 + entry_schema: + type: string + ps_flavor_name: + label: PS flavor name + hidden: false + immutable: false + type: string + description: flavor name of PS instance + default: m3.xlarge + rx_net_ips: + label: Rx network ips + hidden: false + immutable: false + type: list + description: Rx network ips + default: + - 107.239.34.3 + - 107.239.34.4 + entry_schema: + type: string + dummy_net_name_1: + label: csb internal network name + hidden: false + immutable: false + type: string + description: csb internal network name + default: mog_dummy_1 + dummy_net_cidr_1: + label: csb ineternal cidr + hidden: false + immutable: false + type: string + description: csb internal cidr + default: 169.254.2.0/24 + dummy_net_name_0: + label: csb internal network name + hidden: false + immutable: false + type: string + description: csb internal network name + default: mog_dummy_0 + dummy_net_cidr_0: + label: csb ineternal cidr + hidden: false + immutable: false + type: string + description: csb internal cidr + default: 169.254.1.0/24 + oam-vol-2: + label: mog-oam-vol-2 + hidden: false + immutable: false + type: string + description: OAM volume 2 + default: 6d169cb6-6ddc-41dc-920c-2839898a2924 + sl_net_floating_ip: + label: mog sl net virtual ip + hidden: false + immutable: false + type: string + description: mog sl net virtual ip + default: 107.239.45.6 + session-manager-vol-1: + label: mog-sm-vol-1 + hidden: false + immutable: false + type: string + description: Session Manager volume 1 + default: 49201898-333d-4c88-b58d-cf573b091633 + rx_net_floating_ip: + label: mog rx net virtual ip + hidden: false + immutable: false + type: string + description: mog rx net virtual ip + default: 107.239.34.5 + session-manager-vol-2: + label: mog-sm-vol-2 + hidden: false + immutable: false + type: string + description: Session Manager volume 2 + default: 4c35b5f1-ce99-4220-a6e2-cda6e2d713a0 + oam-vol-1: + label: mog-oam-vol-1 + hidden: false + immutable: false + type: string + description: OAM volume 1 + default: 0a7fcd9e-2624-401d-ac21-b0191f85ec77 + csb_net_start: + label: csb internal start + hidden: false + immutable: false + type: string + description: csb internal start + default: 172.26.0.1 + cm_image_name: + label: image name + hidden: false + immutable: false + type: string + description: CM image name + default: MOG_BASE_8.0 + sm_flavor_name: + label: SM flavor name + hidden: false + immutable: false + type: string + description: flavor name of SM instance + default: m2.xlarge4 + ps_image_name: + label: PS image name + hidden: false + immutable: false + type: string + description: PS image name + default: MOG_BASE_8.0 + oam_server_names: + label: OAM server names + hidden: false + immutable: false + type: list + description: name of the OAM instance + default: + - ZRDM1MOGX01OAM001 + - ZRDM1MOGX01OAM002 + entry_schema: + type: string + csb_net_cidr: + label: csb ineternal cidr + hidden: false + immutable: false + type: string + description: csb internal cidr + default: 172.26.0.0/24 + cm_server_names: + label: CM server names + hidden: false + immutable: false + type: list + description: name of the CM instance + default: + - ZRDM1MOGX01MCM001 + entry_schema: + type: string + sl_net_ips: + label: silver lining network ips + hidden: false + immutable: false + type: list + description: ips of the sl network + default: + - 107.239.45.4 + - 107.239.45.5 + entry_schema: + type: string + rx_net_name: + label: Rx network name + hidden: false + immutable: false + type: string + description: Rx network name + default: cor_direct_net_1 + repl_net_name: + label: Replication network name + hidden: false + immutable: false + type: string + description: name of the replication network + default: cor_direct_net_0 + security_group_name: + label: security group name + hidden: false + immutable: false + type: string + description: the name of security group + default: mog_security_group + csb_net_end: + label: csb internal end + hidden: false + immutable: false + type: string + description: csb internal end + default: 172.26.0.254 + csb_net_name: + label: csb internal network name + hidden: false + immutable: false + type: string + description: csb internal network name + default: int_mog_csb_net + node_templates: + abstract_pd_server: + type: org.openecomp.resource.abstract.nodes.pd_server + directives: + - substitutable + properties: + port_pd_oam1_port_0_network_role_tag: oam + port_pd_oam1_port_1_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + port_pd_oam1_port_0_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + compute_pd_server_availability_zone: + - get_input: availabilityzone_name + compute_pd_server_name: + - get_input: + - pd_server_names + - 0 + vm_flavor_name: + get_input: pd_flavor_name + port_pd_oam1_port_1_network: + - get_input: oam_net_name + port_pd_oam1_port_1_mac_requirements: + mac_count_required: + is_required: false + port_pd_oam1_port_0_network: + - get_input: oam_net_name + vm_image_name: + get_input: pd_image_name + port_pd_oam1_port_1_network_role_tag: oam + port_pd_oam1_port_0_mac_requirements: + mac_count_required: + is_required: false + compute_pd_server_user_data_format: + - RAW + service_template_filter: + substitute_service_template: Nested_pd_serverServiceTemplate.yaml + count: 1 + index_value: + get_property: + - SELF + - service_template_filter + - index_value + groups: + hot-mog-0108-bs1271_group: + type: org.openecomp.groups.heat.HeatStack + properties: + heat_file: ../Artifacts/hot-mog-0108-bs1271.yml + description: heat template that creates MOG stack + members: + - abstract_pd_server diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/Nested_pd_serverServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/Nested_pd_serverServiceTemplate.yaml new file mode 100644 index 0000000000..580e287e32 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes3/out/Nested_pd_serverServiceTemplate.yaml @@ -0,0 +1,394 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +metadata: + template_name: Nested_pd_server +imports: +- openecomp_heat_index: + file: openecomp-heat/_index.yml +- GlobalSubstitutionTypes: + file: GlobalSubstitutionTypesServiceTemplate.yaml +node_types: + org.openecomp.resource.vfc.compute.nodes.heat.pd_server: + derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server +topology_template: + inputs: + port_pd_oam1_port_0_network_role_tag: + type: string + required: true + port_pd_oam1_port_0_network_role: + type: string + required: true + port_pd_oam1_port_1_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + index_value: + type: integer + description: Index value of this substitution service template runtime instance + required: false + default: 0 + constraints: + - greater_or_equal: 0 + port_pd_oam1_port_0_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + compute_pd_server_availability_zone: + type: list + required: true + entry_schema: + type: string + compute_pd_server_name: + type: list + required: true + entry_schema: + type: string + vm_flavor_name: + type: string + required: true + port_pd_oam1_port_1_order: + type: integer + required: true + port_pd_oam1_port_0_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd_oam1_port_1_network: + type: list + required: true + entry_schema: + type: string + port_pd_oam1_port_1_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_pd_oam1_port_1_network_role: + type: string + required: true + port_pd_oam1_port_1_subnetpoolid: + type: string + required: true + port_pd_oam1_port_0_order: + type: integer + required: true + port_pd_oam1_port_1_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_pd_oam1_port_0_network: + type: list + required: true + entry_schema: + type: string + vm_image_name: + type: string + required: true + port_pd_oam1_port_0_subnetpoolid: + type: string + required: true + port_pd_oam1_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_pd_oam1_port_1_network_role_tag: + type: string + required: true + port_pd_oam1_port_1_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd_oam1_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + compute_pd_server_user_data_format: + type: list + required: true + entry_schema: + type: string + node_templates: + pd_server: + type: org.openecomp.resource.vfc.compute.nodes.heat.pd_server + properties: + availability_zone: + get_input: + - compute_pd_server_availability_zone + - index_value + flavor: + get_input: vm_flavor_name + image: + get_input: vm_image_name + name: + get_input: + - compute_pd_server_name + - index_value + user_data_format: + get_input: + - compute_pd_server_user_data_format + - index_value + pd_server_pd_oam1_port_1: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + exCP_naming: + get_input: port_pd_oam1_port_1_exCP_naming + vlan_requirements: + get_input: port_pd_oam1_port_1_vlan_requirements + ip_requirements: + get_input: port_pd_oam1_port_1_ip_requirements + network_role_tag: + get_input: port_pd_oam1_port_1_network_role_tag + mac_requirements: + get_input: port_pd_oam1_port_1_mac_requirements + order: + get_input: port_pd_oam1_port_1_order + network_role: + get_input: port_pd_oam1_port_1_network_role + subnetpoolid: + get_input: port_pd_oam1_port_1_subnetpoolid + network: + get_input: + - port_pd_oam1_port_1_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: pd_server + relationship: tosca.relationships.network.BindsTo + pd_server_pd_oam1_port_0: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + exCP_naming: + get_input: port_pd_oam1_port_0_exCP_naming + vlan_requirements: + get_input: port_pd_oam1_port_0_vlan_requirements + ip_requirements: + get_input: port_pd_oam1_port_0_ip_requirements + network_role_tag: + get_input: port_pd_oam1_port_0_network_role_tag + mac_requirements: + get_input: port_pd_oam1_port_0_mac_requirements + order: + get_input: port_pd_oam1_port_0_order + network_role: + get_input: port_pd_oam1_port_0_network_role + subnetpoolid: + get_input: port_pd_oam1_port_0_subnetpoolid + network: + get_input: + - port_pd_oam1_port_0_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: pd_server + relationship: tosca.relationships.network.BindsTo + substitution_mappings: + node_type: org.openecomp.resource.abstract.nodes.pd_server + capabilities: + scalable_pd_server: + - pd_server + - scalable + disk.read.bytes.rate_pd_server: + - pd_server + - disk.read.bytes.rate + memory.usage_pd_server: + - pd_server + - memory.usage + memory_pd_server: + - pd_server + - memory + disk.device.usage_pd_server: + - pd_server + - disk.device.usage + os_pd_server: + - pd_server + - os + disk.write.bytes.rate_pd_server: + - pd_server + - disk.write.bytes.rate + network.incoming.packets_pd_server_pd_oam1_port_1: + - pd_server_pd_oam1_port_1 + - network.incoming.packets + network.incoming.packets_pd_server_pd_oam1_port_0: + - pd_server_pd_oam1_port_0 + - network.incoming.packets + cpu_pd_server: + - pd_server + - cpu + feature_pd_server_pd_oam1_port_1: + - pd_server_pd_oam1_port_1 + - feature + cpu_util_pd_server: + - pd_server + - cpu_util + feature_pd_server_pd_oam1_port_0: + - pd_server_pd_oam1_port_0 + - feature + disk.device.write.requests.rate_pd_server: + - pd_server + - disk.device.write.requests.rate + disk.read.bytes_pd_server: + - pd_server + - disk.read.bytes + disk.device.read.bytes.rate_pd_server: + - pd_server + - disk.device.read.bytes.rate + disk.iops_pd_server: + - pd_server + - disk.iops + network.incoming.bytes_pd_server_pd_oam1_port_1: + - pd_server_pd_oam1_port_1 + - network.incoming.bytes + network.incoming.bytes_pd_server_pd_oam1_port_0: + - pd_server_pd_oam1_port_0 + - network.incoming.bytes + memory.resident_pd_server: + - pd_server + - memory.resident + cpu.delta_pd_server: + - pd_server + - cpu.delta + attachment_pd_server_pd_oam1_port_0: + - pd_server_pd_oam1_port_0 + - attachment + attachment_pd_server_pd_oam1_port_1: + - pd_server_pd_oam1_port_1 + - attachment + vcpus_pd_server: + - pd_server + - vcpus + disk.device.write.bytes.rate_pd_server: + - pd_server + - disk.device.write.bytes.rate + disk.device.write.requests_pd_server: + - pd_server + - disk.device.write.requests + endpoint_pd_server: + - pd_server + - endpoint + disk.capacity_pd_server: + - pd_server + - disk.capacity + network.incoming.packets.rate_pd_server_pd_oam1_port_0: + - pd_server_pd_oam1_port_0 + - network.incoming.packets.rate + disk.device.allocation_pd_server: + - pd_server + - disk.device.allocation + disk.allocation_pd_server: + - pd_server + - disk.allocation + network.incoming.packets.rate_pd_server_pd_oam1_port_1: + - pd_server_pd_oam1_port_1 + - network.incoming.packets.rate + binding_pd_server: + - pd_server + - binding + disk.read.requests_pd_server: + - pd_server + - disk.read.requests + feature_pd_server: + - pd_server + - feature + disk.usage_pd_server: + - pd_server + - disk.usage + disk.write.bytes_pd_server: + - pd_server + - disk.write.bytes + network.incoming.bytes.rate_pd_server_pd_oam1_port_1: + - pd_server_pd_oam1_port_1 + - network.incoming.bytes.rate + network.outgoing.packets.rate_pd_server_pd_oam1_port_1: + - pd_server_pd_oam1_port_1 + - network.outgoing.packets.rate + network.outgoing.bytes.rate_pd_server_pd_oam1_port_1: + - pd_server_pd_oam1_port_1 + - network.outgoing.bytes.rate + network.incoming.bytes.rate_pd_server_pd_oam1_port_0: + - pd_server_pd_oam1_port_0 + - network.incoming.bytes.rate + network.outgoing.bytes.rate_pd_server_pd_oam1_port_0: + - pd_server_pd_oam1_port_0 + - network.outgoing.bytes.rate + network.outgoing.packets.rate_pd_server_pd_oam1_port_0: + - pd_server_pd_oam1_port_0 + - network.outgoing.packets.rate + disk.device.read.requests.rate_pd_server: + - pd_server + - disk.device.read.requests.rate + disk.root.size_pd_server: + - pd_server + - disk.root.size + disk.device.read.bytes_pd_server: + - pd_server + - disk.device.read.bytes + disk.device.write.bytes_pd_server: + - pd_server + - disk.device.write.bytes + disk.device.read.requests_pd_server: + - pd_server + - disk.device.read.requests + instance_pd_server: + - pd_server + - instance + host_pd_server: + - pd_server + - host + disk.write.requests.rate_pd_server: + - pd_server + - disk.write.requests.rate + disk.ephemeral.size_pd_server: + - pd_server + - disk.ephemeral.size + disk.write.requests_pd_server: + - pd_server + - disk.write.requests + network.outgoing.bytes_pd_server_pd_oam1_port_0: + - pd_server_pd_oam1_port_0 + - network.outgoing.bytes + network.outgoing.bytes_pd_server_pd_oam1_port_1: + - pd_server_pd_oam1_port_1 + - network.outgoing.bytes + disk.device.latency_pd_server: + - pd_server + - disk.device.latency + network.outpoing.packets_pd_server_pd_oam1_port_0: + - pd_server_pd_oam1_port_0 + - network.outpoing.packets + disk.latency_pd_server: + - pd_server + - disk.latency + disk.device.capacity_pd_server: + - pd_server + - disk.device.capacity + network.outpoing.packets_pd_server_pd_oam1_port_1: + - pd_server_pd_oam1_port_1 + - network.outpoing.packets + binding_pd_server_pd_oam1_port_1: + - pd_server_pd_oam1_port_1 + - binding + binding_pd_server_pd_oam1_port_0: + - pd_server_pd_oam1_port_0 + - binding + disk.device.iops_pd_server: + - pd_server + - disk.device.iops + requirements: + local_storage_pd_server: + - pd_server + - local_storage + link_pd_server_pd_oam1_port_1: + - pd_server_pd_oam1_port_1 + - link + link_pd_server_pd_oam1_port_0: + - pd_server_pd_oam1_port_0 + - link + dependency_pd_server: + - pd_server + - dependency + dependency_pd_server_pd_oam1_port_0: + - pd_server_pd_oam1_port_0 + - dependency + dependency_pd_server_pd_oam1_port_1: + - pd_server_pd_oam1_port_1 + - dependency diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/in/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/in/MANIFEST.json new file mode 100644 index 0000000000..40c2b4c296 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/in/MANIFEST.json @@ -0,0 +1,17 @@ +{ + "name": "hot-mog", + "description": "HOT template to create hot mog server", + "version": "2013-05-23", + "data": [ + { + "file": "hot-mog-0108-bs1271.yml", + "type": "HEAT", + "data": [ + { + "file": "hot-mog-0108-bs1271.env", + "type": "HEAT_ENV" + } + ] + } + ] +} diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/in/hot-mog-0108-bs1271.env b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/in/hot-mog-0108-bs1271.env new file mode 100644 index 0000000000..a02e4b6743 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/in/hot-mog-0108-bs1271.env @@ -0,0 +1,55 @@ +parameters: + pd_server_names: ZRDM1MOGX01MPD001,ZRDM1MOGX01MPD002 + pd_image_name: MOG_BASE_8.0 + pd_flavor_name: m3.xlarge + oam_server_names: ZRDM1MOGX01OAM001,ZRDM1MOGX01OAM002 + oam_image_name: MOG_BASE_8.0 + oam_flavor_name: m3.xlarge + sm_server_names: ZRDM1MOGX01MSM001,ZRDM1MOGX01MSM002 + sm_image_name: MOG_BASE_8.0 + sm_flavor_name: m2.xlarge4 + ps_server_names: ZRDM1MOGX01MPS001,ZRDM1MOGX01MPS002,ZRDM1MOGX01MPS003,ZRDM1MOGX01MPS004 + ps_image_name: MOG_BASE_8.0 + ps_flavor_name: m3.xlarge + cm_server_names: ZRDM1MOGX01MCM001 + cm_image_name: MOG_BASE_8.0 + cm_flavor_name: m3.xlarge + availabilityzone_name: nova + oam_net_name: oam_protected_net_0 + oam_net_ips: 107.250.172.213,107.250.172.214,107.250.172.215,107.250.172.216,107.250.172.217 + #internet_net_name: dmz_protected_net_0 + #internet_net_ips: 107.239.53.4,107.239.53.5 + # internet_net_floating_ip: 107.239.53.6 + sl_net_name: exn_protected_net_0 + sl_net_ips: 107.239.45.4,107.239.45.5 + sl_net_floating_ip: 107.239.45.6 + repl_net_name: cor_direct_net_0 + repl_net_ips: 107.239.33.57,107.239.33.58 + rx_net_name: cor_direct_net_1 + rx_net_ips: 107.239.34.3,107.239.34.4 + rx_net_floating_ip: 107.239.34.5 + ran_net_name: gn_direct_net_0 + ran_net_ips: 107.239.36.3,107.239.36.4 + ran_net_floating_ip: 107.239.36.5 + dummy_net_name_0: mog_dummy_0 + dummy_net_start_0: 169.254.1.4 + dummy_net_end_0: 169.254.1.254 + dummy_net_cidr_0: 169.254.1.0/24 + dummy_net_netmask_0: 255.255.255.0 + dummy_net_name_1: mog_dummy_1 + dummy_net_start_1: 169.254.2.4 + dummy_net_end_1: 169.254.2.254 + dummy_net_cidr_1: 169.254.2.0/24 + dummy_net_netmask_1: 255.255.255.0 + csb_net_name: int_mog_csb_net + csb_net_ips: 172.26.0.10,172.26.0.11,172.26.0.12,172.26.0.13,172.26.0.14,172.26.0.15,172.26.0.16,172.26.0.17,172.26.0.18,172.26.0.19,172.26.0.20 + csb_net_start: 172.26.0.1 + csb_net_end: 172.26.0.254 + csb_net_cidr: 172.26.0.0/24 + csb_net_netmask: 255.255.255.0 + security_group_name: mog_security_group + cluster-manager-vol-1: 43ccf5ba-2d50-427b-a38f-e8c7d8670eee + session-manager-vol-1: 49201898-333d-4c88-b58d-cf573b091633 + session-manager-vol-2: 4c35b5f1-ce99-4220-a6e2-cda6e2d713a0 + oam-vol-1: 0a7fcd9e-2624-401d-ac21-b0191f85ec77 + oam-vol-2: 6d169cb6-6ddc-41dc-920c-2839898a2924 \ 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/singleSubstitution/computewithtwosameporttypes4/in/hot-mog-0108-bs1271.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/in/hot-mog-0108-bs1271.yml new file mode 100644 index 0000000000..b0dc153001 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/in/hot-mog-0108-bs1271.yml @@ -0,0 +1,230 @@ +heat_template_version: 2013-05-23 + +description: heat template that creates MOG stack + +parameters: + pd_server_names: + type: comma_delimited_list + label: PD server names + description: name of the PD instance + pd_image_name: + type: string + label: image name + description: PD image name + pd_flavor_name: + type: string + label: PD flavor name + description: flavor name of PD instance + oam_server_names: + type: comma_delimited_list + label: OAM server names + description: name of the OAM instance + oam_image_name: + type: string + label: image name + description: OAM image name + oam_flavor_name: + type: string + label: OAM flavor name + description: flavor name of OAM instance + sm_server_names: + type: comma_delimited_list + label: SM server names + description: name of the SM instance + sm_image_name: + type: string + label: image name + description: SM image name + sm_flavor_name: + type: string + label: SM flavor name + description: flavor name of SM instance + ps_server_names: + type: comma_delimited_list + label: PS server names + description: name of the PS instance + ps_image_name: + type: string + label: PS image name + description: PS image name + ps_flavor_name: + type: string + label: PS flavor name + description: flavor name of PS instance + cm_server_names: + type: comma_delimited_list + label: CM server names + description: name of the CM instance + cm_image_name: + type: string + label: image name + description: CM image name + cm_flavor_name: + type: string + label: CM flavor name + description: flavor name of CM instance + availabilityzone_name: + type: string + label: availabilityzone name + description: availabilityzone name + oam_net_name: + type: string + label: oam network name + description: name of the oam network + oam_net_ips: + type: comma_delimited_list + label: internet network ips + description: ip of the OAM network + sl_net_name: + type: string + label: silver lining network name + description: id of the sl network + sl_net_ips: + type: comma_delimited_list + label: silver lining network ips + description: ips of the sl network + sl_net_floating_ip: + type: string + label: mog sl net virtual ip + description: mog sl net virtual ip + repl_net_name: + type: string + label: Replication network name + description: name of the replication network + repl_net_ips: + type: comma_delimited_list + label: repl network ips + description: ips of repl network + rx_net_name: + type: string + label: Rx network name + description: Rx network name + rx_net_ips: + type: comma_delimited_list + label: Rx network ips + description: Rx network ips + rx_net_floating_ip: + type: string + label: mog rx net virtual ip + description: mog rx net virtual ip + ran_net_name: + type: string + label: RAN network name + description: RAN network name + ran_net_ips: + type: comma_delimited_list + label: RAN network ips + description: RAN network ip + ran_net_floating_ip: + type: string + label: mog ran net virtual ip + description: mog ran net virtual ip + csb_net_name: + type: string + label: csb internal network name + description: csb internal network name + csb_net_start: + type: string + label: csb internal start + description: csb internal start + csb_net_end: + type: string + label: csb internal end + description: csb internal end + csb_net_cidr: + type: string + label: csb ineternal cidr + description: csb internal cidr + csb_net_netmask: + type: string + description: CSB internal network subnet mask + csb_net_ips: + type: comma_delimited_list + description: mog_csb_net IP addresses + dummy_net_name_0: + type: string + label: csb internal network name + description: csb internal network name + dummy_net_start_0: + type: string + label: csb internal start + description: csb internal start + dummy_net_end_0: + type: string + label: csb internal end + description: csb internal end + dummy_net_cidr_0: + type: string + label: csb ineternal cidr + description: csb internal cidr + dummy_net_netmask_0: + type: string + description: CSB internal network subnet mask + dummy_net_name_1: + type: string + label: csb internal network name + description: csb internal network name + dummy_net_start_1: + type: string + label: csb internal start + description: csb internal start + dummy_net_end_1: + type: string + label: csb internal end + description: csb internal end + dummy_net_cidr_1: + type: string + label: csb ineternal cidr + description: csb internal cidr + dummy_net_netmask_1: + type: string + description: CSB internal network subnet mask + + security_group_name: + type: string + label: security group name + description: the name of security group + cluster-manager-vol-1: + type: string + label: mog-cm-vol-1 + description: Cluster Manager volume 1 + session-manager-vol-1: + type: string + label: mog-sm-vol-1 + description: Session Manager volume 1 + session-manager-vol-2: + type: string + label: mog-sm-vol-2 + description: Session Manager volume 2 + oam-vol-1: + type: string + label: mog-oam-vol-1 + description: OAM volume 1 + oam-vol-2: + type: string + label: mog-oam-vol-2 + description: OAM volume 2 + +resources: + server_pd_01: + type: OS::Nova::Server + properties: +# config_drive: "True" + name: {get_param: [pd_server_names, 0]} + image: {get_param: pd_image_name} + flavor: {get_param: pd_flavor_name} + availability_zone: {get_param: availabilityzone_name} + networks: + - port: {get_resource: pd01_port1} + - port: {get_resource: pd01_port2} + user_data_format: RAW + + pd01_port1: + type: OS::Neutron::Port + properties: + network: {get_param: oam_net_name} + pd01_port2: + type: OS::Neutron::Port + properties: + network: {get_param: oam_net_name} + diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/out/GlobalSubstitutionTypesServiceTemplate.yaml new file mode 100644 index 0000000000..f247a660e4 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/out/GlobalSubstitutionTypesServiceTemplate.yaml @@ -0,0 +1,542 @@ +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.pd_server: + derived_from: org.openecomp.resource.abstract.nodes.VFC + properties: + port_pd01_port1_network: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_pd01_port1_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + port_pd01_port1_network_role_tag: + type: string + required: true + status: SUPPORTED + port_pd01_port1_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + port_pd01_port2_network: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_pd01_port2_ip_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + 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 + compute_pd_server_availability_zone: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + compute_pd_server_name: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + port_pd01_port1_subnetpoolid: + type: string + required: true + status: SUPPORTED + port_pd01_port2_subnetpoolid: + type: string + required: true + status: SUPPORTED + port_pd01_port2_network_role: + type: string + required: true + status: SUPPORTED + vm_flavor_name: + type: string + required: true + status: SUPPORTED + port_pd01_port1_ip_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_pd01_port1_order: + type: integer + required: true + status: SUPPORTED + port_pd01_port2_network_role_tag: + type: string + required: true + status: SUPPORTED + port_pd01_port1_network_role: + type: string + required: true + status: SUPPORTED + port_pd01_port2_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + port_pd01_port2_order: + type: integer + required: true + status: SUPPORTED + port_pd01_port1_vlan_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + vm_image_name: + type: string + required: true + status: SUPPORTED + port_pd01_port2_vlan_requirements: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd01_port2_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + compute_pd_server_user_data_format: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string + requirements: + - dependency_pd_server_pd01_port1: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_pd_server_pd01_port1: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 + - dependency_pd_server: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - local_storage_pd_server: + capability: tosca.capabilities.Attachment + node: tosca.nodes.BlockStorage + relationship: tosca.relationships.AttachesTo + occurrences: + - 0 + - UNBOUNDED + - dependency_pd_server_pd01_port2: + capability: tosca.capabilities.Node + node: tosca.nodes.Root + relationship: tosca.relationships.DependsOn + occurrences: + - 0 + - UNBOUNDED + - link_pd_server_pd01_port2: + capability: tosca.capabilities.network.Linkable + relationship: tosca.relationships.network.LinksTo + occurrences: + - 1 + - 1 + capabilities: + scalable_pd_server: + type: tosca.capabilities.Scalable + occurrences: + - 1 + - UNBOUNDED + disk.read.bytes.rate_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server: + type: tosca.capabilities.OperatingSystem + occurrences: + - 1 + - UNBOUNDED + disk.write.bytes.rate_pd_server: + 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_pd_server_pd01_port2: + 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_pd_server_pd01_port1: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server_pd01_port2: + 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_pd_server_pd01_port1: + 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_pd_server: + 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_pd_server: + 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_pd_server_pd01_port1: + 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_pd_server: + 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_pd_server: + 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_pd_server_pd01_port2: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server: + type: tosca.capabilities.Endpoint.Admin + occurrences: + - 1 + - UNBOUNDED + disk.capacity_pd_server: + 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_pd_server_pd01_port1: + 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_pd_server: + 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_pd_server: + 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_pd_server_pd01_port2: + 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_pd_server_pd01_port2: + 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_pd_server: + type: tosca.capabilities.network.Bindable + occurrences: + - 1 + - UNBOUNDED + disk.read.requests_pd_server: + 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_pd_server_pd01_port1: + 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_pd_server_pd01_port2: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + feature_pd_server_pd01_port1: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + feature_pd_server: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + disk.usage_pd_server: + 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_pd_server_pd01_port2: + 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_pd_server_pd01_port1: + 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_pd_server: + 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_pd_server_pd01_port1: + type: tosca.capabilities.network.Bindable + valid_source_types: + - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + occurrences: + - 0 + - UNBOUNDED + binding_pd_server_pd01_port2: + 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_pd_server: + 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_pd_server_pd01_port1: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server_pd01_port2: + 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_pd_server_pd01_port1: + 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_pd_server: + 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_pd_server_pd01_port2: + 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_pd_server: + 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_pd_server: + type: tosca.capabilities.Container + valid_source_types: + - tosca.nodes.SoftwareComponent + occurrences: + - 1 + - UNBOUNDED + disk.write.requests.rate_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server: + 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_pd_server_pd01_port2: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED + disk.latency_pd_server: + 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_pd_server: + 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_pd_server_pd01_port1: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED + disk.device.iops_pd_server: + 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/singleSubstitution/computewithtwosameporttypes4/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/out/MainServiceTemplate.yaml new file mode 100644 index 0000000000..1037ae47b7 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/out/MainServiceTemplate.yaml @@ -0,0 +1,478 @@ +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: + pd_flavor_name: + label: PD flavor name + hidden: false + immutable: false + type: string + description: flavor name of PD instance + default: m3.xlarge + availabilityzone_name: + label: availabilityzone name + hidden: false + immutable: false + type: string + description: availabilityzone name + default: nova + repl_net_ips: + label: repl network ips + hidden: false + immutable: false + type: list + description: ips of repl network + default: + - 107.239.33.57 + - 107.239.33.58 + entry_schema: + type: string + sl_net_name: + label: silver lining network name + hidden: false + immutable: false + type: string + description: id of the sl network + default: exn_protected_net_0 + pd_image_name: + label: image name + hidden: false + immutable: false + type: string + description: PD image name + default: MOG_BASE_8.0 + pd_server_names: + label: PD server names + hidden: false + immutable: false + type: list + description: name of the PD instance + default: + - ZRDM1MOGX01MPD001 + - ZRDM1MOGX01MPD002 + entry_schema: + type: string + sm_server_names: + label: SM server names + hidden: false + immutable: false + type: list + description: name of the SM instance + default: + - ZRDM1MOGX01MSM001 + - ZRDM1MOGX01MSM002 + entry_schema: + type: string + dummy_net_netmask_1: + hidden: false + immutable: false + type: string + description: CSB internal network subnet mask + default: 255.255.255.0 + dummy_net_netmask_0: + hidden: false + immutable: false + type: string + description: CSB internal network subnet mask + default: 255.255.255.0 + ran_net_floating_ip: + label: mog ran net virtual ip + hidden: false + immutable: false + type: string + description: mog ran net virtual ip + default: 107.239.36.5 + ran_net_ips: + label: RAN network ips + hidden: false + immutable: false + type: list + description: RAN network ip + default: + - 107.239.36.3 + - 107.239.36.4 + entry_schema: + type: string + dummy_net_end_0: + label: csb internal end + hidden: false + immutable: false + type: string + description: csb internal end + default: 169.254.1.254 + oam_image_name: + label: image name + hidden: false + immutable: false + type: string + description: OAM image name + default: MOG_BASE_8.0 + dummy_net_end_1: + label: csb internal end + hidden: false + immutable: false + type: string + description: csb internal end + default: 169.254.2.254 + oam_net_name: + label: oam network name + hidden: false + immutable: false + type: string + description: name of the oam network + default: oam_protected_net_0 + oam_net_ips: + label: internet network ips + hidden: false + immutable: false + type: list + description: ip of the OAM network + default: + - 107.250.172.213 + - 107.250.172.214 + - 107.250.172.215 + - 107.250.172.216 + - 107.250.172.217 + entry_schema: + type: string + ran_net_name: + label: RAN network name + hidden: false + immutable: false + type: string + description: RAN network name + default: gn_direct_net_0 + cluster-manager-vol-1: + label: mog-cm-vol-1 + hidden: false + immutable: false + type: string + description: Cluster Manager volume 1 + default: 43ccf5ba-2d50-427b-a38f-e8c7d8670eee + csb_net_netmask: + hidden: false + immutable: false + type: string + description: CSB internal network subnet mask + default: 255.255.255.0 + oam_flavor_name: + label: OAM flavor name + hidden: false + immutable: false + type: string + description: flavor name of OAM instance + default: m3.xlarge + dummy_net_start_0: + label: csb internal start + hidden: false + immutable: false + type: string + description: csb internal start + default: 169.254.1.4 + dummy_net_start_1: + label: csb internal start + hidden: false + immutable: false + type: string + description: csb internal start + default: 169.254.2.4 + cm_flavor_name: + label: CM flavor name + hidden: false + immutable: false + type: string + description: flavor name of CM instance + default: m3.xlarge + sm_image_name: + label: image name + hidden: false + immutable: false + type: string + description: SM image name + default: MOG_BASE_8.0 + ps_server_names: + label: PS server names + hidden: false + immutable: false + type: list + description: name of the PS instance + default: + - ZRDM1MOGX01MPS001 + - ZRDM1MOGX01MPS002 + - ZRDM1MOGX01MPS003 + - ZRDM1MOGX01MPS004 + entry_schema: + type: string + csb_net_ips: + hidden: false + immutable: false + type: list + description: mog_csb_net IP addresses + default: + - 172.26.0.10 + - 172.26.0.11 + - 172.26.0.12 + - 172.26.0.13 + - 172.26.0.14 + - 172.26.0.15 + - 172.26.0.16 + - 172.26.0.17 + - 172.26.0.18 + - 172.26.0.19 + - 172.26.0.20 + entry_schema: + type: string + ps_flavor_name: + label: PS flavor name + hidden: false + immutable: false + type: string + description: flavor name of PS instance + default: m3.xlarge + rx_net_ips: + label: Rx network ips + hidden: false + immutable: false + type: list + description: Rx network ips + default: + - 107.239.34.3 + - 107.239.34.4 + entry_schema: + type: string + dummy_net_name_1: + label: csb internal network name + hidden: false + immutable: false + type: string + description: csb internal network name + default: mog_dummy_1 + dummy_net_cidr_1: + label: csb ineternal cidr + hidden: false + immutable: false + type: string + description: csb internal cidr + default: 169.254.2.0/24 + dummy_net_name_0: + label: csb internal network name + hidden: false + immutable: false + type: string + description: csb internal network name + default: mog_dummy_0 + dummy_net_cidr_0: + label: csb ineternal cidr + hidden: false + immutable: false + type: string + description: csb internal cidr + default: 169.254.1.0/24 + oam-vol-2: + label: mog-oam-vol-2 + hidden: false + immutable: false + type: string + description: OAM volume 2 + default: 6d169cb6-6ddc-41dc-920c-2839898a2924 + sl_net_floating_ip: + label: mog sl net virtual ip + hidden: false + immutable: false + type: string + description: mog sl net virtual ip + default: 107.239.45.6 + session-manager-vol-1: + label: mog-sm-vol-1 + hidden: false + immutable: false + type: string + description: Session Manager volume 1 + default: 49201898-333d-4c88-b58d-cf573b091633 + rx_net_floating_ip: + label: mog rx net virtual ip + hidden: false + immutable: false + type: string + description: mog rx net virtual ip + default: 107.239.34.5 + session-manager-vol-2: + label: mog-sm-vol-2 + hidden: false + immutable: false + type: string + description: Session Manager volume 2 + default: 4c35b5f1-ce99-4220-a6e2-cda6e2d713a0 + oam-vol-1: + label: mog-oam-vol-1 + hidden: false + immutable: false + type: string + description: OAM volume 1 + default: 0a7fcd9e-2624-401d-ac21-b0191f85ec77 + csb_net_start: + label: csb internal start + hidden: false + immutable: false + type: string + description: csb internal start + default: 172.26.0.1 + cm_image_name: + label: image name + hidden: false + immutable: false + type: string + description: CM image name + default: MOG_BASE_8.0 + sm_flavor_name: + label: SM flavor name + hidden: false + immutable: false + type: string + description: flavor name of SM instance + default: m2.xlarge4 + ps_image_name: + label: PS image name + hidden: false + immutable: false + type: string + description: PS image name + default: MOG_BASE_8.0 + oam_server_names: + label: OAM server names + hidden: false + immutable: false + type: list + description: name of the OAM instance + default: + - ZRDM1MOGX01OAM001 + - ZRDM1MOGX01OAM002 + entry_schema: + type: string + csb_net_cidr: + label: csb ineternal cidr + hidden: false + immutable: false + type: string + description: csb internal cidr + default: 172.26.0.0/24 + cm_server_names: + label: CM server names + hidden: false + immutable: false + type: list + description: name of the CM instance + default: + - ZRDM1MOGX01MCM001 + entry_schema: + type: string + sl_net_ips: + label: silver lining network ips + hidden: false + immutable: false + type: list + description: ips of the sl network + default: + - 107.239.45.4 + - 107.239.45.5 + entry_schema: + type: string + rx_net_name: + label: Rx network name + hidden: false + immutable: false + type: string + description: Rx network name + default: cor_direct_net_1 + repl_net_name: + label: Replication network name + hidden: false + immutable: false + type: string + description: name of the replication network + default: cor_direct_net_0 + security_group_name: + label: security group name + hidden: false + immutable: false + type: string + description: the name of security group + default: mog_security_group + csb_net_end: + label: csb internal end + hidden: false + immutable: false + type: string + description: csb internal end + default: 172.26.0.254 + csb_net_name: + label: csb internal network name + hidden: false + immutable: false + type: string + description: csb internal network name + default: int_mog_csb_net + node_templates: + abstract_pd_server: + type: org.openecomp.resource.abstract.nodes.pd_server + directives: + - substitutable + properties: + port_pd01_port1_network: + - get_input: oam_net_name + port_pd01_port1_network_role_tag: oam + port_pd01_port1_mac_requirements: + mac_count_required: + is_required: false + port_pd01_port2_network: + - get_input: oam_net_name + port_pd01_port2_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + compute_pd_server_availability_zone: + - get_input: availabilityzone_name + compute_pd_server_name: + - get_input: + - pd_server_names + - 0 + vm_flavor_name: + get_input: pd_flavor_name + port_pd01_port1_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + port_pd01_port2_network_role_tag: oam + port_pd01_port2_mac_requirements: + mac_count_required: + is_required: false + vm_image_name: + get_input: pd_image_name + compute_pd_server_user_data_format: + - RAW + service_template_filter: + substitute_service_template: Nested_pd_serverServiceTemplate.yaml + count: 1 + index_value: + get_property: + - SELF + - service_template_filter + - index_value + groups: + hot-mog-0108-bs1271_group: + type: org.openecomp.groups.heat.HeatStack + properties: + heat_file: ../Artifacts/hot-mog-0108-bs1271.yml + description: heat template that creates MOG stack + members: + - abstract_pd_server diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/out/Nested_pd_serverServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/out/Nested_pd_serverServiceTemplate.yaml new file mode 100644 index 0000000000..5bbc5b78f2 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computewithtwosameporttypes4/out/Nested_pd_serverServiceTemplate.yaml @@ -0,0 +1,394 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +metadata: + template_name: Nested_pd_server +imports: +- openecomp_heat_index: + file: openecomp-heat/_index.yml +- GlobalSubstitutionTypes: + file: GlobalSubstitutionTypesServiceTemplate.yaml +node_types: + org.openecomp.resource.vfc.compute.nodes.heat.pd_server: + derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server +topology_template: + inputs: + port_pd01_port1_network: + type: list + required: true + entry_schema: + type: string + port_pd01_port1_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_pd01_port1_network_role_tag: + type: string + required: true + port_pd01_port1_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_pd01_port2_network: + type: list + required: true + entry_schema: + type: string + port_pd01_port2_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + index_value: + type: integer + description: Index value of this substitution service template runtime instance + required: false + default: 0 + constraints: + - greater_or_equal: 0 + compute_pd_server_availability_zone: + type: list + required: true + entry_schema: + type: string + compute_pd_server_name: + type: list + required: true + entry_schema: + type: string + port_pd01_port1_subnetpoolid: + type: string + required: true + port_pd01_port2_subnetpoolid: + type: string + required: true + port_pd01_port2_network_role: + type: string + required: true + vm_flavor_name: + type: string + required: true + port_pd01_port1_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_pd01_port1_order: + type: integer + required: true + port_pd01_port2_network_role_tag: + type: string + required: true + port_pd01_port1_network_role: + type: string + required: true + port_pd01_port2_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_pd01_port2_order: + type: integer + required: true + port_pd01_port1_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + vm_image_name: + type: string + required: true + port_pd01_port2_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd01_port2_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + compute_pd_server_user_data_format: + type: list + required: true + entry_schema: + type: string + node_templates: + pd_server_pd01_port1: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + exCP_naming: + get_input: port_pd01_port1_exCP_naming + vlan_requirements: + get_input: port_pd01_port1_vlan_requirements + ip_requirements: + get_input: port_pd01_port1_ip_requirements + network_role_tag: + get_input: port_pd01_port1_network_role_tag + mac_requirements: + get_input: port_pd01_port1_mac_requirements + order: + get_input: port_pd01_port1_order + network_role: + get_input: port_pd01_port1_network_role + subnetpoolid: + get_input: port_pd01_port1_subnetpoolid + network: + get_input: + - port_pd01_port1_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: pd_server + relationship: tosca.relationships.network.BindsTo + pd_server: + type: org.openecomp.resource.vfc.compute.nodes.heat.pd_server + properties: + availability_zone: + get_input: + - compute_pd_server_availability_zone + - index_value + flavor: + get_input: vm_flavor_name + image: + get_input: vm_image_name + name: + get_input: + - compute_pd_server_name + - index_value + user_data_format: + get_input: + - compute_pd_server_user_data_format + - index_value + pd_server_pd01_port2: + type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + properties: + exCP_naming: + get_input: port_pd01_port2_exCP_naming + vlan_requirements: + get_input: port_pd01_port2_vlan_requirements + ip_requirements: + get_input: port_pd01_port2_ip_requirements + network_role_tag: + get_input: port_pd01_port2_network_role_tag + mac_requirements: + get_input: port_pd01_port2_mac_requirements + order: + get_input: port_pd01_port2_order + network_role: + get_input: port_pd01_port2_network_role + subnetpoolid: + get_input: port_pd01_port2_subnetpoolid + network: + get_input: + - port_pd01_port2_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: pd_server + relationship: tosca.relationships.network.BindsTo + substitution_mappings: + node_type: org.openecomp.resource.abstract.nodes.pd_server + capabilities: + scalable_pd_server: + - pd_server + - scalable + disk.read.bytes.rate_pd_server: + - pd_server + - disk.read.bytes.rate + memory.usage_pd_server: + - pd_server + - memory.usage + memory_pd_server: + - pd_server + - memory + disk.device.usage_pd_server: + - pd_server + - disk.device.usage + os_pd_server: + - pd_server + - os + disk.write.bytes.rate_pd_server: + - pd_server + - disk.write.bytes.rate + network.outpoing.packets_pd_server_pd01_port2: + - pd_server_pd01_port2 + - network.outpoing.packets + network.outpoing.packets_pd_server_pd01_port1: + - pd_server_pd01_port1 + - network.outpoing.packets + cpu_pd_server: + - pd_server + - cpu + cpu_util_pd_server: + - pd_server + - cpu_util + disk.device.write.requests.rate_pd_server: + - pd_server + - disk.device.write.requests.rate + disk.read.bytes_pd_server: + - pd_server + - disk.read.bytes + network.incoming.bytes_pd_server_pd01_port2: + - pd_server_pd01_port2 + - network.incoming.bytes + network.incoming.bytes_pd_server_pd01_port1: + - pd_server_pd01_port1 + - network.incoming.bytes + disk.device.read.bytes.rate_pd_server: + - pd_server + - disk.device.read.bytes.rate + disk.iops_pd_server: + - pd_server + - disk.iops + network.outgoing.bytes_pd_server_pd01_port1: + - pd_server_pd01_port1 + - network.outgoing.bytes + memory.resident_pd_server: + - pd_server + - memory.resident + cpu.delta_pd_server: + - pd_server + - cpu.delta + network.outgoing.bytes_pd_server_pd01_port2: + - pd_server_pd01_port2 + - network.outgoing.bytes + vcpus_pd_server: + - pd_server + - vcpus + disk.device.write.bytes.rate_pd_server: + - pd_server + - disk.device.write.bytes.rate + disk.device.write.requests_pd_server: + - pd_server + - disk.device.write.requests + endpoint_pd_server: + - pd_server + - endpoint + disk.capacity_pd_server: + - pd_server + - disk.capacity + network.outgoing.packets.rate_pd_server_pd01_port1: + - pd_server_pd01_port1 + - network.outgoing.packets.rate + disk.device.allocation_pd_server: + - pd_server + - disk.device.allocation + disk.allocation_pd_server: + - pd_server + - disk.allocation + network.outgoing.packets.rate_pd_server_pd01_port2: + - pd_server_pd01_port2 + - network.outgoing.packets.rate + network.incoming.packets_pd_server_pd01_port2: + - pd_server_pd01_port2 + - network.incoming.packets + binding_pd_server: + - pd_server + - binding + disk.read.requests_pd_server: + - pd_server + - disk.read.requests + network.incoming.packets_pd_server_pd01_port1: + - pd_server_pd01_port1 + - network.incoming.packets + feature_pd_server_pd01_port2: + - pd_server_pd01_port2 + - feature + feature_pd_server_pd01_port1: + - pd_server_pd01_port1 + - feature + feature_pd_server: + - pd_server + - feature + disk.usage_pd_server: + - pd_server + - disk.usage + network.outgoing.bytes.rate_pd_server_pd01_port2: + - pd_server_pd01_port2 + - network.outgoing.bytes.rate + network.outgoing.bytes.rate_pd_server_pd01_port1: + - pd_server_pd01_port1 + - network.outgoing.bytes.rate + disk.write.bytes_pd_server: + - pd_server + - disk.write.bytes + binding_pd_server_pd01_port1: + - pd_server_pd01_port1 + - binding + binding_pd_server_pd01_port2: + - pd_server_pd01_port2 + - binding + disk.device.read.requests.rate_pd_server: + - pd_server + - disk.device.read.requests.rate + network.incoming.packets.rate_pd_server_pd01_port1: + - pd_server_pd01_port1 + - network.incoming.packets.rate + disk.root.size_pd_server: + - pd_server + - disk.root.size + disk.device.read.bytes_pd_server: + - pd_server + - disk.device.read.bytes + disk.device.write.bytes_pd_server: + - pd_server + - disk.device.write.bytes + network.incoming.packets.rate_pd_server_pd01_port2: + - pd_server_pd01_port2 + - network.incoming.packets.rate + network.incoming.bytes.rate_pd_server_pd01_port1: + - pd_server_pd01_port1 + - network.incoming.bytes.rate + disk.device.read.requests_pd_server: + - pd_server + - disk.device.read.requests + network.incoming.bytes.rate_pd_server_pd01_port2: + - pd_server_pd01_port2 + - network.incoming.bytes.rate + instance_pd_server: + - pd_server + - instance + host_pd_server: + - pd_server + - host + disk.write.requests.rate_pd_server: + - pd_server + - disk.write.requests.rate + disk.ephemeral.size_pd_server: + - pd_server + - disk.ephemeral.size + disk.write.requests_pd_server: + - pd_server + - disk.write.requests + disk.device.latency_pd_server: + - pd_server + - disk.device.latency + attachment_pd_server_pd01_port2: + - pd_server_pd01_port2 + - attachment + disk.latency_pd_server: + - pd_server + - disk.latency + disk.device.capacity_pd_server: + - pd_server + - disk.device.capacity + attachment_pd_server_pd01_port1: + - pd_server_pd01_port1 + - attachment + disk.device.iops_pd_server: + - pd_server + - disk.device.iops + requirements: + dependency_pd_server_pd01_port1: + - pd_server_pd01_port1 + - dependency + local_storage_pd_server: + - pd_server + - local_storage + dependency_pd_server: + - pd_server + - dependency + dependency_pd_server_pd01_port2: + - pd_server_pd01_port2 + - dependency + link_pd_server_pd01_port2: + - pd_server_pd01_port2 + - link + link_pd_server_pd01_port1: + - pd_server_pd01_port1 + - link -- cgit 1.2.3-korg