monitor

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	*openflow.Client
}

Monitor describes a OVS monitor similar to the ovs-vsctl monitor watch: command

func NewMonitor

func NewMonitor(addr string) (*Monitor, error)

NewMonitor returns a new OVS monitor using either a UNIX socket or a TCP socket

func (*Monitor) SendFlowMonitorRequest

func (m *Monitor) SendFlowMonitorRequest() error

SendFlowMonitorRequest asks OVS to send events on new/updated/deleted flows similar to ovs-ofctl monitor watch:

func (*Monitor) Start

func (m *Monitor) Start(ctx context.Context) error

Start the OVS monitor

Jump to

Keyboard shortcuts

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