Mahesh Jethanandani | b5baae4 | 2021-12-08 21:04:46 -0800 | [diff] [blame] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 International License. |
| 2 | .. SPDX-License-Identifier: CC-BY-4.0 |
| 3 | |
santanude | 22e077a | 2021-12-14 13:52:44 +0530 | [diff] [blame^] | 4 | smo/ves Overview |
| 5 | ================ |
Mahesh Jethanandani | b5baae4 | 2021-12-08 21:04:46 -0800 | [diff] [blame] | 6 | |
santanude | 22e077a | 2021-12-14 13:52:44 +0530 | [diff] [blame^] | 7 | Introduction |
| 8 | |
| 9 | This repository supports the VES collector interface in O-RAN. It |
| 10 | makes use of three containers, the ves-collector container that |
| 11 | collects VES events posted by other parts of the O-RAN solution, |
| 12 | Grafana, which is used to display measurement (PM) data posted |
| 13 | by other entities and InfluxdB which is used to persist the data |
| 14 | received by the collector. |
| 15 | |
| 16 | Prerequisites: |
| 17 | |
| 18 | The prerequisites for using this solution are that you need Docker and docker-compose |
| 19 | installed on the machine, where you want to run these containers. |
| 20 | |
| 21 | Build: |
| 22 | |
| 23 | To build the solution, you need to do the following in the current |
| 24 | folder:: |
| 25 | |
| 26 | % make |
| 27 | |
| 28 | Run: |
| 29 | |
| 30 | To 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 | |
| 35 | or simply by the following make command:: |
| 36 | |
| 37 | % make run |
| 38 | |
| 39 | To 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 | |
| 44 | or simply by the following make command:: |
| 45 | |
| 46 | % make stop |
Mahesh Jethanandani | b5baae4 | 2021-12-08 21:04:46 -0800 | [diff] [blame] | 47 | |
| 48 | |
santanude | 22e077a | 2021-12-14 13:52:44 +0530 | [diff] [blame^] | 49 | Following steps are required to install a certificate. |
| 50 | ------------------------------------------------------ |
| 51 | Self-Signed Certificates |
| 52 | ~~~~~~~~~~~~~~~~~~~~~~~~ |
| 53 | Following steps are required for self-signed certificate. |
| 54 | 1. Create ves-certificate directory on the host system using command "mkdir ~/ves-certificate". |
| 55 | 2. 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 | |
| 61 | Third Party Certificates |
| 62 | ~~~~~~~~~~~~~~~~~~~~~~~~ |
| 63 | Third 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 | |
| 66 | Following steps are required to add an entry in the host file |
| 67 | ------------------------------------------------------------- |
| 68 | Add 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 | |
| 71 | For 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 | |