mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-08 16:10:26 +08:00
集群设置中增加服务设置
This commit is contained in:
@@ -147,6 +147,9 @@ service NodeService {
|
||||
// 修改节点的DDoS设置
|
||||
rpc updateNodeDDoSProtection(UpdateNodeDDoSProtectionRequest) returns (RPCSuccess);
|
||||
|
||||
// 取得节点的服务全局配置
|
||||
rpc findNodeGlobalServerConfig(FindNodeGlobalServerConfigRequest) returns (FindNodeGlobalServerConfigResponse);
|
||||
|
||||
// 取得节点的配置概要信息
|
||||
rpc findEnabledNodeConfigInfo (FindEnabledNodeConfigInfoRequest) returns (FindEnabledNodeConfigInfoResponse);
|
||||
}
|
||||
@@ -562,6 +565,15 @@ message UpdateNodeDDoSProtectionRequest {
|
||||
bytes ddosProtectionJSON = 2;
|
||||
}
|
||||
|
||||
// 取得节点的服务全局配置
|
||||
message FindNodeGlobalServerConfigRequest {
|
||||
int64 nodeId = 1;
|
||||
}
|
||||
|
||||
message FindNodeGlobalServerConfigResponse {
|
||||
bytes globalServerConfigJSON = 1;
|
||||
}
|
||||
|
||||
// 取得节点的配置概要信息
|
||||
message FindEnabledNodeConfigInfoRequest {
|
||||
int64 nodeId = 1;
|
||||
|
||||
Reference in New Issue
Block a user