Class | Description |
---|---|
AbstractDefn |
A base class for representing test fixture definitions.
|
AbstractDefReader |
Abstract base class for parsing text-based definition files.
|
AbstractDefReader.Line |
Represents a single line of text from the definition file.
|
AbstractDefReader.LogicalLine |
Represents a logical (non-comment) line from the definition
file; possibly an aggregate of several lines.
|
BankDefn |
Reads in a Switch Bank definition / scenario file,
encapsulating the information.
|
BankDefn.SwitchInfo |
Encapsulates a binding of switch variable name to
definition filename.
|
CfgBase |
Encapsulates the base configuration of a mock-switch.
|
CfgDesc |
Encapsulates the description configuration of a mock-switch.
|
CfgFeat |
Encapsulates the feature configuration of a mock-switch.
|
CfgHello |
Encapsulates configuration information about the version(s) the mock
switch announces it supports, via its HELLO message to the controller.
|
CmdDelay |
Concrete class for a delay command.
|
CmdDirective |
Concrete class for a scenario directive.
|
CmdEchoRequest |
Concrete class for Echo-Request command.
|
CmdPortStatus |
Concrete class for Port-Status command.
|
CmdSwitchVerb |
Concrete class for a switch specific command.
|
CommandProcessor |
Implements the execution of
ScenarioCommand s during the
activation of a MockSwitchBank . |
MockOpenflowSwitch |
Represents a mock switch that talks OpenFlow; useful for
OpenFlow Controller and Application unit testing.
|
MockSwitchBank |
Represents a bank of mock openflow switches; useful for
OpenFlow Controller and Application unit testing.
|
PipelineFactory |
A simple implementation of a pipeline factory that creates pipelines
with OpenFlow message list encoder and decoder and a message handler.
|
ScenarioCommand |
An embodiment of a command in a mock-switch-bank scenario.
|
SwitchDefn |
Parses a mock-switch definition file and encapsulates the configuration.
|
SwitchDefn.CustomProp |
Represents a property from the "custom" section of the
mock switch definition file.
|
SwMessageHandler |
Handles incoming OpenFlow messages for the mock-switch.
|
Enum | Description |
---|---|
CfgHello.Behavior |
Mock switch's behavior in sending the HELLO message.
|
CmdPortStatus.State |
Designates change in port state.
|
CommandType |
Scenario command types.
|
MockOpenflowSwitch.HelloMode |
Designates the alternative ways to respond to handshaking.
|
The following schematic illustrates the relationship of classes that are
used in composing a mock switch.
The MockOpenflowSwitch
uses a SwitchDefn
which,
in turn, uses a SwitchDefReader
to parse a text-based
definition file that describes the characteristics of the mock-switch.
Copyright © 2015. All Rights Reserved.