vxlan

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package vxlan provides the capabilities to create a VXLAN overlay network

Index

Constants

View Source
const (
	DefaultBridgeName         = "docker0"
	DefaultVxlanMTU           = 1500
	DefaultVxlanVNI           = 1042
	DefaultVxlanInterfaceName = "vtep1042"
	DefaultMetadataAddress    = "169.254.169.250"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Vxlan

type Vxlan struct {
	BridgeName         string
	VxlanMTU           int
	VxlanVNI           int
	VxlanInterfaceName string
	// contains filtered or unexported fields
}

Vxlan is used to store the VXLAN overlay information

func NewVxlan

func NewVxlan(metadataAddress string) (*Vxlan, error)

NewVxlan is used to create a new VXLAN Overlay network

func (*Vxlan) Reload

func (o *Vxlan) Reload() error

func (*Vxlan) SetDefaultVxlanInterfaceInfo

func (o *Vxlan) SetDefaultVxlanInterfaceInfo() error

func (*Vxlan) Start

func (o *Vxlan) Start() error

Start is used to start the vxlan overlay

Jump to

Keyboard shortcuts

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