"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cinder/tests/unit/volume/test_rpcapi.py" between
cinder-14.0.2.tar.gz and cinder-15.0.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).

test_rpcapi.py  (cinder-14.0.2):test_rpcapi.py  (cinder-15.0.0)
skipping to change at line 53 skipping to change at line 53
super(VolumeRPCAPITestCase, self).setUp() super(VolumeRPCAPITestCase, self).setUp()
self.rpcapi = volume_rpcapi.VolumeAPI self.rpcapi = volume_rpcapi.VolumeAPI
self.base_version = '3.0' self.base_version = '3.0'
vol = {} vol = {}
vol['host'] = 'fake_host' vol['host'] = 'fake_host'
vol['availability_zone'] = CONF.storage_availability_zone vol['availability_zone'] = CONF.storage_availability_zone
vol['status'] = "available" vol['status'] = "available"
vol['attach_status'] = "detached" vol['attach_status'] = "detached"
vol['metadata'] = {"test_key": "test_val"} vol['metadata'] = {"test_key": "test_val"}
vol['size'] = 1 vol['size'] = 1
vol['volume_type_id'] = fake.VOLUME_TYPE_ID
volume = db.volume_create(self.context, vol) volume = db.volume_create(self.context, vol)
kwargs = { kwargs = {
'status': fields.SnapshotStatus.CREATING, 'status': fields.SnapshotStatus.CREATING,
'progress': '0%', 'progress': '0%',
'display_name': 'fake_name', 'display_name': 'fake_name',
'display_description': 'fake_description'} 'display_description': 'fake_description'}
snapshot = tests_utils.create_snapshot(self.context, vol['id'], snapshot = tests_utils.create_snapshot(self.context, vol['id'],
**kwargs) **kwargs)
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

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