ovs

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFlowExists

func CheckFlowExists(t *testing.T, ovsCtlClient ovsctl.OVSCtlClient, tableName string, tableID uint8, expectFound bool, flows []*ExpectFlow) []string

func CheckGroupExists

func CheckGroupExists(t *testing.T, ovsCtlClient ovsctl.OVSCtlClient, groupID binding.GroupIDType, groupType string, buckets []string, expectFound bool)

func DeleteOVSBridge

func DeleteOVSBridge(brName string) error

func OfCtlDumpGroups

func OfCtlDumpGroups(ovsCtlClient ovsctl.OVSCtlClient) ([][]string, error)

func OfctlDeleteFlows

func OfctlDeleteFlows(ovsCtlClient ovsctl.OVSCtlClient) error

func OfctlDeleteGroups added in v1.12.2

func OfctlDeleteGroups(ovsCtlClient ovsctl.OVSCtlClient) error

func OfctlDumpFlows

func OfctlDumpFlows(ovsCtlClient ovsctl.OVSCtlClient, args ...string) ([]string, error)

func OfctlDumpTableFlows

func OfctlDumpTableFlows(ovsCtlClient ovsctl.OVSCtlClient, table string) ([]string, error)

func OfctlDumpTableFlowsWithoutName added in v1.5.0

func OfctlDumpTableFlowsWithoutName(ovsCtlClient ovsctl.OVSCtlClient, table uint8) ([]string, error)

func OfctlFlowMatch

func OfctlFlowMatch(flowList []string, tableName string, 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