Searched refs:db_attachment (Results 1 – 3 of 3) sorted by relevance
33 db_attachment = fake_volume.volume_attachment_db_obj()35 volume_attachment_get.return_value = db_attachment186 db_attachment = fake_volume.volume_attachment_db_obj()187 get_used_by_volume_id.return_value = [db_attachment]198 db_attachment = fake_volume.volume_attachment_db_obj()200 get_by_host.return_value = [db_attachment]209 db_attachment = fake_volume.volume_attachment_db_obj()210 get_by_instance_uuid.return_value = [db_attachment]
453 db_attachment = fake_volume.volume_attachment_db_obj(456 volume_attach.return_value = db_attachment
81 def _from_db_object(cls, context, attachment, db_attachment, argument89 value = db_attachment.get(name)105 if 'volume' in expected_attrs and 'volume' in vars(db_attachment):106 db_volume = db_attachment.volume193 db_attachment = db.volume_attach(self._context, updates)194 self._from_db_object(self._context, self, db_attachment)