neutron-db-manage: mark several options as deprecated
I believe we don't rely on --core_plugin or --quota_driver for the tool because database contents are independent of chosen plugins and drivers since ~Juno. Also marked --service with deprecated_for_removal=True. Related-Bug: #1501380 Change-Id: I2b4d98242a0d38843d931a71414ef2560a7ddb8f
This commit is contained in:
@@ -65,12 +65,14 @@ INSTALLED_SUBPROJECTS = [project_ for project_ in migration_entrypoints]
|
||||
_core_opts = [
|
||||
cfg.StrOpt('core_plugin',
|
||||
default='',
|
||||
help=_('Neutron plugin provider module')),
|
||||
help=_('Neutron plugin provider module'),
|
||||
deprecated_for_removal=True),
|
||||
cfg.StrOpt('service',
|
||||
choices=INSTALLED_SERVICES,
|
||||
help=(_("(Deprecated. Use '--subproject neutron-SERVICE' "
|
||||
"instead.) The advanced service to execute the "
|
||||
"command against."))),
|
||||
"command against.")),
|
||||
deprecated_for_removal=True),
|
||||
cfg.StrOpt('subproject',
|
||||
choices=INSTALLED_SUBPROJECTS,
|
||||
help=(_("The subproject to execute the command against. "
|
||||
@@ -84,7 +86,8 @@ _core_opts = [
|
||||
_quota_opts = [
|
||||
cfg.StrOpt('quota_driver',
|
||||
default='',
|
||||
help=_('Neutron quota driver class')),
|
||||
help=_('Neutron quota driver class'),
|
||||
deprecated_for_removal=True),
|
||||
]
|
||||
|
||||
_db_opts = [
|
||||
|
||||
Reference in New Issue
Block a user