aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/network.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-06-19check ip_forward and set to 1wutianwei1-0/+4
JIRA: COMPASS-600 Change-Id: I21ace213060d9d0dde7f7f4b5cf1f79d567ebeb0 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-06-15Specify netmask for install NICHarry Huang1-1/+1
JIRA: COMPASS-599 Interface that be used as install NIC may have uncertain netmask which may cause network issue. Change-Id: Ic10709ca82a0d16af614ac327160f97a654d2294 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-01-27Compass4nfv virtual deploy support direct connectionwutianwei1-5/+8
compass4nfv using nat for VM external network currently, this patch add the direct connection method. if want to use it ,you need set the NAT_EXTERNAL to false, and configure the network.yml according to you environment Change-Id: I5a1a2f96b8c32a00eaef4d591c4452b555f0c9a2 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-09-12Auto start bridge on jumphostHarry Huang1-0/+3
Set libvirt bridges to auto start on jump host to avoid network failure when reboot. Change-Id: Ic2fcbe2aa6ac512c25589d49ce10882d2e84ddeb Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-08-30Fix install netmaskHarry Huang1-2/+2
Netmask of install network is parsed from netwok.yml now. A var named INSTALL_NETWORK will be generated in script/deploy_config.sh and exported. But var of install mask in deploy/network.sh is called INSTALL_MASK. This mismatch cause empty netmask of install network. Change-Id: I2a468844a74a9c38481615d6353149fa74ccbcd9 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-06-09support Containerized compass-corehuangxiangyu1-6/+7
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-04-05Up br-external after its creationQiLiang1-0/+2
JIRA: - On a clean env run compass4nfv deploy script will cause the jumpserver network unreachable. This patch fix this issue. Change-Id: Ib04762c5cf745ab40adcf05497d518e6d86ad97c Signed-off-by: QiLiang <liangqi1@huawei.com>
2017-01-10Fix multi-nics BM deploy network unreachable issueQiLiang1-0/+7
Configure OS_MGMT_NIC when openstack external network and mgmt network use different nics. Otherwise openstack mgmt is unreachabe from jumpserver, then compass cann't pass functest healthcheck. JIRA: - Change-Id: If156806d3b92933ac316f178d3eb2d0aaa9e1b4a Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-11-22up INSTALL_NIC during installationQiLiang1-0/+2
Some jumpserver's INSTALL_NIC is down during compass4nfv installation, this will cause pxe boot failure. So add auto up the INSTALL_NIC during installation. JIRA: - Change-Id: I109b45360edf03e575f00e88d4b2ce12c01b2869 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-10-15Add recovery scriptsQiLiang1-0/+41
- add recovery shell scripts - add boot-recovery role to stop services during system boot which could cause boot pending - configure nfs mount in /etc/fstab cause system boot pending, so mount nfs during ansible-playbook run. - kill mysqld before mysql recovery, running mysqld may cause mysql recover failure JIRA: COMPASS-474 Change-Id: I0f6f0ee935fbe3fbbe28a451a02decfb01a6165b Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-08-28Persist jumpserver network setupQiLiang1-0/+20
JIRA: COMPASS-474 Change-Id: I11d0862c3c98db02cf2bbbae31bf4bf643c5ca52 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-06-15bugfix: route config error on jump serverchenshuai@huawei.com1-1/+1
JIRA: COMPASS-420 Change-Id: Ibb8845ee934ff08a6d2a661ee52795f82be7846d Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-03-17Clarify the config file to dha filegrakiss1-5/+13
JIRA:COMPASS-344 - make it easy Change-Id: I6e29136670f7a9f75ff90e893eff865d77235b31 Signed-off-by: grakiss <grakiss.wanglei@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-12create a virtual port on jumpserver for functestcarey.xu1-1/+1
- create a virtual port on jumpserver, for functest communicate with openstack admin network - force mtu to 1450 when vxlan mode - make only one mysql node primary(bug workaround) JIRA: COMPASS-243 Change-Id: I498ed05f4b1b64f4f4db2455dd58dd2b4e82ae82 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2016-01-06create a virtual port on jumpserver for functestcarey.xu1-0/+2
- create a virtual port on jumpserver, for functest communicate with openstack admin network JIRA: COMPASS-243 Change-Id: Ib6f0c56253bb26155f0856caeae11a809c92f276 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-30add Shebang for bash scriptscarey.xu1-1/+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-29remove the forward reject rule of iptablesJohn Anderson1-0/+6
* Functest's testcase running in the docker, and need access openstack's network. But the libvirt nat networks will create forward iptable rules, which reject the connection from the docker. Change-Id: Id0122879aa133ccb81a0bba1ea8d06ac36a65290 Author: carey.xu<carey.xuhan@huawei.com> Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-26use ovs network instead of macvtap for virtual deploycarey.xu1-1/+39
JIRA: COMPASS-218 Change-Id: I3fdfa71e9f94be964c9bc5ec7313b6fbea9b46dd Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-10-14support connecting compass core and virtual machine by external ipcarey.xu1-141/+32
JIRA: COMPASS-86 Change-Id: I53ac86242088d5d6f22f6d692a7e60ce97e07f6e Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-10-10bugfix: libvirt_type should be kvm when host is barebetal modebaigk1-12/+41
JIRA: COMPASS-81 Change-Id: Iba3cb182a3e461ab89eb40fdba7800b8b2a1fc3e Signed-off-by: baigk <baiguoku@huawei.com>
2015-09-17lack broadcast parameter when move ips from nic to br_install and lead to ↵baigk1-18/+56
the broadcast add is 0.0.0.0 JIRA: COMPASS-57 Change-Id: I7b5ff7dc4f6566d8b28b00bda417b4da98ac6c18 Signed-off-by: baigk <baiguoku@huawei.com>
2015-09-08Build improvement for speedup and using public repobaigk1-27/+53
JIRA: COMPASS-19 Change-Id: Iba101807e1bd2f843f1253791b7e87e1acb7934b Signed-off-by: baigk <baiguoku@huawei.com>
2015-08-13Add deploy scripts for compasscarey.xu1-0/+70
JIRA: COMPASS-11 Change-Id: Id588912c73b424228b6f01cd47fd282d040f7b8f Signed-off-by: carey.xu <carey.xuhan@huawei.com>