Change in vdsm[master]: rest-api: Model StoragePools

agl at us.ibm.com agl at us.ibm.com
Fri Apr 20 18:09:28 UTC 2012


Adam Litke has uploaded a new change for review.

Change subject: rest-api: Model StoragePools
......................................................................

rest-api: Model StoragePools

API Implemented:
----------------
/api/storagepools
 * Create/connect new storage pool and manipulate connected pools
 Actions:
   /api/storagepools/create
    - Create a new storage pool
   /api/storagepools/connect
    - Connect a storage pool
    * The vdsm API does not maintain information about disconnected storage
      pools so our API must deviate from REST norms by placing the connect verb
      at the collection level instead of the resource level.
   /api/storagepools/<id>/destroy
    - Destroy a connected storage pool
   /api/storagepools/<id>/disconnect
    - Disconnect a storage pool
   /api/storagepools/<id>/spmstart
    - Start the SPM role on this host
   /api/storagepools/<id>/spmstop
    - Stop the SPM role on this host

Change-Id: Ica772c367b7d80e559a816ad7b40331b2ae81ac2
Signed-off-by: Adam Litke <agl at 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/storagepool.json.x
A vdsm/rest/templates/storagepool.xml.x
A vdsm/rest/templates/storagepools.json.x
A vdsm/rest/templates/storagepools.xml.x
10 files changed, 512 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/55/3755/1
--
To view, visit http://gerrit.ovirt.org/3755
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ica772c367b7d80e559a816ad7b40331b2ae81ac2
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl at us.ibm.com>


More information about the vdsm-patches mailing list