controller

package
v0.0.0-...-c3ae906 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2014 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterNOMController

func RegisterNOMController(h bh.Hive)

Types

type Batch

type Batch struct {
	Adds []nom.AddFlowEntry // The flows to be added.
	Dels []nom.DelFlowEntry // The flows to be removed.
}

Batch represents a collection of flow entries to be added to and removed from the network. The controller ensures that these changes are either all applied or all failed.

type Consolidator

type Consolidator struct{}

func (Consolidator) Map

func (c Consolidator) Map(msg bh.Msg, ctx bh.MapContext) bh.MappedCells

func (Consolidator) Rcv

func (c Consolidator) Rcv(msg bh.Msg, ctx bh.RcvContext) error

type Poller

type Poller struct{}

func (Poller) Map

func (p Poller) Map(msg bh.Msg, ctx bh.MapContext) bh.MappedCells

func (Poller) Rcv

func (p Poller) Rcv(msg bh.Msg, ctx bh.RcvContext) error

Jump to

Keyboard shortcuts

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