Allon Mureinik has posted comments on this change.

Change subject: backend, restapi: Add read-only disk functionality
......................................................................


Patch Set 18:

(2 comments)

....................................................
File 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/UpdateVmDiskCommandTest.java
Line 281: 
Line 282:         initializeCommand(parameters);
Line 283:         command.executeVmCommand();
Line 284: 
Line 285:         device.setIsReadOnly(true);
+1
Line 286:         verify(vmDeviceDAO, times(1)).update(device);
Line 287:     }
Line 288: 
Line 289:     private void initializeCommand(UpdateVmDiskParameters params) {


....................................................
File 
backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
Line 525:     urlparams: {}
Line 526:     headers:
Line 527:       Content-Type: {value: application/xml|json, required: true}
Line 528:       Correlation-Id: {value: 'any string', required: false}
Line 529: - name: /api/vms/{vm:id}/disks|rel=add
No, it isn't.

ReadOnly represents how a disk was attached to a VM, not at property of the 
disk on it's own right (e.g., you can have the same disk mounted as read-only 
on vm1 and read-write on vm2).
Line 530:   description: add a new or existing disk to the virtual machine
Line 531:   request:
Line 532:     body:
Line 533:       parameterType: Disk


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I124176e8feb91b601a71e76dd63051648ec4353a
Gerrit-PatchSet: 18
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Vered Volansky <vvola...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Liron Ar <lara...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpast...@redhat.com>
Gerrit-Reviewer: Sergey Gotliv <sgot...@redhat.com>
Gerrit-Reviewer: Tal Nisan <tni...@redhat.com>
Gerrit-Reviewer: Vered Volansky <vvola...@redhat.com>
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