Container Infrastructure Management Service for OpenStack
Go to file
Dane LeBlanc ce0ed4e44d Add support for allowable network drivers configuration
Problem:
With the changes that were merged with https://review.openstack.org/230147, the
choices of container network drivers that can be selected for a given COE type
when creating a Magnum baymodel are hardcoded, and are based on network drivers
that Magnum can support for each COE.

These hard-coded selections will probably make sense in most cases. However, in
some cloud instances, a cloud provider or cloud admin may want to restrict the
choices of network drivers that a user can select for a given COE even further,
based on specific restrictions in the cloud.

Magnum should provide support for configuration of what container network
drivers are allowed, and this needs to be provided on a per-COE basis.

Proposed fix:
Add 3 configuration list options to the config in /etc/magnum/magnum.conf for
configuring allowed nework drivers for kubernetes, swarm and mesos
respectively. The keyword 'all' can be used to allow all network drivers
supported by Magnum for that COE. The new config options are:
- kubernetes_allowed_network_drivers
  (default=['all'])
- swarm_allowed_network_drivers
  (default=['all'])
- mesos_allowed_network_drivers
  (default=['all'])
Validation of the --network-driver attributes for a baymodel create will be
performed against this above configuration on a per-COE basis.

Change-Id: Ibaa21d43fd6b5c1a6acc10e56145280eeaea8534
Closes-Bug: #1504635
2015-11-06 18:25:36 -05:00
contrib/templates/example Update Dev Quick-Start links to officail docs 2015-10-05 00:35:46 -07:00
devstack Fix the neutron-lbaas agent config 2015-11-03 23:36:25 -05:00
doc/source Document how to run functional test locally 2015-11-05 16:46:54 -05:00
etc/magnum Add support for allowable network drivers configuration 2015-11-06 18:25:36 -05:00
magnum Add support for allowable network drivers configuration 2015-11-06 18:25:36 -05:00
specs Fix D001 Line too long error 2015-10-04 22:28:57 -07: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 Add functional_creds.conf to .gitignore 2015-10-22 16:55:06 +09: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 timeutils.utcnow should be used instead of datetime.datetime.utcnow 2015-11-05 13:04:00 +00:00
LICENSE Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
MANIFEST.in 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
bandit.yaml Add Bandit security lint checking via tox 2015-04-08 10:41:42 -07:00
functional_creds.conf.sample Document how to run functional test locally 2015-11-05 16:46:54 -05:00
openstack-common.conf port to oslo.service 2015-06-28 14:29:00 +08:00
requirements.txt Added CORS support to Magnum 2015-11-03 10:20:36 -08:00
setup.cfg Add CertManager to store CA and client certificate 2015-09-05 16:25:57 +09:00
setup.py Updated from global requirements 2015-09-17 12:12:49 +00:00
test-requirements-bandit.txt Update bandit for new usage requirement 2015-04-10 11:19:17 +08:00
test-requirements.txt Improve tox.ini to easy developer's life 2015-11-03 17:44:38 +08:00
tox.ini Merge "Added CORS support to Magnum" 2015-11-04 15:16:23 +00:00

README.rst

Magnum

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: