magnum/magnum/tests/unit/api/controllers
Dane LeBlanc 471aa924fc Add Magnum config for default network driver per COE
Problem description:
Magnum should provide support for configuration of default network drivers per
COE. An example use case could be a cloud operator who would like to have
control of what default container network driver should be used on a per-COE
basis. The cloud operator in this case should be able to set the default
network driver per COE in /etc/magnum/magnum.conf.

Proposed fix:
Add 3 configuration list options to the config in /etc/magnum/magnum.conf:
- kubernetes_default_network_driver
  (default='flannel')
- swarm_default_network_driver
  (default='docker')
- mesos_default_network_driver
  (default='docker')
When a baymodel is created and the --network-driver attribute is not supplied,
then the configured default network driver for the selected COE will first be
checked against the list of allowed network drivers for that COE, and if
allowed, the configured default network driver will be used for the new
baymodel.

Change-Id: I1e1d68c3348f609975b914926994bd79c1ef6d28
Closes-Bug: #1504664
2015-11-13 03:22:08 +00:00
..
v1 Add Magnum config for default network driver per COE 2015-11-13 03:22:08 +00:00
__init__.py Make room for functional tests 2015-04-02 12:25:43 -04:00
test_base.py Add test to API Version object 2015-06-12 09:13:01 +09:00
test_root.py Adding API support for magnum service 2015-09-29 18:45:49 +00:00