forked from JointCloud/pcm-coordinator
71 lines
1.4 KiB
Protocol Buffer
71 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_assoc.proto";
|
|
import "idl/slurmdb_coord.proto";
|
|
|
|
message AccountInfo{
|
|
repeated AssociationInfo assoc_list = 1;
|
|
repeated CoordInfo coordinators = 2;
|
|
string description = 3;
|
|
string name = 4;
|
|
string organization = 5;
|
|
}
|
|
|
|
message ListAccountsReq{
|
|
SlurmVersion slurm_version = 1;
|
|
}
|
|
|
|
message ListAccountsResp {
|
|
repeated AccountInfo account_infos = 1;
|
|
}
|
|
|
|
message GetAccountReq{
|
|
SlurmVersion slurm_version = 1;
|
|
string account_name = 2;
|
|
}
|
|
|
|
message GetAccountResp {
|
|
repeated AccountInfo account_infos = 1;
|
|
}
|
|
|
|
message AddAccountReq{
|
|
SlurmVersion slurm_version = 1;
|
|
string clusters =2;
|
|
string default_qos=3;
|
|
string description=4;
|
|
string fair_share=5;
|
|
string grp_cpu_mins=6;
|
|
string grp_cpus=7;
|
|
string grp_jobs=8;
|
|
string grp_memory=9;
|
|
string grp_nodes=10;
|
|
string grp_submit_jobs=11;
|
|
string grp_wall=12;
|
|
string max_cpu_mins=13;
|
|
string max_cpus=14;
|
|
string max_jobs=15;
|
|
string max_nodes=16;
|
|
string max_submit_jobs=17;
|
|
string max_wall=18;
|
|
string names=19;
|
|
string organization=20;
|
|
string parent=21;
|
|
string qos_level=22;
|
|
}
|
|
|
|
message AddAccountResp {
|
|
string result = 1;
|
|
}
|
|
|
|
message DeleteAccountReq{
|
|
SlurmVersion slurm_version = 1;
|
|
string names=2;
|
|
}
|
|
|
|
message DeleteAccountResp {
|
|
string result = 1;
|
|
} |