summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2017-11-16Add timeout and delay time to fix the reboot problemYifei Xue2-2/+2
of rt_kvm scenario JIRA: - The rt_kvm scenario deployment always fails on Huawei Pod2 while running reboot task. However it's fine on Huawei Pod1. We think it may be caused by the performance of Pod1. Pod1 truely has a lower performance than Pod2. So we add timeout and delay time to verify our idea. Change-Id: I56acc88354abcdd4ba72c7d24980033871972688 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-10-29Merge "Remove ugly code in odl plugin"Justin chi4-84/+8
2017-10-24Merge "Config dpdk and ovs"Justin chi12-13/+202
2017-10-24Remove ugly code in odl pluginYifei Xue4-84/+8
JIRA: - Remove the ugly code in odl plugin. These code may cause tempest failures while running daily functest. These failures cannot be reproduced locally but only in daily functest. So we proposed this patch to improve our code and verify whether it can fix the failures in tempest. Change-Id: I09bbb13702ac75380a0d1a1dac5add52a5725c6a Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-10-24Config dpdk and ovsHarry Huang12-13/+202
switch dpdk interface driver and bring up corresponding ovs bridges. Change-Id: I07bd9b332978482507711cfbd8ad29802a8b1a8c Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-10-17add tacker supportYifei Xue2-0/+11
JIRA: - Add tacker support in compass euphrates. Upsteam OSA currently doesn't support tacker in Ocata. But OPNFV needs to use tacker in SFC scenario. So we refactor os_tacker of Pike to satisfy OpenStack Ocata. Change-Id: I40bb90949d8cd3b9db166527b0d85ff42ad5cdb9 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-09-30SFC scenario release notes and bug fix for SFC switchYifei Xue3-3/+7
JIRA: COMPASS-562 Because of the inventory file modification, the sfc switch cannot be enabled. Add a sperate sfc role to fix this bug. Change-Id: If583d10ebbe78d0abe9078add24beb5f506dbda8 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-09-15Upgrade odl from carbon to nitrogenYifei Xue20-60/+86
JIRA: - 1. Because of the bug in odl sfc carbon, this patch upgrade the odl to Nitrogen release. 2. Use the latest stable/ocata of networking-sfc and networking-odl 3. Fix the bug in the patch of multiple physnet mapping Change-Id: Id6e6084d9af76ff92d3c3ba6f8127154b2675aee Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-09-13Add dpdk pluginchigang12-0/+369
JIRA: COMPASS-550 add OVS-DPDK plugin, there are two roles in this plugin. 1. ins_dpdk is for dpdk installation and hugepages setting. 2. ins_ovs is for openvswitch installation. add dpdk scenario networking configuration example called "network_cfg_dpdk.yaml" Change-Id: Ifd8c1aadc218753f99bc26bb530e7cf9962ad8e3 Signed-off-by: chigang <chigang@huawei.com>
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-01Support multiple physnet mappingHarry Huang53-127/+260
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-08-14Modify moon networkHarry Huang1-18/+60
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-04fix bugs for functest and moon baremetalwutianwei1-1/+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-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-28Add ODL SFC supportYifei Xue34-3/+1061
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-28Add moonv4 into Compass4nfvchigang3-0/+270
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-21Adjust the plugins directory structureYifei Xue31-2/+43
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-19Add real time kvm feature from kvmfornfv projectdavidjchou4-0/+117
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-12Bug fix for odl_l2Yifei Xue2-2/+7
The "external_network_bridge" should be configured in neutron-server's LXC container. Currently we configure it in agents' LXC container. So in ODL L2 scenario, the DNAT failed. This patch will fix this. Change-Id: Ifca005d8cdb901d114838ec88d2f24bcee73abf7 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-07-10Bug fix for physnet name in ODLYifei Xue3-9/+9
The physnet name used in ODL should be the same the one used in those none odl scenarios. Change-Id: I5afc9196d8365b649eb088f29bac4f94d9d12d16 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-07-10Upgrade ODL from boron to carbonYifei Xue22-0/+764
JIRA: - Change-Id: I031444d1094af646ae39a9c0c3fbfc30548e6ee4 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-07-04add plugins templatechigang8-0/+511
JIRA: - add a plugin template for compass4nfv Change-Id: Iec767a7fab43617633238f9c5e326896dd6ce82e Signed-off-by: chigang <chigang@huawei.com>