X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Finstallation-guide.rst;h=fbc906013ee8b696bdcad946df272fe34cc6c379;hb=1d6200fae3b85714f8d9ddec062a01c8b9faca23;hp=e8c005b0aff9a0cff543b820d18c5929f8aa9e58;hpb=a31737d4988c5e02d4998c16973b1048fa2be9a4;p=o-du%2Fl2.git diff --git a/docs/installation-guide.rst b/docs/installation-guide.rst index e8c005b0a..fbc906013 100644 --- a/docs/installation-guide.rst +++ b/docs/installation-guide.rst @@ -24,6 +24,10 @@ Version history | **Date** | **Ver.** | **Author** | **Comment** | | | | | | +--------------------+--------------------+--------------------+--------------------+ +| 2021-07-07 | 2.0.0 | Radisys, | D Release | +| | | HCL Technologies | | +| | | Ltd. | | ++--------------------+--------------------+--------------------+--------------------+ | 2020-12-04 | 1.0.1 | HCL Technologies | Cherry Release | | | | Ltd. | | +--------------------+--------------------+--------------------+--------------------+ @@ -109,87 +113,52 @@ Cloning code 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: - -- Install Netconf libraries: - - libssh, libyang, libnetconf2, sysrepo, netopeer2 - - Script is provided in the following folder to install these libraries - - - Ubuntu : - - | cd /l2/build/scripts - | sudo ./install_lib_O1.sh -c - -- Start Netopeer2-server: - - - Ubuntu : - | cd /l2/build/scripts - | sudo ./netopeer-server.sh start + Following steps are required to compile and run ODU with O1 interface enabled. - Create a new netconf user - - Switch to root user and run following commands - - - Ubuntu : - - | adduser --system netconf && \\ - | echo "netconf:netconf!" | chpasswd - - | 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 -- Install the YANG modules + Switch to root user or use sudo and run following commands - Ubuntu : + | cd /l2/build/scripts + | sudo ./add_netconf_user.sh - | cd /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 +- Install Netconf libraries: -- Configure the startup IP and Port configurations for DU, CU and RIC + libssh, libyang, libnetconf2, sysrepo, netopeer2 + + Script is provided in the following folder to install these libraries - Ubuntu : + | cd /l2/build/scripts + | sudo ./install_lib_O1.sh -c - | cd /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 +- Install the YANG modules and load initial configuration -- Configure the netconf server details for VES PNF Event + - Navigate to config folder and update the desired initial configuration - Ubuntu : + | cd /l2/build/config - | cd /l2/build/config - | - | Open the netconfConfig.json and edit the desired MAC address, IP, Port, Username and Password for VES PNF Registration. - -- Configure the VES server details to send VES Events + | Open the startup_config.xml and edit the desired IP and Port for CU, DU and RIC. + | 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 vesConfig.json and edit the details of VES collector. + | Open the netconfConfig.json and edit the details of Netopeer server. + | Install the yang modules and load initial configuration. - Ubuntu : + | cd /l2/build/scripts + | sudo ./load_yang.sh - | cd /l2/build/config - | - | Open the vesConfig.json and edit the desired IP, Port, Username and Password to send VES Event. - -- Configure the nacm module to provide access to new user +- Start Netopeer2-server: - Ubuntu : - - | cd /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 /l2/build/scripts + | sudo ./netopeer-server.sh start Compilation