X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=heat%2FvCPE%2Fvgmux%2Fbase_vcpe_vgmux.yaml;h=5b9ce8ecf19ff34e8512aa96e3590130b1b63f16;hb=314c0c1e45bc6a4c1ae0e7c030ebbf51b80abb35;hp=2bbf65c7739366a9b94896b09c06824525225b38;hpb=b2c608a794d454fffc738e691919fddf5ca1578b;p=demo.git diff --git a/heat/vCPE/vgmux/base_vcpe_vgmux.yaml b/heat/vCPE/vgmux/base_vcpe_vgmux.yaml index 2bbf65c7..5b9ce8ec 100644 --- a/heat/vCPE/vgmux/base_vcpe_vgmux.yaml +++ b/heat/vCPE/vgmux/base_vcpe_vgmux.yaml @@ -24,7 +24,7 @@ heat_template_version: 2013-05-23 -description: Heat template to build vCPE Infrastructue Metro vGMUX +description: Heat template to build vCPE Infrastructure Metro vGMUX ############## # # @@ -185,7 +185,7 @@ resources: type: OS::Neutron::Port properties: network: { get_param: mux_gw_private_net_id } - fixed_ips: [{"subnet": { get_param: mux_gw_private_subnet_id }, "ip_address": { get_param: vgmux_private_ip_2 }}] + fixed_ips: [{"subnet": { get_param: mux_gw_private_subnet_id }, "ip_address": { get_param: vgmux_private_ip_2 }}] vgmux_0: type: OS::Nova::Server @@ -204,16 +204,16 @@ resources: user_data: str_replace: params: - __mux_to_bng_net_ipaddr__ : { get_param: vgmux_private_ip_0 } - __oam_ipaddr__ : { get_param: vgmux_private_ip_1 } - __mux_gw_net_ipaddr__ : { get_param: vgmux_private_ip_2 } - __bng_to_mux_ipaddr__ : { get_param: bng_gmux_private_ip } - __bng_mux_net_cidr__ : { get_param: bng_gmux_private_net_cidr } - __oam_cidr__ : { get_param: onap_private_net_cidr } - __mux_gw_net_cidr__ : { get_param: mux_gw_private_net_cidr } - __brg_bng_net_cidr__ : { get_param: brgemu_bng_private_net_cidr } - __script_version__ : { get_param: script_version } - __cloud_env__ : { get_param: cloud_env } + __mux_to_bng_net_ipaddr__: { get_param: vgmux_private_ip_0 } + __oam_ipaddr__: { get_param: vgmux_private_ip_1 } + __mux_gw_net_ipaddr__: { get_param: vgmux_private_ip_2 } + __bng_to_mux_ipaddr__: { get_param: bng_gmux_private_ip } + __bng_mux_net_cidr__: { get_param: bng_gmux_private_net_cidr } + __oam_cidr__: { get_param: onap_private_net_cidr } + __mux_gw_net_cidr__: { get_param: mux_gw_private_net_cidr } + __brg_bng_net_cidr__: { get_param: brgemu_bng_private_net_cidr } + __script_version__: { get_param: script_version } + __cloud_env__: { get_param: cloud_env } __nexus_artifact_repo__: { get_param: nexus_artifact_repo } template: | #!/bin/bash @@ -233,6 +233,7 @@ resources: echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt # Download and run install script + apt-get update apt-get -y install unzip if [[ "__script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vcpe&a=vcpe-scripts&e=zip&v=__script_version__" -o /opt/vcpe-scripts-__script_version__.zip