ric-plt/vespamgr.git
3 days agoRIC:1060: Change in PTL 42/12842/1 master
Abdulwahid W [Tue, 30 Apr 2024 13:27:02 +0000 (18:57 +0530)]
RIC:1060: Change in PTL

Change-Id: I6ccac44bc3d980f78a319eb54166c10dffe45c3a
Signed-off-by: Abdulwahid W <abdulwahid.w@nokia.com>
10 days agoCI: Add silent prescan SonarCloud job 98/12698/2
Jessica Wagantall [Tue, 9 Apr 2024 00:31:17 +0000 (17:31 -0700)]
CI: Add silent prescan SonarCloud job

Change-Id: I72864ec504a0bdc550286c6a421467d19e2b1ba6
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
8 months agoRemoving deprecated functions from readthedocs 48/11748/5 i-release
czichy [Fri, 1 Sep 2023 06:24:01 +0000 (09:24 +0300)]
Removing deprecated functions from readthedocs

Change-Id: I466bf957fdec165b7d158ed95df6574130eb9ca2
Signed-off-by: czichy <thoralf.czichy@nokia.com>
2 years agoRelease ric-plt/vespamgr 37/7237/1 e-release f-release g-release h-release
wahidw [Fri, 3 Dec 2021 13:25:00 +0000 (13:25 +0000)]
Release ric-plt/vespamgr

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Ia6bef402c0e53ca165a438820bc02fe0ceacc135

2 years agoUpdate RMR to v4.8.0 30/7230/1 0.7.5
wahidw [Fri, 3 Dec 2021 12:29:14 +0000 (12:29 +0000)]
Update RMR to v4.8.0

Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Ie968df40a2475b67cd94e2158903c6c03d5d63a1

2 years agoFCA_MEC-6257: Vespamgr changes for Ubuntu20.4 51/7051/1
Anupama P [Fri, 12 Nov 2021 11:35:42 +0000 (06:35 -0500)]
FCA_MEC-6257: Vespamgr changes for Ubuntu20.4

Change-Id: I16080c952606b327fda1a85d0a9050e617732c6f
Signed-off-by: Manoj Manoj <manoj.1.manoj@nokia.com>
2 years agoVespa Changes of go.mod and Dockerfile 23/7023/2
Anupama P [Tue, 9 Nov 2021 08:05:28 +0000 (03:05 -0500)]
Vespa Changes of go.mod and Dockerfile

Change-Id: I09b2d18b1bcff62cf6a1f426f639b72dad5eca99
Signed-off-by: Anupama P <anupama.p@nokia.com>
Signed-off-by: manoj1 <manoj.1.manoj@nokia.com>
2 years agoUpdating xappversion in vespa manager 77/6977/2
manoj1 [Tue, 2 Nov 2021 12:40:37 +0000 (08:40 -0400)]
Updating xappversion in vespa manager

Change-Id: Id88d0f4466c3fc7a2475fcb8ad74bc2335f0a625
Signed-off-by: manoj1 <manoj.1.manoj@nokia.com>
2 years agoUpdating go.sum and go.mod in vespa 68/6968/4
manoj1 [Fri, 29 Oct 2021 10:23:41 +0000 (06:23 -0400)]
Updating go.sum and go.mod in vespa

Change-Id: If43aec2ff0dc6ee0d6dc96078c394beced35f792
Signed-off-by: manoj1 <manoj.1.manoj@nokia.com>
2 years agoRectified the E2T counters in accordance with NetAct 38/6638/3
manoj [Tue, 31 Aug 2021 10:35:18 +0000 (06:35 -0400)]
Rectified the E2T counters in accordance with NetAct

Change-Id: I3eddef71e8c017a3a4911a417a6f815058b321d4
Signed-off-by: manoj <manoj.1.manoj@nokia.com>
2 years agovespamgr release for the Dawn 10/6410/1 dawn
dhirajverma [Wed, 23 Jun 2021 15:05:51 +0000 (11:05 -0400)]
vespamgr release for the Dawn

Change-Id: I63974f9158ebf0d1db57e825fcbfd1848a444714
Signed-off-by: dhirajverma <dhiraj.verma@nokia.com>
2 years agoUpdate available SDL version to v0.7.0 96/6296/1 0.7.4
Timo Tietavainen [Thu, 10 Jun 2021 20:10:09 +0000 (23:10 +0300)]
Update available SDL version to v0.7.0

Update vespamgr module dependencies to use latest SDL version v0.7.0,
which contains implementation for the SDL multi-namespace and sentinel
based DB capacity scaling properties.

Issue-ID: RIC-699

Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Icb85e8c4253ca993707f88b3c32c7aa2f9183960

3 years agoRIC-710: Updating E2T counters to Vespa-Manager 87/5987/4
dhiraj [Thu, 29 Apr 2021 11:21:06 +0000 (14:21 +0300)]
RIC-710: Updating E2T counters to Vespa-Manager

Change-Id: I2039dd5a2e982f5e894ce44a0eee5c66d973ffa8
Signed-off-by: dhiraj <dhiraj.verma@nokia.com>
3 years agoRIC-710: Adding E2T counters to Vespa-Manager 20/5920/1
dhiraj [Wed, 21 Apr 2021 15:07:26 +0000 (18:07 +0300)]
RIC-710: Adding E2T counters to Vespa-Manager

Change-Id: Ifc522bfca7b610860beac1dab1a757c4d22ceeb8
Signed-off-by: dhiraj <dhiraj.verma@nokia.com>
3 years agoCollect logs 77/5877/2
Mohamed Abukar [Tue, 13 Apr 2021 06:34:54 +0000 (06:34 +0000)]
Collect logs

Change-Id: Ie97eb86651ca3c54589668e0efd7a305be5f97e5
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoCoverage Improvements 64/5864/1
dhiraj [Wed, 7 Apr 2021 12:08:06 +0000 (15:08 +0300)]
Coverage Improvements

Signed-off-by: dhiraj <dhiraj.verma@nokia.com>
Change-Id: I1a5208806cf470802bf13b624fbd6af62322e36b

3 years agoRelease image v0.7.2 06/5306/1 cherry
Mohamed Abukar [Fri, 11 Dec 2020 08:20:34 +0000 (10:20 +0200)]
Release image v0.7.2

Change-Id: I5177cd7f8b7dccf8866628c03d74ba16d8519111
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoRelease v0.7.1 91/5291/2
Mohamed Abukar [Wed, 9 Dec 2020 19:09:51 +0000 (21:09 +0200)]
Release v0.7.1

Change-Id: I21ed1dd18d6a35a07a032fd60c5c993645cdc2b2
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoUpdate RMR version v4.4.6 87/5287/2
Mohamed Abukar [Wed, 9 Dec 2020 12:16:55 +0000 (14:16 +0200)]
Update RMR version v4.4.6

Change-Id: Ib269fd3d336a02b7dd2d757321da46bc5f03222e
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoRelease v0.7.0 74/5274/1
Mohamed Abukar [Tue, 8 Dec 2020 14:22:43 +0000 (16:22 +0200)]
Release v0.7.0

Change-Id: Ieaef5cd13cab9149f9124a1eed64c6423277da3b
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoRedesign and taking xapp-framework into use 36/5236/7
Mohamed Abukar [Thu, 3 Dec 2020 16:20:05 +0000 (18:20 +0200)]
Redesign and taking xapp-framework into use

Change-Id: I600f667047ea2a1f946107546c32a3fb7e56b9f3
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoSupport for platform metrics 91/5091/2
Mohamed Abukar [Sat, 14 Nov 2020 07:24:07 +0000 (09:24 +0200)]
Support for platform metrics

Change-Id: Ia0fcc06a3256773a85dac766142910e7810d2b22
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoRelease v0.5.4 58/5058/1
Mohamed Abukar [Fri, 13 Nov 2020 05:22:05 +0000 (07:22 +0200)]
Release v0.5.4

Change-Id: Ia36f949bcb7939d02f6dcb7a9cda26890e066e61
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoDocumentation update 56/5056/3
Mohamed Abukar [Thu, 12 Nov 2020 19:31:25 +0000 (21:31 +0200)]
Documentation update

Change-Id: Id6f5745b3ca675b71319588ec9eb22a8c6fd143e
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoMore UT fixes 91/4991/1
Mohamed Abukar [Thu, 5 Nov 2020 07:54:19 +0000 (09:54 +0200)]
More UT fixes

Change-Id: Ida3bcf39cfdca2f4e7359a8b8ec2e83692d16dcc
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoFix race condition in UT cases 89/4989/2
Mohamed Abukar [Thu, 5 Nov 2020 07:54:19 +0000 (09:54 +0200)]
Fix race condition in UT cases

Change-Id: Ida3bcf39cfdca2f4e7359a8b8ec2e83692d16d4c
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agovesmgr namespace changes 77/4977/1
rangajal [Tue, 3 Nov 2020 09:10:01 +0000 (12:10 +0300)]
vesmgr namespace changes

Change-Id: I0b20d07480d0b51fe2226c5704253cbddf9f4c8c
Signed-off-by: rangajal <ranjit.angajala@nokia.com>
3 years agoAdditions to measurements 22/4922/2
Mohamed Abukar [Thu, 22 Oct 2020 16:31:01 +0000 (19:31 +0300)]
Additions to measurements

Change-Id: I2aed7a9835d77355a9d14fa082afaecfaa47a997
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoAdditions to measurements 05/4905/3
Mohamed Abukar [Thu, 22 Oct 2020 16:31:01 +0000 (19:31 +0300)]
Additions to measurements

Change-Id: Idba0234209e57ed02c93b8aa027f90c6c6d5ddfb
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoRelease image v0.5.0 41/4841/1
Mohamed Abukar [Wed, 14 Oct 2020 08:47:32 +0000 (11:47 +0300)]
Release image v0.5.0

Change-Id: Ib046a9de799cb368b350c8b9d2ff4ab92803e4ee
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoMeasurement struct update 20/4820/1
Mohamed Abukar [Thu, 8 Oct 2020 06:37:21 +0000 (09:37 +0300)]
Measurement struct update

Change-Id: Iaac44be8df2047820f548accec92564605c233c6
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoreplacing committers 09/4309/1
czichy [Fri, 3 Jul 2020 06:10:22 +0000 (09:10 +0300)]
replacing committers

Signed-off-by: czichy <thoralf.czichy@nokia.com>
Change-Id: I18999e627f6b2c544aae5349b8a803ce62ab5bd8

3 years agoReleasing Docker image 82/4182/1 bronze
Mohamed Abukar [Thu, 18 Jun 2020 15:33:03 +0000 (18:33 +0300)]
Releasing Docker image

Change-Id: I10ef7089b7ea62568b8bbd8bdce05a2d9c554b04
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
3 years agoRelease image 09/3609/2
Abukar Mohamed [Thu, 7 May 2020 04:40:55 +0000 (04:40 +0000)]
Release image

Change-Id: I9e08a9fae7a74b9737a0367f08a49bd8ac8adbce
Signed-off-by: Abukar Mohamed <abukar.mohamed@nokia.com>
4 years agoAdd AlertManager bind address 27/2827/2 v0.4.1
Abukar Mohamed [Tue, 17 Mar 2020 14:00:18 +0000 (14:00 +0000)]
Add AlertManager bind address

Change-Id: I3116e3f556f12e88b68096d8da78e1a0de30450c
Signed-off-by: Abukar Mohamed <abukar.mohamed@nokia.com>
4 years agoReplacing committer Heikki with Abukar 08/2808/1
czichy [Mon, 16 Mar 2020 14:43:14 +0000 (16:43 +0200)]
Replacing committer Heikki with Abukar

Change-Id: I7801a3fa28f42509b0d618342ff1941f757e8329
Signed-off-by: czichy <thoralf.czichy@nokia.com>
4 years agoUpdate appmgr request 53/2353/2 v0.4.0
Roni Riska [Tue, 28 Jan 2020 09:58:06 +0000 (11:58 +0200)]
Update appmgr request

New appmgr wants a bit different post to the
notification subscribe API.

Change-Id: I5afc99e5d786e6b964325cba70922fd8c6e66011
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoAdd release file for ric-plt-vespamgr:0.0.8 63/1863/1
wrider [Fri, 29 Nov 2019 04:46:26 +0000 (23:46 -0500)]
Add release file for ric-plt-vespamgr:0.0.8

Change-Id: I089a75ce5c49116cc9fdb64e98d1081229fab297
Signed-off-by: wrider <lji@research.att.com>
4 years agoAdd new license claim 04/1804/1 0.0.8 0.4.0 0.5.4 0.7.0 0.7.2
Roni Riska [Wed, 27 Nov 2019 08:59:54 +0000 (10:59 +0200)]
Add new license claim

Adding extra line that src files are part of RIC platform project.

Change-Id: Id2b467195bef2591f926fe56c003878380d465af
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoMerge "Automation adds INFO.yaml" Amber
Roni Riska [Thu, 14 Nov 2019 08:23:52 +0000 (08:23 +0000)]
Merge "Automation adds INFO.yaml"

4 years agoAdd docs build support 47/1547/1
Roni Riska [Wed, 13 Nov 2019 06:46:18 +0000 (08:46 +0200)]
Add docs build support

Change-Id: I5443fd513b7f9e05434dd1a3e41425172d9b9136
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoAutomation adds INFO.yaml 49/1449/2
Aric Gardner [Fri, 8 Nov 2019 16:04:50 +0000 (16:04 +0000)]
Automation adds INFO.yaml

Change-Id: I8a2610085dcf26587a264cbd5e689091d103d09f
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
4 years agoAdd tcpdump to the container image 59/1059/3
Roni Riska [Thu, 3 Oct 2019 09:16:09 +0000 (12:16 +0300)]
Add tcpdump to the container image

The tcpdump can be used in container debugging.

Change-Id: I93e2b8b1582d900a1631c875c1d8efa0ec54bed1
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoFix NfNamingCode and remove NfcNamingCodes 36/1036/5
Roni Riska [Mon, 30 Sep 2019 06:39:12 +0000 (09:39 +0300)]
Fix NfNamingCode and remove NfcNamingCodes

NFNamingCode is read from environment variable VESMGR_NFNAMINGCODE.
If not set, the default value is "ricp".

NfcNamingCodes is an empty list.

Also add vesmgr version information log at vesmgr startup.
The version information is generated at compile time
from the container-tag.yaml file (if exists) and
from the git hash of the last commit.

Change-Id: If524e679dbba2ee56217b2e03b1daf18eb2c46fb
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoFix event config: VNFName, ReportingEntityName and ID 17/1017/1
Katri Turunen [Thu, 26 Sep 2019 09:46:07 +0000 (12:46 +0300)]
Fix event config: VNFName, ReportingEntityName and ID

Vesmgr configures the Vespa event with the following values:
- VNFName: Value from env variable VESMGR_VNFNAME,
           default, if the env variable does not exist: Vespa
- ReportingEntityName: Vespa
- ReportingEntityId: system UUID read from
                     /sys/class/dmi/id/product_uuid

Change-Id: Ib25d7271be363236f24295df9d5f4e940a741360
Signed-off-by: Katri Turunen <katri.turunen@nokia.com>
4 years agoRefactor the code 14/1014/3
Roni Riska [Thu, 26 Sep 2019 05:20:44 +0000 (08:20 +0300)]
Refactor the code

Multiple code refactorings to make the code
simpler and increase the unit testing coverage.

* Golint findings are fixed.
* Xapp query function name changed from status to
  config.

The functionality is slightly changed so that
  - Vespa is started only after the xapp notification
    subscription is successful and the vesmgr has received
    the current xapp configuration from the xapp manager.
  - The vesmgr goes to the main loop after that.

Change-Id: Ie2675c0543d4e4ce0a60b92a6c06a79b9e2cb2cd
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoAdd troubleshooting tools 07/1007/2
Roni Riska [Wed, 25 Sep 2019 09:28:32 +0000 (12:28 +0300)]
Add troubleshooting tools

Add some troubleshooting related commands to the container:
 - iputils-ping
 - net-tools
 - curl

Change-Id: I2bcb1c1dc7e98bcd7eb72066e4bec8e7f1ae226a
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoQuery Xapp config after subscription 63/963/3
Roni Riska [Tue, 17 Sep 2019 09:56:52 +0000 (12:56 +0300)]
Query Xapp config after subscription

When the xapp notification subscription
is done vesmgr makes a query of running
xapps and recreates the vespa configuration
and starts vespa.

Vespa is not started before we have got the
configuration from the xapp manager.

Change-Id: I286fff7ed33e5704e6b9a18d1dd5358b6282bbdb
Signed-off-by: Roni Riska <roni.riska@nokia.com>
4 years agoAdd liveness probe 62/962/1
Katri Turunen [Tue, 17 Sep 2019 07:45:37 +0000 (10:45 +0300)]
Add liveness probe

Change-Id: I9c055408f76d49102a0ea14f17f2fd0d1d0a87ab
Signed-off-by: Katri Turunen <katri.turunen@nokia.com>
4 years agoConfigure xApp metrics in xApp description 60/960/3
Katri Turunen [Mon, 16 Sep 2019 05:48:18 +0000 (08:48 +0300)]
Configure xApp metrics in xApp description

Vesmgr subscribes the xApp notifications from xAppMgr. When it
receives a notification, it requests the xApp config from xAppMgr,
creates the VESPA configuration according to it, and restarts
VESPA with the new configuration.

The xApp counters should be defined in the xApp descriptor.
Vesmgr reads the counter definitions from section config->metrics.
The following fields are required:

* name - Prometheus name of the counter
* objectName - Ves collector object name
* objectInstance - Ves collector object instance

If the same counter name is defined by several xApps,
vesmgr makes the configuration based on the first definition
and ignores the latter ones, if they are conflicting.
However, VESPA reports all counters to Ves collector regardless
of the xApp exposing them.

VESPA reads the ricComponentName from Prometheus label
"kubernetes_name".

There are no more hard-coded metrics configured in this version.

Change-Id: I746c6941cebe686165aed97e223b0ec0e9c7a679
Signed-off-by: Katri Turunen <katri.turunen@nokia.com>
4 years agoRead PrimaryCollector parameters from env variables 57/857/2
Katri Turunen [Mon, 2 Sep 2019 07:28:52 +0000 (10:28 +0300)]
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>
4 years agoAdd first version of VES agent and vesmgr 15/715/4
Katri Turunen [Thu, 15 Aug 2019 07:49:36 +0000 (10:49 +0300)]
Add first version of VES agent and vesmgr

Vesmgr starts VES agent with a hard-coded measurement
configuration.

The following parameters can be defined as environment variables:
VESMGR_HB_INTERVAL
VESMGR_MEAS_INTERVAL
VESMGR_PRICOLLECTOR_ADDR
VESMGR_PRICOLLECTOR_PORT
VESMGR_PROMETHEUS_ADDR

Change-Id: I2faf07fca10864d331d81c2c15b94b9f263402b5
Signed-off-by: Katri Turunen <katri.turunen@nokia.com>
4 years agoInitial empty repository
suresh channamallu [Tue, 14 May 2019 17:56:23 +0000 (17:56 +0000)]
Initial empty repository