Allon Mureinik has submitted this change and it was merged.
Change subject: restapi: allow storage conn deletion with no host
......................................................................
restapi: allow storage conn deletion with no host
Allow deletion of storage connection without specifying the host.
Before this change, deletion of storage connection required host id/name
in order to perform a disconnect operation as part of the connection
deletion.
This change allows deleting the connection from db without the need to
disconnect the host from it, since the connection could have been
created without connecting the host to it.
The option to delete connection and disconnect it via the host remains
supported as well.
Feature Page:
http://www.ovirt.org/Features/Manage_Storage_Connections
Change-Id: I7cd9dcea95028e12872beb2496c4338654cfbdb4
Signed-off-by: Alissa Bonas <abonas(a)redhat.com>
---
M
backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/StorageServerConnectionsResource.java
1 file changed, 15 insertions(+), 0 deletions(-)
Approvals:
Allon Mureinik: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/17568
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7cd9dcea95028e12872beb2496c4338654cfbdb4
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alissa Bonas <abonas(a)redhat.com>
Gerrit-Reviewer: Alissa Bonas <abonas(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server