Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
alshabib
2014-09-03 13:42:23 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1146d829347a78132ec330389792647b0cc247c4
1146d829
1 parent
30a82715
removing useless IOFSwitchManager interface
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
30 deletions
of/ctl/src/main/java/org/onlab/onos/of/controller/impl/Controller.java
of/ctl/src/main/java/org/onlab/onos/of/controller/impl/IOFSwitchManager.java
of/ctl/src/main/java/org/onlab/onos/of/controller/impl/Controller.java
View file @
1146d82
...
...
@@ -61,9 +61,6 @@ public class Controller {
// It's only used by handleControllerNodeIPsChanged
protected
HashMap
<
String
,
String
>
controllerNodeIPsCache
;
private
IOFSwitchManager
switchManager
;
private
ChannelGroup
cg
;
// Configuration options
...
...
of/ctl/src/main/java/org/onlab/onos/of/controller/impl/IOFSwitchManager.java
deleted
100644 → 0
View file @
30a8271
package
org
.
onlab
.
onos
.
of
.
controller
.
impl
;
import
org.onlab.onos.of.controller.driver.AbstractOpenFlowSwitch
;
import
org.projectfloodlight.openflow.protocol.OFVersion
;
/**
* Interface to passed to controller class in order to allow
* it to spawn the appropriate type of switch and furthermore
* specify a registry object (ie. ZooKeeper).
*
*/
public
interface
IOFSwitchManager
{
/**
* Given a description string for a switch spawn the
* concrete representation of that switch.
*
* @param mfr manufacturer description
* @param hwDesc hardware description
* @param swDesc software description
* @param ofv openflow version
* @return A switch of type IOFSwitch.
*/
public
AbstractOpenFlowSwitch
getSwitchImpl
(
String
mfr
,
String
hwDesc
,
String
swDesc
,
OFVersion
ofv
);
}
Please
register
or
login
to post a comment