Federico Simoncelli has uploaded a new change for review.
Change subject: api: domainDict is optional in connectStoragePool ......................................................................
api: domainDict is optional in connectStoragePool
This patch fixes a mismatch between the schema and the actual connectStoragePool implementation.
Change-Id: I05b4f5073a33b2479404298ddafd4802e949e8f4 Signed-off-by: Federico Simoncelli fsimonce@redhat.com --- M vdsm_api/vdsmapi-schema.json 1 file changed, 4 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/89/24089/1
diff --git a/vdsm_api/vdsmapi-schema.json b/vdsm_api/vdsmapi-schema.json index 6d8c333..71ee38f 100644 --- a/vdsm_api/vdsmapi-schema.json +++ b/vdsm_api/vdsmapi-schema.json @@ -4250,7 +4250,9 @@ # # @masterVersion: The Storage Domain version of the master domain # -# @domainDict: The Storage Domain statuses (added in cluster level 3.4) +# @domainDict: #optional The Storage Domain statuses (added in cluster +# level 3.4). If this argument is present the Storage Pool +# will use the memory backend (no metadata). # # Since: 4.10.0 # @@ -4259,7 +4261,7 @@ {'command': {'class': 'StoragePool', 'name': 'connect'}, 'data': {'storagepoolID': 'UUID', 'hostID': 'int', 'scsiKey': 'str', 'masterSdUUID': 'UUID', 'masterVersion': 'int', - 'domainDict': 'StorageDomainStatusMap'}} + '*domainDict': 'StorageDomainStatusMap'}}
## # @ConnectStorageServerStatus: