Commit a657a531 authored by vicotor's avatar vicotor

update running model time

parent 288bf6f9
This diff is collapsed.
...@@ -5,6 +5,7 @@ package nodemanager.v2; ...@@ -5,6 +5,7 @@ package nodemanager.v2;
message NodeManagerInfo { message NodeManagerInfo {
string publickey = 1; string publickey = 1;
string endpoint = 2; string endpoint = 2;
string location = 3;
} }
message NodeInfo { message NodeInfo {
...@@ -33,7 +34,8 @@ message ModelOperate { ...@@ -33,7 +34,8 @@ message ModelOperate {
string image_name = 2; string image_name = 2;
string username = 3; string username = 3;
string password = 4; string password = 4;
ModelOperateType operate = 5; string cmd = 5;
ModelOperateType operate = 6;
} }
message ModelStatus { message ModelStatus {
...@@ -66,14 +68,14 @@ message RunningModel { ...@@ -66,14 +68,14 @@ message RunningModel {
int64 started_time = 4; int64 started_time = 4;
int64 last_work_time = 5; int64 last_work_time = 5;
int32 total_run_count = 6; int32 total_run_count = 6;
int32 wait_time = 7; int32 exec_time = 7; // 任务执行完需要的时长
} }
message RunningModelStatus { message RunningModelStatus {
string model_id = 1; string model_id = 1;
int64 last_work_time = 2; int64 last_work_time = 2;
int32 total_run_count = 3; int32 total_run_count = 3;
int32 wait_time = 4; int32 exec_time = 4; // 任务执行完需要的时长
} }
message HardwareInfo { message HardwareInfo {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment