aboutsummaryrefslogtreecommitdiffstats
path: root/heat/vCPE/vbrgemu/base_vcpe_vbrgemu.yaml
diff options
context:
space:
mode:
authorItohan <itohan.ukponmwan@intel.com>2017-10-27 22:45:04 -0700
committerItohan <itohan.ukponmwan@intel.com>2017-10-27 23:35:16 -0700
commitb03888f1399212e0ae63fe5f6074fcf45a281cbc (patch)
tree6800c3842159230a3ae95da3ff273771159d1b24 /heat/vCPE/vbrgemu/base_vcpe_vbrgemu.yaml
parent9ae5fe2676a7e44dac189158029e3025ae90496d (diff)
Included compile state in vbrg env and yaml files
Modified vbrg env file to include compile state Modified vbrg yaml file to pick compile state and automatically create /opt/config/compile_state.txt Change-Id: Ic49568142eedbd1a5f483c6d06424be864b52c0e Issue-ID: INT-63 Signed-off-by: Itohan <itohan.ukponmwan@intel.com>
Diffstat (limited to 'heat/vCPE/vbrgemu/base_vcpe_vbrgemu.yaml')
-rw-r--r--heat/vCPE/vbrgemu/base_vcpe_vbrgemu.yaml19
1 files changed, 12 insertions, 7 deletions
diff --git a/heat/vCPE/vbrgemu/base_vcpe_vbrgemu.yaml b/heat/vCPE/vbrgemu/base_vcpe_vbrgemu.yaml
index 192dfbfc..a7869950 100644
--- a/heat/vCPE/vbrgemu/base_vcpe_vbrgemu.yaml
+++ b/heat/vCPE/vbrgemu/base_vcpe_vbrgemu.yaml
@@ -59,10 +59,10 @@ parameters:
type: string
label: vBNG IN private network CIDR
description: The CIDR of the input side of vBNG private network
- #vbrgemu_private_net_id:
- # type: string
- # label: vBRGEMU Home private network name or ID
- # description: Private network that connects vBRGEMU to local devices
+ # vbrgemu_private_net_id:
+ # type: string
+ # label: vBRGEMU Home private network name or ID
+ # description: Private network that connects vBRGEMU to local devices
#vbrgemu_private_net_cidr:
# type: string
# label: vBRGEMU Home private network CIDR
@@ -138,8 +138,11 @@ parameters:
sdnc_ip:
type: string
label: SDNC ip address
- description: SDNC ip address uesd to set NAT
-
+ description: SDNC ip address used to set NAT
+ compile_state:
+ type: string
+ label: Compile State
+ description: State to compile code or not
#############
# #
# RESOURCES #
@@ -201,7 +204,7 @@ resources:
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vbrgemu_private_0_port }
- # - port: { get_resource: vbrgemu_private_1_port }
+ #- port: { get_resource: vbrgemu_private_1_port }
metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}
user_data_format: RAW
user_data:
@@ -221,6 +224,7 @@ resources:
__hc2vpp_source_repo_branch__ : { get_param: hc2vpp_source_repo_branch }
__vpp_patch_url__ : { get_param: vpp_patch_url }
__sdnc_ip__ : { get_param: sdnc_ip }
+ __compile_state__ : { get_param: compile_state }
template: |
#!/bin/bash
@@ -240,6 +244,7 @@ resources:
echo "__hc2vpp_source_repo_branch__" > /opt/config/hc2vpp_source_repo_branch.txt
echo "__vpp_patch_url__" > /opt/config/vpp_patch_url.txt
echo "__sdnc_ip__" > /opt/config/sdnc_ip.txt
+ echo "__compile_state__" > /opt/config/compile_state.txt
# Download and run install script
curl -k __repo_url_blob__/org.onap.demo/vnfs/vcpe/__install_script_version__/v_brgemu_install.sh -o /opt/v_brgemu_install.sh