'Adds volume type access for the given project.
For a full list of available parameters, please refer to the official
API reference:
http://developer.openstack.org/api-ref/block-storage/v2/#add-private-volume-type-access'

def add_type_access(self, volume_type_id, **kwargs):

    post_body = json.dumps({'addProjectAccess': kwargs})
    url = ('types/%s/action' % volume_type_id)
    (resp, body) = self.post(url, post_body)
    self.expected_success(202, resp.status)
    return rest_client.ResponseBody(resp, body)
