- a. Navigate to O1 build folder
-
- - cd <O-DU High Directory>/l2/build/o1
-
- b. Create a new netconf user and install the YANG module
-
- Switch to root user and run following commands
-
- | 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
-
- sysrepoctl -i ./yang/o-ran-sc-odu-alarm-v1.yang
- sysrepoctl -i ./yang/o-ran-sc-odu-interface-v1.yang
-
- c. Navigate to O1 execution folder
-
- - cd <O-DU High Directory>/l2/build/o1/bin/o1
-
- d. Run O1 binary
-
- - ./o1
-
-3. Execute CU Stub: