Give Deployment instructions of an O-RU Controller 67/10567/1
authorMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Tue, 28 Feb 2023 08:48:17 +0000 (09:48 +0100)
committerMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Tue, 28 Feb 2023 08:48:26 +0000 (09:48 +0100)
- add the requested description

IssueID: OAM-316
Change-Id: I3b90549635bd46be72d9f8dec2c23a60e012bd62
Signed-off-by: Martin Skorupski <martin.skorupski@highstreet-technologies.com>
solution/README-O-RU-Controller.md [new file with mode: 0644]

diff --git a/solution/README-O-RU-Controller.md b/solution/README-O-RU-Controller.md
new file mode 100644 (file)
index 0000000..e5f6bd3
--- /dev/null
@@ -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: <module 'docker.version' from '/usr/local/lib/python3.10/dist-packages/docker/version.py'>
+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.
+
+* \<your-system>: is the hostname of the system, where the browser is started
+
+* \<deployment-system-ipv4>: is the IP address of the system where the solution will be deployed
+
+For development purposes <your-system> and <deployment-system> may reference the same system.
+
+```
+$ cat /etc/hosts
+127.0.0.1                     localhost
+127.0.1.1                     <your-system>
+
+# SMO OAM development system
+<deployment-system-ipv4>                   smo.o-ran-sc.org
+<deployment-system-ipv4>           gateway.smo.o-ran-sc.org
+<deployment-system-ipv4>          identity.smo.o-ran-sc.org
+<deployment-system-ipv4>          messages.smo.o-ran-sc.org
+<deployment-system-ipv4> ves-collector.oam.smo.o-ran-sc.org
+<deployment-system-ipv4>         odlux.oam.smo.o-ran-sc.org
+<deployment-system-ipv4>    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
+```