epcommon

package
v1.0.35 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowIPAddresses added in v1.0.24

func AllowIPAddresses(bridgeName string, skipAddresses []string, action string) error

func AssignIPToInterface

func AssignIPToInterface(interfaceName string, ipAddresses []net.IPNet) error

func BlockIPAddresses added in v1.0.24

func BlockIPAddresses(bridgeName string, action string) error

func CreateEndpoint

func CreateEndpoint(hostVethName string, containerVethName string) error

func EnableIPForwarding added in v1.0.26

func EnableIPForwarding(ifName string) error

*

This fucntion enables ip forwarding in VM and allow forwarding packets from the interface

*

func SetupContainerInterface

func SetupContainerInterface(containerVethName string, targetIfName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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