diff options
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 0c77f83..fb87a4f 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.') |