Add admin API for share-server deletion

Registered by Valeriy Ponomaryov

Manila has config option for share-servers "delete_share_server_with_last_share", if it is True, share-server will be deleted after deletion of last share. If it False, share-server won't be deleted with last share.

Using second case we should be able to delete server by API call, but we don't have it.

So, proposal is next:

Add API "share-server-delete %share-server-id%" , that will schedule deletion of server if there are no dependent shares.
Policy: admin only.

Blueprint information

Status:
Complete
Approver:
Ben Swartzlander
Priority:
Undefined
Drafter:
Valeriy Ponomaryov
Direction:
Needs approval
Assignee:
Valeriy Ponomaryov
Definition:
Pending Approval
Series goal:
Proposed for juno
Implementation:
Implemented
Milestone target:
milestone icon juno-2
Started by
Valeriy Ponomaryov
Completed by
Valeriy Ponomaryov

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/add-admin-api-delete-share-server,n,z

Addressed by: https://review.openstack.org/103911
    Add share-server-delete API

Addressed by: https://review.openstack.org/103943
    Add support for share-server-delete API

(?)

Work Items

Work items:
API implementation in manila: DONE
API support in manilaclient: DONE

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.