diff options
author | 2018-08-06 11:25:37 +0300 | |
---|---|---|
committer | 2018-08-06 11:46:15 +0000 | |
commit | b503f5b618a0c14b91714bb32de69f0957ab1f03 (patch) | |
tree | df9d751581d67645fc6f86fe4039c8ea43deab3a /openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/resources/org/openecomp/validation/validators/heat_validator/generated_artifact_exist/negative_test/input/base_vIECCF_volume.yml | |
parent | aa8057fa429db6852a86ad217a641bb2bf12123c (diff) |
Add HEAT validation for generated artifacts
Add heat validation for generated artifacts,
like vendor-license-model.xml, vf-license-model.xml, HEAT.meta
Change-Id: Ie256b19679b5aebea1290f6b3f67692dfad5e980
Issue-ID: SDC-1600
Signed-off-by: eleonorali <eleonoral@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/resources/org/openecomp/validation/validators/heat_validator/generated_artifact_exist/negative_test/input/base_vIECCF_volume.yml')
1 files changed, 210 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/resources/org/openecomp/validation/validators/heat_validator/generated_artifact_exist/negative_test/input/base_vIECCF_volume.yml b/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/resources/org/openecomp/validation/validators/heat_validator/generated_artifact_exist/negative_test/input/base_vIECCF_volume.yml new file mode 100644 index 0000000000..b21379b47d --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/resources/org/openecomp/validation/validators/heat_validator/generated_artifact_exist/negative_test/input/base_vIECCF_volume.yml @@ -0,0 +1,210 @@ +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 +## 06/23/2017 +## - Updated vCCF package from Nokia to add output parameter for OAM IP address +## 07/05/2017 +## - Modified servicedata2 and app volume sizes to include space for eccfdata and incoming4cdrsch +## 11/16/2017 +## - Nokia update to replace ':' in VIP port names with '_' +## 01/08/2018 +## - Address AAP issue +## 06/06/2018 +## - Nokia update to the template package for CR418 (internal security group creation in the template) +## - Includes updates to comply with the 1Q2018 AT&T Heat guidelines + + +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_2: + type: OS::Cinder::Volume + properties: + size: { get_param: plt_servicedata2_volume_size_0 } + name: + str_replace: + template: $vnf_name-plt_volume_2 + 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 + + app_volume_3: + type: OS::Cinder::Volume + properties: + size: { get_param: app_volume_size_0 } + name: + str_replace: + template: $vnf_name-app_volume_3 + params: + $vnf_name: + get_param: vnf_name + + app_volume_4: + type: OS::Cinder::Volume + properties: + size: { get_param: app_volume_size_0 } + name: + str_replace: + template: $vnf_name-app_volume_4 + params: + $vnf_name: + get_param: vnf_name + + app_volume_5: + type: OS::Cinder::Volume + properties: + size: { get_param: app_volume_size_0 } + name: + str_replace: + template: $vnf_name-app_volume_5 + params: + $vnf_name: + get_param: vnf_name + + app_volume_6: + type: OS::Cinder::Volume + properties: + size: { get_param: app_volume_size_0 } + name: + str_replace: + template: $vnf_name-app_volume_6 + params: + $vnf_name: + get_param: vnf_name + +outputs: + plt_volume_shared_id_0: + description: ServiceData2 volume for plt VMs + value: {get_resource: plt_volume_2} + + 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} + + app_volume_id_3: + description: ServiceData1 volume for fourth app VM + value: {get_resource: app_volume_3} + + app_volume_id_4: + description: ServiceData1 volume for fifth app VM + value: {get_resource: app_volume_4} + + app_volume_id_5: + description: ServiceData1 volume for sixth app VM + value: {get_resource: app_volume_5} + + app_volume_id_6: + description: ServiceData1 volume for seventh app VM + value: {get_resource: app_volume_6} + |