X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Finstallation-guide.rst;h=ab169b029570b0e376c14425783f7c40cb36eceb;hb=refs%2Fchanges%2F15%2F5415%2F5;hp=f2e86be5b853c9c992cc9dc5306b591d2460b250;hpb=ddcc8cc613851becbb4a0727b7c51db046a3998d;p=o-du%2Fl2.git diff --git a/docs/installation-guide.rst b/docs/installation-guide.rst index f2e86be5b..ab169b029 100644 --- a/docs/installation-guide.rst +++ b/docs/installation-guide.rst @@ -24,6 +24,9 @@ Version history | **Date** | **Ver.** | **Author** | **Comment** | | | | | | +--------------------+--------------------+--------------------+--------------------+ +| 2020-12-04 | 1.0.1 | HCL Technologies | Cherry Release | +| | | Ltd. | | ++--------------------+--------------------+--------------------+--------------------+ | 2020-12-04 | 1.0 | Radisys | Cherry Release | | | | | | +--------------------+--------------------+--------------------+--------------------+ @@ -94,6 +97,19 @@ Following libraries are required to compile and execute O-DU High: - Ubuntu : sudo apt-get install -y libpcap-dev - 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 /l2/build/o1 + | sudo ./install_lib.sh + + Cloning code -------------- @@ -101,10 +117,7 @@ Cloning code - Clone code into - 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 ------------ @@ -118,10 +131,15 @@ 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 : @@ -151,6 +169,33 @@ Compilation make ric_stub NODE=TEST_STUB MACHINE=BIT64 MODE=FDD +- Build O-DU High with O1 interface enabled: + + - Navigate to o1 Build folder + + cd /l2/build/o1 + + - Clean O1 binary + + make clean_o1 MACHINE=BIT64 + + - Build O1 binary + + make o1 MACHINE=BIT64 + + - Navigate to odu Build folder + + cd /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: @@ -159,3 +204,5 @@ The above generated images can be found at: - CU Stub - /l2/bin/cu_stub - RIC Stub - /l2/bin/ric_stub + +- O1 - /l2/build/o1/bin/o1