From 0d3ee5a9c502fd42f635a719104293f94bc3cfb7 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期六, 22 六月 2019 12:40:13 +0800
Subject: [PATCH] changes

---
 sysset.pb.go |  252 ++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 224 insertions(+), 28 deletions(-)

diff --git a/sysset.pb.go b/sysset.pb.go
index ce5bebf..3a9f565 100644
--- a/sysset.pb.go
+++ b/sysset.pb.go
@@ -24,15 +24,18 @@
 	ServerId             string   `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
 	ServerName           string   `protobuf:"bytes,2,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
 	ServerType           int32    `protobuf:"varint,3,opt,name=server_type,json=serverType,proto3" json:"server_type,omitempty"`
-	AlarmIp              string   `protobuf:"bytes,4,opt,name=alarm_ip,json=alarmIp,proto3" json:"alarm_ip,omitempty"`
-	AlarmPort            int32    `protobuf:"varint,5,opt,name=alarm_port,json=alarmPort,proto3" json:"alarm_port,omitempty"`
-	WebPicIp             string   `protobuf:"bytes,6,opt,name=web_pic_ip,json=webPicIp,proto3" json:"web_pic_ip,omitempty"`
-	WebPicPort           int32    `protobuf:"varint,7,opt,name=web_pic_port,json=webPicPort,proto3" json:"web_pic_port,omitempty"`
-	EsPicIp              string   `protobuf:"bytes,8,opt,name=es_pic_ip,json=esPicIp,proto3" json:"es_pic_ip,omitempty"`
-	EsPicPort            int32    `protobuf:"varint,9,opt,name=es_pic_port,json=esPicPort,proto3" json:"es_pic_port,omitempty"`
-	CutMaxDuration       int32    `protobuf:"varint,10,opt,name=cut_max_duration,json=cutMaxDuration,proto3" json:"cut_max_duration,omitempty"`
-	CutMinDuration       int32    `protobuf:"varint,11,opt,name=cut_min_duration,json=cutMinDuration,proto3" json:"cut_min_duration,omitempty"`
-	Reserved             string   `protobuf:"bytes,12,opt,name=reserved,proto3" json:"reserved,omitempty"`
+	ServerIp             string   `protobuf:"bytes,4,opt,name=server_ip,json=serverIp,proto3" json:"server_ip,omitempty"`
+	AlarmIp              string   `protobuf:"bytes,5,opt,name=alarm_ip,json=alarmIp,proto3" json:"alarm_ip,omitempty"`
+	AlarmPort            int32    `protobuf:"varint,6,opt,name=alarm_port,json=alarmPort,proto3" json:"alarm_port,omitempty"`
+	WebPicIp             string   `protobuf:"bytes,7,opt,name=web_pic_ip,json=webPicIp,proto3" json:"web_pic_ip,omitempty"`
+	WebPicPort           int32    `protobuf:"varint,8,opt,name=web_pic_port,json=webPicPort,proto3" json:"web_pic_port,omitempty"`
+	EsPicIp              string   `protobuf:"bytes,9,opt,name=es_pic_ip,json=esPicIp,proto3" json:"es_pic_ip,omitempty"`
+	EsPicPort            int32    `protobuf:"varint,10,opt,name=es_pic_port,json=esPicPort,proto3" json:"es_pic_port,omitempty"`
+	CutMaxDuration       int32    `protobuf:"varint,11,opt,name=cut_max_duration,json=cutMaxDuration,proto3" json:"cut_max_duration,omitempty"`
+	CutMinDuration       int32    `protobuf:"varint,12,opt,name=cut_min_duration,json=cutMinDuration,proto3" json:"cut_min_duration,omitempty"`
+	Reserved             string   `protobuf:"bytes,13,opt,name=reserved,proto3" json:"reserved,omitempty"`
+	GateWay              string   `protobuf:"bytes,14,opt,name=gate_way,json=gateWay,proto3" json:"gate_way,omitempty"`
+	NetMask              string   `protobuf:"bytes,15,opt,name=net_mask,json=netMask,proto3" json:"net_mask,omitempty"`
 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 	XXX_unrecognized     []byte   `json:"-"`
 	XXX_sizecache        int32    `json:"-"`
@@ -82,6 +85,13 @@
 		return m.ServerType
 	}
 	return 0
+}
+
+func (m *LocalConfig) GetServerIp() string {
+	if m != nil {
+		return m.ServerIp
+	}
+	return ""
 }
 
 func (m *LocalConfig) GetAlarmIp() string {
@@ -147,30 +157,216 @@
 	return ""
 }
 
+func (m *LocalConfig) GetGateWay() string {
+	if m != nil {
+		return m.GateWay
+	}
+	return ""
+}
+
+func (m *LocalConfig) GetNetMask() string {
+	if m != nil {
+		return m.NetMask
+	}
+	return ""
+}
+
+type Cluster struct {
+	ClusterId            string         `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
+	ClusterName          string         `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
+	Password             string         `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
+	VirtualIp            string         `protobuf:"bytes,4,opt,name=virtual_ip,json=virtualIp,proto3" json:"virtual_ip,omitempty"`
+	Nodes                []*ClusterNode `protobuf:"bytes,5,rep,name=nodes,proto3" json:"nodes,omitempty"`
+	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
+	XXX_unrecognized     []byte         `json:"-"`
+	XXX_sizecache        int32          `json:"-"`
+}
+
+func (m *Cluster) Reset()         { *m = Cluster{} }
+func (m *Cluster) String() string { return proto.CompactTextString(m) }
+func (*Cluster) ProtoMessage()    {}
+func (*Cluster) Descriptor() ([]byte, []int) {
+	return fileDescriptor_5be590c6b2a0d755, []int{1}
+}
+
+func (m *Cluster) XXX_Unmarshal(b []byte) error {
+	return xxx_messageInfo_Cluster.Unmarshal(m, b)
+}
+func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	return xxx_messageInfo_Cluster.Marshal(b, m, deterministic)
+}
+func (m *Cluster) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_Cluster.Merge(m, src)
+}
+func (m *Cluster) XXX_Size() int {
+	return xxx_messageInfo_Cluster.Size(m)
+}
+func (m *Cluster) XXX_DiscardUnknown() {
+	xxx_messageInfo_Cluster.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Cluster proto.InternalMessageInfo
+
+func (m *Cluster) GetClusterId() string {
+	if m != nil {
+		return m.ClusterId
+	}
+	return ""
+}
+
+func (m *Cluster) GetClusterName() string {
+	if m != nil {
+		return m.ClusterName
+	}
+	return ""
+}
+
+func (m *Cluster) GetPassword() string {
+	if m != nil {
+		return m.Password
+	}
+	return ""
+}
+
+func (m *Cluster) GetVirtualIp() string {
+	if m != nil {
+		return m.VirtualIp
+	}
+	return ""
+}
+
+func (m *Cluster) GetNodes() []*ClusterNode {
+	if m != nil {
+		return m.Nodes
+	}
+	return nil
+}
+
+type ClusterNode struct {
+	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+	ClusterId            string   `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
+	ServerId             string   `protobuf:"bytes,3,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
+	ServerName           string   `protobuf:"bytes,4,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
+	NodeId               string   `protobuf:"bytes,5,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
+	NodeIp               string   `protobuf:"bytes,6,opt,name=node_ip,json=nodeIp,proto3" json:"node_ip,omitempty"`
+	CreateTime           string   `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
+	XXX_NoUnkeyedLiteral struct{} `json:"-"`
+	XXX_unrecognized     []byte   `json:"-"`
+	XXX_sizecache        int32    `json:"-"`
+}
+
+func (m *ClusterNode) Reset()         { *m = ClusterNode{} }
+func (m *ClusterNode) String() string { return proto.CompactTextString(m) }
+func (*ClusterNode) ProtoMessage()    {}
+func (*ClusterNode) Descriptor() ([]byte, []int) {
+	return fileDescriptor_5be590c6b2a0d755, []int{2}
+}
+
+func (m *ClusterNode) XXX_Unmarshal(b []byte) error {
+	return xxx_messageInfo_ClusterNode.Unmarshal(m, b)
+}
+func (m *ClusterNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	return xxx_messageInfo_ClusterNode.Marshal(b, m, deterministic)
+}
+func (m *ClusterNode) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_ClusterNode.Merge(m, src)
+}
+func (m *ClusterNode) XXX_Size() int {
+	return xxx_messageInfo_ClusterNode.Size(m)
+}
+func (m *ClusterNode) XXX_DiscardUnknown() {
+	xxx_messageInfo_ClusterNode.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ClusterNode proto.InternalMessageInfo
+
+func (m *ClusterNode) GetId() string {
+	if m != nil {
+		return m.Id
+	}
+	return ""
+}
+
+func (m *ClusterNode) GetClusterId() string {
+	if m != nil {
+		return m.ClusterId
+	}
+	return ""
+}
+
+func (m *ClusterNode) GetServerId() string {
+	if m != nil {
+		return m.ServerId
+	}
+	return ""
+}
+
+func (m *ClusterNode) GetServerName() string {
+	if m != nil {
+		return m.ServerName
+	}
+	return ""
+}
+
+func (m *ClusterNode) GetNodeId() string {
+	if m != nil {
+		return m.NodeId
+	}
+	return ""
+}
+
+func (m *ClusterNode) GetNodeIp() string {
+	if m != nil {
+		return m.NodeIp
+	}
+	return ""
+}
+
+func (m *ClusterNode) GetCreateTime() string {
+	if m != nil {
+		return m.CreateTime
+	}
+	return ""
+}
+
 func init() {
 	proto.RegisterType((*LocalConfig)(nil), "protomsg.LocalConfig")
+	proto.RegisterType((*Cluster)(nil), "protomsg.Cluster")
+	proto.RegisterType((*ClusterNode)(nil), "protomsg.ClusterNode")
 }
 
 func init() { proto.RegisterFile("sysset.proto", fileDescriptor_5be590c6b2a0d755) }
 
 var fileDescriptor_5be590c6b2a0d755 = []byte{
-	// 276 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x91, 0x4d, 0x4e, 0xc3, 0x30,
-	0x10, 0x85, 0x55, 0x4a, 0xdb, 0x64, 0x12, 0x21, 0xe4, 0x95, 0x29, 0x7f, 0x11, 0xab, 0xac, 0xd8,
-	0x70, 0x04, 0xd8, 0x44, 0x02, 0x54, 0x21, 0xf6, 0x91, 0x93, 0x0c, 0x95, 0xa5, 0x26, 0xb6, 0x6c,
-	0x87, 0x36, 0xd7, 0xe0, 0xc4, 0x88, 0x99, 0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0x8f, 0xa4, 0xee,
-	0x4e, 0x64, 0x72, 0x22, 0x75, 0x77, 0x24, 0xd7, 0x10, 0x39, 0xa4, 0x9b, 0x69, 0x64, 0xca, 0xa7,
-	0x99, 0xe6, 0x6a, 0x49, 0xcf, 0xf3, 0xf4, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x00, 0xfc, 0xa0, 0x93,
-	0xb5, 0x01, 0x00, 0x00,
+	// 469 bytes of a gzipped FileDescriptorProto
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xdd, 0x6a, 0xdb, 0x30,
+	0x14, 0xc6, 0x49, 0x93, 0xd8, 0xc7, 0x59, 0x36, 0x04, 0x63, 0x5a, 0xf6, 0x97, 0xe5, 0x2a, 0x30,
+	0xc8, 0xc5, 0xf6, 0x08, 0xdd, 0x8d, 0x61, 0x2d, 0x25, 0x14, 0x76, 0x69, 0x14, 0xeb, 0x2c, 0x88,
+	0xc6, 0x96, 0x90, 0xe4, 0xa6, 0x7e, 0xae, 0x3d, 0xc7, 0x1e, 0x63, 0xef, 0x31, 0x24, 0xd9, 0xb1,
+	0xdb, 0x41, 0xaf, 0x92, 0xf3, 0xfd, 0x1c, 0x9f, 0xa3, 0xf3, 0xc1, 0xdc, 0x34, 0xc6, 0xa0, 0xdd,
+	0x2a, 0x2d, 0xad, 0x24, 0xb1, 0xff, 0x29, 0xcd, 0x61, 0xfd, 0x77, 0x0c, 0xe9, 0x0f, 0x59, 0xb0,
+	0xe3, 0xa5, 0xac, 0x7e, 0x89, 0x03, 0x79, 0x07, 0x89, 0x41, 0x7d, 0x8f, 0x3a, 0x17, 0x9c, 0x46,
+	0xab, 0x68, 0x93, 0xec, 0xe2, 0x00, 0x64, 0x9c, 0x7c, 0x82, 0xb4, 0x25, 0x2b, 0x56, 0x22, 0x1d,
+	0x79, 0x1a, 0x02, 0x74, 0xcd, 0x4a, 0x1c, 0x08, 0x6c, 0xa3, 0x90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