Home | History | Annotate | Download | only in proto
      1 // Copyright 2017 The Android Open Source Project
      2 //
      3 // Licensed under the Apache License, Version 2.0 (the "License");
      4 // you may not use this file except in compliance with the License.
      5 // You may obtain a copy of the License at
      6 //
      7 //      http://www.apache.org/licenses/LICENSE-2.0
      8 //
      9 // Unless required by applicable law or agreed to in writing, software
     10 // distributed under the License is distributed on an "AS IS" BASIS,
     11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12 // See the License for the specific language governing permissions and
     13 // limitations under the License.
     14 
     15 syntax = "proto2";
     16 
     17 package android.test.lab;
     18 
     19 // To specify the whole test execution schedule of a manifest branch.
     20 message LabConfigMessage {
     21   // Lab name where format is labtype-location-instance (e.g., vtslab-mtv32-main).
     22   optional bytes name = 1;
     23   optional bytes owner = 2;
     24 
     25   // For the IP address.
     26   repeated HostConfigMessage host = 11;
     27 }
     28 
     29 // To specify the basic information about a host computer.
     30 message HostConfigMessage {
     31   optional bytes hostname = 1;
     32   optional bytes ip = 2;
     33 
     34   // host management scripts
     35   optional bytes script = 3;
     36   optional bytes setup_script = 4;
     37 
     38   repeated DeviceConfigMessage device = 11;
     39 }
     40 
     41 // To specify information about a DUT (Device Under Test).
     42 message DeviceConfigMessage {
     43   // device serial number (retrieved by fastboot or adb).
     44   optional bytes serial = 1;
     45 
     46   // optional - device index for a host starting from 0 to 13 (max).
     47   optional int32 index = 2;
     48 
     49   // device product type (e.g., taimen or walleye).
     50   optional bytes product = 11;
     51 }
     52 
     53