Configuration File¶
Ella is configured using a yaml formatted file.
Start Ella core with the --config
flag to specify the path to the configuration file.
Parameters¶
logging
(object): The logging configuration.system
(object): The system logging configuration.level
(string): The log level. Options aretrace
,debug
,info
,warn
,error
, andfatal
.output
(string): The output for the logs. Options arestdout
andfile
.path
(string): The path to the log file. This is only used if the output is set tofile
.
audit
(object): The audit logging configuration.output
(string): The output for the logs. Options arestdout
andfile
.path
(string): The path to the log file. This is only used if the output is set tofile
.
db
(object): The database configuration.path
(string): The path to the database file.
interfaces
(object): The network interfaces configuration.n2
(object): The configuration for the n2 interface. This interface should be connected to the radios.name
(string): The name of the network interface.port
(int): The port to listen on.
n3
(object): The configuration for the n3 interface. This interface should be connected to the radios.name
(string): The name of the network interface.
n6
(object): The configuration for the n6 interface. This interface should be connected to the internet.name
(string): The name of the network interface.
api
(object): The configuration for the api interface.name
(string): The name of the network interface.port
(int): The port to listen on.tls
(object): The TLS configuration (optional).cert
(string): The path to the TLS certificate file (optional).key
(string): The path to the TLS key file (optional).
xdp
(object): The XDP configuration.attach-mode
(string): The XDP attach mode. Options arenative
andgeneric
.native
is the most performant option and only works on supported drivers.
Example¶
logging:
system:
level: "info"
output: "stdout"
audit:
output: "file"
path: "/var/log/ella_system.log"
db:
path: "core.db"
interfaces:
n2:
name: "ens4"
port: 38412
n3:
name: "ens5"
n6:
name: "ens6"
api:
name: "ens3"
port: 5002
tls:
cert: "/etc/ella/cert.pem"
key: "/etc/ella/key.pem"
xdp:
attach-mode: "native"