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

Nettle.OpenFlow.Switch

Synopsis

Documentation

data SwitchFeatures Source

The switch features record, summarizes information about a switch

Constructors

SwitchFeatures 

Fields

switchID :: SwitchID

unique switch identifier

packetBufferSize :: Integer

maximum number of packets buffered at the switch

numberFlowTables :: Integer

number of flow tables

capabilities :: [SwitchCapability]

switch's capabilities

supportedActions :: [ActionType]

switch's supported actions

ports :: [Port]

description of each port on switch

type SwitchID = Word64Source

A unique identifier for a switch, also known as DataPathID.

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