From 8db366c448d4074c044f596a8e4271befdb797cb Mon Sep 17 00:00:00 2001 From: Ziad Sawalha Date: Wed, 28 Dec 2011 00:23:31 -0600 Subject: Support for version and extension discovery - Supports unauthenticated call to Keystone to discover supported API versions - Added command-line support (usage: keystone discover) - Added client support (keystoneclient.genenric client). Client returns dicts, whereas shell command prints formated output. - Added tests for genenric client - Replicates 'nove discover' in python-novaclient - Starts to address blueprint keystone-client - keystone discover output looks like this: $ 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 (BETA) here http://localhost:35357/v2.0 - and HP-IDM: HP Token Validation Extension - and OS-KSADM: Openstack Keystone Admin - and OS-KSCATALOG: Openstack Keystone Catalog Change-Id: Id16d34dac094c780d36afb3e31c98c318b6071ac --- docs/api.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/api.rst b/docs/api.rst index 5e38c8b..c223d28 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -4,6 +4,12 @@ The :mod:`keystoneclient` Python API .. module:: keystoneclient :synopsis: A client for the OpenStack Keystone API. +.. currentmodule:: keystoneclient.generic.client + +.. autoclass:: Client + + .. automethod:: discover + .. currentmodule:: keystoneclient.v2_0.client .. autoclass:: Client -- cgit v1.2.1