aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/deploy_host.sh
diff options
context:
space:
mode:
authorliyuenan <liyuenan@huawei.com>2016-09-12 12:13:39 +0800
committerYuenan Li <liyuenan@huawei.com>2016-09-18 09:26:02 +0000
commite9c6204c777d4d5169d6678a868782a7835d1350 (patch)
treefb7ad04d58d7da5c4693e05af5f5299743ed0a37 /deploy/deploy_host.sh
parent17092c09eea12270fe3c4878adc7f70ff7d98fbc (diff)
Add a expansion functionality
Through modify the virtual_cluster_expansion.yml, include host's name and mac, you can decide to how many compute nodes you need to add. And you also need to modify network.yml. Note that external subnet's ip_range should be changed as the first 6 IPs are already taken by the first deployment. Edit ``add.sh``, check the environment variable. Note that the OS version and OpenStack version should be same as the first deployment. Run ``add.sh``. JIRA:COMPASS-481 Change-Id: Id85f02518667e0ff80c2475e70856cd30cf1b9b7 Signed-off-by: liyuenan <liyuenan@huawei.com>
Diffstat (limited to 'deploy/deploy_host.sh')
-rwxr-xr-xdeploy/deploy_host.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/deploy_host.sh b/deploy/deploy_host.sh
index b38f4209..031b56a2 100755
--- a/deploy/deploy_host.sh
+++ b/deploy/deploy_host.sh
@@ -44,7 +44,7 @@ function deploy_host(){
--machines=${machines//\'} --switch_credential="${SWITCH_CREDENTIAL}" --deploy_type="${TYPE}" \
--deployment_timeout="${DEPLOYMENT_TIMEOUT}" --${POLL_SWITCHES_FLAG} --dashboard_url="${DASHBOARD_URL}" \
--cluster_vip="${VIP}" --network_cfg="$NETWORK" --neutron_cfg="$NEUTRON" \
- --enable_secgroup="${ENABLE_SECGROUP}" --enable_fwaas="${ENABLE_FWAAS}" \
+ --enable_secgroup="${ENABLE_SECGROUP}" --enable_fwaas="${ENABLE_FWAAS}" --expansion="${EXPANSION}" \
--rsa_file="$rsa_file" --enable_vpnaas="${ENABLE_VPNAAS}" --odl_l3_agent="${odl_l3_agent}" --moon="${moon}" --onos_sfc="${onos_sfc}"
RET=$?