Home
last modified time | relevance | path

Searched refs:ServerRole (Results 1 – 5 of 5) sorted by relevance

/external/autotest/site_utils/
Dserver_manager_unittest.py53 server_models.ServerRole,
54 attrs={'role': server_models.ServerRole.ROLE.DRONE})
56 server_models.ServerRole,
57 attrs={'role': server_models.ServerRole.ROLE.SCHEDULER})
93 self.mox.StubOutWithMock(server_models.ServerRole, 'delete')
94 self.mox.StubOutWithMock(server_models.ServerRole.objects, 'create')
95 self.mox.StubOutWithMock(server_models.ServerRole.objects, 'filter')
116 server_models.ServerRole.objects.create(
117 server=mox.IgnoreArg(), role=server_models.ServerRole.ROLE.DRONE
121 role=server_models.ServerRole.ROLE.DRONE)
[all …]
Dserver_manager_actions.py27 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],
[all …]
Dserver_manager.py62 if (role in server_models.ServerRole.ROLES_REQUIRE_UNIQUE_INSTANCE and
71 server_models.ServerRole.objects.create(server=server, role=role)
144 role__in=server_models.ServerRole.ROLES_REQUIRE_UNIQUE_INSTANCE)
199 server_models.ServerRole.objects.create(server=server, role=role)
Dserver_manager_utils.py135 roles = [role for role, _ in server_models.ServerRole.ROLE.choices()]
231 servers = get_servers(role=server_models.ServerRole.ROLE.DRONE,
285 servers = get_servers(role=server_models.ServerRole.ROLE.SHARD,
/external/autotest/frontend/server/
Dmodels.py95 class ServerRole(dbmodels.Model, model_logic.ModelExtensions): class
146 RANGE_LIMITS={'role': ServerRole.ROLE_LIST,