Add a expansion functionality 59/20859/12
authorliyuenan <liyuenan@huawei.com>
Mon, 12 Sep 2016 04:13:39 +0000 (12:13 +0800)
committerYuenan Li <liyuenan@huawei.com>
Sun, 18 Sep 2016 09:26:02 +0000 (09:26 +0000)
commite9c6204c777d4d5169d6678a868782a7835d1350
treefb7ad04d58d7da5c4693e05af5f5299743ed0a37
parent17092c09eea12270fe3c4878adc7f70ff7d98fbc
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>
add.sh [new file with mode: 0755]
deploy/client.py
deploy/conf/base.conf
deploy/conf/hardware_environment/expansion-sample/hardware_cluster_expansion.yml [new file with mode: 0644]
deploy/conf/virtual.conf
deploy/conf/vm_environment/virtual_cluster_expansion.yml [new file with mode: 0644]
deploy/deploy_host.sh
deploy/host_baremetal.sh
deploy/host_virtual.sh
deploy/launch.sh