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