commit | 66b7813221b6da5c15da40953d09d3846a4bc029 | [log] [tgz] |
---|---|---|
author | Katri Turunen <katri.turunen@nokia.com> | Mon Sep 02 10:28:52 2019 +0300 |
committer | Katri Turunen <katri.turunen@nokia.com> | Mon Sep 02 10:39:37 2019 +0300 |
tree | 33733149c2b37806553d17c87cd18ffb85f445d4 | |
parent | 4b74f01111b3b14fbb3832d8aaf4946cded374a0 [diff] |
Read PrimaryCollector parameters from env variables The following environment variables are expected: VESMGR_PRICOLLECTOR_USER VESMGR_PRICOLLECTOR_PASSWORD VESMGR_PRICOLLECTOR_PASSPHRASE VESMGR_PRICOLLECTOR_SERVERROOT VESMGR_PRICOLLECTOR_TOPIC VESMGR_PRICOLLECTOR_SECURE Vesmgr now passes the parameters to VESPA via yaml instead of cmd line. This commit contains also the following changes: - Correcttion to VESPA configuration: FixAdditionalObject --> FixAdditionalObjects - Added UT run to Dockerfile as part of the build. Change-Id: Ib15916dba8c22a19a50da6d77e1e5a54418f2ff4 Signed-off-by: Katri Turunen <katri.turunen@nokia.com>
The VESPA manager uses the VES Agent (https://github.com/nokia/ONAP-VESPA) to adapt near-RT RIC internal statistics' collection using Prometheus (xApps and platform containers) to ONAP's VES (VNF event streaming).
The VESPA manager starts and configures the VES Agent.
The VESPA manager container requires the following environment variables:
VESMGR_HB_INTERVAL - VES heartbeat interval as a string. For example: 30s.
VESMGR_MEAS_INTERVAL - Measurement interval as a string. For example: 60s.
VESMGR_PROMETHEUS_ADDR - Prometheus address. For example: http://127.0.0.1:123
VESMGR_PRICOLLECTOR_ADDR - Primary collector FQDN as a string. For example: ricaux-entry.
VESMGR_PRICOLLECTOR_PORT - Primary collector port id as an integer. Default: 8443.
VESMGR_PRICOLLECTOR_SERVERROOT - Path before the /eventListener part of the POST URL as a string.
VESMGR_PRICOLLECTOR_TOPIC - Primary collector topic as a string.
VESMGR_PRICOLLECTOR_SECURE - Use HTTPS for VES collector. Possible string values: true or false.
VESMGR_PRICOLLECTOR_USER - User name as a string.
VESMGR_PRICOLLECTOR_PASSWORD - Password as a string.
VESMGR_PRICOLLECTOR_PASSPHASE - Passphrase as a string.
In order to run the VESPA manager unit tests, give the following command:
go test ./... -v
See LICENSES.txt file.