Go to file
Louise Kilheeney bd78cf693e test/telemetry: add unit tests for data to JSON
This patch adds tests for verifying telemetry data structures are
converted to JSON as expected. Both flat and recursive data structures
are tested, for all possible value types.

The app connects to the telemetry socket as a client, and registers one
command with a corresponding callback function. Each time the callback
function is called, it copies a global data variable to the data pointer
passed in by telemetry.
When a test case is run, the test case function builds up the global
data variable with the relevant data types, and the expected json string
output which should be generated from that. The 'test_output()' function
is used to trigger the callback and ensure the actual output matches
that expected.

Signed-off-by: Louise Kilheeney <louise.kilheeney@intel.com>
Signed-off-by: Ciara Power <ciara.power@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2020-10-06 22:55:13 +02:00
.ci ci: reduce examples in static builds 2020-04-17 23:34:08 +02:00
app test/telemetry: add unit tests for data to JSON 2020-10-06 22:55:13 +02:00
buildtools doc: make sphinx comply with meson werror option 2020-10-05 23:52:02 +02:00
config support python 3 only 2020-10-02 13:51:00 +02:00
devtools support python 3 only 2020-10-02 13:51:00 +02:00
doc gro: support VXLAN UDP/IPv4 2020-10-06 21:51:03 +02:00
drivers kernel/linux: remove igb_uio 2020-10-06 14:50:13 +02:00
examples examples/vm_power: fix 32-bit build 2020-10-06 09:49:29 +02:00
kernel kernel/linux: remove igb_uio 2020-10-06 14:50:13 +02:00
lib telemetry: support array values in data object 2020-10-06 22:55:00 +02:00
license eal: move OS-specific sub-directories 2020-03-31 13:08:55 +02:00
usertools raw/ntb: support Intel Ice Lake 2020-10-06 01:24:33 +02:00
.editorconfig devtools: add EditorConfig file 2020-02-22 21:05:22 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore regex/mlx5: introduce driver for BlueField 2 2020-07-21 19:04:05 +02:00
.travis.yml ci: add tests jobs in aarch64 vm 2020-09-30 21:52:54 +02:00
ABI_VERSION version: 20.11-rc0 2020-08-12 11:32:16 +02:00
MAINTAINERS kernel/linux: remove igb_uio 2020-10-06 14:50:13 +02:00
Makefile build: create dummy Makefile 2020-09-07 23:51:57 +02:00
meson_options.txt trace: introduce new subsystem 2020-04-23 15:39:06 +02:00
meson.build build: check AVX512 rather than binutils version 2020-07-05 21:32:40 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 20.11-rc0 2020-08-12 11:32:16 +02:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org