Skip to content
Unstable

Changes

Summary

  1. StatsD_Checker: Allow running without VTY support (details)
  2. s1gw: Initial StatsD support (details)
  3. s1gw: ConnHdlr: Use stats reported by osmo-s1gw to expect PFCP Assoc (details)
  4. s1gw: TC_setup: Validate some metrics (details)
Commit a3810cfe130b9c29fc16c86aea6dbaa30fa64515 by Pau Espin Pedrol
StatsD_Checker: Allow running without VTY support

New features are added to the public API of StatsD_Checker which make it
possible to use it...

* without "stats reset":
Feature to take snapshots (f_statsd_snapshot()) which can later be
used to validate expectancies with values relative to the snapshot,
using API f_statsd_expect_from_snapshot().
This way, one can do:
"""
var StatsDExpects statsd_exp := { /* relative expectancies here... */ };
var StatsDMetrics statsd_snapshot := f_statsd_snapshot(f_statsd_keys_from_expect(statsd_exp));
/* do some test stuff here changing the state of the IUT... */
f_statsd_expect_from_snapshot(statsd_exp, snapshot := statsd_snapshot);
"""

* without polling ("stats report"), aka with periodict reporting:
New parameter wait_converge in f_statsd_expect(), which allows
overcoming race conditions with StatsD server processing older incoming
metrics due to periodic reporting.
This feature also allows a test to wait until a state changes in the
IUT.

Change-Id: Ie1180a5b674504864309c3b9b11bfcf5256d9178
The file was modifiedlibrary/StatsD_Checker.ttcnpp
The file was modifiedlibrary/StatsD_Types.ttcn
Commit 956bf05e7ea56db2be0685adc743a92a267b1832 by Pau Espin Pedrol
s1gw: Initial StatsD support

Change-Id: Ib98c2fe68006a8d0f45de6966927b349a3b933ca
The file was modifieds1gw/S1GW_ConnHdlr.ttcn
The file was modifieds1gw/S1GW_Tests.cfg
The file was modifieds1gw/gen_links.sh
The file was modifieds1gw/regen_makefile.sh
The file was modifieds1gw/S1GW_Tests.ttcn
Commit a025436a922c6a6df79bced57522fc77a8899aaa by Pau Espin Pedrol
s1gw: ConnHdlr: Use stats reported by osmo-s1gw to expect PFCP Assoc Setup

Change-Id: I329745125d78786fc9c243f0047cd394de9b16d4
The file was modifieds1gw/osmo-s1gw.config
The file was modifieds1gw/S1GW_ConnHdlr.ttcn
Commit 6a0b01c6159a5d394290ab5e954938e6b606fb4b by Pau Espin Pedrol
s1gw: TC_setup: Validate some metrics

Change-Id: Iae629bc9291ff8b6e482f61d692e4d97ff0136bd
The file was modifieds1gw/S1GW_Tests.ttcn