Lines Matching full:board
155 # Ensure a host has no more than one board label with it.
156 if label.name.startswith('board:'):
414 @raises ValidationError: If adding more than one platform/board label.
423 if label.name.startswith('board:')]
427 'non-compatible board labels.: %s %s' %
1589 in |build| for |board|.
1676 board='',
1709 @param board: the kind of device to run the tests on.
1780 sample_dut = rpc_utils.get_sample_dut(board, pool)
1803 if not board:
1804 board = utils.ParseBuildName(builds[provision.CROS_VERSION_PREFIX])[0]
1814 # Prepend builds and board to the control file.
1819 'board': board,
1870 def get_host_history(start_time, end_time, hosts=None, board=None, pool=None):
1891 @param board: board type of hosts. Default is None.
1898 hosts=hosts, board=board, pool=pool,
1943 # At peaks one board has about 1200 created but unfinished jobs.
1986 board labels are valid to be added to a given shard.
1988 First check whether board label is in correct format. Second, check whether
1989 the board label exist. Third, check whether the board has already been
1992 @param labels: Board labels separated by comma.
1994 @raises error.RPCException: If label provided doesn't start with `board:`
1995 or board has been added to shard already.
2007 # Check whether the board label is in correct format.
2008 if not label.startswith('board:'):
2009 raise error.RPCException('Sharding only supports `board:.*` label.')
2010 # Check whether the board label exist. If not, exception will be thrown
2013 # Check whether the board has been sharded already
2019 # board is not on any shard, so it's valid.
2028 @param labels: Board labels separated by comma. Jobs of one of the labels
2031 @raises error.RPCException: If label provided doesn't start with `board:` or
2032 board has been added to shard already.
2050 @param labels: Board labels separated by comma.
2052 @raises error.RPCException: If label provided doesn't start with `board:` or
2053 board has been added to shard already.
2140 def get_stable_version(board=stable_version_utils.DEFAULT, android=False):
2141 """Get stable version for the given board.
2143 @param board: Name of the board.
2144 @param android: If True, the given board is an Android-based device. If
2147 @return: Stable version of the given board. Return global configure value
2149 entry of board DEFAULT.
2151 return stable_version_utils.get(board=board, android=android)
2158 @return: A dictionary of board:version.
2164 def set_stable_version(version, board=stable_version_utils.DEFAULT):
2165 """Modify stable version for the given board.
2167 @param version: The new value of stable version for given board.
2168 @param board: Name of the board, default to value `DEFAULT`.
2170 stable_version_utils.set(version=version, board=board)
2174 def delete_stable_version(board):
2175 """Modify stable version for the given board.
2178 board, so default stable version will be used.
2180 @param board: Name of the board.
2182 stable_version_utils.delete(board=board)