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
tom
2014-09-03 14:08:23 -0700
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
3b746c6dda69ba52ab4998e575ead3dd35514904
3b746c6d
2 parents
d1900f38
1146d829
Merge branch 'master' of
ssh://gerrit.onlab.us:29418/onos-next
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 @
3b746c6
...
...
@@ -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 @
d1900f3
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