| **Date** | **Ver.** | **Author** | **Comment** |
| | | | |
+--------------------+--------------------+--------------------+--------------------+
+| 2022-01-14 | 3.0.0 | Radisys, | e-release |
+| | | HCL Technologies | |
+| | | Ltd. | |
++--------------------+--------------------+--------------------+--------------------+
+| 2021-07-07 | 2.0.0 | Radisys, | D Release |
+| | | HCL Technologies | |
+| | | Ltd. | |
++--------------------+--------------------+--------------------+--------------------+
| 2020-12-04 | 1.0.1 | HCL Technologies | Cherry Release |
| | | Ltd. | |
+--------------------+--------------------+--------------------+--------------------+
git clone "https://gerrit.o-ran-sc.org/r/o-du/l2"
-Setting up Netconf server
--------------------------
+Setting up Netconf server (Only if O1 interface enabled)
+--------------------------------------------------------
- Following steps are required to compile ODU with O1 interface enabled:
+ Following steps are required to compile and run ODU with O1 interface enabled.
-- Install Netconf libraries:
-
- libssh, libyang, libnetconf2, sysrepo, netopeer2
+- Create a new netconf user
- Script is provided in the following folder to install these libraries
+ Switch to root user or use sudo and run following commands
- - Ubuntu :
-
- | cd <O-DU High Directory>/l2/build/scripts
- | sudo ./install_lib_O1.sh -c
-
-- Start Netopeer2-server:
-
- - Ubuntu :
- | cd <O-DU High Directory>/l2/build/scripts
- | sudo ./netopeer-server.sh start
+ - Ubuntu :
+ | cd <O-DU High Directory>/l2/build/scripts
+ | sudo ./add_netconf_user.sh
-- Create a new netconf user
-
- Switch to root user and run following commands
-
- - Ubuntu :
-
- | adduser --system netconf && \\
- | echo "netconf:netconf!" | chpasswd
+- Install Netconf libraries:
- | mkdir -p /home/netconf/.ssh && \\
- | ssh-keygen -A && \\
- | ssh-keygen -t dsa -P '' -f /home/netconf/.ssh/id_dsa && \\
- | cat /home/netconf/.ssh/id_dsa.pub > /home/netconf/.ssh/authorized_keys
+ libssh, libyang, libnetconf2, sysrepo, netopeer2
-- Install the YANG modules
+ Script is provided in the following folder to install these libraries
- Ubuntu :
+ | cd <O-DU High Directory>/l2/build/scripts
+ | sudo ./install_lib_O1.sh -c
- | cd <O-DU High Directory>/l2/build/yang
- | sysrepoctl -i ./yang/o-ran-sc-odu-alarm-v1.yang
- | sysrepoctl -i ./yang/o-ran-sc-odu-interface-v1.yang
- | sysrepoctl -i ./yang/o-ran-sc-du-hello-world.yang
-
-- Configure the startup IP and Port configurations for DU, CU and RIC
+- Install the YANG modules and load initial configuration
- - Ubuntu :
+ - Navigate to config folder and update the desired initial configuration
| cd <O-DU High Directory>/l2/build/config
- |
+
| Open the startup_config.xml and edit the desired IP and Port for CU, DU and RIC.
- | Then load the configuration in the sysrepo running datastore using the command below
- |
- | sysrepocfg --import=startup_config.xml --datastore running --module o-ran-sc-odu-interface-v1
+ | Open the nacm_config.xml and edit the desired user name to provide the access to that user.
+ | Open the netconf_server_ipv6.xml and edit the desired netconf server configuration.
+ | Open the oamVesConfig.json and edit the details of OAM VES collector.
+ | Open the smoVesConfig.json and edit the details of SMO VES collector.
+ | Open the netconfConfig.json and edit the details of Netopeer server.
+ | Install the yang modules and load initial configuration.
+
+ - Ubuntu :
+
+ | $cd <O-DU High Directory>/l2/build/scripts
+ | $sudo ./load_yang.sh
-- Configure the netconf server details for VES PNF Event
+ - Install additional 3GPP YANG models.
- - Ubuntu :
+ | $cd <O-DU High Directory>/l2/build/yang
- | cd <O-DU High Directory>/l2/build/config
- |
- | Open the netconfConfig.json and edit the desired MAC address, IP, Port, Username and Password for VES PNF Registration.
+ | Download following 3GPP REL17 YANG models
+ | https://forge.3gpp.org/rep/sa5/MnS/tree/Rel17-draft/yang-models
-- Configure the VES server details to send VES Events
+ | _3gpp-common-top.yang
+ | _3gpp-5g-common-yang-types.yang
+ | _3gpp-common-yang-types.yang
+ | _3gpp-common-managed-element.yang
+ | _3gpp-common-measurements.yang
+ | _3gpp-common-subscription-control.yang
+ | _3gpp-common-fm.yang
+ | _3gpp-common-trace.yang
+ | _3gpp-common-managed-function.yang
+ | _3gpp-nr-nrm-gnbdufunction.yang
+ | _3gpp-nr-nrm-nrcelldu.yang
+ | _3gpp-nr-nrm-rrmpolicy.yang
- - Ubuntu :
+ | Note : There are some corrections required in _3gpp-common-trace.yang and _3gpp-common-trace.yang yang model. Please follow these steps.
- | cd <O-DU High Directory>/l2/build/config
- |
- | Open the vesConfig.json and edit the desired IP, Port, Username and Password to send VES Event.
+ - Ubuntu :
+
+ | sed -i -e 's/"IMMEDIATE_MDT"/"IMMEDIATE_MDT_ONLY"/g' _3gpp-common-trace.yang
+ | sed -i -e 's/"TRACE"/"TRACE_ONLY"/g' _3gpp-common-trace.yang
+
+ - Install all the downloaded yang models.
+
+ - Ubuntu :
+
+ | cd <O-DU High Directory>/l2/build/yang
+ | sysrepoctl -i _3gpp-common-yang-types.yang
+ | sysrepoctl -i _3gpp-common-top.yang
+ | sysrepoctl -i _3gpp-common-measurements.yang
+ | sysrepoctl -i _3gpp-common-trace.yang
+ | sysrepoctl -i _3gpp-common-managed-function.yang
+ | sysrepoctl -i _3gpp-common-subscription-control.yang
+ | sysrepoctl -i _3gpp-common-fm.yang
+ | sysrepoctl -i _3gpp-common-managed-element.yang
+ | sysrepoctl -i _3gpp-5g-common-yang-types.yang
+ | sysrepoctl -i _3gpp-nr-nrm-rrmpolicy.yang
+ | sysrepoctl -i _3gpp-nr-nrm-gnbdufunction.yang
+ | sysrepoctl -i _3gpp-nr-nrm-nrcelldu.yang
-- Configure the nacm module to provide access to new user
+- Start Netopeer2-server:
- Ubuntu :
-
- | cd <O-DU High Directory>/l2/build/config
- |
- | Open the nacm_config.xml and edit the desired user-name to provide the access to that user.
- |
- | $sysrepocfg --import=nacm_config.xml --datastore running --module ietf-netconf-acm
+ | cd <O-DU High Directory>/l2/build/scripts
+ | sudo ./netopeer-server.sh start
Compilation