Lines Matching refs:server_models
21 from autotest_lib.frontend.server import models as server_models unknown
46 servers = server_models.Server.objects.filter(
48 status=server_models.Server.STATUS.PRIMARY).exclude(
74 return list(server_models.Server.objects.filter(**filters))
200 roles = [role for role, _ in server_models.ServerRole.ROLE.choices()]
274 server = server_models.Server.objects.get(hostname=hostname)
296 servers = get_servers(role=server_models.ServerRole.ROLE.DRONE,
297 status=server_models.Server.STATUS.PRIMARY)
326 attributes = server_models.ServerAttribute.objects.filter(
339 server_models.ServerAttribute.objects.create(
350 servers = get_servers(role=server_models.ServerRole.ROLE.SHARD,
351 status=server_models.Server.STATUS.PRIMARY)
367 servers = get_servers(role=role, status=server_models.Server.STATUS.PRIMARY)