'Get a list of nova services.
Will return HTTP 501 status code if the service_list extension is
not supported.'

@rest_utils.ajax()
def get(self, request):

    if (api.base.is_service_enabled(request, 'compute') and api.nova.extension_supported('Services', request)):
        result = api.nova.service_list(request)
        return {'items': [u.to_dict() for u in result]}
    else:
        raise rest_utils.AjaxError(501, '')
