-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathbutterflyd.ini
45 lines (34 loc) · 1.16 KB
/
butterflyd.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
; Note: all parameters given through the configuration file to butterfly
; will overwrite thoses given by command-line
[general]
; Set log level of butterfly
; Possible values are: none, error, info, warning, debug
; If not specified, log-level is set to error by default
; All logs are sent to syslog.
;log-level=error
; Set ip address to use by butterfly on it's DPDK NIC
; This parameter is _mandatory_.
;ip=42.0.0.1
ip=42.0.0.1
; Endpoint the API will listen to. This is a ZMQ endpoint.
; If not specified, endpoint listen to tcp://0.0.0.0:9999
;endpoint=tcp://0.0.0.0:9999
; Set socket directory where butterfly will create NIC sockets
; Directory must exist.
; This parameter is _mandatory_.
;socket-dir=/var/butterfly/sockets/
socket-dir=/tmp
; Choose your CPU core where to run packet processing (default=0)
;graph-cpu-core=0
; DPDK arguments
;dpdk-args=-c1 -n1 --socket-mem 64 --no-shconf --huge-unlink
; Physical NIC MTU
;nic-mtu=9000
;nic-mtu=max
; Dpdk port to use
;dpdk-port=0
[security]
; You can generate an API key to share between butterfly instances
; dd if=/dev/urandom bs=32 count=1 | base64 > api-key
;
;encryption_key_path = /etc/butterflyd/api-key