link

package
v0.0.0-...-5841409 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFlow

func AddFlow(brName, containerA, ifA, containerB, ifB string)

func AddPortToContainer

func AddPortToContainer(brName, ifName, containerName string,
	settings ovsdocker.PortSettings, hostIf *ovsdocker.OVSInterface,
	bridge bool)

AddPortToContainer links a container to an OVS bridge, creating an interface on the container network namespace using a veth pair.

func ClearPortsFromContainer

func ClearPortsFromContainer(brName, containerName string)

ClearPortsFromContainer removes all OVS ports from a container

func CreateBridge

func CreateBridge(name string)

func DelPortFromContainer

func DelPortFromContainer(brName, ifName, containerName string)

DelPortFromContainer removes an OVS port from a container

func DeleteBridge

func DeleteBridge(name string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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