Skip to content

Mirror of the smo/ves repo

Notifications You must be signed in to change notification settings

o-ran-sc/smo-ves

Repository files navigation

Introduction

This repository supports the VES collector interface in O-RAN. It makes use of three containers, the ves-collector container that collects VES events posted by other parts of the O-RAN solution, Grafana, which is used to display measurement (PM) data posted by other entities and InfluxdB which is used to persist the data received by the collector.

Prerequisites:

The prerequisites for using this solution are that you need Docker and docker-compose installed on the machine, where you want to run these containers.

Build:

To build the solution, you need to do the following in the current folder.

% docker-compose build

Run:

To run the solution, you need to invoke the following command

% docker-compose up -d

To stop the solution the following command should be invoked.

% docker-compose down

Following steps are required to install a certificate.


Self-Signed Certificates

Following steps are required for self-signed certificate.

  1. Create ves-certificate directory on the host system using command "mkdir ~/ves-certificate".

  2. Go to ves-certificate directory and use below commands to create self-signed certificate files.

    openssl genrsa -out vescertificate.key 2048 openssl req -new -key vescertificate.key -out vescertificate.csr openssl x509 -req -days 365 -in vescertificate.csr -signkey vescertificate.key -out vescertificate.crt

Third Party Certificates

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.


Following steps are required to add an entry in the host file


Add following entry in host file on the computer from which user want to access Grafana dashboard. <IP Address of VM/Machine on which docker containers are running> smo-influxdb

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.

192.168.56.110 smo-influxdb