读取节点列表时可以按照连接数排序

This commit is contained in:
刘祥超
2023-03-15 17:58:01 +08:00
parent e6efbacb98
commit 3ad6c00956
3 changed files with 789 additions and 766 deletions

View File

@@ -204,15 +204,15 @@ message CountAllEnabledNodesRequest {
// 列出单页节点
message ListEnabledNodesMatchRequest {
int64 offset = 1;
int64 size = 2;
int64 nodeClusterId = 3;
int32 installState = 4;
int32 activeState = 5;
string keyword = 6;
int64 nodeGroupId = 7;
int64 nodeRegionId = 8;
int32 level = 9;
int64 offset = 1; // 读取位置
int64 size = 2; // 读取数量
int64 nodeClusterId = 3; // 集群ID
int32 installState = 4; // 安装状态
int32 activeState = 5; // 在线状态
string keyword = 6; // 关键词
int64 nodeGroupId = 7; // 节点分组ID
int64 nodeRegionId = 8; // 节点区域ID
int32 level = 9; // 节点级别目前只有1L1和2L2
bool cpuAsc = 20;
bool cpuDesc = 21;
@@ -224,6 +224,8 @@ message ListEnabledNodesMatchRequest {
bool trafficOutDesc = 27;
bool loadAsc = 28;
bool loadDesc = 29;
bool connectionsAsc = 30;
bool connectionsDesc = 31;
}
message ListEnabledNodesMatchResponse {