Lines Matching refs:server_models
19 from autotest_lib.frontend.server import models as server_models unknown
27 RESTART_SCHEDULER = (server_models.ServerRole.ROLE.SCHEDULER,
29 RESTART_HOST_SCHEDULER = (server_models.ServerRole.ROLE.HOST_SCHEDULER,
31 RELOAD_APACHE = (server_models.ServerRole.ROLE.SCHEDULER,
34 STOP_SCHEDULER = (server_models.ServerRole.ROLE.SCHEDULER,
36 STOP_HOST_SCHEDULER = (server_models.ServerRole.ROLE.HOST_SCHEDULER,
43 server_models.ServerRole.ROLE.SCHEDULER: [RESTART_SCHEDULER],
44 server_models.ServerRole.ROLE.HOST_SCHEDULER: [RESTART_HOST_SCHEDULER],
45 server_models.ServerRole.ROLE.DRONE: [RESTART_SCHEDULER],
46 server_models.ServerRole.ROLE.DATABASE:
48 server_models.ServerRole.ROLE.DEVSERVER: [RESTART_SCHEDULER],
56 server_models.ServerRole.ROLE.SCHEDULER: [STOP_SCHEDULER],
57 server_models.ServerRole.ROLE.HOST_SCHEDULER: [STOP_HOST_SCHEDULER],
58 server_models.ServerRole.ROLE.DATABASE:
64 server_models.ServerRole.ROLE.DRONE: [RESTART_SCHEDULER],
65 server_models.ServerRole.ROLE.DEVSERVER: [RESTART_SCHEDULER],
86 role=role, status=server_models.Server.STATUS.PRIMARY)
103 prev_status=server_models.Server.STATUS.REPAIR_REQUIRED,
126 if (server.status != server_models.Server.STATUS.PRIMARY and
127 prev_status != server_models.Server.STATUS.PRIMARY):