diff options
author | 2017-11-13 19:07:05 -0800 | |
---|---|---|
committer | 2017-11-14 03:10:38 +0000 | |
commit | 95fc8308b92849123e0994c37faec0eb4d063fa8 (patch) | |
tree | 05e734947ca5be9b1780a82ba647bebe088a0c52 /ci/deploy.sh | |
parent | 520f921f6e3bd2ab38c385511662f7631461bd0b (diff) |
Keystone V3, neutron-api.yaml: manage-neutron-plugin-legacy-mode: False, patch containers after launch
Change-Id: Ia434e68bc3df9812ebfb7fcaa6d02dd81f046f0b
Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
Diffstat (limited to 'ci/deploy.sh')
-rwxr-xr-x | ci/deploy.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh index 9277e857..d79cabc4 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -322,6 +322,16 @@ jujuver=`juju --version` # 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 |