Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Versions = map[string]HandlerVersion{}
Functions ¶
This section is empty.
Types ¶
type HandlerVersion ¶
type StnDetails ¶
StnDetails contains a proto-modelled STN data and VPP specific metadata
type StnMeta ¶
type StnMeta struct {
IfIdx uint32
}
StnMeta contains an index of the interface defined by name in the STN rule
type StnVppAPI ¶
type StnVppAPI interface { StnVppRead // AddSTNRule calls StnAddDelRule bin API with IsAdd=1 AddSTNRule(stnRule *stn.Rule) error // DelSTNRule calls StnAddDelRule bin API with IsAdd=0 DeleteSTNRule(stnRule *stn.Rule) error }
StnVppAPI provides methods for managing STN rules
func CompatibleStnVppHandler ¶
type StnVppRead ¶
type StnVppRead interface { // DumpSTNRules returns a list of all STN rules configured on the VPP DumpSTNRules() ([]*StnDetails, error) }
StnVppRead provides read methods for STN rules
Click to show internal directories.
Click to hide internal directories.