aboutsummaryrefslogtreecommitdiffstats
path: root/deploy.sh
diff options
context:
space:
mode:
authorliyuenan <liyuenan@huawei.com>2016-11-01 11:36:27 +0800
committerliyuenan <liyuenan@huawei.com>2016-11-03 16:13:55 +0800
commitdbbb61368932e724f8aae720e1de53ae5c4eebf3 (patch)
tree34dafa2e2e29e7a5bc450fd3af83d4db05bbfa1f /deploy.sh
parentde648f81d362c57a983600b4ce4401c9c14da2f9 (diff)
Edit the deploy.sh
Change-Id: I611abbd6a1265fc397c8af4f2131e5e073ad91bb Signed-off-by: liyuenan <liyuenan@huawei.com>
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh72
1 files changed, 72 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
index a5968966..64393cf0 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -7,6 +7,78 @@
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
+
+# ISO_URL is your iso's absolute path
+# export ISO_URL=file:///home/compass/compass4nfv.iso
+# or
+# export ISO_URL=http://artifacts.opnfv.org/compass4nfv/colorado/opnfv-colorado.1.0.iso
+#export ISO_URL=
+
+# DHA is your dha.yml's path
+# export DHA=/home/compass4nfv/deploy/conf/vm_environment/os-nosdn-nofeature-ha.yml
+#export DHA=
+
+# NETWORK is your network.yml's path
+# export NETWORK=/home/compass4nfv/deploy/conf/vm_environment/huawei-virtual1/network.yml
+#export NETWORK=
+
+######################### The environment for Openstack ######################
+# Ubuntu16.04 Newton
+#export OS_VERSION=xenial
+#export OPENSTACK_VERSION=newton_xenial
+
+# Ubuntu14.04 Mitaka
+#export OS_VERSION=trusty
+#export OPENSTACK_VERSION=mitaka
+
+# Ubuntu16.04 Mitaka
+#export OS_VERSION=xenial
+#export OPENSTACK_VERSION=mitaka_xenial
+
+# Centos7 Mitaka
+#export OS_VERSION=centos7
+#export OPENSTACK_VERSION=mitaka
+
+# Redhat7 OSP9
+#export OS_VERSION=redhat7
+#export OPENSTACK_VERSION=osp9
+
+######################### Hardware Deploy Jumpserver PXE NIC ################
+# You need comment out it when virtual deploy.
+#export INSTALL_NIC=eth1
+
+######################### Virtual Deploy Nodes Number ########################
+# How many nodes do you need when virtual deploy. The default number is 5.
+#export VIRT_NUMBER=5
+
+######################### Deploy or Expansion ###############################
+# Modify network.yml and virtual_cluster_expansion.yml or
+# hardware_cluster_expansion.yml.
+# Edit the DHA and NETWORK envionment variables.
+# External subnet's ip_range and management ip should be changed as the
+# first 6 IPs are already taken by the first deployment.
+# VIRT_NUMBER decide how many virtual machines needs to expand when virtual expansion
+
+#export EXPANSION="true"
+#export MANAGEMENT_IP_START="10.1.0.55"
+#export VIRT_NUMBER=1
+#export DEPLOY_FIRST_TIME="false"
+
+######################### Deploy Compass ####################################
+# If you only need to deploy compass, set this variable.
+#export DEPLOY_COMPASS="true"
+
+######################### Deploy or Redeploy Host ###########################
+# If you only need to deploy host, set these variables.
+#export DEPLOY_HOST="true"
+#export REDEPLOY_HOST="true"
+
+######################### Reconvery #########################################
+# After restart jumpserver, set these variables and run deploy.sh again.
+#export DEPLOY_RECOVERY="true"
+#export DEPLOY_FIRST_TIME="false"
+
+
#set -x
COMPASS_DIR=`cd ${BASH_SOURCE[0]%/*}/;pwd`
export COMPASS_DIR