86 lines
2.0 KiB
Django/Jinja
86 lines
2.0 KiB
Django/Jinja
[global]
|
|
log_path = ./log/kni/kni.log
|
|
log_level = {{ kni.global.log_level }}
|
|
tfe_node_count = {{ kni.global.tfe_node_count }}
|
|
tfe_data_recv_thread_num = {{ kni.global.tfe_data_recv_thread_num }}
|
|
manage_eth = {{ nic_mgr.name }}
|
|
keepalive_replay_switch = {{ kni.global.keepalive_replay_switch }}
|
|
|
|
[tfe0]
|
|
enabled = 1
|
|
mac_addr = fe:65:b7:03:50:bd
|
|
dev_eth_symbol = {{ nic_to_tfe.tfe0.name }}
|
|
ip_addr = 192.168.100.2
|
|
|
|
[tfe1]
|
|
enabled = 1
|
|
mac_addr = fe:65:b7:03:50:bd
|
|
dev_eth_symbol = {{ nic_to_tfe.tfe1.name }}
|
|
ip_addr = 192.168.100.3
|
|
|
|
[tfe2]
|
|
enabled = 1
|
|
mac_addr = fe:65:b7:03:50:bd
|
|
dev_eth_symbol = {{ nic_to_tfe.tfe2.name }}
|
|
ip_addr = 192.168.100.4
|
|
|
|
[tfe_cmsg_receiver]
|
|
listen_eth = {{ nic_inner_ctrl.name }}
|
|
listen_port = 2475
|
|
|
|
[watch_dog]
|
|
switch = {{ kni.watch_dog.switch }}
|
|
listen_eth = {{ nic_inner_ctrl.name }}
|
|
listen_port = 2476
|
|
keepalive_idle = 2
|
|
keepalive_intvl = 1
|
|
keepalive_cnt = 3
|
|
|
|
[maat]
|
|
readconf_mode = {{ kni.maat.readconf_mode }}
|
|
tableinfo_path = ./conf/kni/maat_tableinfo.conf
|
|
maatjson_path = ./conf/kni/maat_test.json
|
|
redis_ip = {{ maat_redis_server.address }}
|
|
redis_port = {{ maat_redis_server.port }}
|
|
redis_index = {{ maat_redis_server.db }}
|
|
tablename_intercept_ip = PXY_INTERCEPT_IP
|
|
tablename_intercept_domain = PXY_INTERCEPT_DOMAIN
|
|
default_action = {{ kni.maat.default_action }}
|
|
|
|
[send_logger]
|
|
switch = {{ kni.send_logger.switch }}
|
|
kafka_topic = SESSION-RECORD-LOG
|
|
kafka_brokerlist = {{ log_kafkabrokers.address }}
|
|
|
|
[marsio]
|
|
appsym = knifw
|
|
dev_vxlan_symbol = vxlan_user
|
|
src_mac_addr = 00:0e:c6:d6:72:c1
|
|
|
|
[kafka]
|
|
queue.buffering.max.messages = 1000000
|
|
topic.metadata.refresh.interval.ms = 600000
|
|
security.protocol = MG
|
|
|
|
[traceid2pme_htable]
|
|
mho_screen_print_ctrl = 0
|
|
mho_thread_safe = 1
|
|
mho_mutex_num = 160
|
|
mho_hash_slot_size = 160000
|
|
mho_hash_max_element_num = 1280000
|
|
mho_expire_time = 30
|
|
mho_eliminate_type = LRU
|
|
|
|
[keepalive_replay_htable]
|
|
mho_screen_print_ctrl = 0
|
|
mho_thread_safe = 1
|
|
mho_mutex_num = 160
|
|
mho_hash_slot_size = 160000
|
|
mho_hash_max_element_num = 1280000
|
|
#must be 0
|
|
mho_expire_time = 0
|
|
mho_eliminate_type = LRU
|
|
|
|
[field_stat]
|
|
stat_path = ./fs2_kni.status
|