Files
openairinterface5g/ci-scripts/yaml_files/sa_fhi_7.2_metanoia_2x2_gnb
Jaroslava Fiedlerova acd8f0730b CI: use IOVA VA mode in FHI7.2 pipeline
Switching to IOVA VA mode in the FHI7.2 pipeline reduces the required
capabilities for the Docker container. This change allows the removal
of the SYS_ADMIN capability.
2025-01-10 14:59:36 +01:00
..

OAI O-RAN 7.2 Front-haul Docker Compose

Docker deploy 7.2

This docker-compose is designed to use OAI-gNB with a 7.2 compatible Radio Unit. Before using this docker compose you have to configure the host machine as per the ORAN_FHI7.2_Tutorial. The container image used by the docker compose file is tested only on Ubuntu 22.04 and RHEL 9.4 docker host.

Build Image (Optional)

Refer to OAI Docker/Podman Build and Usage Procedures

Configure Networking

SR-IOV Virtual Functions (VFs)

In docker-compose environment there is no automated method to configure the VFs on the fly. The user will have to manually configure C/U plane VFs before starting the container OAI-gNB.

You can follow the step configure-network-interfaces-and-dpdk-vfs.

Interface towards AMF (N2)

For N2 interface we are using macvlan driver of docker.

You can use the bridge driver, in situation

  • When the core network is running on the same machine
  • or different machine but you have configured needed ip route and forwarding to access the core network from RAN host.

To configure docker macvlan network you need to choose ipam.config and driver_opts.parent are per your environment

    oai-net:
        driver: macvlan
        name: oai-net
        ipam:
            config:
                - subnet: "172.21.16.0/22"
                  ip_range: "172.21.18.20/32"
                  gateway: "172.21.19.254"
        driver_opts:
            com.docker.network.bridge.name: "oai-net"
            parent: ens7f0

To configure bridge network you need to choose ipam.config.subnet as per your environment.

    oai-net:
        driver: bridge
        name: oai-net
        ipam:
            config:
                - subnet: 192.168.72.128/26
        driver_opts:
            com.docker.network.bridge.name: "oai-net"

Deploy OAI-gNB Container

The configuration file used by docker compose is configured for Metanoia RU.

docker-compose up -d

To check the logs

docker logs oai-gnb -f