1// Copyright 2022 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 11message CrOSProvisionMetadata { 12 // Reference DLCs developer documentation: 13 // https://source.corp.google.com/chromeos_public/src/platform2/dlcservice/docs/developer.md 14 message DLCSpec { 15 // id is the DLC ID which is a unique identifier. 16 // The DLC ID must follow a specific format that can be found in the DLC 17 // developer doc below. 18 string id = 1; 19 } 20 // dlc_specs specifies which DLCs to install on the DUT after provisioning. 21 repeated DLCSpec dlc_specs = 2; 22 // preserve_stateful specifies whether the stateful partition should be preserved during 23 // provisioning. If preserve_stateful is not set to true, the stateful partition is 24 // block-level wiped and reset during provisioning. 25 bool preserve_stateful = 3; 26 // update_firmware will update OS bundled firmware(RW only) during the provision. 27 // Please note this firmware update only update RW firmware that built in the 28 // target_build OS image and it is different from firmware provision which 29 // download and update a separate firmware image based on request. 30 bool update_firmware = 6; 31 // only_googler_ssh_keys controls if we provision googler ssh key only. 32 // If true, provision will only enable googler ssh key on the DUT. 33 // If false, provision will enable external & googler ssh key on the DUT. 34 bool only_googler_ssh_keys = 4; 35} 36