vpp2306

package
v0.0.0-...-ae01f8c Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewABXVppHandler

NewABXVppHandler returns new ABXVppHandler.

Types

type ABXVppHandler

type ABXVppHandler struct {
	// contains filtered or unexported fields
}

ABXVppHandler is accessor for abx-related vppcalls methods

func (*ABXVppHandler) AbxAttachInterface

func (h *ABXVppHandler) AbxAttachInterface(policyID, ifIdx, priority uint32) error

AbxAttachInterface attaches interface to the ABF

func (*ABXVppHandler) AbxDetachInterface

func (h *ABXVppHandler) AbxDetachInterface(policyID, ifIdx, priority uint32) error

AbxDetachInterface detaches interface from the ABF

func (*ABXVppHandler) AddAbxPolicy

func (h *ABXVppHandler) AddAbxPolicy(policyID uint32, aclID uint32, txIf string, dstMac string) error

AddAbxPolicy creates new ABX entry

func (*ABXVppHandler) DeleteAbxPolicy

func (h *ABXVppHandler) DeleteAbxPolicy(policyID uint32) error

DeleteAbxPolicy removes existing ABX entry

func (*ABXVppHandler) DumpABXPolicy

func (h *ABXVppHandler) DumpABXPolicy() ([]*vppcalls.ABXDetails, error)

DumpABXPolicy retrieves VPP ABX configuration.

func (*ABXVppHandler) GetAbxVersion

func (h *ABXVppHandler) GetAbxVersion() (ver string, err error)

GetAbxVersion retrieves version of the VPP ABX plugin

Jump to

Keyboard shortcuts

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