bridge

package
v0.0.0-...-bc5839e Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

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

	// DefaultIPv4Net defines the default bridge ipv4.
	DefaultIPv4Net = "192.168.5.1/24"

	// DefaultIPv4Range defines the default bridge ipv4 range in ipam.
	DefaultIPv4Range = "192.168.5.1/24"

	// DefaultGatewayv4 defines the default bridge gateway ipv4.
	DefaultGatewayv4 = "192.168.5.1"

	// DefaultIPv6Net defines the default bridge ipv6.
	DefaultIPv6Net = "2002:db8:1::1/64"

	// DefaultIPv6Range defines the default bridge ipv6 range in ipam.
	DefaultIPv6Range = "2002:db8:1::1/64"

	// DefaultGatewayv6 defines the default bridge gateway ipv6.
	DefaultGatewayv6 = "2002:db8:1::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