ipfixplugin

package
v3.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultPlugin = *NewPlugin()

DefaultPlugin is a default instance of IPFIXPlugin.

Functions

This section is empty.

Types

type Deps

type Deps struct {
	infra.PluginDeps
	KVScheduler kvs.KVScheduler
	VPP         govppmux.API
	IfPlugin    ifplugin.API
}

Deps represents dependencies for the plugin.

type IPFIXPlugin

type IPFIXPlugin struct {
	Deps
	// contains filtered or unexported fields
}

IPFIXPlugin is a plugin that manages IPFIX configuration in VPP. IPFIX - IP Flow Information Export (IPFIX). It allows to:

  • configure export of Flowprobe information;
  • configure Flowprobe Params;
  • enable/disable Flowprobe Feature for an interface.

Things to rememmber:

  • Flowprobe Feature can not be configured for any interface, if Flowprobe Params were not set.
  • Flowprobe Params can not be changed, if Flowprobe Feature was enabled for at least one interface.

func NewPlugin

func NewPlugin(opts ...Option) *IPFIXPlugin

NewPlugin creates a new Plugin with the provides Options.

func (*IPFIXPlugin) Init

func (p *IPFIXPlugin) Init() (err error)

Init initializes IPFIX plugin.

type Option

type Option func(*IPFIXPlugin)

Option is a function that can be used in NewPlugin to customize Plugin.

func UseDeps

func UseDeps(f func(*Deps)) Option

UseDeps returns Option that can inject custom dependencies.

Directories

Path Synopsis
Package vppcalls contains wrappers over VPP IPFIX and VPP Flowprobe binary APIs.
Package vppcalls contains wrappers over VPP IPFIX and VPP Flowprobe binary APIs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL