Daniel Erez has uploaded a new change for review. Change subject: core: CinderDisk business entity ......................................................................
core: CinderDisk business entity Introducing CinderDisk business entity: * Extends DiskImage. * Snapshots currently defined as unsupported. Change-Id: Ibd6966ffb446f9120965237c573cf64594fd1136 Bug-Url: https://bugzilla.redhat.com/1185826 Signed-off-by: Daniel Erez <de...@redhat.com> --- A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/storage/CinderDisk.java 1 file changed, 14 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/13/39013/1 diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/storage/CinderDisk.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/storage/CinderDisk.java new file mode 100644 index 0000000..66c03e1 --- /dev/null +++ b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/storage/CinderDisk.java @@ -0,0 +1,14 @@ +package org.ovirt.engine.core.common.businessentities.storage; + +public class CinderDisk extends DiskImage { + + @Override + public DiskStorageType getDiskStorageType() { + return DiskStorageType.CINDER; + } + + @Override + public boolean isAllowSnapshot() { + return false; // todo: implement snapshots support + } +} -- To view, visit https://gerrit.ovirt.org/39013 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ibd6966ffb446f9120965237c573cf64594fd1136 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Daniel Erez <de...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches