O1 interface tests uses O1 siumalotrs to verify the O1 netconf fucntionlity. Total two ways to functionality. Currently we can test O1 netconf interface in two ways, first one is automated testsuite test-suite and other one is manual verification.
Prerequisite:
...
Code Block | ||
---|---|---|
| ||
curl -u admin:Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U -X PUT "http://<HOST_IP>:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=du_sim/yang-ext:mount/o-ran-sc-du-hello-world:network-function/du-to-ru-connection=O-RU-1" -H "accept: */*" -H "Content-Type: application/json" -d "{"du-to-ru-connection":[{"name":"O-RU-1","administrative-state":"UNLOCKED"}]}") |
If there are no errors, then the config change is successful.