Documentation ¶
Index ¶
- func NewIpfixVppHandler(callsChan govppapi.Channel, ifIndexes ifaceidx.IfaceMetadataIndex, ...) vppcalls.IpfixVppAPI
- type IpfixVppHandler
- func (h *IpfixVppHandler) AddFPFeature(conf *ipfix.FlowProbeFeature) error
- func (h *IpfixVppHandler) DelFPFeature(conf *ipfix.FlowProbeFeature) error
- func (h *IpfixVppHandler) DumpExporters() ([]*ipfix.IPFIX, error)
- func (h *IpfixVppHandler) SetExporter(conf *ipfix.IPFIX) error
- func (h *IpfixVppHandler) SetFPParams(conf *ipfix.FlowProbeParams) error
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 does not support IPv6 addresses for IPFIX configuration (tested with VPP 22.02), 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.