Home | History | Annotate | Download | only in scheduler

Lines Matching refs:Labels

111         self.labels = rdb_utils.LabelIterator(host.labels.all())
171 host_info['labels'] = self.labels.get_label_names()
330 """Get the platform and labels on this host.
335 labels = [label for label in self.labels if label != platform]
336 return platform, labels
348 """Find all labels started with given string.
351 @return: A list of all matched labels.
354 return [l for l in self.labels if l.startswith(search_string)]
365 boards = self.find_labels_start_with(constants.Labels.BOARD_PREFIX)
366 return (boards[0][len(constants.Labels.BOARD_PREFIX):] if boards
376 return [label[len(constants.Labels.POOL_PREFIX):] for label in
377 self.find_labels_start_with(constants.Labels.POOL_PREFIX)]