diff options
Diffstat (limited to 'boot')
-rw-r--r-- | boot/robot_install.sh | 2 | ||||
-rw-r--r-- | boot/robot_vm_init.sh | 7 | ||||
-rwxr-xr-x | boot/vfc_vm_init.sh | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/boot/robot_install.sh b/boot/robot_install.sh index 70cf4b14..b17e9fc7 100644 --- a/boot/robot_install.sh +++ b/boot/robot_install.sh @@ -8,6 +8,7 @@ CLOUD_ENV=$(cat /opt/config/cloud_env.txt) GERRIT_BRANCH=$(cat /opt/config/gerrit_branch.txt) MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1) CODE_REPO=$(cat /opt/config/remote_repo.txt) +HEAT_CODE_REPO=http://gerrit.onap.org/r/demo.git # Short-term fix to get around MSO to SO name change cp /opt/config/so_ip_addr.txt /opt/config/mso_ip_addr.txt @@ -99,6 +100,7 @@ mkdir -p /opt/eteshare/logs mkdir -p /opt/eteshare/config cd /opt git clone -b $GERRIT_BRANCH --single-branch $CODE_REPO testsuite/properties +git clone -b $GERRIT_BRANCH --single-branch $HEAT_CODE_REPO demo # Rename network interface in openstack Ubuntu 16.04 images. Then, reboot the VM to pick up changes if [[ $CLOUD_ENV != "rackspace" ]] diff --git a/boot/robot_vm_init.sh b/boot/robot_vm_init.sh index c119dde8..aca28f5b 100644 --- a/boot/robot_vm_init.sh +++ b/boot/robot_vm_init.sh @@ -17,6 +17,13 @@ cp vm_config2robot.sh /opt/eteshare/config cp ete.sh /opt cp demo.sh /opt +# +# Deploy latest heat templates +# +cd /opt/demo +git pull +cp -rf heat /opt/eteshare + #if [[ $CLOUD_ENV != "rackspace" ]] #then # sed -i "s/10.0.1.1/"$(cat /opt/config/aai1_ip_addr.txt)"/g" /opt/eteshare/config/integration_robot_properties.py diff --git a/boot/vfc_vm_init.sh b/boot/vfc_vm_init.sh index 5497ecf5..28ef67e0 100755 --- a/boot/vfc_vm_init.sh +++ b/boot/vfc_vm_init.sh @@ -46,7 +46,7 @@ docker rm -f vfc_svnfm_nokia docker run -i -t -d --name vfc_wfengine_activiti -p 8804:8080 -e SERVICE_IP=$OPENO_IP -e SERVICE_PORT=8804 -e OPENPALETTE_MSB_IP=$OPENO_IP -e OPENPALETTE_MSB_PORT=80 $NEXUS_DOCKER_REPO/onap/vfc/wfengine-activiti:$DOCKER_IMAGE_VERSION docker run -i -t -d --name vfc_wfengine_mgrservice -p 8805:10550 -e SERVICE_IP=$OPENO_IP -e SERVICE_PORT=8805 -e OPENPALETTE_MSB_IP=$OPENO_IP -e OPENPALETTE_MSB_PORT=80 $NEXUS_DOCKER_REPO/onap/vfc/wfengine-mgrservice:$DOCKER_IMAGE_VERSION docker run -i -t -d --name vfc_catalog -p 8806:8806 -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/catalog:$DOCKER_IMAGE_VERSION -docker run -i -t -d --name vfc_emsdriver -p 8206:8206 -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/emsdriver:$DOCKER_IMAGE_VERSION +docker run -i -t -d --name vfc_emsdriver -p 8206:8206 -e MSB_ADDR=$OPENO_IP:80 -e VES_ADDR=$DCAE_COLL_IP:8080 -e VES_AUTHINFO="":"" $NEXUS_DOCKER_REPO/onap/vfc/emsdriver:$DOCKER_IMAGE_VERSION docker run -i -t -d --name vfc_gvnfmdriver -p 8484:8484 -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/gvnfmdriver:$DOCKER_IMAGE_VERSION docker run -i -t -d --name vfc_jujudriver -p 8483:8483 -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/jujudriver:$DOCKER_IMAGE_VERSION docker run -i -t -d --name vfc_svnfm_huawei -p 8482:8482 -e MSB_ADDR=$OPENO_IP:80 $NEXUS_DOCKER_REPO/onap/vfc/nfvo/svnfm/huawei:$DOCKER_IMAGE_VERSION |