mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-25 11:36:35 +08:00
在节点详情中显示API节点地址/DNS节点也支持自定义API节点地址
This commit is contained in:
@@ -84,6 +84,12 @@ service NSNodeService {
|
||||
|
||||
// 修改NS节点的DDoS设置
|
||||
rpc updateNSNodeDDoSProtection(UpdateNSNodeDDoSProtectionRequest) returns (RPCSuccess);
|
||||
|
||||
// 查找单个节点的API相关配置
|
||||
rpc findNSNodeAPIConfig(FindNSNodeAPIConfigRequest) returns (FindNSNodeAPIConfigResponse);
|
||||
|
||||
// 修改某个节点的API相关配置
|
||||
rpc updateNSNodeAPIConfig(UpdateNSNodeAPIConfigRequest) returns (RPCSuccess);
|
||||
}
|
||||
|
||||
// 根据集群查找所有NS节点
|
||||
@@ -297,3 +303,17 @@ message UpdateNSNodeDDoSProtectionRequest {
|
||||
bytes ddosProtectionJSON = 2;
|
||||
}
|
||||
|
||||
// 查找单个节点的API相关配置
|
||||
message FindNSNodeAPIConfigRequest {
|
||||
int64 nsNodeId = 1;
|
||||
}
|
||||
|
||||
message FindNSNodeAPIConfigResponse {
|
||||
bytes apiNodeAddrsJSON = 1;
|
||||
}
|
||||
|
||||
// 修改某个节点的API相关配置
|
||||
message UpdateNSNodeAPIConfigRequest {
|
||||
int64 nsNodeId = 1;
|
||||
bytes apiNodeAddrsJSON = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user