summaryrefslogtreecommitdiff
path: root/shaping/test/test_conf/shaping.conf
diff options
context:
space:
mode:
Diffstat (limited to 'shaping/test/test_conf/shaping.conf')
-rw-r--r--shaping/test/test_conf/shaping.conf42
1 files changed, 42 insertions, 0 deletions
diff --git a/shaping/test/test_conf/shaping.conf b/shaping/test/test_conf/shaping.conf
new file mode 100644
index 0000000..78d458f
--- /dev/null
+++ b/shaping/test/test_conf/shaping.conf
@@ -0,0 +1,42 @@
+[SYSTEM]
+WORK_THREAD_NUM=2
+ENABLE_CPU_AFFINITY=1
+CPU_AFFINITY_MASK=1-2
+
+[MARSIO]
+DEV_INTERFACE="eth_interface"
+RX_BRUST_MAX=1
+APP_SYMBOL="shaping"
+
+[MAAT]
+INPUT_MODE=1
+TABLE_INFO="conf/table_info.conf"
+JSON_FILE="conf/shaping_maat.json"
+REDIS_DB_IDX=0
+REDIS_IP="127.0.0.1"
+REDIS_PORT="6379"
+
+
+[SWARMKV]
+SWARMKV_CLUSTER_NAME="shaping"
+SWARMKV_NODE_IP="127.0.0.1"
+SWARMKV_NODE_PORT=5210
+SWARMKV_CONSUL_IP="127.0.0.1"
+SWARMKV_CONSUL_PORT=8500
+SWARMKV_CLUSTER_ANNOUNCE_IP="127.0.0.1"
+SWARMKV_CLUSTER_ANNOUNCE_PORT=8501
+SWARMKV_HEALTH_CHECK_PORT=0
+SWARMKV_HEALTH_CHECK_ANNOUNCE_PORT=1111
+
+[METRIC]
+FIELDSTAT_OUTPUT_INTERVAL_MS=999999000
+FIELDSTAT_ENABLE_BACKGRUND_THREAD=0
+TELEGRAF_IP="127.0.0.1"
+TELEGRAF_PORT=6667
+
+[CONFIG]
+#PROFILE_QUEUE_LEN_PER_PRIORITY_MAX=128
+SESSION_QUEUE_LEN_MAX=128
+QUEUEING_SESSIONS_PER_PRIORITY_PER_THREAD_MAX=1024
+POLLING_NODE_NUM_MAX={"polling_node_num_max":[ 3, 2, 2, 1, 1, 1, 1, 1, 1, 1 ]}
+