commit | 678f0a5ae13b5addab4970556d362e0b508b0b2f | [log] [tgz] |
---|---|---|
author | Wei-Yu Chen <weiyu@opennetworking.org> | Tue Dec 21 13:50:52 2021 +0800 |
committer | Wei-Yu Chen <weiyu@opennetworking.org> | Mon Feb 14 22:36:41 2022 +0800 |
tree | 6362a7fc10731587186c0947905d8afe0df6cd5d | |
parent | 5cbdfbb7ff4a82cdfd99ab484858c04bf759eac2 [diff] |
AETHER-2846 Support all parameters which lists in Aether Docs AETHER-2847 Integrating with Prometheus and record eNB information AETHER-2848 Move SAS configuration as enodeb base, not plugin in driver code AETHER-2879 add gps information in prometheus AETHER-2880 add ip and port as configurable parameter in enodebd AETHER-2897 Firmware update feature over CWMP AETHER-3022 Integrate firmware upgrade state into configuration workflow AETHER-3120 Develop ACS state machine with firmware upgrade feature Change-Id: I0bcbf2229ba3c1638f2a997f3c651f8d6240145d
eNodeB daemon is an Automatic Configuration Server (ACS) which forks from Facebook Magma project. It currently tested with Sercomm eNodeB P27-SCE4255W small cell.
make venv python main.py
We have these configuration files for configuring eNodeBD service.
The enodebd will generate the empty configuration to config service, and it will load override_configs/gateway.mconfig
to fill in the empty configuration.
The acs_common.yml
will hold the default value for all eNodeBs, like as the PLMN may be a shared value among all eNodeBs.
The serial_number.yml
will have the customized value for each configurable parameters. The value in serial_number.yml
will override the value defines in gateway.mconfig
and acs_common.yml
when corresponding eNodeB connects (base on the serial number provided by eNodeB).
The following example configuration can start a Prometheus container for monitoring data sent by enodebd. The enodebd will start prometheus server on port 8000 by default.
# prometheus configuration - prometheus.yml global: scrape_interval: 15s external_labels: monitor: 'codelab-monitor' scrape_configs: - job_name: 'prometheus' scrape_interval: 5s static_configs: - targets: ['172.17.0.1:8000']
... and start prometheus container with docker command.
$ docker run -p 9090:9090 -v /home/ubuntu/magma-enodebd-new/prometheus.yml:/etc/prometheus/prometheus.yml prom/prometheus