You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- syntax = "proto3";
- package slurm;
-
- option go_package = "/slurmpb";
- import "idl/static.proto";
-
- message NodeInfo{
- string Arch = 1 ;
- uint32 Boards = 2 ;
- int64 Boot_time = 3 ;
- uint32 Cores = 4 ;
- uint32 Cpu_load = 5 ;
- uint32 Cpus = 6 ;
- string Features = 7;
- string Gres = 8 ;
- string Name = 9 ;
- string Node_addr = 10 ;
- string Node_hostname = 11 ;
- uint32 Node_state = 12 ;
- string Os = 13 ;
- uint64 Real_memory = 14 ;
- string Reason = 15 ;
- int64 Reason_time = 16 ;
- uint32 Reason_uid = 17 ;
- int64 Slurmd_start_time = 18 ;
- uint32 Sockets = 19 ;
- uint32 Threads = 20 ;
- uint32 Tmp_disk = 21 ;
- uint32 Weight = 22 ;
- }
-
- message ListNodesReq{
- SlurmVersion slurm_version = 1;
- }
-
-
- message ListNodesResp {
- repeated NodeInfo node_infos = 1;
- }
-
- message GetNodeReq{
- SlurmVersion slurm_version = 1;
- string node_name = 2;
- }
-
- message GetNodeResp {
- repeated NodeInfo node_infos = 1;
- }
-
- /*message Nodes_info_msg{
- int64 Last_update =1;
- uint32 Record_count =2;
- uint32 Error_code =3;
- repeated NodeInfo node_infos =4;
- }*/
|