summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-05-26 13:41:24 -0400
committerDan Radez <dradez@redhat.com>2016-07-01 14:17:25 -0400
commit7398338596cb4fc5dc6a884b05a2ab81b32d5b06 (patch)
tree9c7efd5f47259d4663022b2ae97bfc873e070540 /ci
parent9366d88b499d51369182c8fb04fa358ae6694844 (diff)
Adding congress support
JIRA: APEX-135 opnfv-tht-pr: 16 opnfv-puppet-tripleo-pr: 2 Change-Id: Ic14abd13e2aa46d7ef37b74dd7b005ebf9977bdd Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/deploy.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index e5d47bec..2b1de1d9 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -1102,6 +1102,15 @@ swift_endpoint_id=\$(openstack endpoint list | grep swift | cut -d ' ' -f 2)
openstack endpoint delete \$swift_endpoint_id
openstack service delete \$swift_service_id
+if [ "${deploy_options_array['congress']}" == 'True' ]; then
+ for s in nova neutronv2 ceilometer cinder glancev2 keystone; do
+ openstack congress datasource create \$s "\$s" \\
+ --config username=\$OS_USERNAME \\
+ --config tenant_name=\$OS_TENANT_NAME \\
+ --config password=\$OS_PASSWORD \\
+ --config auth_url=\$OS_AUTH_URL
+ done
+fi
EOI
echo -e "${blue}INFO: Checking if OVS bridges have IP addresses...${reset}"