'Accept a volume transfer.
For a full list of available parameters, please refer to the official
API reference:
http://developer.openstack.org/api-ref/block-storage/v1/#accept-volume-transfer'

def accept_volume_transfer(self, transfer_id, **kwargs):

    url = ('os-volume-transfer/%s/accept' % transfer_id)
    post_body = json.dumps({'accept': kwargs})
    (resp, body) = self.post(url, post_body)
    body = json.loads(body)
    self.expected_success(202, resp.status)
    return rest_client.ResponseBody(resp, body)
