+
+Setting up Netconf server
+-------------------------
+
+ 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 <O-DU High Directory>/l2/build/scripts
+ | sudo ./install_lib.sh -c
+
+- Start Netopeer2-server:
+
+ - Ubuntu :
+ | cd <O-DU High Directory>/l2/build/scripts
+ | sudo ./netopeer-server.sh start
+
+- 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
+
+ - Ubuntu :
+
+ | 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
+
+- Configure the startup IP and Port configurations for DU, CU and RIC
+
+ - Ubuntu :
+
+ | 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
+