Change in vdsm[master]: Interface changes for getImageDomainsList internal changes.
ewarszaw at redhat.com
ewarszaw at redhat.com
Wed Jun 26 02:54:07 UTC 2013
Eduardo has uploaded a new change for review.
Change subject: Interface changes for getImageDomainsList internal changes.
......................................................................
Interface changes for getImageDomainsList internal changes.
Complement to I25fe2714e4c4e832230653cebc87d8da0e81028b.
Change-Id: Ib4cbfe95359defb14263ff5566e62e6f01c7d54a
Signed-off-by: Eduardo <ewarszaw at redhat.com>
---
M vdsm/BindingXMLRPC.py
M vdsm_api/vdsmapi-schema.json
2 files changed, 5 insertions(+), 9 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/90/16090/1
diff --git a/vdsm/BindingXMLRPC.py b/vdsm/BindingXMLRPC.py
index 9a4db12..2ddb6ef 100644
--- a/vdsm/BindingXMLRPC.py
+++ b/vdsm/BindingXMLRPC.py
@@ -551,10 +551,9 @@
pool = API.StoragePool(spUUID)
return pool.getFloppyList()
- def poolGetDomainsContainingImage(self, spUUID, imgUUID, datadomains=True,
- options=None):
+ def poolGetDomainsContainingImage(self, spUUID, imgUUID, options=None):
pool = API.StoragePool(spUUID)
- return pool.getDomainsContainingImage(imgUUID, datadomains)
+ return pool.getDomainsContainingImage(imgUUID)
def poolGetIsoList(self, spUUID, extension='iso', options=None):
pool = API.StoragePool(spUUID)
diff --git a/vdsm_api/vdsmapi-schema.json b/vdsm_api/vdsmapi-schema.json
index 4ff8c7a..2f4ebe7 100644
--- a/vdsm_api/vdsmapi-schema.json
+++ b/vdsm_api/vdsmapi-schema.json
@@ -4026,22 +4026,19 @@
##
# @StoragePool.getDomainsContainingImage:
#
-# Get a list of Storage Domains that contain an Image.
+# Get a list of Data Storage Domains that contain an Image.
#
# @storagepoolID: The UUID of the Storage Pool
#
# @imageID: The UUID of the Image to search for
#
-# @onlyDataDomains: #optional Only include Data Storage Domains
-#
# Returns:
-# A list of UUIDs of Storage Domains that contain the Image
+# A list of UUIDs of Data Storage Domains that contain the Image
#
# Since: 4.10.0
##
{'command': {'class': 'StoragePool', 'name': 'getDomainsContainingImage'},
- 'data': {'storagepoolID': 'UUID', 'imageID': 'UUID',
- '*onlyDataDomains': 'bool'},
+ 'data': {'storagepoolID': 'UUID', 'imageID': 'UUID'},
'returns': ['UUID']}
##
--
To view, visit http://gerrit.ovirt.org/16090
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib4cbfe95359defb14263ff5566e62e6f01c7d54a
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Eduardo <ewarszaw at redhat.com>
More information about the vdsm-patches
mailing list