resolver

package
v0.0.0-...-a016372 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HOST_INTERFACE_NAME = os.Getenv("HOST_INTERFACE_NAME")

Functions

func DeleteContainerPeerInterface

func DeleteContainerPeerInterface(ethName string, containerPid int) error

func DeleteContainerRemoteInterface

func DeleteContainerRemoteInterface(ethName string, containerPid int) error

func DeleteSharedOLTInterface

func DeleteSharedOLTInterface(sTag uint16) error

func DetermineFabricIp

func DetermineFabricIp() (string, error)

func FindExistingRemoteInterface

func FindExistingRemoteInterface(ethName string, containerPid int) (string, int, bool, error)

func GetSharedOLTInterfaces

func GetSharedOLTInterfaces() []uint16
func SetupLocalContainerLink(ethName0 string, containerPid0 int, ethName1 string, containerPid1 int) error

SetupLocalContainerLink ensures a veth pair connects the specified containers

func SetupOLTContainerLink(ethName string, containerPid int, sTag, cTag uint16) error
func SetupRemoteContainerLink(ethName string, containerPid int, tunnelId int, peerFabricIp string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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