Commit d0b5bc0c authored by Florian Kaltenberger's avatar Florian Kaltenberger

DU or gNB now connects to docker network instead of using host network mode.

parent 020d0937
......@@ -33,7 +33,7 @@ services:
interval: 20s
timeout: 5s
retries: 5
oai-gnb-aerial:
oai-du-aerial:
cpuset: "13-20"
image: oai-gnb-aerial:latest
depends_on:
......@@ -49,16 +49,29 @@ services:
count: all
capabilities:
- gpu
network_mode: host
#network_mode: host
shm_size: 4096m
stdin_open: true
tty: true
volumes:
- ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/du.Aerial.conf:/opt/oai-gnb/etc/gnb.conf
#- ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/vnf.sa.band78.fr1.273PRB.Aerial.conf:/opt/oai-gnb/etc/gnb.conf
container_name: oai-gnb-aerial
container_name: oai-du-aerial
healthcheck:
test: /bin/bash -c "ps aux | grep -v grep | grep -c softmodem"
interval: 10s
timeout: 5s
retries: 5
retries: 5
networks:
oai-ran:
ipv4_address: 192.168.71.141
networks:
oai-ran:
driver: bridge
name: demo-oai-ran
ipam:
config:
- subnet: 192.168.71.128/26
driver_opts:
com.docker.network.bridge.name: "demo-oai-ran"
......@@ -206,7 +206,7 @@ MACRLCs = (
tr_n_preference = "f1";
local_n_if_name = "eno1";
local_n_address = "10.75.11.194";
local_n_address = "192.168.71.141";
remote_n_address = "192.168.70.140";
local_n_portc = 500;
local_n_portd = 2153;
......
......@@ -202,9 +202,9 @@ gNBs =
NETWORK_INTERFACES :
{
GNB_INTERFACE_NAME_FOR_NG_AMF = "demo-oai";
GNB_IPV4_ADDRESS_FOR_NG_AMF = "10.75.9.194/22";
GNB_IPV4_ADDRESS_FOR_NG_AMF = "192.168.71.141/22";
GNB_INTERFACE_NAME_FOR_NGU = "demo-oai";
GNB_IPV4_ADDRESS_FOR_NGU = "10.75.9.194/22";
GNB_IPV4_ADDRESS_FOR_NGU = "192.168.71.141/22";
GNB_PORT_FOR_S1U = 2152; # Spec 2152
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment