Documentation ¶
Index ¶
- func AddSnatRule(match string, ip net.IP) error
- func AllowIPAddresses(bridgeName string, skipAddresses []string, action string) error
- func AssignIPToInterface(interfaceName string, ipAddresses []net.IPNet) error
- func BlockIPAddresses(bridgeName string, action string) error
- func CreateEndpoint(hostVethName string, containerVethName string) error
- func DisableRAForInterface(ifName string) error
- func EnableIPForwarding(ifName string) error
- func EnableIPV6Forwarding() error
- func SetupContainerInterface(containerVethName string, targetIfName string) error
- func UpdateIPV6Setting(disable int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSnatRule ¶ added in v1.1.0
This fucntion adds rule which snat to ip passed filtered by match string.
func AllowIPAddresses ¶ added in v1.0.24
func AssignIPToInterface ¶
func BlockIPAddresses ¶ added in v1.0.24
func CreateEndpoint ¶
func DisableRAForInterface ¶ added in v1.1.3
func EnableIPForwarding ¶ added in v1.0.26
This fucntion enables ip forwarding in VM and allow forwarding packets from the interface
func EnableIPV6Forwarding ¶ added in v1.1.0
func EnableIPV6Forwarding() error
func SetupContainerInterface ¶
func UpdateIPV6Setting ¶ added in v1.1.0
This functions enables/disables ipv6 setting based on enable parameter passed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.