Change in vdsm[master]: getIsoList() returns dict with files metadata

smizrahi at redhat.com smizrahi at redhat.com
Mon Oct 14 13:49:50 UTC 2013


Saggi Mizrahi has posted comments on this change.

Change subject: getIsoList() returns dict with files metadata
......................................................................


Patch Set 9:

(2 comments)

....................................................
File vdsm/storage/hsm.py
Line 2263: 
Line 2264:         fileStats = isoDom.getFileList(pattern='*.' + extension,
Line 2265:                                        caseSensitive=False)
Line 2266:         # Older clients expected list of file names with correct permissions.
Line 2267:         fileNames = [key for key, value in fileStats.items()
filestats.iteritems()
Line 2268:                      if value['status'] == 0]
Line 2269: 
Line 2270:         return {'isolist': fileNames, 'fileStats': fileStats}
Line 2271: 


....................................................
File vdsm_api/vdsmapi-schema.json
Line 3802: # @isolist: List of file names with proper permissions (for backward compatibility)
Line 3803: #
Line 3804: # @fileStats: Mapping with all file information
Line 3805: #
Line 3806: # Since: 4.12.2
:)
Line 3807: ##
Line 3808: {'type': 'StorageDomainFileInfoMap',
Line 3809:  'data': {'isolist': ['str'], 'fileStats': 'StorageDomainFileStatsMap'}}
Line 3810: 


-- 
To view, visit http://gerrit.ovirt.org/19544
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I0b28488a81cec756188ed763e4489b8a39b2b05d
Gerrit-PatchSet: 9
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Sergey Gotliv <sgotliv at redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Eduardo <ewarszaw at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
Gerrit-Reviewer: Sergey Gotliv <sgotliv at redhat.com>
Gerrit-Reviewer: Yeela Kaplan <ykaplan at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list