link

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: 16 Imported by: 0

Documentation

Index

Constants

View Source
const NUM_TUNNEL_IDS = 1 << 24
View Source
const PLUGIN_NAME = "link.plugin.spanneti.opencord.org"

Variables

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

Functions

func LoadPlugin

func LoadPlugin(spanneti spanneti.Spanneti)

func LookupPeerIps

func LookupPeerIps() ([]peerID, error)

Types

type LinkData

type LinkData struct {
	Links       map[string]linkID `json:"links" spanneti:"link"`
	ContainerID graph.ContainerID
}

func (LinkData) GetIfaceFor

func (data LinkData) GetIfaceFor(linkId linkID) string

func (LinkData) SetContainerID

func (d LinkData) SetContainerID(containerId graph.ContainerID) graph.PluginData

Jump to

Keyboard shortcuts

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