aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/deploy_host.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-07-02Add cluster_param in DHA fileHarry Huang1-2/+3
JIRA: COMPASS-603 Users may need some extra parameters to further customize the deployment. Change-Id: I64f7f39a49f17350d159b3733f34ffd816849174 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-01-22Fix some hard coding for some ip assignmentsHarry Huang1-1/+1
JIRA: COMPASS-570 1. fix hard coding in ip assignments for install network. support full ip assignments from network.yml 2. remove some used config item in deploy/conf Change-Id: I566b74f4a55e6b96af3ee9f41d1e183a73424a91 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-08-31Support offline deployment for nosdn no feature scenarioYifei Xue1-1/+2
JIRA: - Add a repo docker which includes ubuntu PPA and python packages used for offline deployment. Change-Id: Iad9b0df7f33f5a7ab974c5deffb408fc93b3f3ad Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-08-11Adapt network.yml to OpenStack AnsibleHarry Huang1-2/+2
JIRA:COMPASS-557 1. modify sys_intf_mappings and ip_settings in network.yml to synchronize with OSA network. networks compass build will be mgmt, external, tenant, storage. 2. modify compass_conf to support new netwok.yml 3. fix some hard coding when transfer ip parameters 4. support heterogeneous network Change-Id: Ib4a8af1f96a40e6456242e3dc2b456e0c8c17c2e Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-07-28Add moonv4 into Compass4nfvchigang1-1/+2
JIRA:- To deploy moon master, export MOON_CFG env like below compass deploy: export MOON_CFG="master:flag=Disable,slave:flag=Enable,slave:name=slave1,slave:master_ip=master_ip" To deploy moon slave, export MOON_CFG env like below compass deploy: export MOON_CFG="master:flag=Enable,slave:flag=Disable,slave:name=slave1,slave:master_ip=master_ip" Change-Id: I21c0186a029c508d390c69112b43510d9c5b9c5c Signed-off-by: chigang <chigang@huawei.com>
2017-07-10Add opendaylight switchHarry Huang1-1/+1
Add key plugins in DHA file and declare opendaylight as a plugin in odl scenario. Change-Id: Iefc07b691d5052a9980d8c87f23a9f82be61ed6e Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-06-09support Containerized compass-corehuangxiangyu1-5/+0
JIRA: COMPASS-534 1. rm compass vm and add ansible to bring up 5 compass containers 2. use tar package instead of compass.iso which contains compass docker images, OS ISO, PPA, pip packages. 3. modify client.py to communicate with containerized compass-core 4. modify cobbler files and ansible callback files to adapt with containerized compass-core 5. upgrade openstack version to ocata 6. use the openstack-ansible to deploy openstack 7. virtual deploy external use nat Change-Id: Ifa2a3f5b8c7c32224ac4276fd3d4cc2b0d270a26 Signed-off-by: huangxiangyu <huangxiangyu5@huawei.com>
2017-03-14Support bond createdliyuenan1-1/+5
JIRA: - You can add bond according to deploy/conf/network_cfg.yaml. Change-Id: I70f2f03581cf763dbaf7a8a47bdbd46b66620fcb Signed-off-by: liyuenan <liyuenan@huawei.com>
2017-01-25Ansible Module substitute for Shell Commandsliyuenan1-0/+2
JIRA: COMPASS-520 After update ansible version to v3, keystone_user module only support v2 API. So we use Shell Commands now, but it will failed with high probability. Those Shell Commands should be instead by ansible modules to manage Identity users, projects or some other work like crate networks. Change-Id: I63d38b4a811a9c063ac4404da72787f594411b53 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-26Update ansible versionliyuenan1-0/+1
JIRA: COMPASS-511 Change-Id: Id0e83c65a08c9f9036b5d3a597b905e8a7bde6e8 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-10-31code refactoring: opendaylightchenshuai1-1/+1
JIRA: COMPASS-500 Change-Id: I205f1fb1f31219517f6e2408fa43c8679a1cc0a6 Signed-off-by: chenshuai <chenshuai@huawei.com> Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-09-18Add a expansion functionalityliyuenan1-1/+1
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>
2016-08-04bugfix moon switchchenshuai@huawei.com1-1/+1
JIRA: COMPASS-465 Change-Id: I7161d8ec018819ac8497b6f323adeafccbc8dfd9 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-07-19COMPASS-440CNlucius1-1/+1
add config for onos_sfc ci job Change-Id: I2ae0e4339a8388de8b83b4f2e39edfc465892a20 Signed-off-by: CNlucius <lukai1@huawei.com>
2016-02-26bugfix:remove openvswitch when enable opencontrailchenshuai@huawei.com1-1/+1
JIRA: COMPASS-322 Change-Id: Ie095bbba6e22bb583f3caa56a40feb9157b4150e Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-02-18support odl_l3_agent enable flag parambaigk1-1/+1
JIRA: COMPASS-318 Change-Id: I541cdb9c1b2f6873b1426b470a61af829d6bffce Signed-off-by: baigk <baiguoku@huawei.com>
2016-02-17Improvement: reset compute nodes for opencontrailchenshuai@huawei.com1-1/+5
JIRA: COMPASS-317 Change-Id: I27b6bb3aa8707f02a51951eed83646a78dafc841 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-02-04bugfix: fix rename nic bugcarey.xu1-1/+1
Change-Id: Ideb729dc857ed00b337c977e7dd1ae46d3ced5ec Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2016-02-01[jenkins]process leakedcarey.xu1-2/+5
JIRA: COMPASS-297 Change-Id: I82dbc1d4f14667c90eeb2a759821d7e4271f9dc0 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2016-01-31bugfix: rename nic based on maccarey.xu1-2/+6
Change-Id: I2771a87a41ab884dbda1fcffa8ab0833489fb5ef Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2016-01-30add apache2 headers for shell scripts and ansible scriptscarey.xu1-0/+8
Change-Id: I34b66d76f59f4300c7ce4e7bd9dc7c1eaddfb384 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2016-01-22bugfix: make reboot_hosts asynccarey.xu1-1/+1
Change-Id: If9f7b8a091edb4ac3d057f5e87c62ab10a7a0674 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2016-01-21bugfix for jumpserver on ubuntu 14.04.3carey.xu1-1/+2
Change-Id: I59a41ca1ec2c0e576b590d5de39c04cd19273614 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2016-01-04improve: display ansible install log on client sidecarey.xu1-1/+3
JIRA: COMPASS-219 Change-Id: Id134c312a25a48ee32ab8755def35b8041f47f62 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-30add Shebang for bash scriptscarey.xu1-0/+1
* Our bash scripts use some bash sepcific syntax, so them can not be started by other shell like zsh. Add shebang for them, so zsh can simplely execute './deploy.sh' Change-Id: Ic6e6afaa83c6de131e6ac4eda1601d11c5b22656 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-28support redeploybaigk1-1/+7
JIRA: COMPASS-216 Change-Id: Ide78ac82c1615259eeb7093c7a4485fbe493c6d9 Signed-off-by: baigk <baiguoku@huawei.com>
2015-11-19support FWaaS and VPNaaScarey.xu1-1/+1
JIRA: COMPASS-149 Change-Id: Ib523580fb7a7a2cd62e4fabb27fd710361cdeef3 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-11-08add option to disable security groupcarey.xu1-1/+2
JIRA: COMPASS-126 Change-Id: Ie9417be0e78690b5580d460b9c61f77ccc1d91c6 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-11-03Create Deployment Hardware Adapter (DHA) file for compassbaigk1-4/+1
JIRA: COMPASS-132 Change-Id: I8e3f73b93acd8dae9f40dd43548679bc2eb1ea3c Signed-off-by: baigk <baiguoku@huawei.com>
2015-10-16bugfix:modify COMPASS_SERVER as MGMT_IP in deploy_host.shchenshuai@huawei.com1-3/+3
JIRA: COMPASS-106 Change-Id: Ibcc0b5dc23c9c5c5e18faf99f40ff4652b10c3af Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2015-10-10bugfix: libvirt_type should be kvm when host is barebetal modebaigk1-1/+1
JIRA: COMPASS-81 Change-Id: Iba3cb182a3e461ab89eb40fdba7800b8b2a1fc3e Signed-off-by: baigk <baiguoku@huawei.com>
2015-09-19support to assign ppa name when deploy openstackbaigk1-1/+1
JIRA: COMPASS-63 Change-Id: Ifdaa8a82e849291c1b5d5a48f9f678f5bb417a89 Signed-off-by: baigk <baiguoku@huawei.com>
2015-09-08Build improvement for speedup and using public repobaigk1-17/+6
JIRA: COMPASS-19 Change-Id: Iba101807e1bd2f843f1253791b7e87e1acb7934b Signed-off-by: baigk <baiguoku@huawei.com>
2015-08-13Add deploy scripts for compasscarey.xu1-0/+41
JIRA: COMPASS-11 Change-Id: Id588912c73b424228b6f01cd47fd282d040f7b8f Signed-off-by: carey.xu <carey.xuhan@huawei.com>