blob: 056ae89f19eed1d273292e75885b1879672796d3 [file] [log] [blame]
elinuxhenrik3c2c02c2020-03-27 15:59:32 +01001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
elinuxhenrik616ea8d2020-04-15 08:26:35 +02003.. Copyright (C) 2020 Nordix
elinuxhenrik3c2c02c2020-03-27 15:59:32 +01004
5Installation Guide
6==================
7
elinuxhenrik3c2c02c2020-03-27 15:59:32 +01008Abstract
9--------
10
elinuxhenrik22cfc3d2020-03-30 08:53:58 +020011This document describes how to install the Non-RT RIC Control Panel, its dependencies and required system resources.
elinuxhenrik3c2c02c2020-03-27 15:59:32 +010012
elinuxhenrik22cfc3d2020-03-30 08:53:58 +020013This work is in progress. For now, it is possible to use the Non-RT RIC Control Panel.
elinuxhenrik3c2c02c2020-03-27 15:59:32 +010014
15Version history
ychaconaf912b92021-04-27 14:43:56 +020016---------------
elinuxhenrik3c2c02c2020-03-27 15:59:32 +010017
18+--------------------+--------------------+--------------------+--------------------+
19| **Date** | **Ver.** | **Author** | **Comment** |
20| | | | |
21+--------------------+--------------------+--------------------+--------------------+
22| 2020-03-27 | 0.1.0 | Henrik Andersson | First draft |
23| | | | |
24+--------------------+--------------------+--------------------+--------------------+
ychaconaf912b92021-04-27 14:43:56 +020025| 2021-04-27 | 2.2.0 | Yennifer Chacon | Update |
26| | | | documentation |
elinuxhenrik3c2c02c2020-03-27 15:59:32 +010027+--------------------+--------------------+--------------------+--------------------+
ychaconaf912b92021-04-27 14:43:56 +020028| | | | |
elinuxhenrik3c2c02c2020-03-27 15:59:32 +010029| | | | |
30| | | | |
31+--------------------+--------------------+--------------------+--------------------+
32
33
34
ychaconaf912b92021-04-27 14:43:56 +020035The Non-RT RIC Control Panel is a graphical user interface that enables the user to view and manage the A1 policies in the RAN and also view producers and jobs for the Enrichement Information coordinator service.
36
37- To create docker image for the control panel:
38
39 .. code-block:: bash
40
41 cd nonrtric-controlpanel/webapp-frontend
42 docker build -t o-ran-sc/nonrtric-controlpanel .
43
44- Nonrtric gateway is also needed because all the request from the gui are passed through this API gateway.
45
46 .. code-block:: bash
47
48 cd nonrtric-controlpanel/nonrtric-gateway
49 docker build -t o-ran-sc/nonrtric-gateway .
50
51.. note::
52 It is important to note that all the route configurations are provided in application.yaml,
53 so in case domain name and port for Policy Management Service & Enrichment Information Coordinator
54 Service are not the default ones, application.yaml file must be modified.
55
56Docker images for Policy Management and Enrichment Information Coordinator are needed as well in order to view information and data on the interface. These images can be found in the nexus repository or can be built manually as well.
57
58 - nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-enrichment-coordinator-service
59 - nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-policy-agent
60
61`Wiki page <https://wiki.o-ran-sc.org/pages/viewpage.action?pageId=20878049>`_ contain detail information about how to build this images and add some sample data.
62
63
64- Using docker compose:
65
66 Another alternative is to use docker compose. In the `nonrtric project <https://gerrit.o-ran-sc.org/r/admin/repos/nonrtric>`_ under the folder docker-compose, instructions can be found in the README file.
67
68 It will start all necessary services and provided sample data that can be viewed in the interface using docker compose command:
69
70 .. code-block:: bash
71
72 docker-compose -f docker-compose.yaml
73 -f control-panel/docker-compose.yaml
74 -f nonrtric-gateway/docker-compose.yaml
75 -f policy-service/docker-compose.yaml
76 -f ecs/docker-compose.yaml
77 -f a1-sim/docker-compose.yaml up
78