alshabib

removing useless IOFSwitchManager interface

...@@ -61,9 +61,6 @@ public class Controller { ...@@ -61,9 +61,6 @@ public class Controller {
61 // It's only used by handleControllerNodeIPsChanged 61 // It's only used by handleControllerNodeIPsChanged
62 protected HashMap<String, String> controllerNodeIPsCache; 62 protected HashMap<String, String> controllerNodeIPsCache;
63 63
64 -
65 - private IOFSwitchManager switchManager;
66 -
67 private ChannelGroup cg; 64 private ChannelGroup cg;
68 65
69 // Configuration options 66 // Configuration options
......
1 -package org.onlab.onos.of.controller.impl;
2 -
3 -import org.onlab.onos.of.controller.driver.AbstractOpenFlowSwitch;
4 -import org.projectfloodlight.openflow.protocol.OFVersion;
5 -
6 -
7 -/**
8 - * Interface to passed to controller class in order to allow
9 - * it to spawn the appropriate type of switch and furthermore
10 - * specify a registry object (ie. ZooKeeper).
11 - *
12 - */
13 -public interface IOFSwitchManager {
14 -
15 - /**
16 - * Given a description string for a switch spawn the
17 - * concrete representation of that switch.
18 - *
19 - * @param mfr manufacturer description
20 - * @param hwDesc hardware description
21 - * @param swDesc software description
22 - * @param ofv openflow version
23 - * @return A switch of type IOFSwitch.
24 - */
25 - public AbstractOpenFlowSwitch getSwitchImpl(String mfr, String hwDesc, String swDesc, OFVersion ofv);
26 -
27 -}