nettle-openflow-0.2.0: OpenFlow protocol messages, binary formats, and servers.

Nettle.OpenFlow.Statistics

Synopsis

Documentation

data StatsRequest Source

Constructors

FlowStatsRequest 

Fields

statsRequestMatch :: Match

fields to match

statsRequestTableID :: TableQuery

ID of table to read

statsRequestPort :: Maybe PseudoPort

if present, require matching entries to include this as an output port

AggregateFlowStatsRequest 

Fields

statsRequestMatch :: Match

fields to match

statsRequestTableID :: TableQuery

ID of table to read

statsRequestPort :: Maybe PseudoPort

if present, require matching entries to include this as an output port

TableStatsRequest 
DescriptionRequest 
PortStatsRequest 
QueueStatsRequest 

data FlowStats Source

Constructors

FlowStats 

Fields

flowStatsTableID :: FlowTableID

Table ID of the flow

flowStatsMatch :: Match

Match condition of the flow

flowStatsActions :: [Action]

Actions for the flow

flowStatsPriority :: Priority

Priority of the flow entry (meaningful when the match is not exact).

flowStatsCookie :: Cookie

Cookie associated with the flow.

flowStatsDurationSeconds :: Integer
 
flowStatsDurationNanoseconds :: Integer
 
flowStatsIdleTimeout :: Integer
 
flowStatsHardTimeout :: Integer
 
flowStatsPacketCount :: Integer
 
flowStatsByteCount :: Integer
 

nullPortStats :: PortStatsSource

A port stats value with all fields missing.

zeroPortStats :: PortStatsSource

A port stats value with all fields present, but set to 0.

liftIntoPortStats1 :: (Double -> Double) -> PortStats -> PortStatsSource

Lift a unary function and apply to every member of a PortStats record.

liftIntoPortStats2 :: (Double -> Double -> Double) -> PortStats -> PortStats -> PortStatsSource

Lift a binary function and apply to every member of a PortStats record.