aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-13Update the image tags to euphratesYifei Xue2-4/+4
JIRA: - Currently the latest tag is used in building tarball. As OPNFV Euphrates will be released soon, we change the tags of some docker images to euphrates. Change-Id: Ic7a746f3a3338cf7f5cacd2f932816b3776e7de6 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-09-12Merge "bugfix: fix moon network configuration"Justin chi1-5/+1
2017-09-11bugfix: fix moon network configurationwutianwei1-5/+1
Due to creating the br-mgmt bridge, it is necessary to remove the IP from the eth0 interface. Change-Id: I32cf4d47530be3d625e29202f70b5667e6113a8c Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-09-08Add k8s supporthu xinhui39-0/+1888
JIRA: - Add a new k8s scenario for compass Change-Id: Ic5f58a6152315333684e4f2752aaa0d5d870d9ee Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2017-09-07from controller node fetch os_certwutianwei2-1/+14
Change-Id: I2d1cbc6948d2cea1ccb852ed23033d5ddc6393e4 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-09-01Support multiple physnet mappingHarry Huang81-477/+779
JIRA: COMPASS-559 1. support multiple mapping in provider_net_mappings of network.yml and create corresponding ovs bridges 2. support seperate config in sys_intf_mappings of network.yml 3. remove linux bridges in compute nodes for ovs port binding convenience 4. support openstack vlan tenant network 5. modify odl and odl_sfc roles to use configurable provider mapping 6. remove some hard coding Change-Id: Ib57484ce60d029f89c647fd5baf2c7af37c85d0b Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-09-01Merge "Support offline deployment for nosdn no feature scenario"Justin chi19-6/+859
2017-08-31Support offline deployment for nosdn no feature scenarioYifei Xue19-6/+859
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-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-08-28Merge "Fix docker install"Justin chi1-0/+5
2017-08-24Docs update for E releaseYifei Xue8-14/+78
JIRA: - Update the structure of docs directory. Update the docs for E release. Add some new docs for E release. Change-Id: Ib4b6aced3d6ac88404d8518b5461e20d26e017e1 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-08-21Fix docker installHarry Huang1-0/+5
Docker install only exist in off-line deploy flow. Add it into normal deploy flow. Change-Id: I2addf54eb6f74cb8faf799db343d84eaacea9fcb Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-08-18support the noha scenariowutianwei19-6/+1090
1. add parameter to install keepalived when only one controller 2. change the osa code to start keepalived and haproxy 3. add the noha DHA files 4. fix the setup ovs bug 5. fix the pod1 public vip Change-Id: I19f4e78b9ca834ae3d454e1c8058728ece055f69 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-08-15Merge "Make the storage use ceph"Justin chi9-0/+161
2017-08-15Make the storage use cephwutianwei9-0/+161
1. ceph.yml define which host install ceph-mon and ceph-osd 2. user_ceph.yml define variables of ceph and cinder backend 3. user_variables_ceph.yml.j2 define variables of ceph for user Change-Id: Iafea998f4603eb4b5c15a26f2387e6cb04c35d4c Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-08-14fix loss of group vars definitionchigang1-1/+7
JIRA:- TASK [moon : configure moon.conf for moon slave] fatal: [host5]: FAILED! => {"failed": true, "msg": "'moon_slave_name' is undefined"} https://build.opnfv.org/ci/job/compass-deploy-virtual-daily-master/3311/console Change-Id: Ic6211ef7017e0ed794718f1705ba566af370ea49 Signed-off-by: chigang <chigang@huawei.com>
2017-08-14Modify moon networkHarry Huang5-26/+68
1. modify interface file for moon according to new network structure 2. modify some ips for pods running master Change-Id: Idfca20c8e101222d27847fcac4f12ba21a1b5a67 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-08-11Adapt network.yml to OpenStack AnsibleHarry Huang22-245/+337
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-08-09Edit Expansion Guideliyuenan1-1/+20
JIRA: - mgmt and storage's network ip_ranges start ip needs update as the first 6 IPs are already taken by the first deployment. Change-Id: Iee01852c04ea7638999f664d567caaea060bdaf9 Signed-off-by: liyuenan <liyuenan@huawei.com>
2017-08-09Merge "Create endpoint in different region"Justin chi1-1/+2
2017-08-04yardstick installation for compass4nfvManjunath Ranganathaiah1-0/+5
JIRA: COMPASS-552 This patch adds changes to install yardstick on jump host. Change-Id: Id389d253f948a19cb682d54bd95bfbc3139ceb39 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
2017-08-04fix bugs for functest and moon baremetalwutianwei2-7/+2
1. functest change the judgement condition, the DOMAIN_NAME need use Default instead of default 2. making the eth0 down and up to change the route in baremetal deploy Change-Id: I7dacf59cdd0c4db396b2db8b0a5fdd7003829391 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-31Fix OS install bugHarry Huang1-1/+1
There is a missing indent in the judgement code block for OS installation complete which cause OS installation complete only affected by the state of host1 Change-Id: I5d470aef93b65ca77d290e596a4fefd62a82517b Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-07-29Merge "Switch to compass4nfv docker repo"Justin chi2-2/+2
2017-07-29Switch to compass4nfv docker repoHarry Huang2-2/+2
Dynamic inventory support for compass4nfv/compass-tasks-osa is ready, switch docker repo. Change-Id: I9ad5cd1cc860dd649cf43c6d5f1ea1e7c39e20fc Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-07-29enalbe pass-through cpumode for virtual deploymentchigang1-0/+1
JIRA:- For KVM scenario, each host should set cpumode pass-through, otherwise instances will fail to launch. Change-Id: If58dca1ad590203f6e8de36e44c242252350ad19 Signed-off-by: chigang <chigang@huawei.com>
2017-07-29Merge "Configurate moon host"Justin chi12-0/+187
2017-07-29Merge "Correct the DHA name of SFC scenario"Justin chi2-0/+0
2017-07-29Configurate moon hostwutianwei12-0/+187
1. configurate network 2. change the apt sources.list Change-Id: I93336d48b02846192f47eb1d64a63b50190863e9 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-29Correct the DHA name of SFC scenarioYifei Xue2-0/+0
The DHA name of SFC scenario in compass4nfv repo is " os-odl_l3-sfc-ha.yml". However, the scenario name on CI master is "os-odl-sfc-ha.yml". So CI failed when read DHA file. THis patch is proposed to fix this problem. Change-Id: Icb8db6c6c023a794bdd803d0365d719a853dc712 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-07-29Run odl_l2-moon scenario in compasswutianwei1-4/+0
Change-Id: I5deff9d6322708e8bf1dfd7d82b5a891334bffca Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-28Add ODL SFC supportYifei Xue38-9/+1197
Add SFC support for Ocata and Carbon. 1. Add ovs-nsh package for sfc scenario 2. Add sfc configuration and tasks 3. Add sfc DHA files Change-Id: Icf8f20220a2c5ac38a5b92d3ca0e24cbb0e89a52 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-07-28Merge "Change "Default" to "default" in openrc"Justin chi1-0/+6
2017-07-28Merge "Add moonv4 into Compass4nfv"Justin chi14-28/+375
2017-07-28Change "Default" to "default" in openrcwutianwei1-0/+6
when OS_USER_DOMAIN_NAME and OS_PROJECT_DOMAIN_NAME is Default in openrc, it will cause some issue in functest. Change-Id: I39a7a3712ac2311076c45caed70c0c4c2036b561 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-28Add moonv4 into Compass4nfvchigang14-28/+375
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-26Merge "Update notes when OpenStack installaion complete"Justin chi1-14/+4
2017-07-26Fix plugin switchHarry Huang1-0/+7
Add plugin switch in group_vars/all which missed when upgrade to dynamic inventory Change-Id: I71927bce552dca89bc6182abc9f721d5222f2be6 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-07-26Update notes when OpenStack installaion completechigang1-14/+4
JIRA:- Change-Id: Ie007baa4bbfb3f6860101b0e720315047c497c0d Signed-off-by: chigang <chigang@huawei.com>
2017-07-25Merge "Functest needs huawei virtual5 to test alpine"Justin chi4-0/+405
2017-07-24Dynamic InventoryHarry Huang10-129/+131
JIRA: COMPASS-556 1. using dynamic ansible inventory 2. modify Class AnsibleInstaller in compass-tasks 3. modify compass conf to support this behavior 4. specify docker image in /deploy/conf/compass.conf 5. remove clusterhost status update in playbook_done.py Change-Id: I04079547c8b251571ae4e5b165d3bf425b8913b7 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-07-21Functest needs huawei virtual5 to test alpinewutianwei4-0/+405
They want to use jenkins to trigger the build. So it need to add the huawei-virtual5 network*.yml Change-Id: Icb8d5d8f574fbbc4674ab1c61a0e3c0c3325f2d4 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-21Adjust the plugins directory structureYifei Xue33-12/+32
JIRA:- Since there may be multiple roles in one plugin, so add a level of roles to the directory. Move the copy operation of ODL from configure_osa to a new setup-opendaylgiht role. Add excute_order in the plugin description of ODL. Change-Id: I905fb84b11df201dc1436ec888f511e251bba89c Signed-off-by: Yifei Xue <xueyifei@huawei.com> Signed-off-by: chigang <chigang@huawei.com>
2017-07-20Merge "Change the BMC password of POD"Justin chi39-195/+195
2017-07-20Change the BMC password of PODwutianwei39-195/+195
For security, we change the password to Opnfv@pod Change-Id: I647af6db65c89fb0feee7936a3747abbab735ab7 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-20Merge "To judge download is successful or not"Justin chi1-4/+12
2017-07-20Merge "Add real time kvm feature from kvmfornfv project"Justin chi8-0/+244
2017-07-19Add real time kvm feature from kvmfornfv projectdavidjchou9-0/+246
JIRA: COMPASS-549 1. Add rt_kvm plugin and os-nosdn-kvm-ha scenario in vm_enviroment 2. Add rt_kvm in compass4nfv playbook 3. Disable kernel update in KVM scenarios Signed-off-by: davidjchou <david.j.chou@intel.com> Change-Id: Ie164fe7ea28ebcb1e41299e92dc51b8ec16310eb Signed-off-by: chigang <chigang@huawei.com>
2017-07-17To judge download is successful or notwutianwei1-4/+12
if download fialed then exit Change-Id: I40d847523ac5448c51d0788f79e4af9737bb5944 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-15Adjust redeployHarry Huang1-0/+2
When deployment is interrupted (e.g. ctrl+c kill deploy.sh), ansible processes in compass-tasks are still running. Redeploy at this situation new ansible process will be affacted by remained ones which cause errors. Change-Id: I821445bd53397c7030145bf6dc925032cb42519c Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>