...
Prepare environment
Code Block sudo apt-get install libpcap-dev libsctp-dev
Cloning code
Code Block mkdir odu_high cd odu_high git clone "https://gerrit.o-ran-sc.org/r/o-du/l2"
Compilation of O-DU
Code Block cd odu_high/l2/build/odu make clean_odu odu MACHINE=BIT64 MODE=FDD
Compilation of CU Stub
Code Block cd odu_high/l2/build/odu make clean_cu cu_stub NODE=TEST_STUB MACHINE=BIT64 MODE=FDD
Compilation of RIC Stub
Code Block cd odu_high/l2/build/odu make clean_ric ric_stub NODE=TEST_STUB MACHINE=BIT64 MODE=FDD
Execution - Assign IP addresses
Code Block 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
Code Block cd odu_high/l2/bin/cu_stub sudo ./cu_stub
Running RIC Stub
Code Block cd odu_high/l2/bin/ric_stub sudo ./ric_stub
Running O-DU
Code Block cd odu_high/l2/bin/odu sudo ./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.
...