| **Date** | **Ver.** | **Author** | **Comment** |
| | | | |
+--------------------+--------------------+--------------------+--------------------+
+| 2020-12-04 | 1.0.1 | HCL Technologies | Cherry Release |
+| | | Ltd. | |
++--------------------+--------------------+--------------------+--------------------+
| 2020-12-04 | 1.0 | Radisys | Cherry Release |
| | | | |
+--------------------+--------------------+--------------------+--------------------+
Following libraries are required to compile and execute O-DU High:
- GCC
- - Ubuntu : sudo apt install build-essential
- - CentOS : sudo yum group install "Development Tools"
+ - Ubuntu : sudo apt-get install -y build-essential
+ - CentOS : sudo yum groups mark install -y “Development Tools”
Ensure the version is 4.6.3 and above using
- LKSCTP
- Ubuntu : sudo apt-get install -y libsctp-dev
- - CentOS : yum install lksctp-tools-devel
+ - CentOS : sudo yum install -y lksctp-tools-devel
- PCAP:
- Ubuntu : sudo apt-get install -y libpcap-dev
- - CentOS : yum install libpcap-devel
+ - CentOS : sudo yum install -y libpcap-devel
+
+Following libraries are required to compile and execute O1 module:
+
+- Netconf:
+ libssh, libyang, libnetconf2, sysrepo, netopeer2
+
+ Script is provided in the following folder to install these libraries
+
+ - Ubuntu :
+
+ | cd <O-DU High Directory>/l2/build/o1
+ | sudo ./install_lib.sh
+
Cloning code
--------------
- Clone code into <O-DU High Directory>
- git clone "https://gerrit.o-ran-sc.org/r/o-du/l2" && (cd "l2" && mkdir -p .git/hooks && curl -Lo `git rev-parse
- --git-dir`/hooks/commit-msg https://gerrit.o-ran-sc.org/r/tools/hooks/commit-msg; chmod +x `git rev-parse
- --git-dir`/hooks/commit-msg)
-
+ git clone "https://gerrit.o-ran-sc.org/r/o-du/l2"
Compilation
------------
- Clean O-DU High binary
make clean_odu MACHINE=BIT64 MODE=FDD
+
- Build O-DU High binary
make odu MACHINE=BIT64 MODE=FDD
+
+ To build with O1 interface enabled:
+
+ make odu MACHINE=BIT64 MODE=FDD O1_ENABLE=YES
- Build CU Stub :
make ric_stub NODE=TEST_STUB MACHINE=BIT64 MODE=FDD
+- Build O-DU High with O1 interface enabled:
+
+ - Navigate to o1 Build folder
+
+ cd <O-DU High Directory>/l2/build/o1
+
+ - Clean O1 binary
+
+ make clean_o1 MACHINE=BIT64
+
+ - Build O1 binary
+
+ make o1 MACHINE=BIT64
+
+ - Navigate to odu Build folder
+
+ cd <O-DU High Directory>/l2/build/odu
+
+ - Clean O-DU High binary
+
+ make clean_odu MACHINE=BIT64 MODE=FDD
+
+ - Build O-DU High binary
+
+ make odu MACHINE=BIT64 MODE=FDD O1_ENABLE=YES
+
+
The above generated images can be found at:
- CU Stub - <O-DU High Directory>/l2/bin/cu_stub
- RIC Stub - <O-DU High Directory>/l2/bin/ric_stub
+
+- O1 - <O-DU High Directory>/l2/build/o1/bin/o1