summaryrefslogtreecommitdiffstats
path: root/deploy-ha.sh
diff options
context:
space:
mode:
authorStuart Mackie <wsmackie@juniper.net>2017-07-25 10:37:57 -0700
committerStuart Mackie <wsmackie@juniper.net>2017-07-25 10:37:57 -0700
commit711967ae9639095ce41500bb0e6f80c8b80fab95 (patch)
tree07f598b35664ddbd269b76f21cf587f5679cab86 /deploy-ha.sh
parentefd4f1414b79dd51c6316a73893ade33bc9f668e (diff)
Contrail charms
Change-Id: I2d259d03f63fce38348b8384e26ac23e3fce44a8 Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
Diffstat (limited to 'deploy-ha.sh')
-rwxr-xr-xdeploy-ha.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/deploy-ha.sh b/deploy-ha.sh
new file mode 100755
index 0000000..87e9f39
--- /dev/null
+++ b/deploy-ha.sh
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+my_file="$(readlink -e "$0")"
+my_dir="$(dirname $my_file)"
+juju deploy "$my_dir/contrail-docker-bundle-ha.yaml"
+
+BUILD="3065"
+juju attach contrail-controller contrail-controller="/home/ubuntu/contrail-controller-ubuntu14.04-4.0.0.0-$BUILD.tar.gz"
+juju attach contrail-analytics contrail-analytics="/home/ubuntu/contrail-analytics-ubuntu14.04-4.0.0.0-$BUILD.tar.gz"
+juju attach contrail-analyticsdb contrail-analyticsdb="/home/ubuntu/contrail-analyticsdb-ubuntu14.04-4.0.0.0-$BUILD.tar.gz"