gribi

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	*server.Server
	// contains filtered or unexported fields
}

Server is a fake gRIBI implementation.

func New

func New(s *grpc.Server, gClient gpb.GNMIClient, target string, root *oc.Root) (*Server, error)

New returns a new fake gRIBI server.

- s is the gRPC server on which the reference gRIBI service will be installed. - root, if specified, will be used to populate connected routes into the RIB manager. Note this is intended to be used for unit/standalone device testing.

Jump to

Keyboard shortcuts

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