diff options
| author | Jenkins <jenkins@review.openstack.org> | 2017-01-27 00:55:55 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2017-01-27 00:55:55 +0000 |
| commit | 7d140d0896fe54c4fc03fa501544da4e67d666c6 (patch) | |
| tree | 2226f94d28e47fa940a18b6c2ae24994615ed77e /cinderclient/v3/client.py | |
| parent | 61f690920a68be9f48880010f22944fffd958171 (diff) | |
| parent | 22c3693f8c03ba4b9a22697656a519370d6b5eaf (diff) | |
| download | python-cinderclient-ocata-em.tar.gz | |
Diffstat (limited to 'cinderclient/v3/client.py')
| -rw-r--r-- | cinderclient/v3/client.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cinderclient/v3/client.py b/cinderclient/v3/client.py index 79bb110..a3dcdde 100644 --- a/cinderclient/v3/client.py +++ b/cinderclient/v3/client.py @@ -17,6 +17,7 @@ import logging from cinderclient import client from cinderclient import api_versions +from cinderclient.v3 import attachments from cinderclient.v3 import availability_zones from cinderclient.v3 import cgsnapshots from cinderclient.v3 import clusters @@ -71,7 +72,6 @@ class Client(object): self.limits = limits.LimitsManager(self) self.api_version = api_version or api_versions.APIVersion(self.version) - # extensions self.volumes = volumes.VolumeManager(self) self.volume_snapshots = volume_snapshots.SnapshotManager(self) self.volume_types = volume_types.VolumeTypeManager(self) @@ -98,6 +98,8 @@ class Client(object): availability_zones.AvailabilityZoneManager(self) self.pools = pools.PoolManager(self) self.capabilities = capabilities.CapabilitiesManager(self) + self.attachments = \ + attachments.VolumeAttachmentManager(self) # Add in any extensions... if extensions: |
