Uses of Interface
net.floodlightcontroller.core.IOFSwitch

Packages that use IOFSwitch
net.floodlightcontroller.core   
net.floodlightcontroller.core.internal   
net.floodlightcontroller.core.types   
net.floodlightcontroller.core.web   
net.floodlightcontroller.counter   
net.floodlightcontroller.devicemanager.internal   
net.floodlightcontroller.firewall   
net.floodlightcontroller.flowcache   
net.floodlightcontroller.forwarding   
net.floodlightcontroller.hub   
net.floodlightcontroller.learningswitch   
net.floodlightcontroller.linkdiscovery.internal   
net.floodlightcontroller.loadbalancer   
net.floodlightcontroller.perfmon   
net.floodlightcontroller.routing   
net.floodlightcontroller.staticflowentry   
net.floodlightcontroller.topology   
net.floodlightcontroller.util   
net.floodlightcontroller.virtualnetwork   
 

Uses of IOFSwitch in net.floodlightcontroller.core
 

Classes in net.floodlightcontroller.core that implement IOFSwitch
 class OFSwitchBase
          This is the internal representation of an openflow switch.
 

Fields in net.floodlightcontroller.core with type parameters of type IOFSwitch
protected static java.lang.ThreadLocal<java.util.Map<IOFSwitch,java.util.List<OFMessage>>> OFSwitchBase.local_msg_buffer
           
 

Methods in net.floodlightcontroller.core that return IOFSwitch
 IOFSwitch IOFSwitchDriver.getOFSwitchImpl(OFDescriptionStatistics description)
          Return an IOFSwitch object based on switch's manufacturer description from OFDescriptionStatitics.
 IOFSwitch IFloodlightProviderService.getSwitch(long dpid)
          If the switch with the given DPID is known to any controller in the cluster, this method returns the associated IOFSwitch instance.
 

Methods in net.floodlightcontroller.core that return types with arguments of type IOFSwitch
 java.util.Map<java.lang.Long,IOFSwitch> IFloodlightProviderService.getAllSwitchMap()
          Return a snapshot FIXME: asdf
 

Methods in net.floodlightcontroller.core with parameters of type IOFSwitch
static byte[] OFMessageFilterManager.getMessageData(IOFSwitch sw, OFMessage msg, FloodlightContext cntx)
           
static java.lang.String OFMessageFilterManager.getMessageDataAsString(IOFSwitch sw, OFMessage msg, FloodlightContext cntx)
           
 void IFloodlightProviderService.handleOutgoingMessage(IOFSwitch sw, OFMessage m, FloodlightContext bc)
          Process written messages through the message listeners for the controller
 boolean IFloodlightProviderService.injectOfMessage(IOFSwitch sw, OFMessage msg)
          Re-injects an OFMessage back into the packet processing chain
 boolean IFloodlightProviderService.injectOfMessage(IOFSwitch sw, OFMessage msg, FloodlightContext bContext)
          Re-injects an OFMessage back into the packet processing chain
 IListener.Command OFMessageFilterManager.receive(IOFSwitch sw, OFMessage msg, FloodlightContext cntx)
           
 IListener.Command IOFMessageListener.receive(IOFSwitch sw, OFMessage msg, FloodlightContext cntx)
          This is the method Floodlight uses to call listeners with OpenFlow messages
protected  void OFMessageFilterManager.sendPacket(java.util.HashSet<java.lang.String> matchedFilters, IOFSwitch sw, OFMessage msg, FloodlightContext cntx, boolean sync)
           
 

Constructors in net.floodlightcontroller.core with parameters of type IOFSwitch
SwitchSyncRepresentation(IOFSwitch sw)
           
 

Uses of IOFSwitch in net.floodlightcontroller.core.internal
 

Classes in net.floodlightcontroller.core.internal that implement IOFSwitch
 class OFSwitchImpl
          This is the internal representation of an openflow switch.
 

Fields in net.floodlightcontroller.core.internal declared as IOFSwitch
protected  IOFSwitch OFMessageFuture.sw
           
 

Methods in net.floodlightcontroller.core.internal that return IOFSwitch
 IOFSwitch ISwitchDriverRegistry.getOFSwitchInstance(OFDescriptionStatistics description)
          Return an IOFSwitch instance according to the description stats.
 IOFSwitch Controller.getSwitch(long dpid)
           
 

Methods in net.floodlightcontroller.core.internal that return types with arguments of type IOFSwitch
 java.util.Map<java.lang.Long,IOFSwitch> Controller.getAllSwitchMap()
           
 

Methods in net.floodlightcontroller.core.internal with parameters of type IOFSwitch
 void OFMessageFuture.deliverFuture(IOFSwitch sw, OFMessage msg)
           
protected  void Controller.handleMessage(IOFSwitch sw, OFMessage m, FloodlightContext bContext)
          Handle and dispatch a message to IOFMessageListeners.
 void Controller.handleOutgoingMessage(IOFSwitch sw, OFMessage m, FloodlightContext bc)
           
protected  void OFStatisticsFuture.handleReply(IOFSwitch sw, OFMessage msg)
           
protected abstract  void OFMessageFuture.handleReply(IOFSwitch sw, OFMessage msg)
          Used to handle the specific expected message this Future was reigstered for, the specified msg parameter is guaranteed to match the type and transaction id specified.
protected  void OFFeaturesReplyFuture.handleReply(IOFSwitch sw, OFMessage msg)
           
 boolean Controller.injectOfMessage(IOFSwitch sw, OFMessage msg)
           
 boolean Controller.injectOfMessage(IOFSwitch sw, OFMessage msg, FloodlightContext bc)
           
 

Constructors in net.floodlightcontroller.core.internal with parameters of type IOFSwitch
OFFeaturesReplyFuture(IThreadPoolService tp, IOFSwitch sw, int transactionId)
           
OFFeaturesReplyFuture(IThreadPoolService tp, IOFSwitch sw, int transactionId, long timeout, java.util.concurrent.TimeUnit unit)
           
OFMessageFuture(IThreadPoolService tp, IOFSwitch sw, OFType responseType, int transactionId)
           
OFMessageFuture(IThreadPoolService tp, IOFSwitch sw, OFType responseType, int transactionId, long timeout, java.util.concurrent.TimeUnit unit)
           
OFStatisticsFuture(IThreadPoolService tp, IOFSwitch sw, int transactionId)
           
OFStatisticsFuture(IThreadPoolService tp, IOFSwitch sw, int transactionId, long timeout, java.util.concurrent.TimeUnit unit)
           
 

Uses of IOFSwitch in net.floodlightcontroller.core.types
 

Methods in net.floodlightcontroller.core.types that return IOFSwitch
 IOFSwitch SwitchMessagePair.getSwitch()
           
 

Constructors in net.floodlightcontroller.core.types with parameters of type IOFSwitch
SwitchMessagePair(IOFSwitch sw, OFMessage msg)
           
 

Uses of IOFSwitch in net.floodlightcontroller.core.web
 

Constructors in net.floodlightcontroller.core.web with parameters of type IOFSwitch
ControllerSwitchesResource.SwitchJsonSerializerWrapper(IOFSwitch sw)
           
 

Uses of IOFSwitch in net.floodlightcontroller.counter
 

Methods in net.floodlightcontroller.counter with parameters of type IOFSwitch
protected  java.util.List<ICounter> CounterStore.createPacketInCounters(IOFSwitch sw, OFMessage m, Ethernet eth)
           
protected  CounterStore.CounterKeyTuple CounterStore.getCountersKey(IOFSwitch sw, OFMessage m, Ethernet eth)
           
protected  java.util.List<ICounter> CounterStore.getPktOutFMCounters(IOFSwitch sw, OFMessage m)
           
 void NullCounterStore.updatePacketInCountersLocal(IOFSwitch sw, OFMessage m, Ethernet eth)
           
 void ICounterStoreService.updatePacketInCountersLocal(IOFSwitch sw, OFMessage m, Ethernet eth)
          Update packetIn counters
 void CounterStore.updatePacketInCountersLocal(IOFSwitch sw, OFMessage m, Ethernet eth)
           
 void NullCounterStore.updatePktOutFMCounterStoreLocal(IOFSwitch sw, OFMessage ofMsg)
           
 void ICounterStoreService.updatePktOutFMCounterStoreLocal(IOFSwitch sw, OFMessage ofMsg)
          This method can only be used to update packetOut and flowmod counters
 void CounterStore.updatePktOutFMCounterStoreLocal(IOFSwitch sw, OFMessage m)
           
 

Uses of IOFSwitch in net.floodlightcontroller.devicemanager.internal
 

Methods in net.floodlightcontroller.devicemanager.internal with parameters of type IOFSwitch
protected  IListener.Command DeviceManagerImpl.processPacketInMessage(IOFSwitch sw, OFPacketIn pi, FloodlightContext cntx)
           
 IListener.Command DeviceManagerImpl.receive(IOFSwitch sw, OFMessage msg, FloodlightContext cntx)
           
 

Uses of IOFSwitch in net.floodlightcontroller.firewall
 

Methods in net.floodlightcontroller.firewall with parameters of type IOFSwitch
protected  RuleWildcardsPair Firewall.matchWithRule(IOFSwitch sw, OFPacketIn pi, FloodlightContext cntx)
          Iterates over the firewall rules and tries to match them with the incoming packet (flow).
 IListener.Command Firewall.processPacketInMessage(IOFSwitch sw, OFPacketIn pi, IRoutingDecision decision, FloodlightContext cntx)
           
 IListener.Command Firewall.receive(IOFSwitch sw, OFMessage msg, FloodlightContext cntx)
           
 

Uses of IOFSwitch in net.floodlightcontroller.flowcache
 

Methods in net.floodlightcontroller.flowcache with parameters of type IOFSwitch
 void PortDownReconciliation.clearFlowMods(IOFSwitch sw, java.lang.Integer outPort)
           
 void PortDownReconciliation.clearFlowMods(IOFSwitch sw, OFMatch match, java.lang.Integer outPort)
           
 void PortDownReconciliation.deleteInvalidFlows(IOFSwitch sw, java.util.Map<java.lang.Integer,java.util.List<OFMatch>> invalidOutportAndMatch)
          Deletes flows with similar matches and output action ports on the specified switch
 java.util.List<OFFlowStatisticsReply> PortDownReconciliation.getFlows(IOFSwitch sw, java.lang.Integer outPort)
           
 

Uses of IOFSwitch in net.floodlightcontroller.forwarding
 

Methods in net.floodlightcontroller.forwarding with parameters of type IOFSwitch
protected  void Forwarding.doDropFlow(IOFSwitch sw, OFPacketIn pi, IRoutingDecision decision, FloodlightContext cntx)
           
protected  void Forwarding.doFlood(IOFSwitch sw, OFPacketIn pi, FloodlightContext cntx)
          Creates a OFPacketOut with the OFPacketIn data that is flooded on all ports unless the port is blocked, in which case the packet will be dropped.
protected  void Forwarding.doForwardFlow(IOFSwitch sw, OFPacketIn pi, FloodlightContext cntx, boolean requestFlowRemovedNotifn)
           
 IListener.Command Forwarding.processPacketInMessage(IOFSwitch sw, OFPacketIn pi, IRoutingDecision decision, FloodlightContext cntx)
           
 

Uses of IOFSwitch in net.floodlightcontroller.hub
 

Methods in net.floodlightcontroller.hub with parameters of type IOFSwitch
 IListener.Command Hub.receive(IOFSwitch sw, OFMessage msg, FloodlightContext cntx)
           
 

Uses of IOFSwitch in net.floodlightcontroller.learningswitch
 

Fields in net.floodlightcontroller.learningswitch with type parameters of type IOFSwitch
protected  java.util.Map<IOFSwitch,java.util.Map<MacVlanPair,java.lang.Integer>> LearningSwitch.macVlanToSwitchPortMap
           
 

Methods in net.floodlightcontroller.learningswitch that return types with arguments of type IOFSwitch
 java.util.Map<IOFSwitch,java.util.Map<MacVlanPair,java.lang.Integer>> LearningSwitch.getTable()
           
 java.util.Map<IOFSwitch,java.util.Map<MacVlanPair,java.lang.Integer>> ILearningSwitchService.getTable()
          Returns the LearningSwitch's learned host table
 

Methods in net.floodlightcontroller.learningswitch with parameters of type IOFSwitch
protected  void LearningSwitch.addToPortMap(IOFSwitch sw, long mac, short vlan, int portVal)
          Adds a host to the MAC/VLAN->SwitchPort mapping
 void LearningSwitch.clearLearnedTable(IOFSwitch sw)
          Clears the MAC/VLAN -> SwitchPort map for a single switch
 java.lang.Integer LearningSwitch.getFromPortMap(IOFSwitch sw, long mac, short vlan)
          Get the port that a MAC/VLAN pair is associated with
 IListener.Command LearningSwitch.receive(IOFSwitch sw, OFMessage msg, FloodlightContext cntx)
           
protected  void LearningSwitch.removeFromPortMap(IOFSwitch sw, long mac, short vlan)
          Removes a host from the MAC/VLAN->SwitchPort mapping
 

Uses of IOFSwitch in net.floodlightcontroller.linkdiscovery.internal
 

Methods in net.floodlightcontroller.linkdiscovery.internal with parameters of type IOFSwitch
protected  java.util.List<OFAction> LinkDiscoveryManager.getDiscoveryActions(IOFSwitch sw, OFPhysicalPort port)
          Get the actions for packet-out corresponding to a specific port.
 IListener.Command LinkDiscoveryManager.receive(IOFSwitch sw, OFMessage msg, FloodlightContext cntx)
           
 

Uses of IOFSwitch in net.floodlightcontroller.loadbalancer
 

Methods in net.floodlightcontroller.loadbalancer with parameters of type IOFSwitch
protected  void LoadBalancer.pushBidirectionalVipRoutes(IOFSwitch sw, OFPacketIn pi, FloodlightContext cntx, LoadBalancer.IPClient client, LBMember member)
          used to find and push in-bound and out-bound routes using StaticFlowEntryPusher
 void LoadBalancer.pushPacket(IPacket packet, IOFSwitch sw, int bufferId, int inPort, int outPort, FloodlightContext cntx, boolean flush)
          used to push any packet - borrowed routine from Forwarding
 IListener.Command LoadBalancer.receive(IOFSwitch sw, OFMessage msg, FloodlightContext cntx)
           
protected  void LoadBalancer.vipProxyArpReply(IOFSwitch sw, OFPacketIn pi, FloodlightContext cntx, java.lang.String vipId)
          used to send proxy Arp for load balanced service requests
 

Uses of IOFSwitch in net.floodlightcontroller.perfmon
 

Methods in net.floodlightcontroller.perfmon with parameters of type IOFSwitch
 void PktInProcessingTime.recordEndTimePktIn(IOFSwitch sw, OFMessage m, FloodlightContext cntx)
           
 void NullPktInProcessingTime.recordEndTimePktIn(IOFSwitch sw, OFMessage m, FloodlightContext cntx)
           
 void IPktInProcessingTimeService.recordEndTimePktIn(IOFSwitch sw, OFMessage m, FloodlightContext cntx)
           
 

Uses of IOFSwitch in net.floodlightcontroller.routing
 

Methods in net.floodlightcontroller.routing with parameters of type IOFSwitch
protected  boolean ForwardingBase.isInBroadcastCache(IOFSwitch sw, OFPacketIn pi, FloodlightContext cntx)
           
protected  boolean ForwardingBase.isInSwitchBroadcastCache(IOFSwitch sw, OFPacketIn pi, FloodlightContext cntx)
           
 void ForwardingBase.packetOutMultiPort(byte[] packetData, IOFSwitch sw, int inPort, java.util.Set<java.lang.Integer> outPorts, FloodlightContext cntx)
          Write packetout message to sw with output actions to one or more output ports with inPort/outPorts passed in.
 void ForwardingBase.packetOutMultiPort(IPacket packet, IOFSwitch sw, int inPort, java.util.Set<java.lang.Integer> outPorts, FloodlightContext cntx)
           
 void ForwardingBase.packetOutMultiPort(OFPacketIn pi, IOFSwitch sw, int inPort, java.util.Set<java.lang.Integer> outPorts, FloodlightContext cntx)
           
abstract  IListener.Command ForwardingBase.processPacketInMessage(IOFSwitch sw, OFPacketIn pi, IRoutingDecision decision, FloodlightContext cntx)
          All subclasses must define this function if they want any specific forwarding action
protected  void ForwardingBase.pushPacket(IOFSwitch sw, OFPacketIn pi, boolean useBufferId, int outport, FloodlightContext cntx)
          Pushes a packet-out to a switch.
 IListener.Command ForwardingBase.receive(IOFSwitch sw, OFMessage msg, FloodlightContext cntx)
           
 

Uses of IOFSwitch in net.floodlightcontroller.staticflowentry
 

Methods in net.floodlightcontroller.staticflowentry with parameters of type IOFSwitch
 IListener.Command StaticFlowEntryPusher.handleFlowRemoved(IOFSwitch sw, OFFlowRemoved msg, FloodlightContext cntx)
          Handles a flow removed message from a switch.
 IListener.Command StaticFlowEntryPusher.receive(IOFSwitch sw, OFMessage msg, FloodlightContext cntx)
           
 

Uses of IOFSwitch in net.floodlightcontroller.topology
 

Methods in net.floodlightcontroller.topology with parameters of type IOFSwitch
 void TopologyManager.doMultiActionPacketOut(byte[] packetData, IOFSwitch sw, java.util.Set<java.lang.Integer> ports, FloodlightContext cntx)
          TODO This method must be moved to a layer below forwarding so that anyone can use it.
protected  IListener.Command TopologyManager.processPacketInMessage(IOFSwitch sw, OFPacketIn pi, FloodlightContext cntx)
           
 IListener.Command TopologyManager.receive(IOFSwitch sw, OFMessage msg, FloodlightContext cntx)
           
 

Uses of IOFSwitch in net.floodlightcontroller.util
 

Methods in net.floodlightcontroller.util with parameters of type IOFSwitch
 boolean OFMessageDamper.write(IOFSwitch sw, OFMessage msg, FloodlightContext cntx)
          write the messag to the switch according to our dampening settings
 boolean OFMessageDamper.write(IOFSwitch sw, OFMessage msg, FloodlightContext cntx, boolean flush)
          write the messag to the switch according to our dampening settings
 

Constructors in net.floodlightcontroller.util with parameters of type IOFSwitch
OFMessageDamper.DamperEntry(OFMessage msg, IOFSwitch sw)
           
 

Uses of IOFSwitch in net.floodlightcontroller.virtualnetwork
 

Methods in net.floodlightcontroller.virtualnetwork with parameters of type IOFSwitch
protected  void VirtualNetworkFilter.doDropFlow(IOFSwitch sw, OFPacketIn pi, FloodlightContext cntx)
          Writes a FlowMod to a switch that inserts a drop flow.
protected  IListener.Command VirtualNetworkFilter.processPacketIn(IOFSwitch sw, OFPacketIn msg, FloodlightContext cntx)
          Processes an OFPacketIn message and decides if the OFPacketIn should be dropped or the processing should continue.
 IListener.Command VirtualNetworkFilter.receive(IOFSwitch sw, OFMessage msg, FloodlightContext cntx)