openflow

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFlows

func AddFlows(containers []Container) error

AddFlows adds flows associated with the provided containers without touching flows that may already be installed.

func ReplaceFlows

func ReplaceFlows(containers []Container) error

ReplaceFlows adds flows associated with the provided containers, and removes all other flows.

Types

type Container

type Container struct {
	Veth  string
	Patch string
	Mac   string
}

A Container that needs OpenFlow rules installed for it.

Jump to

Keyboard shortcuts

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