summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-05-31 16:12:43 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-05-31 16:23:36 +0400
commitf19e006f84e98bdee061d79e68c316364251dcbc (patch)
tree3baa59efabe08d993aec82653611dc6eea189eea /ci
parentecfbd90af36439bcb51ec2cace0d0d2340e9fee1 (diff)
[mcp] Bring in dpdk scenario support
Change-Id: Ifd6d61026a0e98e8faf59c7d218333122d70ffe9 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/deploy.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index b6926a7cf..fe40b07b8 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -240,6 +240,13 @@ pushd ${DEPLOY_DIR} > /dev/null
# Prepare the deploy config files based on lab/pod information, deployment
# scenario, etc.
+# Set cluster domain
+case $DEPLOY_SCENARIO in
+ *dpdk*) CLUSTER_DOMAIN=virtual-mcp-ocata-ovs-dpdk.local ;;
+ *) CLUSTER_DOMAIN=virtual-mcp-ocata-ovs.local ;;
+esac
+
+export CLUSTER_DOMAIN
export SSH_KEY=mcp.rsa
export SALT_MASTER=192.168.10.100
export SSH_OPTS="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ${SSH_KEY}"