ce0ed4e44d
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 |
||
---|---|---|
contrib/templates/example | ||
devstack | ||
doc/source | ||
etc/magnum | ||
magnum | ||
specs | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
Dockerfile | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
bandit.yaml | ||
functional_creds.conf.sample | ||
openstack-common.conf | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements-bandit.txt | ||
test-requirements.txt | ||
tox.ini |
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:
- Free software: under the Apache license
- Documentation: http://docs.openstack.org/developer/magnum
- Source: http://git.openstack.org/cgit/openstack/magnum
- Blueprints: https://blueprints.launchpad.net/magnum
- Bugs: http://bugs.launchpad.net/magnum
- REST Client: http://git.openstack.org/cgit/openstack/python-magnumclient