bridge

package
v0.0.0-...-a79519d Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultBridge defines the default bridge name.
	DefaultBridge = "p0"

	// DefaultBridgeIP defines the default bridge ip.
	DefaultBridgeIP = "192.168.5.1"

	// DefaultSubnet defines the default bridge subnet.
	DefaultSubnet = "192.168.5.1/24"

	// DefaultIPRange defines the default bridge ip range in ipam.
	DefaultIPRange = "192.168.5.1/24"

	// DefaultGateway defines the default bridge gateway.
	DefaultGateway = "192.168.5.1"

	// DefaultBindingIP defines the default binding ip.
	DefaultBindingIP = "0.0.0.0"
)

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, config network.BridgeConfig, manager mgr.NetworkMgr) error

New is used to initialize bridge network.

Types

This section is empty.

Jump to

Keyboard shortcuts

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