From 55afa4db2546618bfcee5ccf976f6282b8bca2b6 Mon Sep 17 00:00:00 2001 From: Martin Skorupski Date: Tue, 28 Feb 2023 09:48:17 +0100 Subject: [PATCH] Give Deployment instructions of an O-RU Controller - add the requested description IssueID: OAM-316 Change-Id: I3b90549635bd46be72d9f8dec2c23a60e012bd62 Signed-off-by: Martin Skorupski --- solution/README-O-RU-Controller.md | 95 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 solution/README-O-RU-Controller.md diff --git a/solution/README-O-RU-Controller.md b/solution/README-O-RU-Controller.md new file mode 100644 index 0000000..e5f6bd3 --- /dev/null +++ b/solution/README-O-RU-Controller.md @@ -0,0 +1,95 @@ +# O-RU Controller + +This documents describes the deployment of an O-RU Controller which could be used +as component for O-DU and/or SMO implementations. + +## Prerequisites + +``` +$ cat /etc/os-release | grep PRETTY_NAME +PRETTY_NAME="Ubuntu 22.04.1 LTS" + +$ docker --version +Docker version 20.10.12, build 20.10.12-0ubuntu4 + +$ docker-compose version +docker-compose version 1.29.2, build unknown +docker-py version: +CPython version: 3.10.6 +OpenSSL version: OpenSSL 3.0.2 15 Mar 2022 + + +$ git --version +git version 2.34.1 + +``` +Please modify the /etc/hosts of your system. + +* \: is the hostname of the system, where the browser is started + +* \: is the IP address of the system where the solution will be deployed + +For development purposes and may reference the same system. + +``` +$ cat /etc/hosts +127.0.0.1 localhost +127.0.1.1 + +# SMO OAM development system + smo.o-ran-sc.org + gateway.smo.o-ran-sc.org + identity.smo.o-ran-sc.org + messages.smo.o-ran-sc.org + ves-collector.oam.smo.o-ran-sc.org + odlux.oam.smo.o-ran-sc.org + controller.oam.smo.o-ran-sc.org + +``` +## Bring Up Solution + +The following commands should be invoked. More detailed can be found in the +next chapters. + +``` +docker-compose -f smo/common/docker-compose.yml up -d +python smo/common/identity/config.py +docker-compose -f smo/oam/docker-compose.yml up -d odlux controller +docker-compose -f network/docker-compose.yml up -d ntsim-ng-o-ru-fh-11221 +python network/config.py +``` + + +## Verification Solution + +### Login into O-RU-Controller UI + + https://odlux.oam.smo.o-ran-sc.org + + User: admin // see .env file + + Password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U + +In case of trouble, please update the commands with your customized '.env' file. + +### Connection State of the simulated O-RU + +In the O-RU Controller UI you should see the simulated O-RU connected as a kind of reference implementation. + +![Connection State](./docs/connect.odlux.o-ru-controller.o-ran-sc.org.png) + +### Alarm Notification of the simulated O-RU + +In the O-RU Controller UI you should see the generated alarm notifications of the O-RU as a kind of reference implementation. + +![Alarm Notifications](./docs/fault.odlux.o-ru-controller.o-ran-sc.org.png) + +## Terminate solution + +To stop all container please respect the following order + +``` +docker-compose -f network/docker-compose.yml down +docker-compose -f smo/oam/docker-compose.yml down +docker-compose -f smo/common/docker-compose.yml down +``` -- 2.16.6