63 lines
1.8 KiB
YAML
63 lines
1.8 KiB
YAML
#note: mirror tarffic + server + pcap :capture_packet_type:0, traffic_attr_type: 0, runtime_env_type:0,network_topo_type:0 traffic_load_type:0
|
||
|
||
#####0: in_server_tun 1:in_atca 3: in_adc
|
||
##### proxy_topo_type: type of sapp to tfe traffic transport topology (include: in_server_tun,in_atca, in_adc)
|
||
#proxy_topo_type: 0
|
||
|
||
#####0: pcap; 1: drive(mrzcpd)
|
||
##### capture_packet_type : type of the sapp capture packat from nic(include:pcap,drive(mrzcpd))
|
||
capture_packet_type: 0
|
||
|
||
#####0:mirror 1:series
|
||
##### traffic_attr_type: type of traffic attribute (include mirror and series)
|
||
traffic_attr_type: 0
|
||
|
||
#####0:one-arm 1:two-arms
|
||
##### network_topo_type: type of network topology(include: one-arm and two-arms)
|
||
network_topo_type: 0
|
||
|
||
#####0:raw 1:vxlan 2:vlan
|
||
##### traffic_load_type: type of traffic load(include: raw,vxlan,vlan)
|
||
traffic_load_type: 0
|
||
|
||
#####0:server 1:adc 2:atca
|
||
#### runtime_env_type: type of program runtime environment(include:server,adc,atca )
|
||
runtime_env_type: 0
|
||
|
||
#########################################
|
||
#Sapp Performance Config
|
||
#如果capture_packet_type=0,sapp跑在pcap模式,则以下配置可忽略
|
||
sapp:
|
||
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
|
||
inbound_route_dir: 1
|
||
|
||
#########################################
|
||
#Sapp Double-Arm Config
|
||
packet_io:
|
||
internal_interface: eth2
|
||
external_interface: eth3
|
||
|
||
|
||
#########################################
|
||
#Marsio Config
|
||
mrzcpd:
|
||
iocore: 39
|
||
|
||
mrtunnat:
|
||
lcore_id: 38
|
||
|
||
#########################################
|
||
#Inline Device Config
|
||
inline_device_config:
|
||
keepalive_ip: 192.168.1.30
|
||
keepalive_mask: 255.255.255.252
|
||
data_incoming: eth5
|
||
|
||
#########################################
|
||
|
||
sapp_prometheus_enable: 1
|
||
sapp_prometheus_port: 9273
|
||
sapp_prometheus_url_path: "/metrics"
|