Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OdysseusProtocol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Odysseus
OdysseusProtocol
Commits
a657a531
Commit
a657a531
authored
May 20, 2024
by
vicotor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update running model time
parent
288bf6f9
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
107 additions
and
87 deletions
+107
-87
resource.pb.go
gen/proto/go/nodemanager/v2/resource.pb.go
+102
-84
resource.proto
nodemanager/nodemanager/v2/resource.proto
+5
-3
No files found.
gen/proto/go/nodemanager/v2/resource.pb.go
View file @
a657a531
This diff is collapsed.
Click to expand it.
nodemanager/nodemanager/v2/resource.proto
View file @
a657a531
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment