Compare commits
2 Commits
f09c8fb244
...
0683eba527
Author | SHA1 | Date | |
---|---|---|---|
|
0683eba527 | ||
|
20f9997a84 |
27
src/simulation_manage.proto
Normal file
27
src/simulation_manage.proto
Normal file
@ -0,0 +1,27 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package simulation_manage;
|
||||
|
||||
// 仿真服务器状态
|
||||
message SimulationServerInfo {
|
||||
// 服务id
|
||||
string serviceId = 1;
|
||||
// 服务器当前cpu使用率
|
||||
float cpuUsage = 2;
|
||||
// 服务器总内存
|
||||
uint64 totalMemory = 3;
|
||||
// 使用内存
|
||||
uint64 usedMemory = 4;
|
||||
}
|
||||
|
||||
// 启动仿真请求
|
||||
message StartSimulationRequest {
|
||||
// 功能id
|
||||
string functionId = 1;
|
||||
}
|
||||
|
||||
// 启动仿真响应
|
||||
message StartSimulationResponse {
|
||||
// 仿真id
|
||||
string simulationId = 1;
|
||||
}
|
Loading…
Reference in New Issue
Block a user