From 8c84bc3dfc530d0112a363ad09e41c43496aa4df Mon Sep 17 00:00:00 2001 From: Srivahni Date: Mon, 6 Nov 2017 16:08:35 -0800 Subject: Updated vGW env, yaml and install scripts Included mux_ip_addr and vg_vgmux_tunnel_vni parameters in the env file Included definitions for mux_ip_addr and vg_vgmux_tunnel_vni in the yaml file Change-Id: Ibbfca035e44f00094e5231bb3d21610e9b1c239c Issue-ID: INT-63 Signed-off-by: Srivahni --- heat/vCPE/vgw/base_vcpe_vgw.env | 2 ++ heat/vCPE/vgw/base_vcpe_vgw.yaml | 12 ++++++++++++ 2 files changed, 14 insertions(+) (limited to 'heat/vCPE') diff --git a/heat/vCPE/vgw/base_vcpe_vgw.env b/heat/vCPE/vgw/base_vcpe_vgw.env index f1cadb83..6f33138e 100644 --- a/heat/vCPE/vgw/base_vcpe_vgw.env +++ b/heat/vCPE/vgw/base_vcpe_vgw.env @@ -17,6 +17,8 @@ vgw_name_0: zdcpe1cpe01gw01 vnf_id: vCPE_Infrastructure_GW_demo_app vf_module_id: vCPE_Customer_GW + mux_ip_addr: 10.5.0.20 + vg_vgmux_tunnel_vni: 100 dcae_collector_ip: 10.0.4.102 dcae_collector_port: 8080 repo_url_blob: https://nexus.onap.org/content/sites/raw diff --git a/heat/vCPE/vgw/base_vcpe_vgw.yaml b/heat/vCPE/vgw/base_vcpe_vgw.yaml index 173ba6dd..c4b98760 100644 --- a/heat/vCPE/vgw/base_vcpe_vgw.yaml +++ b/heat/vCPE/vgw/base_vcpe_vgw.yaml @@ -157,6 +157,14 @@ parameters: type: string label: Honeycomb Source Git Branch description: Git Branch for the Honeycomb source codes + mux_ip_addr: + type: string + label: vGMUX IP address + description: IP address of vGMUX + vg_vgmux_tunnel_vni: + type: number + label: vG-vGMUX tunnel vni + description: vni value of vG-vGMUX vxlan tunnel ############# # # @@ -233,6 +241,8 @@ resources: __vpp_source_repo_branch__ : { get_param: vpp_source_repo_branch } __hc2vpp_source_repo_url__ : { get_param: hc2vpp_source_repo_url } __hc2vpp_source_repo_branch__ : { get_param: hc2vpp_source_repo_branch } + __mux_ip_addr__: { get_param: mux_ip_addr } + __vg_vgmux_tunnel_vni__: { get_param: vg_vgmux_tunnel_vni } template: | #!/bin/bash @@ -252,6 +262,8 @@ resources: echo "__vpp_source_repo_branch__" > /opt/config/vpp_source_repo_branch.txt echo "__hc2vpp_source_repo_url__" > /opt/config/hc2vpp_source_repo_url.txt echo "__hc2vpp_source_repo_branch__" > /opt/config/hc2vpp_source_repo_branch.txt + echo "__mux_ip_addr__" > /opt/config/mux_ip_addr.txt + echo "__vg_vgmux_tunnel_vni__" > /opt/config/vg_vgmux_tunnel_vni.txt # Download and run install script curl -k __repo_url_blob__/org.onap.demo/vnfs/vcpe/__install_script_version__/v_gw_install.sh -o /opt/v_gw_install.sh -- cgit 1.2.3-korg