Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxPings = 3
)
Variables ¶
This section is empty.
Functions ¶
func RegisterNOMController ¶
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 HealthChecker ¶
type HealthChecker struct{}
func (HealthChecker) Map ¶
func (h HealthChecker) Map(msg bh.Msg, ctx bh.MapContext) bh.MappedCells
func (HealthChecker) Rcv ¶
func (h HealthChecker) Rcv(msg bh.Msg, ctx bh.RcvContext) error
Click to show internal directories.
Click to hide internal directories.