'Delete an existing software deployment.'

@util.policy_enforce
def delete(self, req, deployment_id):

    res = self.rpc_client.delete_software_deployment(req.context, deployment_id)
    if (res is not None):
        raise exc.HTTPBadRequest(res['Error'])
    raise exc.HTTPNoContent()
