Nettle.OpenFlow.Switch
- data SwitchFeatures = SwitchFeatures {}
- type SwitchID = Word64
- data SwitchCapability
- maxNumberPorts :: PortID
- data QueueConfigRequest = QueueConfigRequest PortID
- data QueueConfigReply = PortQueueConfig PortID [QueueConfig]
- data QueueConfig = QueueConfig QueueID [QueueProperty]
- type QueueLength = Word16
- data QueueProperty = MinRateQueue QueueRate
- data QueueRate
Documentation
data SwitchFeatures Source
The switch features record, summarizes information about a switch
Constructors
| SwitchFeatures | |
Fields
| |
Instances
data SwitchCapability Source
The switch capabilities are denoted with these symbols
Constructors
| HasFlowStats | can provide flow statistics |
| HasTableStats | can provide table statistics |
| HasPortStats | can provide port statistics |
| SpanningTree | supports the 802.1d spanning tree protocol |
| MayTransmitOverMultiplePhysicalInterfaces | |
| HasQueueStatistics | can provide queue statistics |
| CanMatchIPAddressesInARPPackets | match IP addresses in ARP packets |
| CanReassembleIPFragments | can reassemble IP fragments |
maxNumberPorts :: PortIDSource
Maximum number of ports on a switch
data QueueConfigRequest Source
Constructors
| QueueConfigRequest PortID |
data QueueConfigReply Source
Constructors
| PortQueueConfig PortID [QueueConfig] |
type QueueLength = Word16Source