diff options
| author | Sean McGinnis <sean.mcginnis@gmail.com> | 2019-04-18 14:33:55 -0500 |
|---|---|---|
| committer | Sean McGinnis <sean.mcginnis@gmail.com> | 2019-04-18 14:33:55 -0500 |
| commit | f8cc121df034f45c19a79389c9e7d37976e76f12 (patch) | |
| tree | 05efdd36691fa6809fba0ec6238e7deda81805c3 /cinderclient/v2/shell.py | |
| parent | 2189e5702b7ba91a87e1db21024799e1520d8ad0 (diff) | |
| download | python-cinderclient-f8cc121df034f45c19a79389c9e7d37976e76f12.tar.gz | |
Drop 'endpoints' and 'credentials' commands
We are past the deprecation period for these commands and they should
now be removed.
Change-Id: I37f0dc539da5d43f629ea726bb603fa995c1fe6f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Diffstat (limited to 'cinderclient/v2/shell.py')
| -rw-r--r-- | cinderclient/v2/shell.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/cinderclient/v2/shell.py b/cinderclient/v2/shell.py index dddf388..cfc9631 100644 --- a/cinderclient/v2/shell.py +++ b/cinderclient/v2/shell.py @@ -20,7 +20,6 @@ import argparse import collections import copy import os -import warnings from oslo_utils import strutils import six @@ -923,24 +922,6 @@ def do_type_access_remove(cs, args): vtype, args.project_id) -def do_endpoints(cs, args): - """Discovers endpoints registered by authentication service.""" - warnings.warn( - "``cinder endpoints`` is deprecated, use ``openstack catalog list`` " - "instead. The ``cinder endpoints`` command may be removed in the P " - "release or next major release of cinderclient (v2.0.0 or greater).") - catalog = cs.client.service_catalog.catalog - for e in catalog: - utils.print_dict(e['endpoints'][0], e['name']) - - -def do_credentials(cs, args): - """Shows user credentials returned from auth.""" - warnings.warn( - "``cinder credentials`` is deprecated, use ``openstack token issue`` " - "indead.") - - @utils.arg('tenant', metavar='<tenant_id>', help='ID of tenant for which to list quotas.') |
