- all RAN code, CI code, configuration files, dockerfiles, in CSSL v1.0
- all deployment code (openshift, charts, ancillary files like shell
scripts), in MIT
- documentation in CC-BY-4.0
- exceptions might apply and are listed in NOTICE
- there is a new LICENSES folder with all licenses
- CONTRIBUTIONS.md has been updated accordingly
For automated changes based on OAI PL v1.1:
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.{c,h,cpp}
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.ts
perl -i~ -0pe 's/<!--.*Licensed to the OpenAirInterface.*openairinterface.org\n.*-->/<!-- SPDX-License-Identifier: LicenseRef-CSSL-1.0 -->/s' **/*.xml
The rest (cmake, files with missing license, cmake) manually.
72 lines
2.1 KiB
YAML
72 lines
2.1 KiB
YAML
# SPDX-License-Identifier: MIT
|
|
|
|
services:
|
|
nv-cubb:
|
|
container_name: nv-cubb
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: all
|
|
capabilities:
|
|
- gpu
|
|
network_mode: host
|
|
shm_size: 4096m
|
|
privileged: true
|
|
stdin_open: true
|
|
tty: true
|
|
volumes:
|
|
- /lib/modules:/lib/modules
|
|
- /dev/hugepages:/dev/hugepages
|
|
- /usr/src:/usr/src
|
|
- ./cuphycontroller_P5G_WNC_GH.yaml:/opt/nvidia/cuBB/cuPHY-CP/cuphycontroller/config/cuphycontroller_P5G_WNC_GH.yaml
|
|
- ./aerial_l1_entrypoint.sh:/opt/nvidia/cuBB/aerial_l1_entrypoint.sh
|
|
- /var/log/aerial:/var/log/aerial
|
|
- ../../../cmake_targets/share:/opt/cuBB/share
|
|
userns_mode: host
|
|
ipc: "shareable"
|
|
image: cubb-build:25-3
|
|
environment:
|
|
- cuBB_SDK=/opt/nvidia/cuBB
|
|
command: bash -c "sudo rm -rf /tmp/phy.log && sudo chmod +x /opt/nvidia/cuBB/aerial_l1_entrypoint.sh && /opt/nvidia/cuBB/aerial_l1_entrypoint.sh"
|
|
healthcheck:
|
|
test: ["CMD-SHELL",'grep -q "L1 is ready!" /tmp/phy.log && echo 0 || echo 1']
|
|
interval: 20s
|
|
timeout: 5s
|
|
retries: 5
|
|
oai-gnb-aerial:
|
|
cpuset: "13-16"
|
|
image: ${REGISTRY-oaisoftwarealliance/}${GNB_IMG:-oai-gnb-aerial}:${TAG:-develop}
|
|
depends_on:
|
|
nv-cubb:
|
|
condition: service_healthy
|
|
cap_drop:
|
|
- ALL
|
|
cap_add:
|
|
- SYS_NICE
|
|
- IPC_LOCK
|
|
ipc: "container:nv-cubb"
|
|
environment:
|
|
USE_ADDITIONAL_OPTIONS: --log_config.global_log_options level,nocolor,utc_time
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: all
|
|
capabilities:
|
|
- gpu
|
|
network_mode: host
|
|
shm_size: 4096m
|
|
stdin_open: true
|
|
tty: true
|
|
volumes:
|
|
- ../../conf_files/gnb-vnf.sa.band78.273prb.aerial.conf:/opt/oai-gnb/etc/gnb.conf
|
|
container_name: oai-gnb-aerial
|
|
healthcheck:
|
|
test: /bin/bash -c "ps aux | grep -v grep | grep -c softmodem"
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|