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.msg |
Representations of OpenFlow Protocol Messages.
|
com.hp.of.sw |
Provides mock implementations of OpenFlow switches.
|
Modifier and Type | Method and Description |
---|---|
void |
ProgrammableSink.expect(DataPathId dpid,
MessageType type)
Adds the expectation that the next message is of the specified type.
|
void |
ProgrammableSink.expect(DataPathId dpid,
MessageType type,
AbstractMsgAssertor ma)
Adds the expectation that the next message is of the specified type,
and that the assertions embodied in the message assertor, when run
against the message, are all true.
|
void |
ProgrammableSink.expect(MessageType type)
Adds the expectation that the next message is of the specified type,
(and expected from the default datapath).
|
void |
ProgrammableSink.expect(MessageType type,
AbstractMsgAssertor ma)
Adds the expectation that the next message is of the specified type,
and that the assertions embodied in the message assertor, when run
against the message, are all true, (and expected from the default
datapath).
|
Modifier and Type | Method and Description |
---|---|
void |
ControllerServiceAdapter.addMessageListener(MessageListener listener,
Set<MessageType> types) |
void |
ControllerService.addMessageListener(MessageListener listener,
Set<MessageType> types)
Adds the specified message listener to the controller.
|
Modifier and Type | Method and Description |
---|---|
MessageType |
OpenflowMessage.getType() |
MessageType |
Message.getType()
Returns the message type.
|
static MessageType |
MessageType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageType[] |
MessageType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static MutableMessage |
MessageFactory.create(Message msg,
MessageType type)
Creates a mutable OpenFlow message of the specified type, with
protocol version and transaction ID matching those of the given
message.
|
static MutableMessage |
MessageFactory.create(Message msg,
MessageType type,
Enum<?> subtype)
Creates a mutable OpenFlow message of the specified type and subtype,
with protocol version and transaction ID matching those of the given
message.
|
static MutableMessage |
MessageFactory.create(ProtocolVersion pv,
MessageType type)
Creates a mutable OpenFlow message of the specified type, with the
specified protocol version, assigning it the next available
transaction ID.
|
static MutableMessage |
MessageFactory.create(ProtocolVersion pv,
MessageType type,
Enum<?> subtype)
Creates a mutable OpenFlow message of the specified type and subtype,
with the specified protocol version, assigning it the next available
transaction ID.
|
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.
|
Copyright © 2016. All Rights Reserved.