xconnectns

package
v0.0.0-...-83e77c6 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: Apache-2.0 Imports: 26 Imported by: 1

Documentation

Overview

Package xconnectns provides an Endpoint that implements the cross connect networks service for use as a Forwarder

Package xconnectns provides an Endpoint that implements the cross connect networks service for use as a Forwarder

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(ctx context.Context, name string, authzServer networkservice.NetworkServiceServer, tokenGenerator token.GeneratorFunc, vppagentCC grpc.ClientConnInterface, baseDir string, tunnelIP net.IP, vxlanInitFunc func(conf *configurator.Config) error, clientURL *url.URL, clientDialOptions ...grpc.DialOption) endpoint.Endpoint

NewServer - returns a new vppagent based Endpoint implementing the XConnect Network Service for use as a Forwarder

name - name of the Forwarder
authzPolicy - policy for allowing or rejecting requests
vppagentCC - grpc.ClientConnInterface of the vppagent
baseDir - baseDir for sockets
tunnelIP - IP we can use for originating and terminating tunnels
vxlanInitFunc - function to perform initial configuration of vppagent
clientUrl - *url.URL for the talking to the NSMgr
...clientDialOptions - dialOptions for dialing the NSMgr

Types

This section is empty.

Jump to

Keyboard shortcuts

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