summaryrefslogtreecommitdiff
path: root/containers/inject-adapter/templates/packet_adapter.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'containers/inject-adapter/templates/packet_adapter.conf.j2')
-rw-r--r--containers/inject-adapter/templates/packet_adapter.conf.j218
1 files changed, 18 insertions, 0 deletions
diff --git a/containers/inject-adapter/templates/packet_adapter.conf.j2 b/containers/inject-adapter/templates/packet_adapter.conf.j2
new file mode 100644
index 00000000..812101a5
--- /dev/null
+++ b/containers/inject-adapter/templates/packet_adapter.conf.j2
@@ -0,0 +1,18 @@
+[packet_io]
+thread_num={{ inject_adapter_affinity | length }}
+cpu_mask={{ inject_adapter_affinity | join (',') }}
+rx_burst_max=128
+bypass_traffic=0
+app_symbol=PacketAdapter
+app_device={{ inject_adapter_config.inject_adapter_nic }}
+
+[stat]
+output_file=log/packet_adapter.fs2
+statsd_server=127.0.0.1
+statsd_port=8100
+# 1 : FS_OUTPUT_STATSD
+# 2 : FS_OUTPUT_INFLUX_LINE
+statsd_format=1
+statsd_cycle=2
+prometheus_listen_port=9009
+prometheus_listen_url=/packet_adapter_prometheus \ No newline at end of file