Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Add reference to VM to disks
......................................................................
restapi: Add reference to VM to disks
This patch modifies the top level disk resource so that it populates the
"vms" element with the references to the VMs that are using the disk:
GET /disks/{disk:id}
<disk id="...">
<name>mydisk</name>
<vms>
<vm id="..."/>
<vm id="..."/>
...
</vms>
</disk>
Change-Id: Iaae4d0b0787b5658eab038fd94a6126ce356dd0d
Bug-Url: https://bugzilla.redhat.com/1132502
Signed-off-by: Juan Hernandez <[email protected]>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendDiskResource.java
1 file changed, 28 insertions(+), 0 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Allon Mureinik: Looks good to me, but someone else must approve
--
To view, visit http://gerrit.ovirt.org/34696
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iaae4d0b0787b5658eab038fd94a6126ce356dd0d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Liron Aravot <[email protected]>
Gerrit-Reviewer: Ori Liel <[email protected]>
Gerrit-Reviewer: Tal Nisan <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches