Change in ovirt-engine[ovirt-engine-3.5]: restapi: Import block Storage Domain
tnisan at redhat.com
tnisan at redhat.com
Wed Jan 14 11:58:00 UTC 2015
Tal Nisan has submitted this change and it was merged.
Change subject: restapi: Import block Storage Domain
......................................................................
restapi: Import block Storage Domain
Add the possibility to import an existing iSCSI storage Domains.
Adding a boolean flag called "import" to indicate this block Storage
Domain should be imported.
The API should be called as folllow:
POST
http://localhost:8080/ovirt-engine/api/storagedomains/
HTTP/1.1
Accept: application/xml
Content-type: application/xml
<storage_domain id="39baf524-380e-407c-8625-50709fcaa9c2">
<import>true</import>
<host id="052a880a-53e0-4fe3-9ed5-01f939d1df66" />
<type>data</type>
<storage>
<type>iscsi</type>
</storage>
</storage_domain>
Change-Id: Ia7c9083be50ba83547446596b452041f52568da4
Bug-Url: https://bugzilla.redhat.com/1181681
Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
M backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainsResource.java
3 files changed, 73 insertions(+), 1 deletion(-)
Approvals:
Juan Hernandez: Looks good to me, approved
Maor Lipchuk: Verified
--
To view, visit http://gerrit.ovirt.org/36860
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia7c9083be50ba83547446596b452041f52568da4
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list