Dan Kenigsberg has submitted this change and it was merged.
Change subject: rest-api: Model StorageDomains
......................................................................
rest-api: Model StorageDomains
API Implemented:
----------------
/api/storagedomains : Manipulate Storage Domains
* Provide comprehensive information about known domains
Actions:
/api/storagedomains/create
- Create a new storage domain
/api/storagedomains/<id>/format
- Remove and erase a storage domain
/api/storagedomains/<id>/attach
- Attach a storage domain to a storage pool
/api/storagedomains/<id>/detach
- Detach a storage domain from a storage pool
/api/storagedomains/<id>/activate
- Activate an inactive, attached storage domain
/api/storagedomains/<id>/deactivate
- Deactivate an active storage domain
Change-Id: I85060179416dc7c4a1a33ef6f8262ce31e908c26
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
M vdsm/rest/templates/root.json.x
M vdsm/rest/templates/root.xml.x
M vdsm/rest/templates/rsdl.xml
A vdsm/rest/templates/storagedomain.json.x
A vdsm/rest/templates/storagedomain.xml.x
A vdsm/rest/templates/storagedomains.json.x
A vdsm/rest/templates/storagedomains.xml.x
10 files changed, 457 insertions(+), 0 deletions(-)
Approvals:
Adam Litke: Verified
Dan Kenigsberg: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/3751
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I85060179416dc7c4a1a33ef6f8262ce31e908c26
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: Saggi Mizrahi <smizrahi(a)redhat.com>