diff options
| author | lijie <[email protected]> | 2018-11-11 15:45:10 +0800 |
|---|---|---|
| committer | lijie <[email protected]> | 2018-11-11 15:45:10 +0800 |
| commit | 417434fbc0bde8352a17555c1964851ac3b10b9a (patch) | |
| tree | e82ccba3f6820a0218bb9d69e34fc83c32bcfe96 /bin | |
测试完成读取配置文件功能
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/conf/mrl.conf | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/bin/conf/mrl.conf b/bin/conf/mrl.conf new file mode 100644 index 0000000..19afbea --- /dev/null +++ b/bin/conf/mrl.conf @@ -0,0 +1,33 @@ +[LOG_INFO]
+log_level=20
+log_path=./log/mrl1.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_max_threads=2
+Maat_redis_ip=127.1.1.1
+Maat_redis_port=8002
+Maat_stat_path=./log/Maat_stat1.log
+[HTABLE_INFO]
+ht_slots=1000
+ht_max_element_num=1
+ht_mutex_num=2
+[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
+vxlan_gdev_ip=1.1.1.1,2.2.2.2,3.3.3.3
+vxlan_gdev_port=8000,8001,8002
+vxlan_encap_type=0000,0000,0000
+vxlan_link_id=1,2,3
+vxlan_link_dir=0,0,0
+vxlan_inner_smac=33:33:33:33:33:33,44:44:44:44:44:44,55:55:55:55:55:55
+vxlan_inner_dmac=66:66:66:66:66:66,77:77:77:77:77:77,88:88:88:88:88:88
+vxlan_local_mac=AA:BB:CC:DD:EE:FF
+vxlan_local_ip=1.2.3.4
+vxlan_local_port=7999
+vxlan_inner_ip=4.3.2.1
+vxlan_inner_sport=7890
+vxlan_inner_dport=80
\ No newline at end of file |
