summaryrefslogtreecommitdiff
path: root/openstackclient/identity
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2014-02-19 14:44:03 -0600
committerTerry Howe <terrylhowe@gmail.com>2014-03-07 11:51:15 -0700
commit3435f188a400b21891981c4024c26bcefc7be861 (patch)
treeb17cd89b49a2512933741a82bb717026ffc69287 /openstackclient/identity
parent64a33b0aa59a1d22fadc41bffebfab04dd6c2cc7 (diff)
downloadpython-openstackclient-3435f188a400b21891981c4024c26bcefc7be861.tar.gz
add interface and url to endpoint list
endpoint list is not terribly useful without these details Change-Id: I65b0bdf7667d73ceaad5856171678cabcde003f3
Diffstat (limited to 'openstackclient/identity')
-rw-r--r--openstackclient/identity/v3/endpoint.py16
1 files changed, 2 insertions, 14 deletions
diff --git a/openstackclient/identity/v3/endpoint.py b/openstackclient/identity/v3/endpoint.py
index e0b1f1a3..055f9fe2 100644
--- a/openstackclient/identity/v3/endpoint.py
+++ b/openstackclient/identity/v3/endpoint.py
@@ -114,23 +114,11 @@ class ListEndpoint(lister.Lister):
log = logging.getLogger(__name__ + '.ListEndpoint')
- def get_parser(self, prog_name):
- parser = super(ListEndpoint, self).get_parser(prog_name)
- parser.add_argument(
- '--long',
- action='store_true',
- default=False,
- help='List additional fields in output')
- return parser
-
def take_action(self, parsed_args):
self.log.debug('take_action(%s)' % parsed_args)
identity_client = self.app.client_manager.identity
- if parsed_args.long:
- columns = ('ID', 'Region', 'Service Name', 'Service Type',
- 'Enabled', 'Interface', 'URL')
- else:
- columns = ('ID', 'Region', 'Service Name', 'Enabled')
+ columns = ('ID', 'Region', 'Service Name', 'Service Type',
+ 'Enabled', 'Interface', 'URL')
data = identity_client.endpoints.list()
for ep in data: