These installation scripts automate the deployment and configuration of a 5G Open Radio Access Network (O-RAN) testbed on both bare metal and virtualized environments, based upon the blueprints described in [1]. The tool simplifies setting up the 5G testbed components, including the 5G Core; Next Generation Node B (gNodeB) composed of Radio Unit (RU), Distributed Unit (DU), and Centralized Unit (CU); User Equipment (UE); and RAN Intelligent Controller (RIC), thereby reducing the complexity and time required to operationalize the testbeds described in the report above.
The automation tool can be used in virtual machines and physical machines with the minimum system requirements listed below. More details on the build options, including the configuration of physical hardware and individual software components are described in the report [1].
Before beginning the installation and setup of the testbed, verify that your system meets the following minimum specifications to prevent issues like pods remaining in pending or crash loop states, often due to insufficient resources.
- Operating System: Linux distributions based on Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS are supported.
- Recommendation: Linux Mint 22, based on Ubuntu 24.04 LTS.
- Hard Drive Storage: Must be
≥ 35
GB. - Base Memory/RAM: Must be
≥ 6000
MB. - Number of Processors: Must be
≥ 2
processors.- Recommendation: Between
6-8
processors for optimal performance.
- Recommendation: Between
- Internet Connectivity: A stable internet connection must be maintained during the installation otherwise the process may fail and require restarting.
For users using a virtual machine, e.g., VirtualBox, the following configuration parameters may be considered to improve performance.
- System
- Extended Features: Ensure that
Enable I/O APIC
is checked to improve interrupt handling. - Extended Features: Check
Enable PAE/NX
and if possible, also checkEnable Nested VT-x/AMD-V
. - Paravirtualization Interface: If the host machine is a Mac choose
Default
, if Windows chooseHyper-V
, and if Linux chooseKVM
. - Hardware Virtualization: Ensure that
Enabled Nested Paging
is checked.
- Extended Features: Ensure that
- Display
- Video Memory: Set the slider to the maximum if using a Desktop environment.
- Storage
- Check the SATA controller's
Solid-state Drive
option if using an SSD hard drive.
- Check the SATA controller's
- Network
- Attached to: Select
NAT
to allow the components to communicate locally.
- Attached to: Select
Run the Update Manager to get packages up-to-date, then reboot.
sudo apt-get update && sudo apt-get upgrade -y
If using VirtualBox, insert the Guest Additions CD image and install the Guest Additions with the on-screen prompt or the following commands, then reboot.
sudo apt-get install -y dkms build-essential linux-headers-generic linux-headers-$(uname -r)
sudo mkdir /media/cdrom
sudo mount /dev/cdrom /media/cdrom
cd /media/cdrom
sudo ./VBoxLinuxAdditions.run
sudo adduser $USER vboxsf
Next, install Git and clone the O-RAN-Testbed-Automation repository over HTTPS.
sudo apt-get install -y git
git clone https://github.com/USNISTGOV/O-RAN-Testbed-Automation.git
cd O-RAN-Testbed-Automation
Alternatively, you may clone the repository using SSH: git clone [email protected]:USNISTGOV/O-RAN-Testbed-Automation.git
Begin the installation process, recommended to be run as your current user rather than as root:
./full_install.sh
Tip
Due to set -e
, the scripts will halt upon encountering an error so that it can be corrected before trying again. Since the scripts are idempotent, only the incomplete steps of the installation process will be executed unless specified otherwise. Please be patient until an error occurs or the testbed installation completes successfully.
################################################################################
# Successfully installed the Near-RT RIC, 5G Core, gNodeB, and UE. #
################################################################################
After successful installation, verify that the configs/ files are generated for the 5G Core, gNodeB, and UE using ./generate_configurations.sh
. Run the testbed with ./run.sh
to start the 5G Core and gNodeB as background processes, and the UE in the foreground. Use ./is_running.sh
to check if the components are running, and ./stop.sh
to stop the components.
Attaching UE...
Random Access Transmission: prach_occasion=0, preamble_index=0, ra-rnti=0x39, tti=4174
Random Access Complete. c-rnti=0x4601, ta=0
RRC Connected
PDU Session Establishment successful. IP: 10.45.0.2
RRC NR reconfiguration successful.
The RIC starts automatically on boot and can be accessed with k9s -A
. For more information about a specific component, refer to the README.md files in the respective subdirectories.
USNISTGOV/O-RAN-Testbed-Automation [2] is developed and maintained by the NIST Wireless Networks Division [3], as part of their Open RAN Research Program [4]. Contacts for this software:
- Simeon J. Wuthier, @Simewu
- Peng Liu, @pengnist
- Kyehwan Lee, @kyehwanlee
- Fernando J. Cintrón, @fjcintron
- NIST Software Disclaimer [5]
- NIST Commercial Software Disclaimer [6]
- Fair Use and Licensing Statements of NIST Data/Works [7]
- Liu, Peng, Lee, Kyehwan, Cintrón, Fernando J., Wuthier, Simeon, Savaliya, Bhadresh, Montgomery, Douglas, Rouil, Richard (2024). Blueprint for Deploying 5G O-RAN Testbeds: A Guide to Using Diverse O-RAN Software Stacks. National Institute of Standards and Technology. https://doi.org/10.6028/NIST.TN.2311
- National Institute of Standards and Technology. GitHub. https://github.com/USNISTGOV/O-RAN-Testbed-Automation
- Wireless Networks Division. National Institute of Standards and Technology. https://www.nist.gov/ctl/Wireless-Networks-Division
- Open RAN Research at NIST. National Institute of Standards and Technology. https://www.nist.gov/programs-projects/Open-RAN-Research-NIST
- NIST Software Disclaimer. NIST Software Disclaimer.md
- NIST Commercial Software Disclaimer. NIST Commercial Product Disclaimer.md
- Fair Use and Licensing Statements of NIST Data/Works: LICENSE