Lines Matching refs:board
177 def _get_platform_label(board): argument
194 if board.endswith(_FREON_BOARD_TAG):
195 return board
196 if board.startswith('x86-'):
197 return board[len('x86-') :]
205 return platform_map.get(board, board)
209 def _freon_board_toggle(board): argument
220 if board.endswith(_FREON_BOARD_TAG):
223 return board[: -len(_FREON_BOARD_TAG) - 1]
228 if joiner in board:
230 return joiner.join([board, _FREON_BOARD_TAG])
233 def __init__(self, afe, board, pool, start_time, end_time, argument
235 self.board = board
242 self.labels = set([_BOARD_PREFIX + self.board,
243 self._get_platform_label(self.board),
251 board=self.board, pool=self.pool))
253 alternate_board = self._freon_board_toggle(self.board)
257 board=alternate_board, pool=self.pool))
259 self.board = alternate_board
315 self.board, self.pool,
389 def _balance_board(arguments, afe, board, start_time, end_time): argument
403 spare_pool = _DUTPool(afe, board, arguments.spare,
405 main_pool = _DUTPool(afe, board, arguments.pool,
430 _log_info(dry_run, 'Balancing %s %s pool:', board, main_pool.pool)
447 board, main_pool.pool, len(spare_pool.working_hosts))
456 board, main_pool.pool,
463 board, main_pool.pool,
470 board, main_pool.pool, len(main_pool.broken_hosts))
570 def balancer(i, board): argument
578 _balance_board(arguments, afe, board, start_time, end_time)