diff options
| author | Adam Gandelman <adamg@canonical.com> | 2012-02-27 12:10:39 -0800 |
|---|---|---|
| committer | Adam Gandelman <adamg@canonical.com> | 2012-02-27 18:52:15 -0800 |
| commit | 7292a7197cc8a8acaf8d17713e211dd6dac6503a (patch) | |
| tree | 5269ff967ca7c5508d5d575faa3c5230e004280c /keystoneclient/v2_0/client.py | |
| parent | 265d4e9ffb62e15c35a9cee7803953faa6caa460 (diff) | |
| download | python-keystoneclient-7292a7197cc8a8acaf8d17713e211dd6dac6503a.tar.gz | |
Endpoints: Add create, delete, list support
This adds the ability for admins to list, create and delete
endpoints in the service catalog.
New endpoints can be created and associated with an existing
service, similar to the original Keystone.
The current, file-backed templated catalog driver does not support these
actions. This requires that the SQL catalog backend is merged:
https://review.openstack.org/#change,4464
Update: As per discussion on above review, Remove use of OS-KSADM key,
update tests accordingly.
Change-Id: Ie6f219fe989327bd61e293ce100b70dbf7f6de52
Diffstat (limited to 'keystoneclient/v2_0/client.py')
| -rw-r--r-- | keystoneclient/v2_0/client.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keystoneclient/v2_0/client.py b/keystoneclient/v2_0/client.py index 3fd8f3a..a609b87 100644 --- a/keystoneclient/v2_0/client.py +++ b/keystoneclient/v2_0/client.py @@ -18,6 +18,7 @@ from keystoneclient import client from keystoneclient import exceptions from keystoneclient import service_catalog from keystoneclient.v2_0 import ec2 +from keystoneclient.v2_0 import endpoints from keystoneclient.v2_0 import roles from keystoneclient.v2_0 import services from keystoneclient.v2_0 import tenants @@ -63,6 +64,7 @@ class Client(client.HTTPClient): def __init__(self, endpoint=None, **kwargs): """ Initialize a new client for the Keystone v2.0 API. """ super(Client, self).__init__(endpoint=endpoint, **kwargs) + self.endpoints = endpoints.EndpointManager(self) self.roles = roles.RoleManager(self) self.services = services.ServiceManager(self) self.tenants = tenants.TenantManager(self) |
