generate-configs.sh#

SYNOPSIS#

generate-configs.sh
    [-h|--help]
    [--clean]
    [--no-patching]
    [--init-nested-repos]
    --rk-dir <kit-rootdir>
    --oai-dir <openairinterface5g_dir>
    --dest <config-dir>

DESCRIPTION#

Initialize the configuration files based on settings on the OpenAirInterface repository and apply patches from the Sionna Research Kit as required by the configuration. Write the resulting configurations in the config directory.

OPTIONS#

--rk-dir <kit-rootdir>#

Specify the base directory of the Sionna Research Kit. Default is the current directory.

--oai-dir <openairinterface5g_dir>#

Specify the base directory of OpenAirInterface. Used to source base files. Default is ‘ext/openairinterface5g’.

--dest <config-dir>#

Destination directory where to create the configuration files. Default is ‘<kit-rootdir>/config’.

-h, --help#

Display help message and exit.

--clean#

Remove the configuration directory before writing the files. This will remove all customizations in the directory.

--no-patching#

Do not apply the Sionna Research Kit patches to the configurations, only copy base files from the OpenAirInterface repository.

--init-nested-repos#

Create a nested git repository for each configuration subdirectory. This allow to track individual changes based from the OAI repository. This is used internally and is not needed in common use cases.

EXAMPLES#

./generate-configs.sh --clean
./generate-configs.sh --clean --rk-dir . --dest ./clean-config-files
./generate-configs.sh --clean --rk-dir . --oai-dir ./ext/openairinterface5g --dest ./clean-config-files
./generate-configs.sh --clean --rk-dir . --oai-dir ./ext/openairinterface5g --dest ./base-config-files-only --no-patching

FILES#

<rk-dir>/patches/config/config-list.txt

List of configurations to create. Each one is a subdirectory in <config-dir>.

<rk-dir>/patches/config/config-mappings.txt

File mappings per config, from OAI files to the subdirectory.

<rk-dir>/patches/config/config.*.patch

Patch files for each configuration.

SEE ALSO#

quickstart-cn5g.sh, start-system.sh