Home
last modified time | relevance | path

Searched refs:spare_pool (Results 1 – 3 of 3) sorted by relevance

/external/autotest/site_utils/
Dbalance_pools.py316 def _exchange_labels(dry_run, hosts, target_pool, spare_pool): argument
335 len(hosts), spare_pool.pool, target_pool.pool)
353 'source_pool': spare_pool.pool,
361 removals = spare_pool.pool_labels
388 spare_pool = _DUTPool(afe, arguments.spare, labels, start_time, end_time)
401 spare_duts = spare_pool.working_hosts[:spares_needed]
430 labels, spare_pool.pool, len(spare_pool.working_hosts),
467 spare_pool, main_pool)
469 main_pool, spare_pool)
Dlab_inventory.py412 def get_spares_buffer(self, spare_pool=SPARE_POOL): argument
423 return self.get_total(spare_pool) - self.get_broken()
552 def _reportable_models(inventory, spare_pool=SPARE_POOL): argument
562 spares = poolset.get_total(spare_pool)
Dlab_inventory_unittest.py982 spare_pool = lab_inventory.SPARE_POOL
984 histories = self._create_histories((spare_pool,),