Merge "Replace refs to 'Keystone API' with 'Identity API'"

This commit is contained in:
Jenkins
2012-11-06 06:12:53 +00:00
committed by Gerrit Code Review
8 changed files with 25 additions and 25 deletions

View File

@@ -1,10 +1,9 @@
Python bindings to the OpenStack Keystone API Python bindings to the OpenStack Identity API (Keystone)
============================================= ========================================================
This is a client for the OpenStack Keystone API. There's a Python API (the This is a client for the OpenStack Identity API, implemented by Keystone.
``keystoneclient`` module), and a command-line script (``keystone``). The There's a Python API (the ``keystoneclient`` module), and a command-line script
Keystone 2.0 API is still a moving target, so this module will remain in (``keystone``).
"Beta" status until the API is finalized and fully implemented.
Development takes place via the usual OpenStack processes as outlined in Development takes place via the usual OpenStack processes as outlined in
the `OpenStack wiki`_. The master repository is on GitHub__. the `OpenStack wiki`_. The master repository is on GitHub__.
@@ -27,7 +26,7 @@ Python API
By way of a quick-start:: By way of a quick-start::
# use v2.0 auth with http://example.com:5000/v2.0") # use v2.0 auth with http://example.com:5000/v2.0
>>> from keystoneclient.v2_0 import client >>> from keystoneclient.v2_0 import client
>>> keystone = client.Client(username=USERNAME, password=PASSWORD, tenant_name=TENANT, auth_url=AUTH_URL) >>> keystone = client.Client(username=USERNAME, password=PASSWORD, tenant_name=TENANT, auth_url=AUTH_URL)
>>> keystone.tenants.list() >>> keystone.tenants.list()
@@ -39,7 +38,7 @@ Command-line API
---------------- ----------------
Installing this package gets you a shell command, ``keystone``, that you Installing this package gets you a shell command, ``keystone``, that you
can use to interact with Keystone's Identity API. can use to interact with OpenStack's Identity API.
You'll need to provide your OpenStack tenant, username and password. You can You'll need to provide your OpenStack tenant, username and password. You can
do this with the ``--os-tenant-name``, ``--os-username`` and ``--os-password`` do this with the ``--os-tenant-name``, ``--os-username`` and ``--os-password``

View File

@@ -1,7 +1,7 @@
Python bindings to the OpenStack Keystone API Python bindings to the OpenStack Identity API (Keystone)
================================================== ========================================================
This is a client for OpenStack Keystone API. There's :doc:`a Python API This is a client for OpenStack Identity API. There's :doc:`a Python API
<using-api>` (the :mod:`keystoneclient` module), and a :doc:`command-line script <using-api>` (the :mod:`keystoneclient` module), and a :doc:`command-line script
<shell>` (installed as :program:`keystone`). <shell>` (installed as :program:`keystone`).
@@ -20,8 +20,8 @@ Contributing
============ ============
Code is hosted `on GitHub`_. Submit bugs to the Keystone project on Code is hosted `on GitHub`_. Submit bugs to the Keystone project on
`Launchpad`_. Submit code to the openstack/python-keystoneclient project using `Launchpad`_. Submit code to the ``openstack/python-keystoneclient`` project
`Gerrit`_. using `Gerrit`_.
.. _on GitHub: https://github.com/openstack/python-keystoneclient .. _on GitHub: https://github.com/openstack/python-keystoneclient
.. _Launchpad: https://launchpad.net/python-keystoneclient .. _Launchpad: https://launchpad.net/python-keystoneclient

View File

@@ -25,7 +25,7 @@ Release notes
====================== ======================
* released with OpenStack Essex and Diablo compatibility * released with OpenStack Essex and Diablo compatibility
* forked from http://github.com/rackspace/python-novaclient * forked from http://github.com/rackspace/python-novaclient
* refactored to support Keystone API (auth, tokens, services, roles, tenants, * refactored to support Identity API (auth, tokens, services, roles, tenants,
users, etc.) users, etc.)
* removed legacy arguments of --username, --password, etc in migration to * removed legacy arguments of --username, --password, etc in migration to
support a cross-openstack unified CLI convention defined at support a cross-openstack unified CLI convention defined at

View File

@@ -5,14 +5,14 @@ The :program:`keystone` shell utility
.. highlight:: bash .. highlight:: bash
The :program:`keystone` shell utility interacts with OpenStack Keystone API The :program:`keystone` shell utility interacts with OpenStack Identity API
from the command line. It supports the entirety of the OpenStack Keystone API. from the command line. It supports the entirety of the OpenStack Identity API.
To communicate with the API, you will need to be authenticated - and the To communicate with the API, you will need to be authenticated - and the
:program:`keystone` provides multiple options for this. :program:`keystone` provides multiple options for this.
While bootstrapping keystone the authentication is accomplished with a While bootstrapping keystone the authentication is accomplished with a
shared secret token and the location of the keystone API endpoint. The shared secret token and the location of the Identity API endpoint. The
shared secret token is configured in keystone.conf as "admin_token". shared secret token is configured in keystone.conf as "admin_token".
You can specify those values on the command line with :option:`--os-token` You can specify those values on the command line with :option:`--os-token`
@@ -24,7 +24,7 @@ and :option:`--os-endpoint`, or set them in environment variables:
.. envvar:: OS_SERVICE_ENDPOINT .. envvar:: OS_SERVICE_ENDPOINT
Your keystone API endpoint Your Identity API endpoint
The command line options will override any environment variables set. The command line options will override any environment variables set.

View File

@@ -4,7 +4,8 @@ The client API
Introduction Introduction
============ ============
The main concepts in the Keystone API are:
The main concepts in the Identity API are:
* tenants * tenants
* users * users
@@ -12,11 +13,11 @@ The main concepts in the Keystone API are:
* services * services
* endpoints * endpoints
The Keystone API lets you query and make changes through managers. For example, The Identity API lets you query and make changes through managers. For example,
to manipulate tenants, you interact with a to manipulate tenants, you interact with a
``keystoneclient.v2_0.tenants.TenantManger`` object. ``keystoneclient.v2_0.tenants.TenantManager`` object.
You obtain access to managers through via atributes of the You obtain access to managers through via attributes of the
``keystoneclient.v2_0.client.Client`` object. For example, the ``tenants`` ``keystoneclient.v2_0.client.Client`` object. For example, the ``tenants``
attribute of the ``Client`` class is a tenant manager:: attribute of the ``Client`` class is a tenant manager::

View File

@@ -70,7 +70,7 @@ class HTTPClient(httplib2.Http):
_logger.addHandler(ch) _logger.addHandler(ch)
def authenticate(self): def authenticate(self):
""" Authenticate against the keystone API. """ Authenticate against the Identity API.
Not implemented here because auth protocols should be API Not implemented here because auth protocols should be API
version-specific. version-specific.

View File

@@ -88,7 +88,7 @@ class Client(client.HTTPClient):
return hasattr(self, 'service_catalog') return hasattr(self, 'service_catalog')
def authenticate(self): def authenticate(self):
""" Authenticate against the Keystone API. """ Authenticate against the Identity API.
Uses the data provided at instantiation to authenticate against Uses the data provided at instantiation to authenticate against
the Keystone server. This may use either a username and password the Keystone server. This may use either a username and password

View File

@@ -15,7 +15,7 @@ tests_require = setup.parse_requirements(['tools/test-requires'])
setuptools.setup( setuptools.setup(
name="python-keystoneclient", name="python-keystoneclient",
version=setup.get_post_version('keystoneclient'), version=setup.get_post_version('keystoneclient'),
description="Client library for OpenStack Keystone API", description="Client library for OpenStack Identity API (Keystone)",
long_description=read('README.rst'), long_description=read('README.rst'),
url='https://github.com/openstack/python-keystoneclient', url='https://github.com/openstack/python-keystoneclient',
license='Apache', license='Apache',