vni

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Overview

Package vni provides networkservice.NetworkService{Client,Server} chain elements for setting SrcIP/DstIP/VNI for the vxlan mechanism

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(tunnelIP net.IP, options ...Option) networkservice.NetworkServiceClient

NewClient - set the SrcIP for the vxlan mechanism

func NewServer

func NewServer(tunnelIP net.IP, options ...Option) networkservice.NetworkServiceServer

NewServer - set the DstIP *and* VNI for the vxlan mechanism

Types

type Option added in v1.1.0

type Option func(o *vniOpions)

Option is an option pattern for vni server/client

func WithTunnelPort added in v1.1.0

func WithTunnelPort(tunnelPort uint16) Option

WithTunnelPort sets VxLAN port

Jump to

Keyboard shortcuts

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