This page describes running O-DU High using test stubs, namely CU Stub and RIC Stub. O-DU High also uses Phy Stub in the absence of O-DU Low. However, Phy Stub is built as a part of the O-DU High image itself.
Execution of below steps yields successful UE Attach procedure and message exchanges required for Traffic Steering use-case on the E2 interface. These can be verified on wireshark by capturing SCTP packets.
Cloning code
mkdir odu_high cd odu_high git clone "https://gerrit.o-ran-sc.org/r/o-du/l2"
Compilation of O-DU
cd odu_high/l2/build/odu make clean_odu odu MACHINE=BIT64 MODE=FDD
Compilation of CU Stub
cd odu_high/l2/build/odu make clean_cu cu_stub NODE=TEST_STUB MACHINE=BIT64 MODE=FDD
Compilation of RIC Stub
cd odu_high/l2/build/odu make clean_ric ric_stub NODE=TEST_STUB MACHINE=BIT64 MODE=FDD
Execution - Assign IP addresses
ifconfig <interface name>:ODU “192.168.130.81” ifconfig <interface name>:CU_STUB “192.168.130.82” ifconfig <interface name>:RIC_STUB “192.168.130.80”
Running CU Stub
cd odu_high/l2/bin/cu_stub ./cu_stub
Running RIC Stub
cd odu_high/l2/bin/ric_stub ./ric_stub
Running O-DU
cd odu_high/l2/bin/odu ./odu
Note:
- Each of the above binaries must be run in separate terminals
CU Stub and RIC Stub images must be run before O-DU image.