Skip to content

Commit

Permalink
qa_crowbarsetup: openvswitch vxlan becoming the default choice
Browse files Browse the repository at this point in the history
The CI jobs for Cloud7+ are defaulting to vxlan, so we should
transition the jenkins defaults to reflect that. The corresponding
switch of product defaults is done in crowbar/crowbar-openstack#1842
  • Loading branch information
dirkmueller committed Oct 17, 2018
1 parent 66ee9a5 commit 1099f0b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions jenkins/ci.suse.de/openstack-mkcloud.yaml
Expand Up @@ -257,9 +257,9 @@
- choice:
name: networkingmode
choices:
- gre
- vlan
- vxlan
- vlan
- gre

- string:
name: want_dvr
Expand Down
2 changes: 1 addition & 1 deletion mkcloudruns/mkcloudconfig/SUSECloud.mkcloud
Expand Up @@ -62,7 +62,7 @@ export want_node_aliases='controller=2,network=1,compute=2,nfsshare=1'
# Set the networking plugin for neutron.
export networkingplugin=openvswitch
# Set the networking mode (vlan, vxlan, gre)
export networkingmode=gre
export networkingmode=vxlan
export want_dvr=1
#export host_mtu= # Set given MTU settings...

Expand Down
6 changes: 4 additions & 2 deletions scripts/qa_crowbarsetup.sh
Expand Up @@ -2560,16 +2560,18 @@ function custom_configuration

if [ $networkingplugin = openvswitch ] ; then
if [[ $networkingmode = vxlan ]] || iscloudver 6plus; then
proposal_set_value neutron default "['attributes']['neutron']['ml2_type_drivers']" "['gre','vxlan','vlan']"
proposal_set_value neutron default "['attributes']['neutron']['ml2_type_drivers']" "['vxlan','vlan', 'gre']"
if [[ $want_dvr = 1 ]]; then
proposal_set_value neutron default "['attributes']['neutron']['use_dvr']" "true"
# Enable L2 population, because for mkcloud we enable all ml2_type_drivers
# 'ml2_type_drivers' = ['gre','vxlan','vlan']
# DVR with GRE or VXLAN requires L2 population
proposal_set_value neutron default "['attributes']['neutron']['use_l2pop']" "true"
fi
else
elif [[ $networkingmode = gre ]]; then
proposal_set_value neutron default "['attributes']['neutron']['ml2_type_drivers']" "['gre','vlan']"
else
proposal_set_value neutron default "['attributes']['neutron']['ml2_type_drivers']" "['vlan']"
fi
elif [ "$networkingplugin" = "linuxbridge" ] ; then
if iscloudver 7plus; then
Expand Down

0 comments on commit 1099f0b

Please sign in to comment.