How to install the O1 interface.
The above zip file contains SMO NETCONF client support for O1 interface. It brings up two containers, SDNR and SDNR_DB which support O1 interface. The containers acts as a NETCONF client to the O-RAN elements (O-RU, O-CU, O-DU and the Near RT-RIC). It has both a GUI as well as RESTCONF support for the configuration management of devices.
Prerequisites:
docker
docker-compose
Java, version 11 or newer
Instructions
Below are the steps to bring up the required services
1. Download and unzip the file
unzip o1-netconf.zip
2. Bringup the services
cd client
docker-compose up -d
3. check status
docker-compose ps
Expect an output that looks something like this:
$ docker-compose psName Command State Ports ------------------------------------------------------------------------sdnr /bin/sh -c /opt/onap/sdnc/ Up 0.0.0.0:8101->8101/tcp,::: ... 8101->8101/tcp, 0.0.0.0:81 81->8181/tcp,:::8181->8181 /tcp sdnrdb /tini -- /usr/local/bin/do Up 9200/tcp, 9300/tcp
Access details
Access the GUI and RESTCONF interface using the following URLs, credentials are common for both of them.
GUI: http://<host_ip>:8181/odlux/index.html
Restconf: http://<host_ip>:8181/apidoc/explorer/index.html
username/password: admin/ Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
I am facing issue connecting to this client using dawn(i mean master clone) release, with cherry release it is working fine.
{"log":"/usr/local/bin/netopeer2-server: /usr/lib/x86_64-linux-gnu/libssh.so.4: no version information available (required by /usr/local/bin/netopeer2-server)\n","stream":"stdout","time":"2021-08-02T10:51:41.489093024Z"}
{"log":"/usr/local/bin/netopeer2-server: /usr/lib/x86_64-linux-gnu/libssh.so.4: no version information available (required by /usr/local/lib/libnetconf2.so.2)\n","stream":"stdout","time":"2021-08-02T10:51:41.489100364Z"}
{"log":"\n","stream":"stdout","time":"2021-08-02T10:51:41.489111845Z"}
Its in connecting state only and i see below logs
{"log":"free(): invalid pointer\n","stream":"stdout","time":"2021-08-02T10:51:40.289816725Z"}
{"log":"\n","stream":"stdout","time":"2021-08-02T10:51:40.289822182Z"}
{"log":"2021-08-02 10:51:40,478 DEBG fd 10 closed, stopped monitoring \u003cPOutputDispatcher at 139825121098720 for \u003cSubprocess at 139825121365360 with name
netopeer2-server in state RUNNING\u003e (stdout)\u003e\n","stream":"stdout","time":"2021-08-02T10:51:40.47878272Z"}
{"log":"2021-08-02 10:51:40,478 INFO exited: netopeer2-server (terminated by SIGABRT (core dumped); not expected)\n","stream":"stdout","time":"2021-08-02T10:51:40.
47903554Z"}