Lines Matching refs:DevServer
164 class DevServer(object): class
215 load = DevServer.get_devserver_load(devserver,
233 server_name = DevServer.get_server_name(devserver)
236 call = DevServer._build_call(devserver, 'check_health')
271 elif load[DevServer.FREE_DISK] < DevServer._MIN_FREE_DISK_SPACE_GB:
288 server_name = DevServer.get_server_name(devserver)
291 load = DevServer.get_devserver_load(devserver, timeout_min=timeout_min)
298 disk_ok = DevServer.is_free_disk_ok(load)
302 load[DevServer.FREE_DISK])
486 class CrashServer(DevServer):
532 class ImageServerBase(DevServer):
1435 if load[DevServer.CPU_LOAD] > DevServer.MAX_CPU_LOAD:
1438 load[DevServer.CPU_LOAD], DevServer.MAX_CPU_LOAD)
1440 if load[DevServer.NETWORK_IO] > DevServer.MAX_NETWORK_IO:
1443 load['devserver'], load[DevServer.NETWORK_IO],
1444 DevServer.MAX_NETWORK_IO)
1459 return int(devserver1[DevServer.DISK_IO] - devserver2[DevServer.DISK_IO])
1485 target=DevServer.get_devserver_load_wrapper,
1494 loads = [load for load in loads if load and DevServer.CPU_LOAD in load and
1495 DevServer.is_free_disk_ok(load)]