Merge "Deprecate the ``vendordata_driver`` config option."

This commit is contained in:
Jenkins 2016-03-04 14:50:53 +00:00 committed by Gerrit Code Review
commit 96eaa19aac
2 changed files with 12 additions and 1 deletions

View File

@ -50,7 +50,8 @@ metadata_opts = [
'config drive'),
cfg.StrOpt('vendordata_driver',
default='nova.api.metadata.vendordata_json.JsonFileVendorData',
help='Driver to use for vendor data'),
help='DEPRECATED: Driver to use for vendor data',
deprecated_for_removal=True),
]
CONF = cfg.CONF

View File

@ -0,0 +1,10 @@
---
deprecations:
- Deprecate the ``vendordata_driver`` config option. This allowed
creating a different class loader for defining vendordata
metadata. The default driver loads from a json file that can be
arbitrarily specified, so is still quite flexible. Deployments that
felt the need to use this facility are encoraged to propose
additions upstream so we can create a stable and supported
interface here.