diff options
author | Konrad Bańka <k.banka@samsung.com> | 2020-03-06 09:24:23 +0100 |
---|---|---|
committer | Konrad Bańka <k.banka@samsung.com> | 2020-03-13 14:07:49 +0100 |
commit | a1ffe0ce52a4efa1ed56474417aa525d60518a5b (patch) | |
tree | 6e9cc4feb917a93d8a228d154a6cdf38068b91b0 /heat/vFW_CNF_CDS/templates/cba/Templates/vnf-template.vtl | |
parent | 523796ad09130868e8e31e942cd4d9712eb75934 (diff) |
Simplify CBA by removing unnecessary variables
Change scope:
- demo_artifacts_version - default on vnf level, removed vf-module level
- install_script_version - removed
- *image_name - removed
- public_net_id - removed
- key_name - removed
- pub_key - removed
- *flavor_name - removed
- sec_group - removed
- nfc-naming-code - removed
- cloud_env - removed
- nexus_artifact_repo - removed
- *cidr - removed, where applicable
- *ip - removed, where applicable
- dcae* - moved to vnf level
- aic-cloud-region - removed on vf-module level
- vnf_name - removed on base-template level
- vf-module-type - removed
- vnfc-model-version - removed
- vnfc-model-invariant-uuid - removed
- vfccustomizationuuid - removed
- vf-module-id - removed from template result
- service-instance-id - removed from template result
- vnf_name - removed and vf-module level
- vf-module-model-customization-uuid - removed from template result
- vf-module-model-version - removed from template result
- vf-module-model-invariant-uuid - removed from template result
- vnf-model-customization-uuid - removed at vf-module-level
and few other minor tweaks including updating dataDict and enrichment
Issue-ID: INT-1260
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: Ica6073d0270da9d5ff0f0e544a9b329f66d9b5bb
Diffstat (limited to 'heat/vFW_CNF_CDS/templates/cba/Templates/vnf-template.vtl')
-rw-r--r-- | heat/vFW_CNF_CDS/templates/cba/Templates/vnf-template.vtl | 122 |
1 files changed, 4 insertions, 118 deletions
diff --git a/heat/vFW_CNF_CDS/templates/cba/Templates/vnf-template.vtl b/heat/vFW_CNF_CDS/templates/cba/Templates/vnf-template.vtl index 3e235e26..7acdc544 100644 --- a/heat/vFW_CNF_CDS/templates/cba/Templates/vnf-template.vtl +++ b/heat/vFW_CNF_CDS/templates/cba/Templates/vnf-template.vtl @@ -97,32 +97,6 @@ { "output-key-mapping": [ { - "resource-name": "onap_private_gw_ip", - "resource-value": "${onap_private_gw_ip}" - } - ], - "payload": [ - { - "param-name": "service-instance-id", - "param-value": "${service-instance-id}" - }, - { - "param-name": "prefix-id", - "param-value": "${management-prefix-id}" - }, - { - "param-name": "vnf-id", - "param-value": "${vnf-id}" - }, - { - "param-name": "external_key", - "param-value": "${vnf-id}-onap_private_gw_ip" - } - ] - }, - { - "output-key-mapping": [ - { "resource-name": "vfw_int_private2_ip_0", "resource-value": "${vfw_int_private2_ip_0}" } @@ -175,32 +149,6 @@ { "output-key-mapping": [ { - "resource-name": "vfw_int_private2_floating_ip", - "resource-value": "${vfw_int_private2_floating_ip}" - } - ], - "payload": [ - { - "param-name": "service-instance-id", - "param-value": "${service-instance-id}" - }, - { - "param-name": "prefix-id", - "param-value": "${private1-prefix-id}" - }, - { - "param-name": "vnf-id", - "param-value": "${vnf-id}" - }, - { - "param-name": "external_key", - "param-value": "${vnf-id}-vfw_int_private2_floating_ip" - } - ] - }, - { - "output-key-mapping": [ - { "resource-name": "vsn_int_private2_ip_0", "resource-value": "${vsn_int_private2_ip_0}" } @@ -227,32 +175,6 @@ { "output-key-mapping": [ { - "resource-name": "vpg_onap_private_ip_0", - "resource-value": "${vpg_onap_private_ip_0}" - } - ], - "payload": [ - { - "param-name": "service-instance-id", - "param-value": "${service-instance-id}" - }, - { - "param-name": "prefix-id", - "param-value": "${management-prefix-id}" - }, - { - "param-name": "vnf-id", - "param-value": "${vnf-id}" - }, - { - "param-name": "external_key", - "param-value": "${vnf-id}-vpg_onap_private_ip_0" - } - ] - }, - { - "output-key-mapping": [ - { "resource-name": "vpg_int_private1_ip_0", "resource-value": "${vpg_int_private1_ip_0}" } @@ -306,32 +228,16 @@ ], "resource-accumulator-resolved-data": [ { - "param-name": "service-instance-id", - "param-value": "${service-instance-id}" - }, - { - "param-name": "vnf-model-customization-uuid", - "param-value": "${vnf-model-customization-uuid}" - }, - { - "param-name": "aic-cloud-region", - "param-value": "${aic-cloud-region}" - }, - { "param-name": "vf-naming-policy", "param-value": "${vf-naming-policy}" }, { - "param-name": "image_name", - "param-value": "${image_name}" - }, - { - "param-name": "flavor_name", - "param-value": "${flavor_name}" + "param-name": "dcae_collector_ip", + "param-value": "${dcae_collector_ip}" }, { - "param-name": "public_net_id", - "param-value": "${public_net_id}" + "param-name": "dcae_collector_port", + "param-value": "${dcae_collector_port}" }, { "param-name": "int_private1_net_cidr", @@ -350,26 +256,6 @@ "param-value": "${demo_artifacts_version}" }, { - "param-name": "install_script_version", - "param-value": "${install_script_version}" - }, - { - "param-name": "pub_key", - "param-value": "${pub_key}" - }, - { - "param-name": "cloud_env", - "param-value": "${cloud_env}" - }, - { - "param-name": "sec_group", - "param-value": "${sec_group}" - }, - { - "param-name": "nexus_artifact_repo", - "param-value": "${nexus_artifact_repo}" - }, - { "param-name": "k8s-rb-profile-name", "param-value": "${k8s-rb-profile-name}" }, |