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 ACLPlugin ¶
type ACLPlugin struct { Deps // contains filtered or unexported fields }
ACLPlugin is a plugin that manages ACLs.
func NewPlugin ¶
NewPlugin creates a new Plugin with the provides Options
func (*ACLPlugin) AfterInit ¶
AfterInit registers plugin with StatusCheck.
func (*ACLPlugin) GetACLIndex ¶
func (p *ACLPlugin) GetACLIndex() aclidx.ACLMetadataIndex
GetInterfaceIndex gives read-only access to map with metadata of all configured VPP interfaces.
type API ¶
type API interface { // GetInterfaceIndex gives read-only access to map with metadata of all configured // VPP access lists. GetACLIndex() aclidx.ACLMetadataIndex }
API defines methods exposed by VPP-ACLPlugin.
type Deps ¶
type Deps struct { infra.PluginDeps Scheduler kvs.KVScheduler GoVppmux govppmux.API IfPlugin ifplugin.API StatusCheck statuscheck.PluginStatusWriter // optional }
Deps represents dependencies for the plugin.
Directories ¶
Path | Synopsis |
---|---|
Package vppcalls contains wrappers over VPP ACL binary APIs and helpers to dump ACLs configured in VPP - per interface and total.
|
Package vppcalls contains wrappers over VPP ACL binary APIs and helpers to dump ACLs configured in VPP - per interface and total. |
Click to show internal directories.
Click to hide internal directories.