ovs

package
v0.0.0-...-a5c15e9 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrOvsctlNotFound = errors.New("ovs-vsctl not found")
	ErrIPCmdNotFound  = errors.New("ip cmd not found")
)

Functions

func BridgeCreate

func BridgeCreate(ifname string) error

func BridgeExists

func BridgeExists(ifname string) (bool, error)

func CreateVethPair

func CreateVethPair(iface string) (local string, guest string, err error)

creates a veth pair and adds it to a bridge

func NetNSExec

func NetNSExec(pid int, args ...string) (out string, err error)

Execute a command in a network namespace pid

Types

This section is empty.

Jump to

Keyboard shortcuts

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