cntrsrv

command
v0.0.0-...-70b8fbd Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

README

cntr Container Image

This directory contains the source code for a binary which can be run as a container on a network device to run the feature/container tests. It exposes a gRPC API that can be interacted with through ONDATRA in order to validate connectivity to specific gRPC services.

The build directory contains a Dockerfile for building the container.

The proto/cntr directory contains a protobuf that defines the gRPC API exposed by the container for test purposes.

Documentation

Overview

Binary cntrserver implements the Cntr (Container) service which can be used to test base functionalities of a container hosting device. It implements a service that can:

  • dial a remote address as specified by the Dial RPC
  • respond to a ping request with a specified timestamp.

By running the CNTR server on one machine, A, one can validate:

  • An external client can connect to a gRPC service running on A.

By running the CNTR server on two machines, A and B, one can:

  • Validate that A can dial B via gRPC by calling the Dial RPC on A with B's address.
  • Validate that A can send an RPC to B via gRPC by calling the Dial RPC on A with B's address and ping.

Directories

Path Synopsis
proto

Jump to

Keyboard shortcuts

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