From 01e331239780afb41557f5436238b438865bcafb Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Tue, 21 Nov 2017 22:43:36 -0600 Subject: add pod19 without vlan. Change-Id: I0764f19e0389921a7240802ebce0c484837f19ee Signed-off-by: Narinder Gupta --- ci/deploy.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ci/deploy.sh') diff --git a/ci/deploy.sh b/ci/deploy.sh index 497d9edb..00e8aef0 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -320,6 +320,17 @@ python -c 'import sys, yaml, json; json.dump(yaml.load(sys.stdin), sys.stdout, i # Configuring deployment if ([ $opnfvmodel == "openstack" ]); then + if ([ $opnfvsdn == "ocl" ]); then + echo_info "Patching OpenContrail controller container" + juju ssh contrail-controller/0 sudo docker cp contrail-controller:/etc/contrail/vnc_api_lib.ini /tmp + juju ssh contrail-controller/0 cp /tmp/vnc_api_lib.ini /tmp/vnc_api_lib.ini2 + juju ssh contrail-controller/0 'echo "AUTHN_DOMAIN = admin_domain" >> /tmp/vnc_api_lib.ini2' + juju ssh contrail-controller/0 sudo docker cp /tmp/vnc_api_lib.ini2 contrail-controller:/etc/contrail/vnc_api_lib.ini + juju ssh contrail-controller/0 sudo docker exec -it contrail-controller service contrail-api restart + + juju ssh contrail-controller/0 sudo docker cp /tmp/vnc_api_lib.ini2 contrail-analytics:/etc/contrail/vnc_api_lib.ini + fi + echo_info "Configuring OpenStack deployment" ./openstack.sh "$opnfvsdn" "$opnfvlab" "$opnfvdistro" "$openstack" || true @@ -327,6 +338,12 @@ if ([ $opnfvmodel == "openstack" ]); then # creating heat domain after pushing the public API into /etc/hosts status=`juju run-action heat/0 domain-setup` echo $status + if ([ $opnftype == "ha" ]); then + status=`juju run-action heat/1 domain-setup` + echo $status + status=`juju run-action heat/2 domain-setup` + echo $status + fi sudo ../juju/get-cloud-images || true ../juju/joid-configure-openstack || true -- cgit 1.2.3-korg