Documentation ¶
Index ¶
- func CheckFlowExists(t *testing.T, ofctlClient ofctl.OfctlClient, tableID uint8, exist bool, ...) []string
- func CheckGroupExists(t *testing.T, ofctlClient ofctl.OfctlClient, groupID binding.GroupIDType, ...)
- func DeleteOVSBridge(brName string) error
- func OfctlDeleteFlows(ofctlClient ofctl.OfctlClient) error
- func OfctlDumpFlows(ofctlClient ofctl.OfctlClient, args ...string) ([]string, error)
- func OfctlDumpTableFlows(ofctlClient ofctl.OfctlClient, table uint8) ([]string, error)
- func OfctlFlowMatch(flowList []string, tableID uint8, flow *ExpectFlow) bool
- func PrepareOVSBridge(brName string) error
- type ExpectFlow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFlowExists ¶
func CheckFlowExists(t *testing.T, ofctlClient ofctl.OfctlClient, tableID uint8, exist bool, flows []*ExpectFlow) []string
func CheckGroupExists ¶ added in v0.6.0
func CheckGroupExists(t *testing.T, ofctlClient ofctl.OfctlClient, groupID binding.GroupIDType, groupType string, buckets []string, expectExists bool)
func DeleteOVSBridge ¶
func OfctlDeleteFlows ¶ added in v0.3.0
func OfctlDeleteFlows(ofctlClient ofctl.OfctlClient) error
func OfctlDumpFlows ¶
func OfctlDumpFlows(ofctlClient ofctl.OfctlClient, args ...string) ([]string, error)
func OfctlDumpTableFlows ¶ added in v0.3.0
func OfctlDumpTableFlows(ofctlClient ofctl.OfctlClient, table uint8) ([]string, error)
func OfctlFlowMatch ¶
func OfctlFlowMatch(flowList []string, tableID uint8, flow *ExpectFlow) bool
func PrepareOVSBridge ¶
Types ¶
type ExpectFlow ¶
Click to show internal directories.
Click to hide internal directories.