"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cinder/tests/unit/volume/drivers/solidfire/test_solidfire.py" between
cinder-17.0.1.tar.gz and cinder-17.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 "Victoria" series (latest release).

test_solidfire.py  (cinder-17.0.1):test_solidfire.py  (cinder-17.1.0)
skipping to change at line 370 skipping to change at line 370
'name': test_name, 'name': test_name,
'accountID': 8, 'accountID': 8,
'sliceCount': 1, 'sliceCount': 1,
'totalSize': int(1.75 * units.Gi), 'totalSize': int(1.75 * units.Gi),
'enable512e': True, 'enable512e': True,
'access': "readWrite", 'access': "readWrite",
'status': "active", 'status': "active",
'attributes': {'uuid': f_uuid[1]}, 'attributes': {'uuid': f_uuid[1]},
'qos': None, 'qos': None,
'iqn': test_name}]}} 'iqn': test_name}]}}
if params and params['startVolumeID']: if params and params.get('startVolumeID', None):
volumes = result['result']['volumes'] volumes = result['result']['volumes']
selected_volumes = [v for v in volumes if v.get('volumeID') selected_volumes = [v for v in volumes if v.get('volumeID') !=
!= params['startVolumeID']] params['startVolumeID']]
result['result']['volumes'] = selected_volumes result['result']['volumes'] = selected_volumes
else:
result = {'result': {'volumes': []}}
return result return result
elif method == 'DeleteSnapshot': elif method == 'DeleteSnapshot':
return {'result': {}} return {'result': {}}
elif method == 'GetClusterVersionInfo': elif method == 'GetClusterVersionInfo':
return {'result': {'clusterAPIVersion': '8.0'}} return {'result': {'clusterAPIVersion': '8.0'}}
elif method == 'StartVolumePairing': elif method == 'StartVolumePairing':
return {'result': {'volumePairingKey': 'fake-pairing-key'}} return {'result': {'volumePairingKey': 'fake-pairing-key'}}
elif method == 'RollbackToSnapshot': elif method == 'RollbackToSnapshot':
return { return {
"id": 1, "id": 1,
 End of changes. 3 change blocks. 
3 lines changed or deleted 6 lines changed or added

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