underlay

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnderlayInterface = "eth1"
	VlanInterface     = "vlan1"

	ProviderNetwork = "net1"
	Vlan            = "vlan-e2e"
	Subnet          = "e2e-underlay"
	Namespace       = "underlay"
)

Variables

View Source
var (
	VlanID = os.Getenv("VLAN_ID")
)

Functions

func AddNodeAddrs

func AddNodeAddrs(node, addr string)

func AddNodeIP

func AddNodeIP(ip string)

func AddNodeRoutes

func AddNodeRoutes(node, route string)

func SetCIDR

func SetCIDR(s string)

func SetNodeMTU

func SetNodeMTU(node string, mtu int)

func SetNodeMac

func SetNodeMac(node, mac string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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