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
solutions-tsg-scripts/install_config/group_vars/server_as_tun_mode.yml

142 lines
2.8 KiB
YAML
Raw Normal View History

2020-09-10 03:22:39 +08:00
#########################################
2020-09-10 20:12:17 +08:00
#####0: Pcap; 1: Inline_device; 4: ATCA_Vlan_Flipping; 5:ATCA_VXLAN;
tsg_access_type: 1
2020-09-10 03:22:39 +08:00
#####0: Tun_mode; 1: normal;
2020-09-10 20:12:17 +08:00
tsg_running_type: 1
2020-09-10 03:22:39 +08:00
2020-09-25 15:24:41 +08:00
########################################
#Deploy_finished_reboot
Deploy_finished_reboot: 1
2020-09-10 03:22:39 +08:00
########################################
#Server Basic Config
nic_mgr:
name: eth0
nic_inner_ctrl:
name: eth0.100
#########################################
#IP Config
maat_redis_server:
address: "192.168.40.168"
port: 7002
db: 0
dynamic_maat_redis_server:
address: "192.168.40.168"
port: 7002
db: 0
cert_store_server:
address: "192.168.100.1"
port: 9991
log_kafkabrokers:
address: "1.1.1.1:9092,2.2.2.2:9092"
log_minio:
address: "192.168.40.168;"
port: 9090
#########################################
#Log Level Config
#日志等级 10:DEBUG 20:INFO 30:FATAL
fw_ftp_log_level: 10
fw_mail_log_level: 10
fw_http_log_level: 10
fw_dns_log_level: 10
fw_quic_log_level: 10
capture_packet_log_level: 10
tsg_log_level: 10
tsg_master_log_level: 10
kni_log_level: 10
tfe_log_level: 10
tfe_http_log_level: 10
pangu_log_level: 10
doh_log_level: 10
certstore_log_level: 10
2020-09-10 20:12:17 +08:00
clotho_log_level: 10
2020-09-10 03:22:39 +08:00
#########################################
#Sapp Performance Config
#如果tsg_access_type=0sapp跑在pcap模式则以下配置可忽略
sapp:
2020-09-23 14:07:56 +08:00
worker_threads: 23
send_only_threads_max: 1
bind_mask: 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24
2020-09-10 03:22:39 +08:00
inbound_route_dir: 1
#########################################
#Sapp Double-Arm Config
packet_io:
internal_interface: eth2
external_interface: eth3
#########################################
#Kni Config
kni:
global:
tfe_node_count: 1
watch_dog:
switch: 1
maat:
readconf_mode: 2
send_logger:
switch: 1
tfe_nodes:
tfe0_enabled: 1
tfe1_enabled: 0
tfe2_enabled: 0
#########################################
#Tfe Config
tfe:
nr_threads: 32
2020-09-21 18:33:10 +08:00
mirror_enable: 1
2020-09-10 03:22:39 +08:00
#########################################
#Marsio Config
mrzcpd:
iocore: 39
mrtunnat:
lcore_id: 38
2020-09-21 18:33:10 +08:00
#########################################
2020-09-21 23:14:14 +08:00
#Tsg_app
2020-09-23 14:07:56 +08:00
tsg_app_enable: 1
app_global_ip: "1.1.1.1"
2020-09-23 15:27:49 +08:00
applog_level: 10
app_master_log_level: 10
app_sketch_local_log_level: 10
app_control_plug_log_level: 10
2020-09-21 18:33:10 +08:00
2020-09-10 03:22:39 +08:00
#########################################
#ATCA Config
#下列配置只在tsg_access_type=4时生效
2020-09-10 20:12:17 +08:00
ATCA_data_incoming:
2020-09-10 03:22:39 +08:00
ethname: enp1s0
vf0_name: enp1s2
vf1_name: enp1s2f1
vf2_name: enp1s2f2
2020-09-10 20:12:17 +08:00
ATCA_VlanFlipping:
2020-09-10 03:22:39 +08:00
vlanID_1: 100
vlanID_2: 101
vlanID_3: 103
vlanID_4: 104
2020-09-10 20:12:17 +08:00
#下列配置只在tsg_access_type=5时生效
ATCA_VXLAN:
keepalive_ip: "10.254.19.1"
keepalive_mask: "255.255.255.252"
2020-09-10 03:22:39 +08:00
#########################################
#Inline Device Config
inline_device_config:
2020-09-10 20:12:17 +08:00
keepalive_ip: 192.168.1.30
keepalive_mask: 255.255.255.252
data_incoming: eth5