forked from JointCloud/pcm-coordinator
69 lines
1.4 KiB
Protocol Buffer
69 lines
1.4 KiB
Protocol Buffer
syntax = "proto3";
|
|
package slurm;
|
|
|
|
option go_package = "/slurmpb";
|
|
import "google/protobuf/timestamp.proto";
|
|
import "idl/static.proto";
|
|
import "idl/slurmdb_accounting.proto";
|
|
import "idl/slurmdb_assoc.proto";
|
|
|
|
message ClusterInfo{
|
|
repeated AccountingInfo accounting_list = 1 ;
|
|
int32 classification = 2 ;
|
|
string control_host = 3 ;
|
|
int32 control_port = 4 ;
|
|
int32 cpu_count = 5 ;
|
|
int32 dimensions = 6 ;
|
|
int32 dim_size = 7 ;
|
|
int32 flags = 8 ;
|
|
string name = 9 ;
|
|
string nodes = 10 ;
|
|
int32 plugin_id_select = 11 ;
|
|
AssociationInfo root_assoc = 12 ;
|
|
int32 rpc_version = 13 ;
|
|
}
|
|
|
|
message ListClustersReq{
|
|
SlurmVersion slurm_version = 1;
|
|
}
|
|
|
|
message ListClustersResp {
|
|
repeated ClusterInfo cluster_infos = 1;
|
|
}
|
|
|
|
message GetClusterReq{
|
|
SlurmVersion slurm_version = 1;
|
|
string cluster_name = 2;
|
|
}
|
|
|
|
message GetClusterResp {
|
|
repeated ClusterInfo cluster_infos = 1;
|
|
}
|
|
|
|
message AddClusterReq{
|
|
SlurmVersion slurm_version = 1;
|
|
string name =2;
|
|
string nodes =3;
|
|
string control_port = 4 ;
|
|
string cpu_count = 5 ;
|
|
string dimensions = 6 ;
|
|
string dim_size = 7 ;
|
|
string flags = 8 ;
|
|
string classification = 9 ;
|
|
string control_host = 10 ;
|
|
string plugin_id_select = 11 ;
|
|
string rpc_version = 13 ;
|
|
}
|
|
|
|
message AddClusterResp {
|
|
string result = 1;
|
|
}
|
|
|
|
message DeleteClusterReq{
|
|
SlurmVersion slurm_version = 1;
|
|
string names=2;
|
|
}
|
|
|
|
message DeleteClusterResp {
|
|
string result = 1;
|
|
} |