Modifier and Type | Field and Description |
---|---|
(package private) Connection |
OFController.QI.conn |
Modifier and Type | Method and Description |
---|---|
(package private) Connection |
OFController.QI.connection() |
Modifier and Type | Method and Description |
---|---|
boolean |
OFController.handleConnectedEvent(Connection conn)
This callback is called when a new connection to a new switch is made.
|
protected abstract boolean |
OFModule.handleDisconnect(Connection conn)
Process the disconnection event from a switch.
|
boolean |
OFController.handleDisconnectEvent(Connection conn)
This callback is called when a connection to a switch is lost.
|
abstract boolean |
OFController.handleGeneric(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage m)
handle the other messages.
|
protected abstract boolean |
OFModule.handleHandshakedEvent(Connection conn,
MessageContext context)
An abstract method that all subclasses should implement.
|
protected abstract boolean |
OFModule.handleMessage(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> outgoing)
Handle incoming messages that pass the test of filters.
|
abstract boolean |
OFController.handlePacketIn(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage m)
handle Packet-in Message.
|
boolean |
OFController.handleReadEvent(Connection conn,
java.util.List<org.openflow.protocol.OFMessage> msgs)
This is a method that cannot be overridden.
|
boolean |
OFController.QP.handleReadEvent(Connection conn,
java.util.List<org.openflow.protocol.OFMessage> msgs)
This function delivers a read event to the QP thread.
|
private boolean |
OFController.QP.process(Connection conn,
java.util.List<org.openflow.protocol.OFMessage> msgs)
process a list of OFMessage objects received from the connection.
|
boolean |
OFModule.processDisconnect(Connection conn)
Process the disconnection event from a switch.
|
boolean |
OFModule.processHandshakeFinished(Connection conn,
MessageContext context)
This method is called after FEATURE-REQUEST and FEATUER-REPLY is correctly exchanged.
|
boolean |
OFModule.processMessage(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> outgoing)
Handle incoming messages and return the processing result.
|
Constructor and Description |
---|
OFController.QI(Connection conn,
java.util.List<org.openflow.protocol.OFMessage> msgs) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
OFMDeviceManager.handleDisconnect(Connection conn) |
protected boolean |
OFMDefaultEntityClassifier.handleDisconnect(Connection conn) |
protected boolean |
OFMDeviceManager.handleHandshakedEvent(Connection conn,
MessageContext context) |
protected boolean |
OFMDefaultEntityClassifier.handleHandshakedEvent(Connection conn,
MessageContext context) |
protected boolean |
OFMDeviceManager.handleMessage(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> outgoing) |
protected boolean |
OFMDefaultEntityClassifier.handleMessage(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> outgoing) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
OFMFirewall.handleDisconnect(Connection conn) |
protected boolean |
OFMFirewall.handleHandshakedEvent(Connection conn,
MessageContext context) |
protected boolean |
OFMFirewall.handleMessage(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> outgoing) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ForwardingBase.handleDisconnect(Connection conn) |
protected boolean |
ForwardingBase.handleHandshakedEvent(Connection sw,
MessageContext context) |
protected boolean |
ForwardingBase.handleMessage(Connection conn,
MessageContext cntx,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> outgoing)
Initializes this module.
|
protected boolean |
ForwardingBase.isInBroadcastCache(Connection conn,
org.openflow.protocol.interfaces.OFPacketIn pi,
MessageContext cntx)
Updates the broadcast cache of the switch.
|
protected boolean |
ForwardingBase.isInSwitchBroadcastCache(Connection conn,
org.openflow.protocol.interfaces.OFPacketIn pi,
MessageContext cntx)
Updates the broadcast cache of the switch.
|
void |
ForwardingBase.packetOutMultiPort(byte[] packetData,
Connection conn,
short inPort,
java.util.Set<java.lang.Integer> outPorts,
MessageContext cntx)
Writes packet-out message to switch with output actions to one or more
output ports with inPort/outPorts passed in.
|
void |
ForwardingBase.packetOutMultiPort(IPacket packet,
Connection conn,
short inPort,
java.util.Set<java.lang.Integer> outPorts,
MessageContext cntx)
Accepts an IPacket instead of raw packet data.
|
void |
ForwardingBase.packetOutMultiPort(org.openflow.protocol.interfaces.OFPacketIn pi,
Connection conn,
short inPort,
java.util.Set<java.lang.Integer> outPorts,
MessageContext cntx)
Accepts a PacketIn instead of raw packet data.
|
abstract boolean |
ForwardingBase.processPacketInMessage(Connection conn,
org.openflow.protocol.interfaces.OFPacketIn pi,
IRoutingDecision decision,
MessageContext cntx)
All subclasses must define this function if they want any specific
forwarding action.
|
boolean |
Forwarding.processPacketInMessage(Connection conn,
org.openflow.protocol.interfaces.OFPacketIn pi,
IRoutingDecision decision,
MessageContext cntx)
Calls an appropriate method to process packetin according to the routing decision.
|
void |
ForwardingBase.pushPacket(Connection conn,
IPacket packet,
IOFSwitch sw,
int bufferId,
short inPort,
short outPort,
MessageContext cntx)
Pushes a packet-out to a switch.
|
protected void |
ForwardingBase.pushPacket(Connection conn,
org.openflow.protocol.interfaces.OFMatch match,
org.openflow.protocol.interfaces.OFPacketIn pi,
int outport,
MessageContext cntx)
Pushes a packet-out to a switch.
|
boolean |
ForwardingBase.pushRoute(Connection conn,
Route route,
org.openflow.protocol.interfaces.OFMatch match,
java.lang.Integer wildcard_hints,
org.openflow.protocol.interfaces.OFPacketIn pi,
long pinSwitch,
long cookie,
MessageContext cntx,
boolean reqeustFlowRemovedNotifn,
boolean doFlush,
org.openflow.protocol.interfaces.OFFlowModCommand flowModCommand)
Pushes routes from back to front.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
Hub.handleDisconnect(Connection conn) |
protected boolean |
Hub.handleHandshakedEvent(Connection conn,
MessageContext context) |
protected boolean |
Hub.handleMessage(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> outgoing) |
Modifier and Type | Method and Description |
---|---|
boolean |
OFMLearningMac13.handleDisconnect(Connection conn)
Handle disconnection to a switch.
|
boolean |
OFMLearningMac10.handleDisconnect(Connection conn)
Handle disconnection to a switch.
|
boolean |
OFMLearningMac.handleDisconnect(Connection conn)
Handle disconnection to a switch.
|
protected boolean |
OFMLearningMac13.handleHandshakedEvent(Connection sw,
MessageContext context)
As this module does not process handshake event,
it just returns true.
|
protected boolean |
OFMLearningMac10.handleHandshakedEvent(Connection sw,
MessageContext context)
As this module does not process handshake event,
it just returns true.
|
protected boolean |
OFMLearningMac.handleHandshakedEvent(Connection sw,
MessageContext context)
As this module does not process handshake event,
it just returns true.
|
boolean |
OFMLearningMac13.handleMessage(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> outgoing)
this method is a callback called by controller to request this module to
handle an incoming message.
|
boolean |
OFMLearningMac10.handleMessage(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> outgoing)
this method is a callback called by controller to request this module to
handle an incoming message.
|
boolean |
OFMLearningMac.handleMessage(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> outgoing)
this method is a callback called by controller to request this module to
handle an incoming message.
|
boolean |
OFMLearningMac13.processPacketInMessage(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> out)
Processes a OFPacketIn message.
|
private boolean |
OFMLearningMac10.processPacketInMessage(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> out)
Processes a OFPacketIn message.
|
private boolean |
OFMLearningMac.processPacketInMessage(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> out)
Processes a OFPacketIn message.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
OFMLinkDiscovery.handleDisconnect(Connection conn) |
protected boolean |
OFMLinkDiscovery.handleHandshakedEvent(Connection conn,
MessageContext context) |
protected boolean |
OFMLinkDiscovery.handleMessage(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> outgoing) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
OFMStateManager.handleDisconnect(Connection conn)
Does nothing except for returning true.
|
protected boolean |
OFMStateManager.handleHandshakedEvent(Connection conn,
MessageContext context)
Does nothing except for returning true.
|
protected boolean |
OFMStateManager.handleMessage(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> outgoing)
Does nothing except for returning true.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
OFMStorageManager.handleDisconnect(Connection conn) |
protected boolean |
OFMStorageManager.handleHandshakedEvent(Connection conn,
MessageContext context) |
protected boolean |
OFMStorageManager.handleMessage(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> outgoing) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
OFMTopologyManager.handleDisconnect(Connection conn) |
boolean |
OFMTopologyManager.handleHandshakedEvent(Connection sw,
MessageContext context) |
boolean |
OFMTopologyManager.handleMessage(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> outgoing)
This is starting point of OFMTopologyManager
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
OFMUserInterface.handleDisconnect(Connection conn) |
protected boolean |
OFMUserInterface.handleHandshakedEvent(Connection conn,
MessageContext context) |
protected boolean |
OFMUserInterface.handleMessage(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage msg,
java.util.List<org.openflow.protocol.OFMessage> outgoing) |
Modifier and Type | Method and Description |
---|---|
boolean |
OFProtocol.handleConnectedEvent(Connection conn)
Callback called by underlying platform when a connection to a switch is established
|
boolean |
OFProtocol.process(Connection conn,
MessageContext context,
org.openflow.protocol.OFMessage m)
Callback called by underlying platform when a new OFMessage is received for a connection
|
Modifier and Type | Field and Description |
---|---|
private Connection |
OFSwitchImpl.conn |
Modifier and Type | Method and Description |
---|---|
Connection |
OFSwitchImpl.getConnection() |
Connection |
IOFSwitch.getConnection() |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<IOFHandler> |
ClientChannelWatcher.getHandlersFor(Connection conn) |
boolean |
IOFHandler.handleConnectedEvent(Connection conn) |
private boolean |
ClientChannelWatcher.handleConnectedEvent(Connection conn) |
private void |
ClientChannelWatcher.handleDisconnectedEvent(Connection conn) |
boolean |
IOFHandler.handleDisconnectEvent(Connection conn) |
private boolean |
ClientChannelWatcher.handleReadEvent(Connection conn) |
boolean |
IOFHandler.handleReadEvent(Connection conn,
java.util.List<org.openflow.protocol.OFMessage> msgs) |
void |
OFSwitchImpl.setConnection(Connection conn) |
void |
IOFSwitch.setConnection(Connection conn) |
Modifier and Type | Method and Description |
---|---|
boolean |
OFMessageDamper.write(Connection conn,
org.openflow.protocol.OFMessage msg)
write the messag to the switch according to our dampening settings
|