Documentation ¶
Index ¶
- func NewABXVppHandler(calls govppapi.Channel, aclIdx aclidx.ACLMetadataIndex, ...) vppcalls.ABXVppAPI
- type ABXVppHandler
- func (h *ABXVppHandler) AbxAttachInterface(policyID, ifIdx, priority uint32) error
- func (h *ABXVppHandler) AbxDetachInterface(policyID, ifIdx, priority uint32) error
- func (h *ABXVppHandler) AddAbxPolicy(policyID uint32, aclID uint32, txIf string, dstMac string) error
- func (h *ABXVppHandler) DeleteAbxPolicy(policyID uint32) error
- func (h *ABXVppHandler) DumpABXPolicy() ([]*vppcalls.ABXDetails, error)
- func (h *ABXVppHandler) GetAbxVersion() (ver string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewABXVppHandler ¶
func NewABXVppHandler(calls govppapi.Channel, aclIdx aclidx.ACLMetadataIndex, ifIdx ifaceidx.IfaceMetadataIndex, log logging.Logger) vppcalls.ABXVppAPI
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
Click to show internal directories.
Click to hide internal directories.