Package | Description |
---|---|
com.hp.of.common |
Code shared by the OpenFlow Controller and Mock OpenFlow Switch
implementations.
|
com.hp.of.ctl |
Public API for the OpenFlow Controller.
|
com.hp.of.lib |
OpenFlow Protocol Library.
|
com.hp.of.lib.msg |
Representations of OpenFlow Protocol Messages.
|
com.hp.of.sw |
Provides mock implementations of OpenFlow switches.
|
com.hp.sdn.api |
Definitions of services for driving outbound external communications for
interacting with peers and integrating with other external applications,
e.g.
|
com.hp.sdn.dvc.facet |
Device Driver Facet interfaces
|
com.hp.sdn.teamcs |
...
|
Modifier and Type | Method and Description |
---|---|
void |
ProgrammableSink.msgRx(OpenflowMessage msg,
DataPathId dpid,
int auxId,
ProtocolVersion negotiated)
Incoming OpenFlow messages are routed through this API method.
|
void |
MessageSink.msgRx(OpenflowMessage msg,
DataPathId dpid,
int auxId,
ProtocolVersion negotiated)
OpenFlow message received from the specified datapath on the given
auxiliary channel.
|
protected abstract void |
AbstractMsgAssertor.runAssertions(OpenflowMessage msg)
Concrete subclasses run assertions against a message.
|
Modifier and Type | Method and Description |
---|---|
OpenflowMessage |
MessageEvent.msg()
Returns the OpenFlow message associated with this event.
|
Modifier and Type | Method and Description |
---|---|
MessageFuture |
ControllerServiceAdapter.send(OpenflowMessage msg,
DataPathId dpid) |
MessageFuture |
ControllerService.send(OpenflowMessage msg,
DataPathId dpid)
Instructs the controller to send the specified message to the
specified datapath.
|
MessageFuture |
MessageSender.send(OpenflowMessage msg,
DataPathId dpid)
Sends the specified message to the specified datapath.
|
void |
SubComponentService.send(OpenflowMessage msg,
DataPathId dpid)
Sends the specified message to the specified datapath, via the
sub-component.
|
Modifier and Type | Method and Description |
---|---|
List<MessageFuture> |
ControllerServiceAdapter.send(List<OpenflowMessage> msgs,
DataPathId dpid) |
List<MessageFuture> |
ControllerService.send(List<OpenflowMessage> msgs,
DataPathId dpid)
Instructs the controller to send the specified list of messages
(in order) to the specified datapath.
|
List<MessageFuture> |
MessageSender.send(List<OpenflowMessage> msgs,
DataPathId dpid)
Sends the specified list of messages (in order) to the specified
datapath.
|
Modifier and Type | Method and Description |
---|---|
static void |
CommonUtils.notMutable(OpenflowMessage msg)
Verifies that the argument is not mutable.
|
Modifier and Type | Class and Description |
---|---|
class |
OfmBarrierReply
Represents an OpenFlow BARRIER_REPLY message; Since 1.0.
|
class |
OfmBarrierRequest
Represents an OpenFlow BARRIER_REQUEST message; Since 1.0.
|
class |
OfmEchoReply
Represents an OpenFlow ECHO REPLY message; Since 1.0.
|
class |
OfmEchoRequest
Represents an OpenFlow ECHO REQUEST message; Since 1.0.
|
class |
OfmError
Represents an OpenFlow ERROR message; Since 1.0.
|
class |
OfmErrorExper
Represents an OpenFlow EXPERIMENTER ERROR message; Since 1.2.
|
class |
OfmExperimenter
Represents an OpenFlow EXPERIMENTER message; since 1.0.
|
class |
OfmFeaturesReply
Represents an OpenFlow FEATURES_REPLY message; Since 1.0.
|
class |
OfmFeaturesRequest
Represents an OpenFlow FEATURES_REQUEST message; Since 1.0.
|
class |
OfmFlowMod
Represents an OpenFlow FLOW_MOD message; Since 1.0.
|
class |
OfmFlowRemoved
Represents an Openflow FLOW_REMOVED message; Since 1.0.
|
class |
OfmGetAsyncReply
Represents an OpenFlow GET_ASYNC_REPLY message; Since 1.3.
|
class |
OfmGetAsyncRequest
Represents an OpenFlow GET_ASYNC_REQUEST message; Since 1.3.
|
class |
OfmGetConfigReply
Represents an OpenFlow GET_CONFIG_REPLY message; Since 1.0.
|
class |
OfmGetConfigRequest
Represents an OpenFlow GET_CONFIG_REQUEST message; Since 1.0.
|
class |
OfmGroupMod
Represents an OpenFlow GROUP_MOD message; Since 1.1.
|
class |
OfmHello
Represents an OpenFlow HELLO message; Since 1.0.
|
class |
OfmMeterMod
Represents an OpenFlow METER_MOD message; Since 1.3.
|
class |
OfmMultipartReply
Represents an OpenFlow MULTIPART_REPLY message; Since 1.3 (but see note).
|
class |
OfmMultipartRequest
Represents an OpenFlow MULTIPART_REQUEST message; Since 1.3 (but see note).
|
class |
OfmMutableBarrierReply
Mutable subclass of
OfmBarrierReply . |
class |
OfmMutableBarrierRequest
Mutable subclass of
OfmBarrierRequest . |
class |
OfmMutableEchoReply
Mutable subclass of
OfmEchoReply . |
class |
OfmMutableEchoRequest
Mutable subclass of
OfmEchoRequest . |
class |
OfmMutableError
Mutable subclass of
OfmError . |
class |
OfmMutableErrorExper
Mutable subclass of
OfmErrorExper . |
class |
OfmMutableExperimenter
Mutable subclass of
OfmExperimenter . |
class |
OfmMutableFeaturesReply
Mutable subclass of
OfmFeaturesReply . |
class |
OfmMutableFeaturesRequest
Mutable subclass of
OfmFeaturesRequest . |
class |
OfmMutableFlowMod
Mutable subclass of
OfmFlowMod . |
class |
OfmMutableFlowRemoved
Mutable subclass of
OfmFlowRemoved . |
class |
OfmMutableGetAsyncReply
Mutable subclass of
OfmGetAsyncReply . |
class |
OfmMutableGetAsyncRequest
Mutable subclass of
OfmGetAsyncRequest . |
class |
OfmMutableGetConfigReply
Mutable subclass of
OfmGetConfigReply . |
class |
OfmMutableGetConfigRequest
Mutable subclass of
OfmGetConfigRequest . |
class |
OfmMutableGroupMod
Mutable subclass of
OfmGroupMod . |
class |
OfmMutableHello
Mutable subclass of
OfmHello . |
class |
OfmMutableMeterMod
Mutable subclass of
OfmMeterMod . |
class |
OfmMutableMultipartReply
Mutable subclass of
OfmMultipartReply . |
class |
OfmMutableMultipartRequest
Mutable subclass of
OfmMultipartRequest . |
class |
OfmMutablePacketIn
Mutable subclass of
OfmPacketIn . |
class |
OfmMutablePacketOut
Mutable subclass of
OfmPacketOut . |
class |
OfmMutablePortMod
Mutable subclass of
OfmPortMod . |
class |
OfmMutablePortStatus
Mutable subclass of
OfmPortStatus . |
class |
OfmMutableQueueGetConfigReply
Mutable subclass of
OfmQueueGetConfigReply . |
class |
OfmMutableQueueGetConfigRequest
Mutable subclass of
OfmQueueGetConfigRequest . |
class |
OfmMutableRoleReply
Mutable subclass of
OfmRoleReply . |
class |
OfmMutableRoleRequest
Mutable subclass of
OfmRoleRequest . |
class |
OfmMutableSetAsync
Mutable subclass of
OfmSetAsync . |
class |
OfmMutableSetConfig
Mutable subclass of
OfmSetConfig . |
class |
OfmMutableTableMod
Mutable subclass of
OfmTableMod . |
class |
OfmPacketIn
Represents an OpenFlow PACKET_IN message; Since 1.0.
|
class |
OfmPacketOut
Represents an OpenFlow PACKET_OUT message; Since 1.0.
|
class |
OfmPortMod
Represents an OpenFlow PORT_MOD message; Since 1.0.
|
class |
OfmPortStatus
Represents an OpenFlow PORT_STATUS message; Since 1.0.
|
class |
OfmQueueGetConfigReply
Represents an OpenFlow QUEUE_GET_CONFIG_REPLY message; since 1.0.
|
class |
OfmQueueGetConfigRequest
Represents an OpenFlow QUEUE_GET_CONFIG_REQUEST message; since 1.0.
|
class |
OfmRoleReply
Represents an OpenFlow ROLE_REPLY message; Since 1.2.
|
class |
OfmRoleRequest
Represents an OpenFlow ROLE_REQUEST message; Since 1.2.
|
class |
OfmSetAsync
Represents an OpenFlow SET_ASYNC message; Since 1.3.
|
class |
OfmSetConfig
Represents an OpenFlow SET_CONFIG message; Since 1.0.
|
class |
OfmTableMod
Represents an OpenFlow TABLE_MOD message; Since 1.1; Deprecated in 1.3.
|
class |
Role
Base class for OfmRoleRequest and OfmRoleReply.
|
Modifier and Type | Field and Description |
---|---|
protected OpenflowMessage |
DefaultMessageFuture.reply |
protected OpenflowMessage |
DefaultMessageFuture.request |
Modifier and Type | Method and Description |
---|---|
static OpenflowMessage |
MessageFactory.copy(OpenflowMessage msg)
Creates an immutable (deep) copy of the specified OpenFlow message.
|
static OpenflowMessage |
MessageFactory.exactCopy(OpenflowMessage msg)
Creates an immutable (deep) copy of the specified OpenFlow message.
|
static OpenflowMessage |
MessageFactory.parseMessage(ByteBuffer buffer)
Parses a single OpenFlow message from the supplied byte buffer
consuming the bytes in the process.
|
static OpenflowMessage |
MessageFactory.parseMessage(OfPacketReader pkt)
Parses the supplied packet reader as a single OpenFlow message.
|
static OpenflowMessage |
MessageFactory.parseMessage(OfPacketReader pkt,
OpenflowMessage msg)
Parses the supplied packet reader as a single OpenFlow message, but
patches in the XID of the specified message.
|
OpenflowMessage |
MessageFuture.reply()
Returns the reply resulting from the asynchronous request.
|
OpenflowMessage |
DefaultMessageFuture.reply() |
OpenflowMessage |
MessageFuture.request()
Returns the original request message.
|
OpenflowMessage |
DefaultMessageFuture.request() |
OpenflowMessage |
OfmMutablePacketOut.toImmutable() |
OpenflowMessage |
OfmMutableTableMod.toImmutable() |
OpenflowMessage |
OfmMutableQueueGetConfigRequest.toImmutable() |
OpenflowMessage |
OfmMutableErrorExper.toImmutable() |
OpenflowMessage |
OfmMutablePortMod.toImmutable() |
OpenflowMessage |
OfmMutableGetConfigRequest.toImmutable() |
OpenflowMessage |
OfmMutableEchoReply.toImmutable() |
OpenflowMessage |
OfmMutableFeaturesReply.toImmutable() |
OpenflowMessage |
OfmMutablePacketIn.toImmutable() |
OpenflowMessage |
OfmMutableError.toImmutable() |
OpenflowMessage |
OfmMutableMultipartReply.toImmutable() |
OpenflowMessage |
OfmMutableRoleReply.toImmutable() |
OpenflowMessage |
OfmMutableSetConfig.toImmutable() |
OpenflowMessage |
OfmMutableGetConfigReply.toImmutable() |
OpenflowMessage |
OfmMutableQueueGetConfigReply.toImmutable() |
OpenflowMessage |
OfmMutableExperimenter.toImmutable() |
OpenflowMessage |
OfmMutableFlowMod.toImmutable() |
OpenflowMessage |
OfmMutableFeaturesRequest.toImmutable() |
OpenflowMessage |
OfmMutablePortStatus.toImmutable() |
OpenflowMessage |
OfmMutableSetAsync.toImmutable() |
OpenflowMessage |
OfmMutableBarrierReply.toImmutable() |
OpenflowMessage |
OfmMutableGroupMod.toImmutable() |
OpenflowMessage |
OfmMutableFlowRemoved.toImmutable() |
OpenflowMessage |
OfmMutableMultipartRequest.toImmutable() |
OpenflowMessage |
OfmMutableBarrierRequest.toImmutable() |
OpenflowMessage |
OfmMutableHello.toImmutable() |
OpenflowMessage |
OfmMutableGetAsyncReply.toImmutable() |
OpenflowMessage |
MutableMessage.toImmutable()
Returns an immutable instance of this message.
|
OpenflowMessage |
OfmMutableMeterMod.toImmutable() |
OpenflowMessage |
OfmMutableRoleRequest.toImmutable() |
OpenflowMessage |
OfmMutableGetAsyncRequest.toImmutable() |
OpenflowMessage |
OfmMutableEchoRequest.toImmutable() |
Modifier and Type | Method and Description |
---|---|
static OpenflowMessage |
MessageFactory.copy(OpenflowMessage msg)
Creates an immutable (deep) copy of the specified OpenFlow message.
|
static void |
MessageFactory.copyXid(OpenflowMessage src,
MutableMessage dst)
Copies the transaction ID from given source message to the specified
destination message.
|
static byte[] |
MessageFactory.encodeMessage(OpenflowMessage msg)
Encodes the specified OpenFlow message, returning the result in
a newly allocated byte array.
|
static void |
MessageFactory.encodeMessage(OpenflowMessage msg,
ByteBuffer buffer)
Encodes the specified OpenFlow message into the supplied byte buffer.
|
static OpenflowMessage |
MessageFactory.exactCopy(OpenflowMessage msg)
Creates an immutable (deep) copy of the specified OpenFlow message.
|
static MutableMessage |
MessageFactory.exactMutableCopy(OpenflowMessage msg)
Creates a mutable (deep) copy of the specified OpenFlow message.
|
static MutableMessage |
MessageFactory.mutableCopy(OpenflowMessage msg)
Creates a mutable (deep) copy of the specified OpenFlow message.
|
static OpenflowMessage |
MessageFactory.parseMessage(OfPacketReader pkt,
OpenflowMessage msg)
Parses the supplied packet reader as a single OpenFlow message, but
patches in the XID of the specified message.
|
boolean |
MessageFuture.setSuccess(OpenflowMessage msg)
Marks this future as a success, attaching the specified reply message,
and notifies all listeners.
|
boolean |
DefaultMessageFuture.setSuccess(OpenflowMessage msg) |
Constructor and Description |
---|
DataPathMessageFuture(OpenflowMessage request,
DataPathId dpid)
Constructs a message future for the given request, destined for the
specified datapath.
|
DefaultMessageFuture(OpenflowMessage request)
Constructs a default message future for the given request.
|
Modifier and Type | Method and Description |
---|---|
OpenflowMessage |
CfgDesc.createMpDescReply(OpenflowMessage request)
Creates a multipart DESC reply from the configured data.
|
protected OpenflowMessage |
MockOpenflowSwitch.createMpDescReply(OpenflowMessage request)
Creates a multipart DESC reply from the configured data.
|
protected OpenflowMessage |
MockOpenflowSwitch.createMpPortDescReply(OpenflowMessage request)
Creates a multipart PORT_DESC reply from the configured data.
|
protected OpenflowMessage |
MockOpenflowSwitch.createMpTableFeaturesReply(OpenflowMessage request)
Creates a multipart TABLE_FEATURES reply (empty) to satisfy the basic
request from the controller (for 1.3 switches).
|
Modifier and Type | Method and Description |
---|---|
void |
MockOpenflowSwitch.cache(MessageType messageType,
OpenflowMessage msg)
The command processor has asked us to cache this outgoing message
for validation later.
|
OpenflowMessage |
CfgDesc.createMpDescReply(OpenflowMessage request)
Creates a multipart DESC reply from the configured data.
|
protected OpenflowMessage |
MockOpenflowSwitch.createMpDescReply(OpenflowMessage request)
Creates a multipart DESC reply from the configured data.
|
protected OpenflowMessage |
MockOpenflowSwitch.createMpPortDescReply(OpenflowMessage request)
Creates a multipart PORT_DESC reply from the configured data.
|
protected OpenflowMessage |
MockOpenflowSwitch.createMpTableFeaturesReply(OpenflowMessage request)
Creates a multipart TABLE_FEATURES reply (empty) to satisfy the basic
request from the controller (for 1.3 switches).
|
protected void |
MockOpenflowSwitch.msgRx(OpenflowMessage msg)
Invoked when a message is received from the controller.
|
protected void |
MockOpenflowSwitch.send(OpenflowMessage msg)
Sends the specified openflow message to the controller.
|
protected void |
MockOpenflowSwitch.sendError(ErrorType et,
ErrorCode ec,
OpenflowMessage m)
Send an error message back to the controller.
|
Modifier and Type | Method and Description |
---|---|
MessageFuture |
RemoteControllerService.send(SystemInformation system,
OpenflowMessage msg,
DataPathId dpId)
Instructs a particular member controller to send the specified message
to the specified datapath.
|
Modifier and Type | Method and Description |
---|---|
List<MessageFuture> |
RemoteControllerService.send(SystemInformation system,
List<OpenflowMessage> msgs,
DataPathId dpId)
Instructs a particular member controller to send the specified list of
messages (in order) to the specified datapath.
|
Modifier and Type | Method and Description |
---|---|
OpenflowMessage |
DeviceOwnerAssigner.createOwnershipAssignment(ProtocolVersion version,
ControllerRole role)
Creates an Openflow message specific to a device.
|
Modifier and Type | Method and Description |
---|---|
MessageFuture |
TeamControllerServiceAdapter.send(OpenflowMessage msg,
DataPathId dpid) |
MessageFuture |
TeamControllerService.send(OpenflowMessage msg,
DataPathId dpid)
Instructs the controller to send the specified message to the
specified datapath.
|
Modifier and Type | Method and Description |
---|---|
List<MessageFuture> |
TeamControllerServiceAdapter.send(List<OpenflowMessage> msgs,
DataPathId dpid) |
List<MessageFuture> |
TeamControllerService.send(List<OpenflowMessage> msgs,
DataPathId dpid)
Instructs the controller to send the specified list of messages
(in order) to the specified datapath.
|
Copyright © 2016. All Rights Reserved.