Lines Matching refs:servers
46 servers = server_models.Server.objects.filter(
50 if not servers:
77 def format_servers(servers): argument
93 return '\n'.join(str(server) for server in servers)
96 def format_servers_json(servers): argument
113 for server in servers:
132 def format_servers_table(servers): argument
151 for server in servers:
163 def format_servers_summary(servers): argument
180 servers_by_role = _get_servers_by_role(servers)
183 servers_without_roles = [server for server in servers
194 def _get_servers_by_role(servers): argument
202 for server in servers:
208 def _format_role_servers_summary(role, servers): argument
217 for server in servers)
296 servers = get_servers(role=server_models.ServerRole.ROLE.DRONE,
298 return [s.hostname for s in servers]
350 servers = get_servers(role=server_models.ServerRole.ROLE.SHARD,
352 return [s.hostname for s in servers]
367 servers = get_servers(role=role, status=server_models.Server.STATUS.PRIMARY)
368 for server in servers: