Change in ovirt-engine[master]: core: add disk_storage_type to base_disks table

derez at redhat.com derez at redhat.com
Tue Mar 24 20:01:01 UTC 2015


Daniel Erez has submitted this change and it was merged.

Change subject: core: add disk_storage_type to base_disks table
......................................................................


core: add disk_storage_type to base_disks table

Adding disk_storage_type column to base_disks table
in order to support multiple types (i.e. image/lun/cinder).

* Updated base_disks_sp: InsertBaseDisk / UpdateBaseDisk
* Updated create_views: images_storage_domain_view / vm_images_view /
                        all_disks_including_snapshots

Change-Id: Ib910f991d060a8b8b0372c4b252501562fc5757a
Bug-Url: https://bugzilla.redhat.com/1185826
Signed-off-by: Daniel Erez <derez at redhat.com>
---
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/storage/BaseDisk.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/storage/Disk.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/BaseDiskDaoDbFacadeImpl.java
M packaging/dbscripts/base_disks_sp.sql
M packaging/dbscripts/create_views.sql
A packaging/dbscripts/upgrade/03_06_1130_add_disk_storage_type_column_to_base_disks.sql
6 files changed, 43 insertions(+), 15 deletions(-)

Approvals:
  Daniel Erez: Verified; Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/39010
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib910f991d060a8b8b0372c4b252501562fc5757a
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list