Daniel Erez has uploaded a new change for review. Change subject: core: add getVolumes method to olumeProviderProxy ......................................................................
core: add getVolumes method to olumeProviderProxy Adding getVolumes method to OpenStackVolumeProviderProxy in order to support retrieval of Cinder domain volumes. Change-Id: Ie9110349eb91070d83ba76f6460b3c9f4f340a55 Bug-Url: https://bugzilla.redhat.com/1185826 Signed-off-by: Daniel Erez <de...@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/provider/storage/OpenStackVolumeProviderProxy.java 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/49/39649/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/provider/storage/OpenStackVolumeProviderProxy.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/provider/storage/OpenStackVolumeProviderProxy.java index 86482e6..a6c5398 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/provider/storage/OpenStackVolumeProviderProxy.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/provider/storage/OpenStackVolumeProviderProxy.java @@ -89,6 +89,10 @@ return getClient(getTenantId()).limits().list().execute(); } + public List<Volume> getVolumes() { + return getClient(getTenantId()).volumes().list(true).execute().getList(); + } + public List<CinderVolumeType> getVolumeTypes() { ArrayList<CinderVolumeType> cinderVolumeTypes = new ArrayList<>(); OpenStackRequest<VolumeTypes> listRequest = getClient(getTenantId()).volumeTypes().list(); -- To view, visit https://gerrit.ovirt.org/39649 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie9110349eb91070d83ba76f6460b3c9f4f340a55 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Daniel Erez <de...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches