Searched refs:ServerRole (Results 1 – 5 of 5) sorted by relevance
/external/autotest/site_utils/ |
D | server_manager_actions.py | 27 RESTART_SCHEDULER = (server_models.ServerRole.ROLE.SCHEDULER, 29 RESTART_HOST_SCHEDULER = (server_models.ServerRole.ROLE.HOST_SCHEDULER, 31 RESTART_SUITE_SCHEDULER = (server_models.ServerRole.ROLE.SUITE_SCHEDULER, 33 RELOAD_APACHE = (server_models.ServerRole.ROLE.SCHEDULER, 36 STOP_SCHEDULER = (server_models.ServerRole.ROLE.SCHEDULER, 38 STOP_HOST_SCHEDULER = (server_models.ServerRole.ROLE.HOST_SCHEDULER, 40 STOP_SUITE_SCHEDULER = (server_models.ServerRole.ROLE.SUITE_SCHEDULER, 47 server_models.ServerRole.ROLE.SCHEDULER: [RESTART_SCHEDULER], 48 server_models.ServerRole.ROLE.HOST_SCHEDULER: [RESTART_HOST_SCHEDULER], 49 server_models.ServerRole.ROLE.SUITE_SCHEDULER: [all …]
|
D | server_manager_unittest.py | 53 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 …]
|
D | server_manager.py | 63 if (role in server_models.ServerRole.ROLES_REQUIRE_UNIQUE_INSTANCE and 72 server_models.ServerRole.objects.create(server=server, role=role) 150 role__in=server_models.ServerRole.ROLES_REQUIRE_UNIQUE_INSTANCE) 207 server_models.ServerRole.objects.create(server=server, role=role)
|
D | server_manager_utils.py | 138 for role, _ in server_models.ServerRole.ROLE.choices(): 227 servers = get_servers(role=server_models.ServerRole.ROLE.DRONE, 281 servers = get_servers(role=server_models.ServerRole.ROLE.SHARD,
|
/external/autotest/frontend/server/ |
D | models.py | 95 class ServerRole(dbmodels.Model, model_logic.ModelExtensions): class 139 RANGE_LIMITS={'role': ServerRole.ROLE_LIST,
|