From dc8ca60fc53199251100883b4370de52a6534463 Mon Sep 17 00:00:00 2001
From: panlei <2799247126@qq.com>
Date: 星期四, 22 八月 2019 14:01:53 +0800
Subject: [PATCH] soinfo id change to string

---
 sysset.proto |   50 +++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 41 insertions(+), 9 deletions(-)

diff --git a/sysset.proto b/sysset.proto
index d89d5af..45e5a1f 100644
--- a/sysset.proto
+++ b/sysset.proto
@@ -6,13 +6,45 @@
     string server_id = 1;
     string server_name = 2;
     int32 server_type = 3;
-    string alarm_ip = 4;
-    int32 alarm_port = 5;
-    string web_pic_ip = 6;
-    int32 web_pic_port = 7;
-    string es_pic_ip = 8;
-    int32 es_pic_port = 9;
-    int32 cut_max_duration = 10;
-    int32 cut_min_duration = 11;
-    string reserved = 12;
+    string server_ip = 4;//鏈嶅姟鍣╥p,璋冪敤绯荤粺鍛戒护鑾峰彇
+    string alarm_ip = 5;
+    int32 alarm_port = 6;
+    string web_pic_ip = 7;
+    int32 web_pic_port = 8;
+    string es_pic_ip = 9;
+    int32 es_pic_port = 10;
+    int32 cut_max_duration = 11;
+    int32 cut_min_duration = 12;
+    string reserved = 13;
+
+    string gate_way = 14;
+    string net_mask = 15;
+    int32 real_max = 16;//瀹炴椂澶勭悊鐨勬渶澶ц矾鏁�
+    int32 alarm_threshold_type = 17;//鎶ヨ闃堝�艰缃�(1:鎸夋渶楂樺垎锛�2锛氭寜闃堝�间互涓�)
+    int32 alarm_threshold = 18;
+}
+
+message PollConfig {
+    string server_id = 1;//鏈嶅姟鍣╥d
+    int32 poll_period = 2;//杞鍛ㄦ湡
+    int32 delay = 3;//寤惰繜鏃堕棿
+    bool enable = 4;//鏄惁鍚敤杞
+}
+
+message Cluster {
+    string cluster_id = 1;
+    string cluster_name = 2;
+    string password = 3;
+    string virtual_ip = 4;
+    repeated ClusterNode nodes = 5;
+}
+
+message ClusterNode {
+    string id = 1;
+    string cluster_id = 2;
+    string server_id = 3;
+    string server_name = 4;
+    string node_id = 5;
+    string node_ip = 6;
+    string create_time = 7;
 }
\ No newline at end of file

--
Gitblit v1.8.0