Kanagaraj M has posted comments on this change.

Change subject: gluster: BLL command for volume snapshot create
......................................................................


Patch Set 9:

(1 comment)

http://gerrit.ovirt.org/#/c/34928/9/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/CreateGlusterVolumeSnapshotCommand.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/CreateGlusterVolumeSnapshotCommand.java:

Line 67:             createdSnapshot.setVolumeId(volume.getId());
Line 68:             createdSnapshot.setDescription(snapshot.getDescription());
Line 69:             
createdSnapshot.setSnapshotName(snapshot.getSnapshotName());
Line 70:             createdSnapshot.setCreatedAt(new Date());
Line 71:             createdSnapshot.setStatus(GlusterSnapshotStatus.ACTIVATED);
Is it going to be in ACTIVE state by default?
Line 72:             
getDbFacade().getGlusterVolumeSnapshotDao().save(createdSnapshot);
Line 73:         }
Line 74:         addCustomValue(GlusterConstants.VOLUME_SNAPSHOT_NAME, 
getParameters().getSnapshot().getSnapshotName());
Line 75:     }


-- 
To view, visit http://gerrit.ovirt.org/34928
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I2c27f9e73bac8d6de3022b0dd4e70aa0d8b1494b
Gerrit-PatchSet: 9
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shubhendu Tripathi <shtri...@redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayi...@redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com>
Gerrit-Reviewer: Ramesh N <rnach...@redhat.com>
Gerrit-Reviewer: Sahina Bose <sab...@redhat.com>
Gerrit-Reviewer: Shubhendu Tripathi <shtri...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to