feat(ci): migrating all LTE monolithic scenarios w/ docker approach

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
Raphael Defosseux
2022-10-25 15:49:42 +02:00
parent 5324e0c18a
commit f8c82e69b9
33 changed files with 1836 additions and 1348 deletions
@@ -0,0 +1,39 @@
version: '3.8'
services:
enb_mono_tdd:
image: oai-enb:latest
privileged: true
container_name: lte-b200-enb-tdd-05Mhz-tm2
environment:
USE_TDD_MONO: 'yes'
USE_B2XX: 'yes'
ENB_NAME: eNB-in-docker
MCC: '208'
MNC: '92'
MNC_LENGTH: 2
TAC: 1
UTRA_BAND_ID: 40
DL_FREQUENCY_IN_MHZ: 2350
UL_FREQUENCY_OFFSET_IN_MHZ: 0
NID_CELL: 0
NB_PRB: 25
ENABLE_MEASUREMENT_REPORTS: 'no'
ENABLE_X2: 'no'
MME_S1C_IP_ADDRESS: 172.21.18.48
S1C_IF_NAME: eth0
F1_CU_IP_ADDRESS: 172.21.18.45
S1U_IF_NAME: eth0
ENB_X2_IP_ADDRESS: 172.21.18.45
THREAD_PARALLEL_CONFIG: PARALLEL_SINGLE_THREAD
USE_ADDITIONAL_OPTIONS: --RUs.[0].max_rxgain 115 --RUs.[0].nb_tx 2 --RUs.[0].nb_rx 2 --eNBs.[0].component_carriers.[0].nb_antenna_ports 2 --log_config.global_log_options level,nocolor,time,line_num,function
#USE_ADDITIONAL_OPTIONS: --RUs.[0].max_rxgain 115 --RUs.[0].nb_tx 2 --RUs.[0].nb_rx 2 --eNBs.[0].component_carriers.[0].nb_antenna_ports 2 --eNBs.[0].component_carriers.[0].nb_antennas_tx 2 --eNBs.[0].component_carriers.[0].nb_antennas_rx 2 --log_config.global_log_options level,nocolor,time,line_num,function
volumes:
- /dev:/dev
network_mode: "host"
healthcheck:
# pgrep does NOT work
test: /bin/bash -c "ps aux | grep -v grep | grep -c softmodem"
interval: 10s
timeout: 5s
retries: 5