Configuration File¶
Ella MOCN is configured using a YAML file. Start Ella MOCN with the --config flag to specify its path. Unknown keys are rejected. Changes take effect on restart.
The operators and radios are not in this file: they are in the database, and set with the UI or the API.
Parameters¶
logging(object, optional): The logging configuration.level(string, optional): The log level:debug,info,warn, orerror. Defaultinfo.
db(object): The database configuration.path(string): The path to the SQLite database file.
api(object, optional): The HTTP API and UI.address(string, optional): The IP address to listen on. Default0.0.0.0.port(int, optional): The TCP port to listen on. Default5030.tls(object, optional): Serve over HTTPS, TLS 1.2 or later. Default: plain HTTP.cert(string): The path to the PEM certificate chain, the server's certificate first.key(string): The path to the PEM private key.
ran(object, optional): The radios.signalling(object, optional): The S1 and NG listeners that radios connect to.address(string, optional): The IP address to listen on. Default0.0.0.0.s1_port(int, optional): The SCTP port of S1. Default36412.ng_port(int, optional): The SCTP port of NG. Default38412.
user_plane(object, optional): The user plane towards the radios.enabled(boolean, optional): Allow user-plane aggregation. Whentrue, Ella MOCN setsnet.ipv4.ip_forwardandnet.ipv6.conf.all.forwardingto1at startup and needs the capabilities in the system requirements. Whenfalse, every operator uses the direct user plane. Defaultfalse.name(string): The network interface that radios' user traffic arrives on. Ella MOCN's address is its first global IPv4 address, or else its first global IPv6 address. Eithernameoraddressmust be set whenenabledistrue, not both.address(string): Ella MOCN's user-plane address towards the radios. A unicast address of an interface of the host. Eithernameoraddressmust be set whenenabledistrue, not both.
telemetry(object, optional): The traces.enabled(boolean, optional): Export traces. Defaultfalse.otlp_endpoint(string): Thehost:portof an OTLP/gRPC collector, over plain gRPC. Required whenenabledistrue.
Example¶
logging:
level: info
db:
path: /var/lib/mocn/mocn.db
api:
address: 0.0.0.0
port: 5030
tls:
cert: /etc/mocn/api.pem
key: /etc/mocn/api.key
ran:
signalling:
address: 0.0.0.0
s1_port: 36412
ng_port: 38412
user_plane:
enabled: true
name: eth1
telemetry:
enabled: true
otlp_endpoint: localhost:4317