Commit a657a531 authored by vicotor's avatar vicotor

update running model time

parent 288bf6f9
...@@ -88,6 +88,7 @@ func (ModelStatusType) EnumDescriptor() ([]byte, []int) { ...@@ -88,6 +88,7 @@ func (ModelStatusType) EnumDescriptor() ([]byte, []int) {
type NodeManagerInfo struct { type NodeManagerInfo struct {
Publickey string `protobuf:"bytes,1,opt,name=publickey,proto3" json:"publickey,omitempty"` Publickey string `protobuf:"bytes,1,opt,name=publickey,proto3" json:"publickey,omitempty"`
Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
...@@ -131,6 +132,13 @@ func (m *NodeManagerInfo) GetEndpoint() string { ...@@ -131,6 +132,13 @@ func (m *NodeManagerInfo) GetEndpoint() string {
return "" return ""
} }
func (m *NodeManagerInfo) GetLocation() string {
if m != nil {
return m.Location
}
return ""
}
type NodeInfo struct { type NodeInfo struct {
MinerPubkey string `protobuf:"bytes,1,opt,name=miner_pubkey,json=minerPubkey,proto3" json:"miner_pubkey,omitempty"` MinerPubkey string `protobuf:"bytes,1,opt,name=miner_pubkey,json=minerPubkey,proto3" json:"miner_pubkey,omitempty"`
BenefitAddress string `protobuf:"bytes,2,opt,name=benefit_address,json=benefitAddress,proto3" json:"benefit_address,omitempty"` BenefitAddress string `protobuf:"bytes,2,opt,name=benefit_address,json=benefitAddress,proto3" json:"benefit_address,omitempty"`
...@@ -182,7 +190,8 @@ type ModelOperate struct { ...@@ -182,7 +190,8 @@ type ModelOperate struct {
ImageName string `protobuf:"bytes,2,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"` ImageName string `protobuf:"bytes,2,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"`
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
Operate ModelOperateType `protobuf:"varint,5,opt,name=operate,proto3,enum=nodemanager.v2.ModelOperateType" json:"operate,omitempty"` Cmd string `protobuf:"bytes,5,opt,name=cmd,proto3" json:"cmd,omitempty"`
Operate ModelOperateType `protobuf:"varint,6,opt,name=operate,proto3,enum=nodemanager.v2.ModelOperateType" json:"operate,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
...@@ -240,6 +249,13 @@ func (m *ModelOperate) GetPassword() string { ...@@ -240,6 +249,13 @@ func (m *ModelOperate) GetPassword() string {
return "" return ""
} }
func (m *ModelOperate) GetCmd() string {
if m != nil {
return m.Cmd
}
return ""
}
func (m *ModelOperate) GetOperate() ModelOperateType { func (m *ModelOperate) GetOperate() ModelOperateType {
if m != nil { if m != nil {
return m.Operate return m.Operate
...@@ -454,7 +470,7 @@ type RunningModel struct { ...@@ -454,7 +470,7 @@ type RunningModel struct {
StartedTime int64 `protobuf:"varint,4,opt,name=started_time,json=startedTime,proto3" json:"started_time,omitempty"` StartedTime int64 `protobuf:"varint,4,opt,name=started_time,json=startedTime,proto3" json:"started_time,omitempty"`
LastWorkTime int64 `protobuf:"varint,5,opt,name=last_work_time,json=lastWorkTime,proto3" json:"last_work_time,omitempty"` LastWorkTime int64 `protobuf:"varint,5,opt,name=last_work_time,json=lastWorkTime,proto3" json:"last_work_time,omitempty"`
TotalRunCount int32 `protobuf:"varint,6,opt,name=total_run_count,json=totalRunCount,proto3" json:"total_run_count,omitempty"` TotalRunCount int32 `protobuf:"varint,6,opt,name=total_run_count,json=totalRunCount,proto3" json:"total_run_count,omitempty"`
WaitTime int32 `protobuf:"varint,7,opt,name=wait_time,json=waitTime,proto3" json:"wait_time,omitempty"` ExecTime int32 `protobuf:"varint,7,opt,name=exec_time,json=execTime,proto3" json:"exec_time,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
...@@ -526,9 +542,9 @@ func (m *RunningModel) GetTotalRunCount() int32 { ...@@ -526,9 +542,9 @@ func (m *RunningModel) GetTotalRunCount() int32 {
return 0 return 0
} }
func (m *RunningModel) GetWaitTime() int32 { func (m *RunningModel) GetExecTime() int32 {
if m != nil { if m != nil {
return m.WaitTime return m.ExecTime
} }
return 0 return 0
} }
...@@ -537,7 +553,7 @@ type RunningModelStatus struct { ...@@ -537,7 +553,7 @@ type RunningModelStatus struct {
ModelId string `protobuf:"bytes,1,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` ModelId string `protobuf:"bytes,1,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"`
LastWorkTime int64 `protobuf:"varint,2,opt,name=last_work_time,json=lastWorkTime,proto3" json:"last_work_time,omitempty"` LastWorkTime int64 `protobuf:"varint,2,opt,name=last_work_time,json=lastWorkTime,proto3" json:"last_work_time,omitempty"`
TotalRunCount int32 `protobuf:"varint,3,opt,name=total_run_count,json=totalRunCount,proto3" json:"total_run_count,omitempty"` TotalRunCount int32 `protobuf:"varint,3,opt,name=total_run_count,json=totalRunCount,proto3" json:"total_run_count,omitempty"`
WaitTime int32 `protobuf:"varint,4,opt,name=wait_time,json=waitTime,proto3" json:"wait_time,omitempty"` ExecTime int32 `protobuf:"varint,4,opt,name=exec_time,json=execTime,proto3" json:"exec_time,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
...@@ -588,9 +604,9 @@ func (m *RunningModelStatus) GetTotalRunCount() int32 { ...@@ -588,9 +604,9 @@ func (m *RunningModelStatus) GetTotalRunCount() int32 {
return 0 return 0
} }
func (m *RunningModelStatus) GetWaitTime() int32 { func (m *RunningModelStatus) GetExecTime() int32 {
if m != nil { if m != nil {
return m.WaitTime return m.ExecTime
} }
return 0 return 0
} }
...@@ -1148,81 +1164,83 @@ func init() { ...@@ -1148,81 +1164,83 @@ func init() {
func init() { proto.RegisterFile("nodemanager/v2/resource.proto", fileDescriptor_82b654ab87a55cf9) } func init() { proto.RegisterFile("nodemanager/v2/resource.proto", fileDescriptor_82b654ab87a55cf9) }
var fileDescriptor_82b654ab87a55cf9 = []byte{ var fileDescriptor_82b654ab87a55cf9 = []byte{
// 1216 bytes of a gzipped FileDescriptorProto // 1236 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0xdd, 0x8e, 0xdb, 0x44, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0x5b, 0x8f, 0xdb, 0x44,
0x14, 0xae, 0xed, 0x64, 0x9d, 0x3d, 0xf9, 0xd9, 0x68, 0x54, 0xd1, 0x50, 0x5a, 0x58, 0xcc, 0x5f, 0x14, 0xae, 0xe3, 0x64, 0x9d, 0x3d, 0xd9, 0x64, 0xad, 0x51, 0x45, 0x43, 0x69, 0x61, 0x31, 0xb7,
0xa9, 0xca, 0x46, 0x0a, 0x08, 0xa4, 0x22, 0x21, 0xed, 0x4f, 0x58, 0xa2, 0x76, 0xbd, 0x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0x4f, 0xb7, 0xfd, 0x24, 0xea, 0x24, 0xc1, 0x79, 0x96, 0xb1, 0x3c, 0xbb, 0x38, 0x7c,
0x3e, 0xeb, 0xfc, 0x62, 0x5a, 0xee, 0xa3, 0x47, 0xbf, 0x9a, 0x0d, 0xb7, 0xb0, 0xf1, 0x49, 0xe7, 0x80, 0xbf, 0x8e, 0x7e, 0x32, 0xef, 0xcc, 0x58, 0xdc, 0x41, 0xa3, 0x33, 0x4b, 0x3a, 0xcb, 0x3f,
0xf7, 0x15, 0xe0, 0xf1, 0x49, 0xe7, 0x4f, 0xf3, 0xe6, 0x2a, 0xf0, 0xf8, 0xb0, 0xbf, 0x77, 0xc4, 0x9a, 0x9f, 0x96, 0xcc, 0xa7, 0xdd, 0x5f, 0x2a, 0xa6, 0xfb, 0xf0, 0xe1, 0xaf, 0x95, 0x96, 0x5b,
0x04, 0xf5, 0xa9, 0xa0, 0x7f, 0x9b, 0x5b, 0x85, 0xe4, 0xfd, 0xfb, 0x27, 0x9d, 0xc9, 0x06, 0xee, 0x4a, 0x7c, 0xdc, 0xfd, 0x6d, 0x09, 0x78, 0x74, 0xdc, 0xfd, 0xb3, 0x72, 0x73, 0x19, 0x78, 0x74,
0xfe, 0xf1, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x47, 0x0e, 0xad, 0x5b, 0xb8, 0x0a, 0x00, 0x00, 0x30, 0xd8, 0x3d, 0x64, 0x82, 0x06, 0x54, 0xd0, 0xbf, 0x2b, 0x9b, 0x25, 0xe7, 0xfd, 0xfb, 0xc7,
0xdd, 0xe9, 0x1a, 0x66, 0xff, 0xf0, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x20, 0x5c, 0xe0, 0x51,
0xe6, 0x0a, 0x00, 0x00,
} }
...@@ -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