vpp_ipfix

package
v3.5.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ModuleName = "vpp.ipfix"

ModuleName is the module name used for models.

Variables

View Source
var (
	ModelIPFIX = models.Register(&IPFIX{}, models.Spec{
		Module:  ModuleName,
		Version: "v2",
		Type:    "ipfix",
	})

	ModelFlowprobeParams = models.Register(&FlowProbeParams{}, models.Spec{
		Module:  ModuleName,
		Version: "v2",
		Type:    "flowprobe-params",
	})

	ModelFlowprobeFeature = models.Register(&FlowProbeFeature{}, models.Spec{
		Module:  ModuleName,
		Version: "v2",
		Type:    "flowprobe-feature",
	}, models.WithNameTemplate("{{.Interface}}"))
)
View Source
var File_ligato_vpp_ipfix_flowprobe_proto protoreflect.FileDescriptor
View Source
var File_ligato_vpp_ipfix_ipfix_proto protoreflect.FileDescriptor

Functions

func FlowprobeFeatureKey

func FlowprobeFeatureKey(iface string) string

FlowprobeFeatureKey returns the prefix used in ETCD to store vpp Flowprobe feature config.

func FlowprobeParamsKey

func FlowprobeParamsKey() string

FlowprobeParamsKey returns the prefix used in ETCD to store vpp Flowprobe params config.

func IPFIXKey

func IPFIXKey() string

IPFIXKey returns the prefix used in ETCD to store vpp IPFIX config.

Types

type FlowProbeFeature

type FlowProbeFeature struct {
	Interface string `protobuf:"bytes,1,opt,name=interface,proto3" json:"interface,omitempty"`
	L2        bool   `protobuf:"varint,2,opt,name=l2,proto3" json:"l2,omitempty"`
	Ip4       bool   `protobuf:"varint,3,opt,name=ip4,proto3" json:"ip4,omitempty"`
	Ip6       bool   `protobuf:"varint,4,opt,name=ip6,proto3" json:"ip6,omitempty"`
	// contains filtered or unexported fields
}

func (*FlowProbeFeature) Descriptor deprecated

func (*FlowProbeFeature) Descriptor() ([]byte, []int)

Deprecated: Use FlowProbeFeature.ProtoReflect.Descriptor instead.

func (*FlowProbeFeature) GetInterface

func (x *FlowProbeFeature) GetInterface() string

func (*FlowProbeFeature) GetIp4

func (x *FlowProbeFeature) GetIp4() bool

func (*FlowProbeFeature) GetIp6

func (x *FlowProbeFeature) GetIp6() bool

func (*FlowProbeFeature) GetL2

func (x *FlowProbeFeature) GetL2() bool

func (*FlowProbeFeature) ProtoMessage

func (*FlowProbeFeature) ProtoMessage()

func (*FlowProbeFeature) ProtoReflect

func (x *FlowProbeFeature) ProtoReflect() protoreflect.Message

func (*FlowProbeFeature) Reset

func (x *FlowProbeFeature) Reset()

func (*FlowProbeFeature) String

func (x *FlowProbeFeature) String() string

type FlowProbeParams

type FlowProbeParams struct {
	ActiveTimer  uint32 `protobuf:"varint,1,opt,name=active_timer,json=activeTimer,proto3" json:"active_timer,omitempty"`
	PassiveTimer uint32 `protobuf:"varint,2,opt,name=passive_timer,json=passiveTimer,proto3" json:"passive_timer,omitempty"`
	RecordL2     bool   `protobuf:"varint,3,opt,name=record_l2,json=recordL2,proto3" json:"record_l2,omitempty"`
	RecordL3     bool   `protobuf:"varint,4,opt,name=record_l3,json=recordL3,proto3" json:"record_l3,omitempty"`
	RecordL4     bool   `protobuf:"varint,5,opt,name=record_l4,json=recordL4,proto3" json:"record_l4,omitempty"`
	// contains filtered or unexported fields
}

func (*FlowProbeParams) Descriptor deprecated

func (*FlowProbeParams) Descriptor() ([]byte, []int)

Deprecated: Use FlowProbeParams.ProtoReflect.Descriptor instead.

func (*FlowProbeParams) GetActiveTimer

func (x *FlowProbeParams) GetActiveTimer() uint32

func (*FlowProbeParams) GetPassiveTimer

func (x *FlowProbeParams) GetPassiveTimer() uint32

func (*FlowProbeParams) GetRecordL2

func (x *FlowProbeParams) GetRecordL2() bool

func (*FlowProbeParams) GetRecordL3

func (x *FlowProbeParams) GetRecordL3() bool

func (*FlowProbeParams) GetRecordL4

func (x *FlowProbeParams) GetRecordL4() bool

func (*FlowProbeParams) ProtoMessage

func (*FlowProbeParams) ProtoMessage()

func (*FlowProbeParams) ProtoReflect

func (x *FlowProbeParams) ProtoReflect() protoreflect.Message

func (*FlowProbeParams) Reset

func (x *FlowProbeParams) Reset()

func (*FlowProbeParams) String

func (x *FlowProbeParams) String() string

type IPFIX

type IPFIX struct {
	Collector        *IPFIX_Collector `protobuf:"bytes,1,opt,name=collector,proto3" json:"collector,omitempty"`
	SourceAddress    string           `protobuf:"bytes,2,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"`
	VrfId            uint32           `protobuf:"varint,3,opt,name=vrf_id,json=vrfId,proto3" json:"vrf_id,omitempty"`
	PathMtu          uint32           `protobuf:"varint,4,opt,name=path_mtu,json=pathMtu,proto3" json:"path_mtu,omitempty"`
	TemplateInterval uint32           `protobuf:"varint,5,opt,name=template_interval,json=templateInterval,proto3" json:"template_interval,omitempty"`
	// contains filtered or unexported fields
}

IPFIX defines the IP Flow Information eXport (IPFIX) configuration.

func (*IPFIX) Descriptor deprecated

func (*IPFIX) Descriptor() ([]byte, []int)

Deprecated: Use IPFIX.ProtoReflect.Descriptor instead.

func (*IPFIX) GetCollector

func (x *IPFIX) GetCollector() *IPFIX_Collector

func (*IPFIX) GetPathMtu

func (x *IPFIX) GetPathMtu() uint32

func (*IPFIX) GetSourceAddress

func (x *IPFIX) GetSourceAddress() string

func (*IPFIX) GetTemplateInterval

func (x *IPFIX) GetTemplateInterval() uint32

func (*IPFIX) GetVrfId

func (x *IPFIX) GetVrfId() uint32

func (*IPFIX) ProtoMessage

func (*IPFIX) ProtoMessage()

func (*IPFIX) ProtoReflect

func (x *IPFIX) ProtoReflect() protoreflect.Message

func (*IPFIX) Reset

func (x *IPFIX) Reset()

func (*IPFIX) String

func (x *IPFIX) String() string

type IPFIX_Collector

type IPFIX_Collector struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Port    uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*IPFIX_Collector) Descriptor deprecated

func (*IPFIX_Collector) Descriptor() ([]byte, []int)

Deprecated: Use IPFIX_Collector.ProtoReflect.Descriptor instead.

func (*IPFIX_Collector) GetAddress

func (x *IPFIX_Collector) GetAddress() string

func (*IPFIX_Collector) GetPort

func (x *IPFIX_Collector) GetPort() uint32

func (*IPFIX_Collector) ProtoMessage

func (*IPFIX_Collector) ProtoMessage()

func (*IPFIX_Collector) ProtoReflect

func (x *IPFIX_Collector) ProtoReflect() protoreflect.Message

func (*IPFIX_Collector) Reset

func (x *IPFIX_Collector) Reset()

func (*IPFIX_Collector) String

func (x *IPFIX_Collector) String() string

Jump to

Keyboard shortcuts

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