- 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.
60 lines
1.8 KiB
YAML
60 lines
1.8 KiB
YAML
# SPDX-License-Identifier: MIT
|
|
|
|
services:
|
|
dpdk-init:
|
|
image: docker.io/library/oai-dpdk-init:latest
|
|
network_mode: host
|
|
container_name: dpdk-init
|
|
entrypoint: "/tmp/setup_sriov.sh"
|
|
privileged: true
|
|
devices:
|
|
- /dev/vfio:/dev/vfio/
|
|
volumes:
|
|
- ./setup_sriov_vvdn.sh:/tmp/setup_sriov.sh
|
|
- /lib/modules:/lib/modules
|
|
- /usr/lib/modules:/usr/lib/modules
|
|
oai-gnb:
|
|
image: ${REGISTRY-oaisoftwarealliance/}oai-gnb-fhi72:${TAG:-develop}
|
|
cap_add:
|
|
- IPC_LOCK
|
|
- SYS_NICE
|
|
cap_drop:
|
|
- ALL
|
|
container_name: oai-gnb
|
|
environment:
|
|
TZ: Europe/Paris
|
|
USE_ADDITIONAL_OPTIONS: --thread-pool 7,8,9,10,11,12
|
|
devices:
|
|
- /dev/vfio:/dev/vfio/
|
|
volumes:
|
|
- ../../conf_files/gnb.sa.band77.273prb.fhi72.4x4-vvdn.conf:/opt/oai-gnb/etc/gnb.conf
|
|
- /dev/hugepages:/dev/hugepages
|
|
# Please change these values based on your system
|
|
cpuset: "0-12"
|
|
networks:
|
|
oai-net:
|
|
ipv4_address: 172.21.18.20
|
|
depends_on:
|
|
dpdk-init:
|
|
condition: service_completed_successfully
|
|
healthcheck:
|
|
test: /bin/bash -c "/opt/oai-gnb/bin/check-prach-io.sh"
|
|
start_period: 15s
|
|
start_interval: 500ms
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 10
|
|
|
|
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: ens7f0
|