blob: dfa29949a2069a1ac1e48491aea973f77b146b31 [file] [log] [blame]
// Copyright 2020 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
syntax = "proto3";
package testplans;
option go_package = "go.chromium.org/chromiumos/infra/proto/go/testplans";
// Configures how different groups of DUTs are chosen during test planning.
// Often different test plans can satisfy a test requirement, these priorities
// are used to choose a plan. Usually based off factors such as DUT
// availability.
message BoardPriority {
// Key to identify a group of DUTs. Must align with keys used as
// HwTest.skylab_board, see that field for more detailed definition of this
// field.
string skylab_board = 1;
// Relative preference for a board. A board with a lower priority will be
// chosen over a board with a higher priority. Priorities may be negative.
// If a board does not have a BoardPriority, it is implicitly 0.
int32 priority = 2;
}
message BoardPriorityList {
repeated BoardPriority board_priorities = 1;
}