Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultPlugin = *NewPlugin()
DefaultPlugin is a default instance of IfPlugin.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface {
// GetVRFIndex gives read-only access to map with metadata of all configured VPP VRFs.
GetVRFIndex() vrfidx.VRFMetadataIndex
}
API defines methods exposed by VPP-L3Plugin.
type Deps ¶
type Deps struct {
infra.PluginDeps
KVScheduler kvs.KVScheduler
GoVppmux govppmux.API
IfPlugin ifplugin.API
AddrAlloc netalloc.AddressAllocator
StatusCheck statuscheck.PluginStatusWriter // optional
}
Deps lists dependencies of the interface p.
type L3Plugin ¶
type L3Plugin struct {
Deps
// contains filtered or unexported fields
}
L3Plugin configures Linux routes and ARP entries using Netlink API.
func NewPlugin ¶
NewPlugin creates a new Plugin with the provides Options
func (*L3Plugin) AfterInit ¶
AfterInit registers plugin with StatusCheck.
func (*L3Plugin) GetVRFIndex ¶
func (p *L3Plugin) GetVRFIndex() vrfidx.VRFMetadataIndex
GetVRFIndex gives read-only access to map with metadata of all configured VPP VRFs.
Source Files
¶
- l3plugin.go
- l3plugin_api.go
- options.go
Directories
¶
| Path | Synopsis |
|---|---|
|
vpp1904
Package vppcalls contains wrappers over VPP binary APIs for ARPs, proxy ARPs, L3 FIBs and helpers for dumping them.
|
Package vppcalls contains wrappers over VPP binary APIs for ARPs, proxy ARPs, L3 FIBs and helpers for dumping them. |
|
vpp1908
Package vppcalls contains wrappers over VPP binary APIs for ARPs, proxy ARPs, L3 FIBs and helpers for dumping them.
|
Package vppcalls contains wrappers over VPP binary APIs for ARPs, proxy ARPs, L3 FIBs and helpers for dumping them. |
|
vpp2001_324
Package vppcalls contains wrappers over VPP binary APIs for ARPs, proxy ARPs, L3 FIBs and helpers for dumping them.
|
Package vppcalls contains wrappers over VPP binary APIs for ARPs, proxy ARPs, L3 FIBs and helpers for dumping them. |
|
vpp2001_379
Package vppcalls contains wrappers over VPP binary APIs for ARPs, proxy ARPs, L3 FIBs and helpers for dumping them.
|
Package vppcalls contains wrappers over VPP binary APIs for ARPs, proxy ARPs, L3 FIBs and helpers for dumping them. |
|
Package vrfidx implements name-to-index mapping registry and cache for VPP VRFs.
|
Package vrfidx implements name-to-index mapping registry and cache for VPP VRFs. |
Click to show internal directories.
Click to hide internal directories.