github.com/jlmucb/cloudproxy@v0.0.0-20170830161738-b5aa0b619bc4/go/tao/proto/linux_host.proto (about)

     1  //  Copyright (c) 2013, Google Inc.  All rights reserved.
     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  syntax = "proto2";
    15  
    16  package tao;
    17  
    18  // TODO(jlm): Comments for these args.
    19  message LinuxHostSealedBundle {
    20    required string policy = 1;
    21    optional string policy_info = 2;
    22    // Add: algoritm, key name
    23    required bytes data = 3;
    24  }
    25  
    26  message LinuxHostConfig {
    27    // Either "root" or "stacked"
    28    required string type = 1;
    29  
    30    // Either "TPM", "TPM2", "pipe", "file", or "unix"
    31    optional string parent_type = 2;
    32  
    33    // For non-tpm parent types, the parent connection spec
    34    optional string parent_spec = 3;
    35  
    36    // Socket directory, relative to host configuration directory.
    37    optional string socket_dir = 4;
    38  
    39    // Either "process", "docker", or "kvm_coreos"
    40    required string hosting = 5;
    41  
    42    // Path to CoreOS image for hosted KVM, absolute or relative to domain.
    43    optional string kvm_coreos_img = 6;
    44  
    45    // KB of memory to allocate for each VM
    46    optional int32 kvm_coreos_vm_memory = 7;
    47  
    48    // Path to CoreOS authorized_keys for hosted KVM, absolute or relative to domain.
    49    optional string kvm_coreos_ssh_auth_keys = 8;
    50  
    51    // KB of memory to allocate for each VM with custom kernel and initram.
    52    optional int32 kvm_custom_vm_memory = 9;
    53  }