From: Ihar Hrachyshka Date: Fri, 20 Nov 2015 16:20:09 +0000 (+0100) Subject: neutron-db-manage: mark several options as deprecated X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=b06f816381ee1c5564aaf59d1406f9cc9873f5a1;p=openstack-build%2Fneutron-build.git 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 --- diff --git a/neutron/db/migration/cli.py b/neutron/db/migration/cli.py index 99bf7e605..a1a84d8f0 100644 --- a/neutron/db/migration/cli.py +++ b/neutron/db/migration/cli.py @@ -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 = [