syntax = "proto2";
package oneflow;

import "oneflow/core/eager/eager_instruction.proto";

message ClusterCtrlSessionStart {}
message ClusterCtrlHalt {}
message ClusterCtrlAbort {}

message ClusterInstructionProto {
  oneof instruction_type {
    ClusterCtrlSessionStart cluster_ctrl_session_start = 1;
    ClusterCtrlHalt cluster_ctrl_halt = 2; // normal exit
    vm.EagerInstruction eager_instruction = 3;
    ClusterCtrlAbort cluster_ctrl_abort = 5; // error exit
  }
}
