diff options
| author | lijie <[email protected]> | 2018-11-13 19:41:13 +0800 |
|---|---|---|
| committer | lijie <[email protected]> | 2018-11-13 19:41:13 +0800 |
| commit | 5d2fa16a8ae712cf8d57b9d31a5980553b87167a (patch) | |
| tree | 7dc0f0e284b56478520de17c9b86107a88376d8f /bin | |
| parent | 845ec90149a3099ebf4888a747dff572a46f82f0 (diff) | |
测试完成写candidate表功能
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/conf/mrl.conf | 16 | ||||
| -rw-r--r-- | bin/conf/table_info.conf | 19 |
2 files changed, 27 insertions, 8 deletions
diff --git a/bin/conf/mrl.conf b/bin/conf/mrl.conf index 19afbea..624e519 100644 --- a/bin/conf/mrl.conf +++ b/bin/conf/mrl.conf @@ -1,20 +1,20 @@ [LOG_INFO]
log_level=20
-log_path=./log/mrl1.log
+log_path=./log/mrl.log
[SOCK_INFO]
mrl_port=8000
mgw_port=8001
mgw_ip=127.0.0.1
[MAAT_INFO]
-Maat_table_path=./conf/Maat_table_info1.conf
+Maat_table_path=./conf/table_info.conf
Maat_max_threads=2
-Maat_redis_ip=127.1.1.1
-Maat_redis_port=8002
-Maat_stat_path=./log/Maat_stat1.log
+Maat_redis_ip=192.168.10.180
+Maat_redis_port=26379
+Maat_stat_path=./log/Maat_stat.log
[HTABLE_INFO]
-ht_slots=1000
-ht_max_element_num=1
-ht_mutex_num=2
+ht_slots=100000
+ht_max_element_num=1000
+ht_mutex_num=5
[VXLAN_INFO]
vxlan_gdev_num=3
vxlan_gdev_mac=00:00:00:00:00:00,11:11:11:11:11:11,22:22:22:22:22:22
diff --git a/bin/conf/table_info.conf b/bin/conf/table_info.conf new file mode 100644 index 0000000..12fe05e --- /dev/null +++ b/bin/conf/table_info.conf @@ -0,0 +1,19 @@ +#each collumn seperate with '\t'
+#id (0~65535)
+#name string
+#type one of ip,expr,expr_plus,digest,intval,compile or plugin
+#src_charset one of GBK,BIG5,UNICODE,UTF8
+#dst_charset combined by GBK,BIG5,UNICODE,UTF8,seperate with '/'
+#do_merege [yes/no]
+#cross cache [number]
+#quick mode [quickon/quickoff], default [quickoff]
+#For ip/intval/digest/compile/group
+#id name type
+#
+#For plugin table
+#id name type valid_column
+#
+#For expr/expr_plus Table
+#id name type src_charset dst_charset do_merge cross_cache quick_mode
+0 IR_NOMINEE_IP plugin 4 --
+1 IR_CANDIDATE_IP plugin 4 --
\ No newline at end of file |
