Dan Kenigsberg has submitted this change and it was merged.
Change subject: rest-api: Model images
......................................................................
rest-api: Model images
API Implemented:
----------------
/api/storagedomains/<sdUUID>/images
* Provide information about images associated with a storage domain
Actions:
/api/storagedomains/<sdUUID>/images/<imgUUID>/delete
- Delete an image and all of its volumes
* Note: Images are implicitly created during volume creation process
Not all available operations are currently supported in the API. Work continues
to complete the API and that can be submitted as follow-up patches.
Change-Id: Iaf7819833ad8b190eb5483a98f9194c69b222049
Signed-off-by: Adam Litke <agl(a)us.ibm.com>
---
M vdsm/rest/Controller.py
M vdsm/rest/templates/Makefile.am
M vdsm/rest/templates/api.xsd
A vdsm/rest/templates/image.json.x
A vdsm/rest/templates/image.xml.x
A vdsm/rest/templates/images.json.x
A vdsm/rest/templates/images.xml.x
M vdsm/rest/templates/rsdl.xml
8 files changed, 159 insertions(+), 0 deletions(-)
Approvals:
Adam Litke: Verified
Dan Kenigsberg: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/3752
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iaf7819833ad8b190eb5483a98f9194c69b222049
Gerrit-PatchSet: 8
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
Gerrit-Reviewer: Adam Litke <agl(a)us.ibm.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Eduardo <ewarszaw(a)redhat.com>