vpp2106

package
v3.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIpfixVppHandler

func NewIpfixVppHandler(callsChan govppapi.Channel,
	ifIndexes ifaceidx.IfaceMetadataIndex, log logging.Logger,
) vppcalls.IpfixVppAPI

NewIpfixVppHandler creates new instance of IPFIX vppcalls handler.

Types

type IpfixVppHandler

type IpfixVppHandler struct {
	// contains filtered or unexported fields
}

IpfixVppHandler is accessor for IPFIX-related vppcalls methods.

func (*IpfixVppHandler) AddFPFeature

func (h *IpfixVppHandler) AddFPFeature(conf *ipfix.FlowProbeFeature) error

AddFPFeature sends message to enable Flowprobe on interface.

func (*IpfixVppHandler) DelFPFeature

func (h *IpfixVppHandler) DelFPFeature(conf *ipfix.FlowProbeFeature) error

DelFPFeature sends message to disable Flowprobe on interface.

func (*IpfixVppHandler) DumpExporters

func (h *IpfixVppHandler) DumpExporters() ([]*ipfix.IPFIX, error)

DumpExporters returns configured IPFIX. Since it always only one IPFIX configuration, this method signature defined as it is to keep consistensy between different vppcalls packages.

Caution: VPP 21.06 does not support IPv6 addresses for IPFIX configuration, but this may change in future versions. Be careful porting this method to another version of VPP.

func (*IpfixVppHandler) SetExporter

func (h *IpfixVppHandler) SetExporter(conf *ipfix.IPFIX) error

SetExporter configures IP Flow Information eXport (IPFIX).

func (*IpfixVppHandler) SetFPParams

func (h *IpfixVppHandler) SetFPParams(conf *ipfix.FlowProbeParams) error

SetFPParams sends message with configuration for Flowprobe.

Jump to

Keyboard shortcuts

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