This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tango-kni/conf/kni/kni.conf

77 lines
1.3 KiB
Plaintext

[global]
log_path = ./log/kni/kni.log
log_level = 10
tfe_node_count = 3
manage_eth = enp6s0
deploy_mode = normal
tun_name = tun_kni
src_mac_addr = 00:0e:c6:d6:72:c1
dst_mac_addr = fe:65:b7:03:50:bd
[tfe0]
enabled = 1
dev_eth_symbol = ens1f5
ip_addr = 192.168.100.2
[tfe1]
enabled = 1
dev_eth_symbol = ens1f6
ip_addr = 192.168.100.3
[tfe2]
enabled = 1
dev_eth_symbol = ens1f7
ip_addr = 192.168.100.4
[tfe_cmsg_receiver]
listen_eth = ens1.100
listen_port = 2475
[watch_dog]
switch = 1
listen_eth = ens1.100
listen_port = 2476
keepalive_idle = 2
keepalive_intvl = 1
keepalive_cnt = 3
[marsio]
appsym = knifw
[dup_traffic]
switch = 1
action = 2
capacity = 10000000
error_rate = 0.00001
expiry_time = 60
[traceid2pme_htable]
mho_screen_print_ctrl = 0
mho_thread_safe = 1
mho_mutex_num = 160
mho_hash_slot_size = 640000
mho_hash_max_element_num = 2560000
mho_expire_time = 30
mho_eliminate_type = LRU
#per thread
[tuple2stream_htable]
mho_screen_print_ctrl = 0
mho_thread_safe = 0
mho_mutex_num = 160
mho_hash_slot_size = 80000
mho_hash_max_element_num = 320000
mho_expire_time = 0
mho_eliminate_type = LRU
[field_stat]
remote_switch = 1
remote_ip = 192.168.100.1
remote_port = 8125
local_path = ./fs2_kni.status
stat_cycle = 1
print_mode = 1
#self test Shunt rules security policy id
[self_test]
sec_policy_id = -1