'List hypervisors information.'

def list_hypervisors(self, detail=False):

    url = 'os-hypervisors'
    _schema = schema.list_search_hypervisors
    if detail:
        url += '/detail'
        _schema = schema.list_hypervisors_detail
    (resp, body) = self.get(url)
    body = json.loads(body)
    self.validate_response(_schema, resp, body)
    return rest_client.ResponseBody(resp, body)
