blob: 2b647083b044b11ac6faec8e1da2a0767e426b89 [file] [log] [blame]
// Copyright 2020 The ChromiumOS Authors
// 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; }