471aa924fc
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 |
||
---|---|---|
.. | ||
v1 | ||
__init__.py | ||
test_base.py | ||
test_root.py |