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

def create_volume_type(self, **kwargs):

    post_body = json.dumps({'volume_type': kwargs})
    (resp, body) = self.post('types', post_body)
    body = json.loads(body)
    self.expected_success(200, resp.status)
    return rest_client.ResponseBody(resp, body)
