Container Infrastructure Management Service for OpenStack
Go to file
Angus Lees 14909f0944 Add flannel's host-gw backend option
Allow configuring Flannel with 3 different backends

Magnum deploys k8s/swarm over a dedicated neutron private network,
possibly using flannel.  Flannel's `host-gw` backend gives the best
performance in this topopolgy (private layer2): no packet processing
overhead, no reduction to MTU, scales to many hosts as well as the
alternatives.  The performance difference is significant, see bug for
performance numbers for the 3 backend options.

Note that part of this change involves relaxing the minion IP spoofing
rules to allow traffic from all dynamically-allocated flannel subnets.
This is morally equivalent to what we were doing previously with
encapsulation - only now neutron is able to see the inner IP header

This patch repurposes the label "flannel_use_vxlan" when the network
driver is flannel.

1. Rename the label flannel_use_vxlan to flannel_backend
2. Redefine the value of this label from "yes/no"
   to "udp/vxlan/host-gw"

For example, to create a bay model with flannel as network driver:
--network-driver flannel --labels flannel_backend=host-gw

Other backend options are udp and vxlan.

Co-Authored-By: Ton Ngo <>
Partial-Bug: #1518605
Closes-Bug: #1516789
Change-Id: I6d2441664ad1baaca14d0e6ff4bcddbe75bee094
2016-03-18 04:53:24 +00:00
contrib/templates/example Update Dev Quick-Start links to officail docs 2015-10-05 00:35:46 -07:00
devstack devstack: Comment out some environment dependent neutron settings 2016-03-11 14:32:41 +09:00
doc/source Add Image Management section in User Guide 2016-03-15 15:26:48 +00:00
etc/magnum Moved CORS middleware configuration into oslo-config-generator 2016-03-09 13:02:07 -08:00
magnum Add flannel's host-gw backend option 2016-03-18 04:53:24 +00:00
specs Add flannel's host-gw backend option 2016-03-18 04:53:24 +00:00
tools Improve tox.ini to easy developer's life 2015-11-03 17:44:38 +08:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:28:49 +00:00
.gitignore Ignore the generated config file 2016-02-29 14:50:35 -05:00
.gitreview Update .gitreview for project rename 2015-03-28 00:20:40 +00:00
.mailmap Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
.testr.conf Make room for functional tests 2015-04-02 12:25:43 -04:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:45 +00:00
Dockerfile Fix the docker build image issue 2015-05-18 11:11:25 +08:00
HACKING.rst Remove unused hacking rule from HACKING.rst 2016-01-29 14:35:51 +08:00
LICENSE Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00 Copy Ironic's database model codebase 2014-12-02 15:04:31 -07:00
README.rst Fix the representation of REST 2015-09-01 08:40:39 +05:30
babel.cfg Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
functional_creds.conf.sample Rename flavor name used in gate tests 2016-03-12 11:18:59 +05:30
requirements.txt Updated from global requirements 2016-03-05 20:45:44 +00:00
setup.cfg register the config generator default hook with the right name 2016-03-11 15:29:09 -05:00 Updated from global requirements 2015-09-17 12:12:49 +00:00
test-requirements.txt Add missing test-requirements 2016-02-18 22:00:18 +08:00
tox.ini Remove bandit.yaml in favor of defaults 2016-03-09 11:20:28 -08:00



Magnum is an OpenStack project which offers container orchestration engines for deploying and managing containers as first class resources in OpenStack.

For more information, please refer to the following resources: