From 9c602a7790417da85af8defd9f7b170496ddd7d5 Mon Sep 17 00:00:00 2001 From: Jaroslava Fiedlerova Date: Fri, 2 Aug 2024 14:30:07 +0200 Subject: [PATCH] CI: Remove unused directory for FHI 7.2 deployments --- .../yaml_files/sa_fhi_7.2_gnb/README.md | 87 ------------------- .../sa_fhi_7.2_gnb/docker-compose.yml | 34 -------- 2 files changed, 121 deletions(-) delete mode 100644 ci-scripts/yaml_files/sa_fhi_7.2_gnb/README.md delete mode 100644 ci-scripts/yaml_files/sa_fhi_7.2_gnb/docker-compose.yml diff --git a/ci-scripts/yaml_files/sa_fhi_7.2_gnb/README.md b/ci-scripts/yaml_files/sa_fhi_7.2_gnb/README.md deleted file mode 100644 index 1acbe7fb86..0000000000 --- a/ci-scripts/yaml_files/sa_fhi_7.2_gnb/README.md +++ /dev/null @@ -1,87 +0,0 @@ - - - - - -
- - - - - - OAI O-RAN 7.2 Front-haul Docker Compose -
- -![Docker deploy 7.2](../../../doc/images/docker-deploy-oai-7-2.png) - -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](../../../doc/ORAN_FHI7.2_Tutorial.md). The container image used by the docker compose file is tested only on `Ubuntu 22.04` docker host. - -## Build Image (Optional) - -Refer to [OAI Docker/Podman Build and Usage Procedures](../../../docker/README.md) - -## 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](../../../doc/ORAN_FHI7.2_Tutorial.md#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: enp193s0f0 -``` - -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](../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.273prb.fhi72.4x4-benetel650.conf) used by docker compose is configured for Benetel 650 RU (RAN650-1v1.0.4-dda1bf5). - -```bash -docker-compose up -d -``` - -To check the logs - -```bash -docker logs oai-gnb -f -``` diff --git a/ci-scripts/yaml_files/sa_fhi_7.2_gnb/docker-compose.yml b/ci-scripts/yaml_files/sa_fhi_7.2_gnb/docker-compose.yml deleted file mode 100644 index e3e93b3b74..0000000000 --- a/ci-scripts/yaml_files/sa_fhi_7.2_gnb/docker-compose.yml +++ /dev/null @@ -1,34 +0,0 @@ -services: - oai-gnb: - image: oai-gnb-fhi72:latest - privileged: true - container_name: oai-gnb - environment: - TZ: Europe/Paris - USE_ADDITIONAL_OPTIONS: --sa --thread-pool 13,14,15,16,17,18 - devices: - - /dev/vfio:/dev/vfio/ - volumes: - - ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.273prb.fhi72.4x4-benetel650.conf:/opt/oai-gnb/etc/gnb.conf - - /dev/hugepages:/dev/hugepages - cpuset: "0,1,2,8,9,10,13,14,15,16,17,18" - networks: - oai-net: - ipv4_address: 172.21.18.20 - healthcheck: - test: /bin/bash -c "pgrep nr-softmodem" - interval: 10s - timeout: 5s - retries: 5 -networks: - 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: enp193s0f0