1// Copyright 2021 The ChromiumOS Authors 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5syntax = "proto3"; 6 7package chromiumos.test.api; 8 9option go_package = "go.chromium.org/chromiumos/config/go/test/api"; 10 11import "chromiumos/test/lab/api/dut.proto"; 12import "chromiumos/test/lab/api/ip_endpoint.proto"; 13import "chromiumos/test/api/provision_state.proto"; 14import "chromiumos/test/api/provision_service.proto"; 15 16message CrosProvisionRequest { 17 // DUT information. 18 chromiumos.test.lab.api.Dut dut = 1; 19 // Provision state is pass through request to the provision service. 20 ProvisionState provision_state = 2; 21 // Address of the DUT Server. 22 chromiumos.test.lab.api.IpEndpoint dut_server = 3; 23 // Address of the server that provide inventory service. 24 chromiumos.test.lab.api.IpEndpoint inventory_server = 4; 25} 26 27message CrosProvisionResponse { 28 chromiumos.test.lab.api.Dut.Id id = 1; 29 // Outcome represents the result of performing provisioning on the DUT. 30 oneof outcome { 31 InstallSuccess success = 2; 32 InstallFailure failure = 3; 33 } 34} 35