remote_client

command
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

README

GRPC remote client example

The example uses vpp-agent as a GRPC server. The configuration uses GRPC service to call remote procedure in the agent to create desired configuration. The example shows how to create data change and resync request.

How to run example:

  1. Run vpp-agent with GRPC server enabled - start it with the grpc configuration file with endpoint defined.
vpp-agent --grpc-config=/opt/vpp-agent/dev/grpc.conf
  1. Run GRPC client (example):
go run main.go

The example creates resync request with configuration which is then updated with data change request.

Documentation

Overview

Example remote_client demonstrates remote VPP config management via clientv1 using GPRC transport.

Jump to

Keyboard shortcuts

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