blob: 6a3b541d2c38eb0797cc12988f05910692e99437 [file] [log] [blame]
Mahesh Jethanandanib5baae42021-12-08 21:04:46 -08001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. SPDX-License-Identifier: CC-BY-4.0
3
santanude22e077a2021-12-14 13:52:44 +05304smo/ves Overview
5================
Mahesh Jethanandanib5baae42021-12-08 21:04:46 -08006
santanude22e077a2021-12-14 13:52:44 +05307Introduction
8
9This repository supports the VES collector interface in O-RAN. It
10makes use of three containers, the ves-collector container that
11collects VES events posted by other parts of the O-RAN solution,
12Grafana, which is used to display measurement (PM) data posted
13by other entities and InfluxdB which is used to persist the data
14received by the collector.
15
16Prerequisites:
17
18The prerequisites for using this solution are that you need Docker and docker-compose
19installed on the machine, where you want to run these containers.
20
21Build:
22
23To build the solution, you need to do the following in the current
24folder::
25
26 % make
27
28Run:
29
30To run the solution, you need to invoke the following command::
31
32 % docker-compose up -d ves-collector
33 % docker-compose up -d ves-agent
34
35or simply by the following make command::
36
37 % make run
38
39To stop the solution the following command should be invoked::
40
41 % docker-compose down -d ves-collector
42 % docker-compose down -d ves-agent
43
44or simply by the following make command::
45
46 % make stop
Mahesh Jethanandanib5baae42021-12-08 21:04:46 -080047
48
santanude22e077a2021-12-14 13:52:44 +053049Following steps are required to install a certificate.
50------------------------------------------------------
51Self-Signed Certificates
52~~~~~~~~~~~~~~~~~~~~~~~~
53Following steps are required for self-signed certificate.
541. Create ves-certificate directory on the host system using command "mkdir ~/ves-certificate".
552. Go to ves-certificate directory and use below commands to create self-signed certificate files::
56
57 openssl genrsa -out vescertificate.key 2048
58 openssl req -new -key vescertificate.key -out vescertificate.csr
59 openssl x509 -req -days 365 -in vescertificate.csr -signkey vescertificate.key -out vescertificate.crt
60
61Third Party Certificates
62~~~~~~~~~~~~~~~~~~~~~~~~
63Third party certificates can be installed by overwriting the file *vescertificate.csr*, *vescertificate.key*, and *vescertficate.crt* in ~/ves-certificate directory of the host system.
64
65
66Following steps are required to add an entry in the host file
67-------------------------------------------------------------
68Add following entry in host file on the computer from which user want to access Grafana dashboard.
69<IP Address of VM/Machine on which docker containers are running> smo-influxdb
70
71For Example- Docker container running on the guest VM or different/remote machine having IP Address 192.168.56.110 then host file entry is as follows::
72
73 192.168.56.110 smo-influxdb
74