vpp_if_stats

command
v1.0.1-0...-e6293ad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

README

VPP interface stats client

This is a source code and a binary of a 'thin client' to collect, aggregate and expose VPP interface stats through VPP stats socket API. It also provides some information about the installed VPP version.

This can be used by monitoring systems that needs to grab those details through a simple executable client with no dependencies.

example use case: where VPP runs in a container that can't expose the socket API to the host level

Prerequisites (for building)

GoVPP library (compatible with VPP 18.10) vpp, vpp-api, vpp-lib

Building

go get git.fd.io/govpp.git
go build

Using (post-build for example on linux 64bit)

./bin/vpp_if_stats_linux_amd64

Output examples

JSON schema Example

Documentation

Overview

Package mock_api is a generated GoMock package.

Package mock_adapter is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL