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 ¶
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
Click to show internal directories.
Click to hide internal directories.