aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@orange.com>2020-08-20 23:24:25 +0200
committerLukasz Rajewski <lukasz.rajewski@orange.com>2020-08-25 17:58:43 +0200
commite53a1e72467e8c272c48be0019fb7c06821a5f43 (patch)
tree3878414042e094270293456557b65502b9324376
parent0d52415e1bf52b2850eec9ff9a1d75fcf521fc91 (diff)
VNF Software Version parameter added to CDS Heat templates
VNF Software Version parameter added to CDS base heat templates. The purpose is to give a possibility to set the value of the software-version attribute in generic-vnf object in time of VNF instantiation. Change-Id: Ia8c6d446dd538fb8ee58e4504d62ac3f2edc71e6 Issue-ID: INT-1600 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
-rw-r--r--heat/vFW_CNF_CDS/templates/base/base_template.env1
-rw-r--r--heat/vFW_CNF_CDS/templates/base/base_template.yaml5
-rw-r--r--heat/vFW_NextGen/templates/base_template.env3
-rw-r--r--heat/vFW_NextGen/templates/base_template.yaml5
-rw-r--r--heat/vLB_CDS/base_template.env1
-rw-r--r--heat/vLB_CDS/base_template.yaml5
6 files changed, 19 insertions, 1 deletions
diff --git a/heat/vFW_CNF_CDS/templates/base/base_template.env b/heat/vFW_CNF_CDS/templates/base/base_template.env
index 16d0a6aa..c904a66e 100644
--- a/heat/vFW_CNF_CDS/templates/base/base_template.env
+++ b/heat/vFW_CNF_CDS/templates/base/base_template.env
@@ -2,3 +2,4 @@ parameters:
vnf_name: vFW_CDS_CNF
vnf_id: vFirewall_demo_app
vf_module_id: vFirewallNet
+ vnf_software_version: 1.0.0 \ No newline at end of file
diff --git a/heat/vFW_CNF_CDS/templates/base/base_template.yaml b/heat/vFW_CNF_CDS/templates/base/base_template.yaml
index fbcf1810..8d796e95 100644
--- a/heat/vFW_CNF_CDS/templates/base/base_template.yaml
+++ b/heat/vFW_CNF_CDS/templates/base/base_template.yaml
@@ -45,6 +45,11 @@ parameters:
type: string
label: VF Module ID
description: The VF Module ID is provided by ONAP
+ vnf_software_version:
+ type: string
+ label: VNF software version
+ description: VNF software version
+ default: 1.0.0
#############
# #
diff --git a/heat/vFW_NextGen/templates/base_template.env b/heat/vFW_NextGen/templates/base_template.env
index 0a69e08d..56230ea2 100644
--- a/heat/vFW_NextGen/templates/base_template.env
+++ b/heat/vFW_NextGen/templates/base_template.env
@@ -2,4 +2,5 @@ parameters:
int_private1_net_cidr: 192.168.10.0/24
int_private2_net_cidr: 192.168.20.0/24
pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN
- vnf_name: vFW_NextGen \ No newline at end of file
+ vnf_name: vFW_NextGen
+ vnf_software_version: 1.0.0 \ No newline at end of file
diff --git a/heat/vFW_NextGen/templates/base_template.yaml b/heat/vFW_NextGen/templates/base_template.yaml
index 47dce5e7..9b53d784 100644
--- a/heat/vFW_NextGen/templates/base_template.yaml
+++ b/heat/vFW_NextGen/templates/base_template.yaml
@@ -48,6 +48,11 @@ parameters:
vnf_name:
type: string
description: VNF_NAME
+ vnf_software_version:
+ type: string
+ label: VNF software version
+ description: VNF software version
+ default: 1.0.0
#############
# #
diff --git a/heat/vLB_CDS/base_template.env b/heat/vLB_CDS/base_template.env
index 38c4e82c..c4db948a 100644
--- a/heat/vLB_CDS/base_template.env
+++ b/heat/vLB_CDS/base_template.env
@@ -13,6 +13,7 @@ parameters:
# METADATA
vnf_name: vLBMS
vnf_id: vLoadBalancer_demo_app
+ vnf_software_version: 1.0.0
# PRIVATE KEY
key_name: vlb_key
diff --git a/heat/vLB_CDS/base_template.yaml b/heat/vLB_CDS/base_template.yaml
index a171595f..512bc2df 100644
--- a/heat/vLB_CDS/base_template.yaml
+++ b/heat/vLB_CDS/base_template.yaml
@@ -58,6 +58,11 @@ parameters:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
+ vnf_software_version:
+ type: string
+ label: VNF software version
+ description: VNF software version
+ default: 1.0.0
vlb_0_int_pktgen_private_port_0_mac:
type: string
label: vLB MAC address