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

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

@@ -19421,7 +19421,7 @@
},
{
"name": "ListEnabledNodesMatchRequest",
"code": "message ListEnabledNodesMatchRequest {\n\tint64 offset = 1;\n\tint64 size = 2;\n\tint64 nodeClusterId = 3;\n\tint32 installState = 4;\n\tint32 activeState = 5;\n\tstring keyword = 6;\n\tint64 nodeGroupId = 7;\n\tint64 nodeRegionId = 8;\n\tint32 level = 9;\n\n\tbool cpuAsc = 20;\n\tbool cpuDesc = 21;\n\tbool memoryAsc = 22;\n\tbool memoryDesc = 23;\n\tbool trafficInAsc = 24;\n\tbool trafficInDesc = 25;\n\tbool trafficOutAsc = 26;\n\tbool trafficOutDesc = 27;\n\tbool loadAsc = 28;\n\tbool loadDesc = 29;\n}",
"code": "message ListEnabledNodesMatchRequest {\n\tint64 offset = 1; // 读取位置\n\tint64 size = 2; // 读取数量\n\tint64 nodeClusterId = 3; // 集群ID\n\tint32 installState = 4; // 安装状态\n\tint32 activeState = 5; // 在线状态\n\tstring keyword = 6; // 关键词\n\tint64 nodeGroupId = 7; // 节点分组ID\n\tint64 nodeRegionId = 8; // 节点区域ID\n\tint32 level = 9; // 节点级别目前只有1L1和2L2\n\n\tbool cpuAsc = 20;\n\tbool cpuDesc = 21;\n\tbool memoryAsc = 22;\n\tbool memoryDesc = 23;\n\tbool trafficInAsc = 24;\n\tbool trafficInDesc = 25;\n\tbool trafficOutAsc = 26;\n\tbool trafficOutDesc = 27;\n\tbool loadAsc = 28;\n\tbool loadDesc = 29;\n\tbool connectionsAsc = 30;\n\tbool connectionsDesc = 31;\n}",
"doc": "列出单页节点"
},
{

File diff suppressed because it is too large Load Diff

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 {