Documentation
¶
Overview ¶
Package vppl3bgp implements the Vpp sample service plugin that allows plugin to render learned IP-based routes to l3 plugin.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(deps Deps) core.NamedPlugin
New creates Plugin with learned IP-based route to l3 plugin rendering functionality by default. Renderer can be injected via Dependencies <deps>
Types ¶
type Deps ¶
type Deps struct { local.PluginInfraDeps //inject Watcher bgp.Watcher Renderer func(*bgp.ReachableIPRoute) //inject optional (mainly for testing purposes) }
Deps combines all needed dependencies for Plugin struct. These dependencies should be injected into Plugin by using constructor's Deps parameter.
Click to show internal directories.
Click to hide internal directories.