Merge "Improve output of "keystone help discover""
This commit is contained in:
@@ -27,17 +27,6 @@ CLIENT_CLASS = client.Client
|
|||||||
@utils.unauthenticated
|
@utils.unauthenticated
|
||||||
def do_discover(cs, args):
|
def do_discover(cs, args):
|
||||||
"""Discover Keystone servers, supported API versions and extensions.
|
"""Discover Keystone servers, supported API versions and extensions.
|
||||||
|
|
||||||
Usage::
|
|
||||||
|
|
||||||
$ keystone discover
|
|
||||||
Keystone found at http://localhost:35357
|
|
||||||
|
|
||||||
- supports version v1.0 (DEPRECATED) here http://localhost:35357/v1.0
|
|
||||||
- supports version v1.1 (CURRENT) here http://localhost:35357/v1.1
|
|
||||||
- supports version v2.0 (CURRENT) here http://localhost:35357/v2.0
|
|
||||||
- and RAX-KSKEY: Rackspace API Key Authentication Admin Extension
|
|
||||||
- and RAX-KSGRP: Rackspace Keystone Group Extensions
|
|
||||||
"""
|
"""
|
||||||
if cs.endpoint:
|
if cs.endpoint:
|
||||||
versions = cs.discover(cs.endpoint)
|
versions = cs.discover(cs.endpoint)
|
||||||
|
Reference in New Issue
Block a user