Home
last modified time | relevance | path

Searched refs:volume_ref (Results 1 – 25 of 42) sorted by relevance

12

/dports/misc/py-cinder/cinder-12.0.10/cinder/image/
H A Dcache.py51 def _get_query_filters(volume_ref): argument
52 if volume_ref.is_clustered:
53 return {'cluster_name': volume_ref.cluster_name}
54 return {'host': volume_ref.host}
60 **self._get_query_filters(volume_ref)
79 volume_ref['host'])
91 'service': volume_ref.service_topic_queue})
105 volume_ref.host,
106 volume_ref.cluster_name,
109 volume_ref.id,
[all …]
/dports/misc/py-cinder/cinder-12.0.10/cinder/api/v3/views/
H A Dvolumes.py44 volume_ref = super(ViewBuilder, self).detail(request, volume)
49 volume_ref['volume']['group_id'] = volume.get('group_id')
55 volume_ref['volume']['provider_id'] = volume.get('provider_id')
59 volume_ref['volume']['shared_targets'] = volume.get(
61 volume_ref['volume']['service_uuid'] = volume.get(
64 return volume_ref
/dports/misc/py-cinder/cinder-12.0.10/cinder/transfer/
H A Dapi.py71 volume_ref = self.db.volume_get(context, transfer.volume_id)
72 context.authorize(policy.DELETE_POLICY, target_obj=volume_ref)
73 volume_utils.notify_about_volume_usage(context, volume_ref,
75 if volume_ref['status'] != 'awaiting-transfer':
78 volume_utils.notify_about_volume_usage(context, volume_ref,
119 volume_ref = self.db.volume_get(context, volume_id)
120 context.authorize(policy.CREATE_POLICY, target_obj=volume_ref)
121 if volume_ref['status'] != "available":
123 if volume_ref['encryption_key_id'] is not None:
127 volume_utils.notify_about_volume_usage(context, volume_ref,
[all …]
/dports/misc/py-cinder/cinder-12.0.10/cinder/tests/unit/volume/flows/
H A Dtest_manage_volume_flow.py105 volume_ref = self._stub_volume_object_get(self)
108 result = task.execute(self.ctxt, volume_ref, mock_manage_existing_ref)
110 self.assertEqual(volume_ref, result['volume_properties'])
112 self.assertEqual(volume_ref.id, result['volume_spec']['volume_id'])
114 volume_ref, mock_manage_existing_ref)
122 volume_ref = self._stub_volume_object_get(self)
125 task.revert(self.ctxt, mock_result, mock_flow_failures, volume_ref)
126 mock_error_out.assert_called_once_with(volume_ref,
/dports/misc/py-cinder/cinder-12.0.10/cinder/tests/
H A Dfake_driver.py146 for volume_ref in volumes:
147 volume_model_update = {'id': volume_ref.id}
161 for volume_ref in volumes:
162 volume_model_update = {'id': volume_ref.id}
177 for volume_ref in volumes:
178 volume_model_update = {'id': volume_ref.id}
339 for volume_ref in volumes:
340 volume_model_update = {'id': volume_ref.id}
342 self.remove_export(context, volume_ref)
343 self.delete_volume(volume_ref)
/dports/misc/py-cinder/cinder-12.0.10/cinder/volume/
H A Dutils.py69 created_at = volume_ref['created_at'] or now
70 volume_status = volume_ref['status']
74 tenant_id=volume_ref['project_id'],
75 host=volume_ref['host'],
76 user_id=volume_ref['user_id'],
78 volume_id=volume_ref['id'],
79 volume_type=volume_ref['volume_type_id'],
80 display_name=volume_ref['display_name'],
84 snapshot_id=volume_ref['snapshot_id'],
85 size=volume_ref['size'],
[all …]
H A Dapi.py2127 volume_ref, argument
2133 if "error" in volume_ref.status:
2138 'volume_id': volume_ref.id,
2139 'volume_status': volume_ref.status}
2154 volume_ref['id']).get('readonly', False):
2179 if "error" in volume_ref.status:
2183 'volume_id': volume_ref.id,
2184 'volume_status': volume_ref.status}
2188 if (len(volume_ref.volume_attachment) > 1 and
2189 not (volume_ref.multiattach or
[all …]
H A Dmanager.py910 volume_ref.destroy()
915 volume_ref.status = status
916 volume_ref.save()
1846 LOG.exception(err_msg, resource=volume_ref)
1849 resource=volume_ref)
1875 LOG.exception(msg, resource=volume_ref)
1879 resource=volume_ref)
1921 resource=volume_ref)
1927 resource=volume_ref)
3529 for volume_ref in volumes:
[all …]
/dports/misc/py-cinder/cinder-12.0.10/cinder/cmd/
H A Dvolume_usage_audit.py93 def _vol_notify_usage(LOG, volume_ref, extra_info, admin_context): argument
99 {'volume_id': volume_ref.id,
100 'project_id': volume_ref.project_id,
103 admin_context, volume_ref, 'exists', extra_usage_info=extra_info)
106 exc_msg, resource=volume_ref)
221 for volume_ref in volumes:
222 _obj_ref_action(_vol_notify_usage, LOG, volume_ref, extra_info,
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/meta/tests/
H A Dtest_volume.cpp239 Volume& volume_ref = volume.ref(); in TEST_SUITE() local
245 const float integral = context.integrate_volume_pdf(volume_ref); in TEST_SUITE()
269 Volume& volume_ref = volume.ref(); in TEST_SUITE() local
275 const Vector3f bias = context.get_sampling_bias(volume_ref); in TEST_SUITE()
299 Volume& volume_ref = volume.ref(); in TEST_SUITE() local
305 const float average_cosine = context.get_aposteriori_average_cosine(volume_ref); in TEST_SUITE()
337 Volume& volume_ref = volume.ref(); in TEST_SUITE() local
343 const vector<Vector2f> points = context.generate_samples_for_plot(volume_ref); in TEST_SUITE()
/dports/misc/py-cinder/cinder-12.0.10/cinder/api/v2/views/
H A Dvolumes.py70 volume_ref = {
95 volume_ref['volume']['migration_status'] = (
107 volume_ref['volume']['consistencygroup_id'] = group_id
109 return volume_ref
/dports/misc/py-cinder/cinder-12.0.10/cinder/api/v3/
H A Dattachments.py163 volume_ref = objects.Volume.get_by_id(
171 volume_ref,
269 volume_ref = objects.Volume.get_by_id(
276 volume_ref.update({'status': 'in-use', 'attach_status': 'attached'})
277 volume_ref.save()
/dports/misc/py-cinder/cinder-12.0.10/cinder/scheduler/
H A Dmanager.py282 volume_ref, reservations, msg=None): argument
286 volume_ref.previous_status or volume_ref.status)
/dports/misc/py-cinder/cinder-12.0.10/cinder/volume/drivers/huawei/
H A Dhypermetro.py288 for volume_ref in volumes:
289 volume_update = {'id': volume_ref.id}
/dports/misc/py-cinder/cinder-12.0.10/cinder/db/sqlalchemy/
H A Dapi.py1603 volume_ref['status'] = volume_status
1605 volume_ref.save(session=session)
1606 return (volume_ref, updated_values)
1622 volume_ref = models.Volume()
1625 volume_ref.update(values)
1629 session.add(volume_ref)
1861 volume_ref.update(volume_updates)
1862 volume_ref.save(session=session)
2663 volume_ref.update(values)
2664 volume_refs.append(volume_ref)
[all …]
/dports/games/gemrb/gemrb-0.9.0/gemrb/GUIScripts/pst/
H A DGUIOPT.py173 def UpdateVolume (volume_ref): argument
175 AudioHelpText.SetText (volume_ref)
/dports/misc/py-cinder/cinder-12.0.10/cinder/tests/unit/volume/
H A D__init__.py122 def fake_clone_image(ctx, volume_ref, argument
/dports/misc/py-cinder/cinder-12.0.10/cinder/volume/drivers/
H A Dsheepdog.py500 volume_ref = {'name': image_meta['id'], 'size': image_meta['size']}
501 self.create_cloned_volume(volume, volume_ref)
H A Dlvm.py610 raise exception.ManageExistingAlreadyManaged(volume_ref=lv_name)
/dports/misc/py-cinder/cinder-12.0.10/cinder/tests/unit/volume/drivers/
H A Dtest_remotefs.py564 volume_ref = Volume(id=volume.id,
609 mock_obj_snap.return_value, volume_ref, volume['size'])
620 [mock.call(src_vref), mock.call(volume_ref)])
621 mock_extend_volume.assert_called_once_with(volume_ref, volume.size)
H A Dtest_pure.py1403 volume_ref = {'name': ref_name}
1406 self.driver.manage_existing(VOLUME, volume_ref)
1455 volume_ref = {'name': ref_name}
1459 size = self.driver.manage_existing_get_size(VOLUME, volume_ref)
/dports/misc/py-cinder/cinder-12.0.10/cinder/volume/drivers/prophetstor/
H A Ddplcommon.py888 for volume_ref in volumes:
890 self.dpl.delete_vdev(self._conver_uuid2hex(volume_ref['id']))
891 volume_ref['status'] = 'deleted'
894 volume_ref['status'] = 'error_deleting'
/dports/misc/py-cinder/cinder-12.0.10/cinder/volume/drivers/zfssa/
H A Dzfssanfs.py756 raise exception.ManageExistingAlreadyManaged(volume_ref=name)
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/file_manager/
H A Dvolume_manager.cc1448 std::unique_ptr<Volume> volume_ref; in DoUnmountEvent() local
1452 volume_ref = std::move(iter->second); in DoUnmountEvent()
/dports/misc/py-cinder/cinder-12.0.10/cinder/volume/drivers/ibm/
H A Dgpfs.py1209 for volume_ref in volumes:
1210 volume_ref['status'] = 'deleted'

12