deprecate "default_flavor" config option
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. Change-Id: I31683bd50745ae3c0e1573f43f9ee4165377b0dd
This commit is contained in:
parent
88703e1c87
commit
b7660e0d7b
@ -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.'),
|
||||
]
|
||||
|
||||
|
||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user