Merge "deprecate "default_flavor" config option"

This commit is contained in:
Jenkins
2016-05-17 16:43:11 +00:00
committed by Gerrit Code Review
2 changed files with 9 additions and 2 deletions

View File

@@ -19,8 +19,10 @@ from oslo_config import cfg
flavor_opts = [
cfg.StrOpt('default_flavor',
default='m1.small',
help='Default flavor to use for the EC2 API only. The Nova API '
'does not support a default flavor.'),
deprecated_for_removal=True,
deprecated_reason='The EC2 API is deprecated',
help='DEPRECATED: Default flavor to use for the EC2 API only. '
'The Nova API does not support a default flavor.'),
]

View File

@@ -0,0 +1,5 @@
---
deprecations:
- The ``default_flavor`` config option is now deprecated and may be removed
as early as the 15.0.0 release. It is an option which was only relevant
for the deprecated EC2 API and is not used in the Nova API.