Nettle.OpenFlow.Statistics
- data StatsRequest
- = FlowStatsRequest { }
- | AggregateFlowStatsRequest { }
- | TableStatsRequest
- | DescriptionRequest
- | PortStatsRequest { }
- | QueueStatsRequest { }
- data TableQuery
- data PortQuery
- = AllPorts
- | SinglePort PortID
- data QueueQuery
- data StatsReply
- type MoreToFollowFlag = Bool
- data FlowStats = FlowStats {
- flowStatsTableID :: FlowTableID
- flowStatsMatch :: Match
- flowStatsActions :: [Action]
- flowStatsPriority :: Priority
- flowStatsCookie :: Cookie
- flowStatsDurationSeconds :: Integer
- flowStatsDurationNanoseconds :: Integer
- flowStatsIdleTimeout :: Integer
- flowStatsHardTimeout :: Integer
- flowStatsPacketCount :: Integer
- flowStatsByteCount :: Integer
- data AggregateFlowStats = AggregateFlowStats {}
- data TableStats = TableStats {}
- data PortStats = PortStats {
- portStatsReceivedPackets :: Maybe Double
- portStatsSentPackets :: Maybe Double
- portStatsReceivedBytes :: Maybe Double
- portStatsSentBytes :: Maybe Double
- portStatsReceiverDropped :: Maybe Double
- portStatsSenderDropped :: Maybe Double
- portStatsReceiveErrors :: Maybe Double
- portStatsTransmitError :: Maybe Double
- portStatsReceivedFrameErrors :: Maybe Double
- portStatsReceiverOverrunError :: Maybe Double
- portStatsReceiverCRCError :: Maybe Double
- portStatsCollisions :: Maybe Double
- nullPortStats :: PortStats
- zeroPortStats :: PortStats
- liftIntoPortStats1 :: (Double -> Double) -> PortStats -> PortStats
- liftIntoPortStats2 :: (Double -> Double -> Double) -> PortStats -> PortStats -> PortStats
- data Description = Description {}
- data QueueStats = QueueStats {}
Documentation
data StatsRequest Source
Constructors
FlowStatsRequest | |
Fields
| |
AggregateFlowStatsRequest | |
Fields
| |
TableStatsRequest | |
DescriptionRequest | |
PortStatsRequest | |
Fields | |
QueueStatsRequest | |
Fields |
Instances
Constructors
AllPorts | |
SinglePort PortID |
data StatsReply Source
Constructors
Instances
type MoreToFollowFlag = BoolSource
Constructors
FlowStats | |
Fields
|
Constructors
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.
data Description Source
Constructors
Description | |
Fields
|
Instances