diff options
author | 2017-11-05 17:14:25 +0200 | |
---|---|---|
committer | 2017-11-05 15:39:16 +0000 | |
commit | 7b492b5f191cd5c22e3c4254f5f3ef7476122e9d (patch) | |
tree | 883406afe9451ee6389ab9033021e528f2c9813a /openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/base_vIECCF_volume.yml | |
parent | d059aeab877b4217e05dff07fdbaf61bf6c1a73e (diff) |
Port scaling not working properly
Made changes in evaluating port naming pattern.
Change-Id: If9a3fc9c3d50fa5c4da319d2ff7d5f8ce6ca8ffe
Issue-ID: SDC-573
Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/base_vIECCF_volume.yml')
1 files changed, 139 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/catalogInstances/computewithtwosameporttypes/in/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} |