![]() |
Open Kilda Java Documentation
|
Public Member Functions | |
| MockSwitchManager () | |
| void | switchAdded (IOFSwitchBackend sw) |
| void | switchDisconnected (IOFSwitchBackend sw) |
| void | handshakeDisconnected (DatapathId dpid) |
| void | notifyPortChanged (IOFSwitchBackend sw, OFPortDesc port, PortChangeType type) |
| IOFSwitchBackend | getOFSwitchInstance (IOFConnectionBackend connection, SwitchDescription description, OFFactory factory, DatapathId datapathId) |
| void | handleMessage (IOFSwitchBackend sw, OFMessage m, FloodlightContext bContext) |
| void | handleOutgoingMessage (IOFSwitch sw, OFMessage m) |
| void | setSwitchHandshakeHandlers (Map< DatapathId, OFSwitchHandshakeHandler > handlers) |
| ImmutableList< OFSwitchHandshakeHandler > | getSwitchHandshakeHandlers () |
| void | addOFSwitchDriver (String manufacturerDescriptionPrefix, IOFSwitchDriver driver) |
| void | switchStatusChanged (IOFSwitchBackend sw, SwitchStatus oldStatus, SwitchStatus newStatus) |
| int | getNumRequiredConnections () |
| void | addSwitchEvent (DatapathId switchDpid, String reason, boolean flushNow) |
| List< IAppHandshakePluginFactory > | getHandshakePlugins () |
| SwitchManagerCounters | getCounters () |
| boolean | isCategoryRegistered (LogicalOFMessageCategory category) |
| void | setSwitches (Map< DatapathId, IOFSwitch > switches) |
| Map< DatapathId, IOFSwitch > | getAllSwitchMap () |
| IOFSwitch | getSwitch (DatapathId dpid) |
| IOFSwitch | getActiveSwitch (DatapathId dpid) |
| void | addOFSwitchListener (IOFSwitchListener listener) |
| void | removeOFSwitchListener (IOFSwitchListener listener) |
| void | registerLogicalOFMessageCategory (LogicalOFMessageCategory category) |
| void | registerHandshakePlugin (IAppHandshakePluginFactory plugin) |
| Set< DatapathId > | getAllSwitchDpids () |
| Collection< Class<? extends IFloodlightService > > | getModuleServices () |
| Map< Class<? extends IFloodlightService >, IFloodlightService > | getServiceImpls () |
| Collection< Class<? extends IFloodlightService > > | getModuleDependencies () |
| void | init (FloodlightModuleContext context) throws FloodlightModuleException |
| void | startUp (FloodlightModuleContext context) throws FloodlightModuleException |
Definition at line 55 of file MockSwitchManager.java.
| org.openkilda.floodlight.MockSwitchManager.MockSwitchManager | ( | ) |
Definition at line 62 of file MockSwitchManager.java.
| void org.openkilda.floodlight.MockSwitchManager.addOFSwitchDriver | ( | String | manufacturerDescriptionPrefix, |
| IOFSwitchDriver | driver | ||
| ) |
Definition at line 124 of file MockSwitchManager.java.
| void org.openkilda.floodlight.MockSwitchManager.addOFSwitchListener | ( | IOFSwitchListener | listener | ) |
Definition at line 189 of file MockSwitchManager.java.
| void org.openkilda.floodlight.MockSwitchManager.addSwitchEvent | ( | DatapathId | switchDpid, |
| String | reason, | ||
| boolean | flushNow | ||
| ) |
Definition at line 144 of file MockSwitchManager.java.
| IOFSwitch org.openkilda.floodlight.MockSwitchManager.getActiveSwitch | ( | DatapathId | dpid | ) |
Definition at line 180 of file MockSwitchManager.java.
| Set<DatapathId> org.openkilda.floodlight.MockSwitchManager.getAllSwitchDpids | ( | ) |
Definition at line 210 of file MockSwitchManager.java.
| Map<DatapathId, IOFSwitch> org.openkilda.floodlight.MockSwitchManager.getAllSwitchMap | ( | ) |
Definition at line 170 of file MockSwitchManager.java.
| SwitchManagerCounters org.openkilda.floodlight.MockSwitchManager.getCounters | ( | ) |
Definition at line 156 of file MockSwitchManager.java.
| List<IAppHandshakePluginFactory> org.openkilda.floodlight.MockSwitchManager.getHandshakePlugins | ( | ) |
Definition at line 151 of file MockSwitchManager.java.
| Collection<Class<? extends IFloodlightService> > org.openkilda.floodlight.MockSwitchManager.getModuleDependencies | ( | ) |
Definition at line 236 of file MockSwitchManager.java.
| Collection<Class<? extends IFloodlightService> > org.openkilda.floodlight.MockSwitchManager.getModuleServices | ( | ) |
Definition at line 216 of file MockSwitchManager.java.
| int org.openkilda.floodlight.MockSwitchManager.getNumRequiredConnections | ( | ) |
Definition at line 139 of file MockSwitchManager.java.
| IOFSwitchBackend org.openkilda.floodlight.MockSwitchManager.getOFSwitchInstance | ( | IOFConnectionBackend | connection, |
| SwitchDescription | description, | ||
| OFFactory | factory, | ||
| DatapathId | datapathId | ||
| ) |
Definition at line 95 of file MockSwitchManager.java.
| Map<Class<? extends IFloodlightService>, IFloodlightService> org.openkilda.floodlight.MockSwitchManager.getServiceImpls | ( | ) |
Definition at line 225 of file MockSwitchManager.java.
| IOFSwitch org.openkilda.floodlight.MockSwitchManager.getSwitch | ( | DatapathId | dpid | ) |
Definition at line 175 of file MockSwitchManager.java.
| ImmutableList<OFSwitchHandshakeHandler> org.openkilda.floodlight.MockSwitchManager.getSwitchHandshakeHandlers | ( | ) |
Definition at line 119 of file MockSwitchManager.java.
| void org.openkilda.floodlight.MockSwitchManager.handleMessage | ( | IOFSwitchBackend | sw, |
| OFMessage | m, | ||
| FloodlightContext | bContext | ||
| ) |
Definition at line 102 of file MockSwitchManager.java.
| void org.openkilda.floodlight.MockSwitchManager.handleOutgoingMessage | ( | IOFSwitch | sw, |
| OFMessage | m | ||
| ) |
Definition at line 109 of file MockSwitchManager.java.
| void org.openkilda.floodlight.MockSwitchManager.handshakeDisconnected | ( | DatapathId | dpid | ) |
Definition at line 82 of file MockSwitchManager.java.
| void org.openkilda.floodlight.MockSwitchManager.init | ( | FloodlightModuleContext | context | ) | throws FloodlightModuleException |
Definition at line 241 of file MockSwitchManager.java.
| boolean org.openkilda.floodlight.MockSwitchManager.isCategoryRegistered | ( | LogicalOFMessageCategory | category | ) |
Definition at line 161 of file MockSwitchManager.java.
| void org.openkilda.floodlight.MockSwitchManager.notifyPortChanged | ( | IOFSwitchBackend | sw, |
| OFPortDesc | port, | ||
| PortChangeType | type | ||
| ) |
Definition at line 87 of file MockSwitchManager.java.
| void org.openkilda.floodlight.MockSwitchManager.registerHandshakePlugin | ( | IAppHandshakePluginFactory | plugin | ) |
Definition at line 204 of file MockSwitchManager.java.
| void org.openkilda.floodlight.MockSwitchManager.registerLogicalOFMessageCategory | ( | LogicalOFMessageCategory | category | ) |
Definition at line 199 of file MockSwitchManager.java.
| void org.openkilda.floodlight.MockSwitchManager.removeOFSwitchListener | ( | IOFSwitchListener | listener | ) |
Definition at line 194 of file MockSwitchManager.java.
| void org.openkilda.floodlight.MockSwitchManager.setSwitches | ( | Map< DatapathId, IOFSwitch > | switches | ) |
Definition at line 165 of file MockSwitchManager.java.
| void org.openkilda.floodlight.MockSwitchManager.setSwitchHandshakeHandlers | ( | Map< DatapathId, OFSwitchHandshakeHandler > | handlers | ) |
Definition at line 114 of file MockSwitchManager.java.
| void org.openkilda.floodlight.MockSwitchManager.startUp | ( | FloodlightModuleContext | context | ) | throws FloodlightModuleException |
Definition at line 246 of file MockSwitchManager.java.
| void org.openkilda.floodlight.MockSwitchManager.switchAdded | ( | IOFSwitchBackend | sw | ) |
Definition at line 70 of file MockSwitchManager.java.
| void org.openkilda.floodlight.MockSwitchManager.switchDisconnected | ( | IOFSwitchBackend | sw | ) |
Definition at line 76 of file MockSwitchManager.java.
| void org.openkilda.floodlight.MockSwitchManager.switchStatusChanged | ( | IOFSwitchBackend | sw, |
| SwitchStatus | oldStatus, | ||
| SwitchStatus | newStatus | ||
| ) |
Definition at line 131 of file MockSwitchManager.java.