节点IP地址可以设置专属集群

This commit is contained in:
GoEdgeLab
2023-03-01 11:39:01 +08:00
parent a46f13ccf4
commit 0ae2ff3e14
5 changed files with 148 additions and 94 deletions

View File

@@ -3,6 +3,8 @@ option go_package = "./pb";
package pb;
import "models/model_node_cluster.proto";
// 节点地址
message NodeIPAddress {
int64 id = 1;
@@ -18,4 +20,6 @@ message NodeIPAddress {
string role = 12;
string backupIP = 13;
bool isHealthy = 14;
repeated NodeCluster nodeClusters = 30;
}