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.
Click to show internal directories.
Click to hide internal directories.