"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cinder/api/v3/volume_transfer.py" between
cinder-15.0.1.tar.gz and cinder-15.1.0.tar.gz

About: OpenStack Cinder (Core Service: Block Storage) provides persistent block storage to running instances. Its pluggable driver architecture facilitates the creation and management of block storage devices.
The "Train" series (latest release).

volume_transfer.py  (cinder-15.0.1):volume_transfer.py  (cinder-15.1.0)
skipping to change at line 48 skipping to change at line 48
marker = limit = offset = None marker = limit = offset = None
if req_version.matches(mv.SUPPORT_TRANSFER_PAGINATION): if req_version.matches(mv.SUPPORT_TRANSFER_PAGINATION):
marker, limit, offset = common.get_pagination_params(params) marker, limit, offset = common.get_pagination_params(params)
sort_keys, sort_dirs = common.get_sort_params(params) sort_keys, sort_dirs = common.get_sort_params(params)
else: else:
# NOTE(yikun): After microversion SUPPORT_TRANSFER_PAGINATION, # NOTE(yikun): After microversion SUPPORT_TRANSFER_PAGINATION,
# transfers list api use the ['created_at'], ['asc'] # transfers list api use the ['created_at'], ['asc']
# as default order, but we should keep the compatible in here. # as default order, but we should keep the compatible in here.
sort_keys, sort_dirs = ['created_at', 'id'], ['asc', 'asc'] sort_keys, sort_dirs = ['created_at', 'id'], ['asc', 'asc']
filters = params filters = params
if 'name' in filters:
filters['display_name'] = filters.pop('name')
LOG.debug('Listing volume transfers') LOG.debug('Listing volume transfers')
transfers = self.transfer_api.get_all(context, marker=marker, transfers = self.transfer_api.get_all(context, marker=marker,
limit=limit, limit=limit,
sort_keys=sort_keys, sort_keys=sort_keys,
sort_dirs=sort_dirs, sort_dirs=sort_dirs,
filters=filters, filters=filters,
offset=offset) offset=offset)
transfer_count = len(transfers) transfer_count = len(transfers)
limited_list = common.limited(transfers, req) limited_list = common.limited(transfers, req)
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)