diff --git a/cinderclient/shell.py b/cinderclient/shell.py index 7e0a688d5..8807b7099 100644 --- a/cinderclient/shell.py +++ b/cinderclient/shell.py @@ -173,13 +173,6 @@ class OpenStackCinderShell(object): % DEFAULT_CINDER_ENDPOINT_TYPE) parser.add_argument('--os_endpoint_type', help=argparse.SUPPRESS) - parser.add_argument('--endpoint-type', - metavar='', - dest='os_endpoint_type', - help=_('DEPRECATED! Use --os-endpoint-type.')) - parser.add_argument('--endpoint_type', - dest='os_endpoint_type', - help=argparse.SUPPRESS) parser.add_argument('--os-volume-api-version', metavar='', @@ -192,18 +185,6 @@ class OpenStackCinderShell(object): parser.add_argument('--os_volume_api_version', help=argparse.SUPPRESS) - parser.add_argument('--bypass-url', - metavar='', - dest='os_endpoint', - default=utils.env('CINDERCLIENT_BYPASS_URL', - default=utils.env('CINDER_ENDPOINT')), - help=_("DEPRECATED! Use os_endpoint. " - "Use this API endpoint instead of the " - "Service Catalog. Defaults to " - "env[CINDERCLIENT_BYPASS_URL].")) - parser.add_argument('--bypass_url', - help=argparse.SUPPRESS) - parser.add_argument('--os-endpoint', metavar='', dest='os_endpoint', @@ -269,15 +250,6 @@ class OpenStackCinderShell(object): parser.add_argument('--os_auth_type', help=argparse.SUPPRESS) - parser.add_argument('--os-auth-system', - metavar='', - dest='os_auth_type', - default=env_plugin, - help=_('DEPRECATED! Use --os-auth-type. ' - 'Defaults to env[OS_AUTH_SYSTEM].')) - parser.add_argument('--os_auth_system', - help=argparse.SUPPRESS) - parser.set_defaults(os_username=utils.env('OS_USERNAME', 'CINDER_USERNAME')) parser.add_argument('--os_username', diff --git a/releasenotes/notes/remove-deprecations-621919062f867015.yaml b/releasenotes/notes/remove-deprecations-621919062f867015.yaml new file mode 100644 index 000000000..38603de07 --- /dev/null +++ b/releasenotes/notes/remove-deprecations-621919062f867015.yaml @@ -0,0 +1,15 @@ +--- +upgrade: + - | + The following CLI options were deprecated for one or more releases and have + now been removed: + + ``--endpoint-type`` + This option has been replaced by ``--os-endpoint-type``. + + ``--bypass-url`` + This option has been replaced by ``--os-endpoint``. + + ``--os-auth-system`` + This option has been replaced by ``--os-auth-type``. +