ovs

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFlowExists

func CheckFlowExists(t *testing.T, br string, tableID uint8, exist bool, flows []*ExpectFlow) []string

func DeleteOVSBridge

func DeleteOVSBridge(brName string) error

func OfctlDeleteFlows added in v0.3.0

func OfctlDeleteFlows(brName string) error

func OfctlDumpFlows

func OfctlDumpFlows(brName string, args ...string) ([]string, error)

func OfctlDumpTableFlows added in v0.3.0

func OfctlDumpTableFlows(brName string, table uint8) ([]string, error)

func OfctlFlowMatch

func OfctlFlowMatch(flowList []string, tableID uint8, flow *ExpectFlow) bool

func PrepareOVSBridge

func PrepareOVSBridge(brName string) error

Types

type ExpectFlow

type ExpectFlow struct {
	MatchStr string
	ActStr   string
}

Jump to

Keyboard shortcuts

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