...

Text file src/github.com/Microsoft/hcsshim/internal/computeagent/computeagent.proto

Documentation: github.com/Microsoft/hcsshim/internal/computeagent

     1syntax = "proto3";
     2
     3option go_package = "github.com/Microsoft/hcsshim/internal/computeagent;computeagent";
     4
     5import weak "gogoproto/gogo.proto";
     6import "google/protobuf/any.proto";
     7
     8service ComputeAgent{
     9    rpc AddNIC(AddNICInternalRequest) returns (AddNICInternalResponse) {}
    10    rpc ModifyNIC(ModifyNICInternalRequest) returns (ModifyNICInternalResponse) {}
    11    rpc DeleteNIC(DeleteNICInternalRequest) returns (DeleteNICInternalResponse) {}
    12    rpc AssignPCI(AssignPCIInternalRequest) returns (AssignPCIInternalResponse) {}
    13    rpc RemovePCI(RemovePCIInternalRequest) returns (RemovePCIInternalResponse) {}
    14}
    15
    16message AssignPCIInternalRequest {
    17    string container_id = 1;
    18    string device_id = 2;
    19    uint32 virtual_function_index = 3;
    20    string nic_id = 4; 
    21}
    22
    23message AssignPCIInternalResponse {
    24    string id = 1;
    25}
    26
    27message RemovePCIInternalRequest {
    28    string container_id = 1;
    29    string device_id = 2;
    30    uint32 virtual_function_index = 3;
    31}
    32
    33message RemovePCIInternalResponse {}
    34
    35message AddNICInternalRequest {
    36    string container_id = 1;
    37    string nic_id = 2;
    38    google.protobuf.Any endpoint = 3;
    39}
    40
    41message AddNICInternalResponse {}
    42
    43message ModifyNICInternalRequest {
    44    string nic_id = 1;
    45    google.protobuf.Any endpoint = 2;
    46    IovSettings iov_policy_settings = 3;
    47}
    48
    49message ModifyNICInternalResponse {}
    50
    51message DeleteNICInternalRequest {
    52    string container_id = 1;
    53    string nic_id = 2;
    54    google.protobuf.Any endpoint = 3;
    55}
    56
    57message DeleteNICInternalResponse {}
    58
    59message IovSettings {
    60    uint32 IovOffloadWeight = 1;
    61    uint32 QueuePairsRequested = 2; 
    62    uint32 InterruptModeration = 3;
    63}

View as plain text