ovsmirror

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProbe

func NewProbe(ctx probes.Context, bundle *probe.Bundle) (probes.FlowProbeHandler, error)

NewProbe returns a new OVS Mirror probe

Types

type ProbesHandler

type ProbesHandler struct {
	ovsdb.DefaultOvsMonitorHandler
	Ctx probes.Context
	// contains filtered or unexported fields
}

ProbesHandler describes a flow probe in running in the graph

func (*ProbesHandler) CaptureTypes

func (o *ProbesHandler) CaptureTypes() []string

CaptureTypes supported

func (*ProbesHandler) OnConnected

func (o *ProbesHandler) OnConnected(monitor *ovsdb.OvsMonitor)

OnConnected ovsdb event

func (*ProbesHandler) RegisterProbe

func (o *ProbesHandler) RegisterProbe(n *graph.Node, capture *types.Capture, e probes.ProbeEventHandler) (probes.Probe, error)

RegisterProbe registers a probe on a graph node

func (*ProbesHandler) RegisterProbeOnPort

func (o *ProbesHandler) RegisterProbeOnPort(n *graph.Node, portUUID string, capture *types.Capture) (probes.Probe, error)

RegisterProbeOnPort registers a new probe on the OVS bridge

func (*ProbesHandler) Start

func (o *ProbesHandler) Start() error

Start the probe

func (*ProbesHandler) Stop

func (o *ProbesHandler) Stop()

Stop the probe

func (*ProbesHandler) UnregisterProbe

func (o *ProbesHandler) UnregisterProbe(n *graph.Node, e probes.ProbeEventHandler, fp probes.Probe) error

UnregisterProbe at the graph node

Jump to

Keyboard shortcuts

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