summaryrefslogtreecommitdiffstats
path: root/add.sh
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2016-09-28 02:13:20 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-09-28 02:13:21 +0000
commit066871de64c28d3e6adb4fe5a17bd9c894074f75 (patch)
tree067a6cee5c642e55112e5739bf3f3c55e9419168 /add.sh
parentf5d302d1f71637df5fdd3fc815c1d7a760b6e9d4 (diff)
parente9c6204c777d4d5169d6678a868782a7835d1350 (diff)
Merge "Add a expansion functionality"
Diffstat (limited to 'add.sh')
-rwxr-xr-xadd.sh53
1 files changed, 53 insertions, 0 deletions
diff --git a/add.sh b/add.sh
new file mode 100755
index 00000000..cf537fc9
--- /dev/null
+++ b/add.sh
@@ -0,0 +1,53 @@
+#!/bin/bash
+##############################################################################
+# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# 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=
+
+# node number when you virtual deploy
+# export VIRT_NUMBER=5
+
+########## 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
+
+##########Deploy or Expansion##########
+export EXPANSION="true"
+export MANAGEMENT_IP_START="10.1.0.55"
+export VIRT_NUMBER=1
+
+########## Hardware Deploy Jumpserver PXE NIC ##########
+# you need comment out it when virtual deploy
+# export INSTALL_NIC=eth1
+
+########## Deploy or Redeploy ##########
+# export DEPLOY_HOST="true"
+export DEPLOY_FIRST_TIME="false"
+
+./deploy.sh