Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BfdDetails ¶
type BfdDetails struct { Config *bfd.BFD State bfd.BFDEvent_SessionState ConfKey uint32 BfdKey uint8 IsAuthenticated bool }
BfdDetails represents retrieved BFD data
type BfdVppAPI ¶
type BfdVppAPI interface { // AddBfd creates BFD session attached to the defined interface // with given configuration ID. AddBfd(confID uint32, bfd *bfd.BFD) error // DeleteBfd removes existing BFD session. DeleteBfd(bfd *bfd.BFD) error // DumpBfd returns retrieved BFD data together with BFD state. DumpBfd() ([]*BfdDetails, error) // WatchBfdEvents starts BFD event watcher. WatchBfdEvents(ctx context.Context, eventChan chan<- *bfd.BFDEvent) error }
BfdVppAPI defines methods to add, delete and watch BFD configuration
func CompatibleBfdVppHandler ¶
Click to show internal directories.
Click to hide internal directories.