vppcalls

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: 5 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	// MinPathMTU and MaxPathMTU values were copied from VPP source code.
	// If something will change, please, be kind and update values here
	// and also update error messages in the IPFIX descriptor.
	MinPathMTU = 68
	MaxPathMTU = 1450
)

Variables

This section is empty.

Functions

func AddIpfixHandlerVersion

func AddIpfixHandlerVersion(version vpp.Version, msgs []govppapi.Message,
	h func(ch govppapi.Channel, ifIdx ifaceidx.IfaceMetadataIndex, log logging.Logger) IpfixVppAPI,
)

Types

type IpfixVppAPI

type IpfixVppAPI interface {
	SetExporter(conf *ipfix.IPFIX) error
	DumpExporters() ([]*ipfix.IPFIX, error)

	SetFPParams(conf *ipfix.FlowProbeParams) error

	AddFPFeature(conf *ipfix.FlowProbeFeature) error
	DelFPFeature(conf *ipfix.FlowProbeFeature) error
}

IpfixVppAPI provides methods for managing VPP IPFIX configuration.

func CompatibleIpfixVppHandler

func CompatibleIpfixVppHandler(c vpp.Client, ifIdx ifaceidx.IfaceMetadataIndex, log logging.Logger) IpfixVppAPI

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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