public class Controller extends Object
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<String,String> |
controllerNodeIPsCache |
protected static org.projectfloodlight.openflow.protocol.OFFactory |
FACTORY10 |
protected static org.projectfloodlight.openflow.protocol.OFFactory |
FACTORY13 |
protected static org.slf4j.Logger |
log |
protected int |
openFlowPort |
protected static int |
SEND_BUFFER_SIZE |
protected long |
systemStartTime |
protected int |
workerThreads |
| Constructor and Description |
|---|
Controller() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getControllerNodeIPs() |
Map<String,Long> |
getMemory() |
org.projectfloodlight.openflow.protocol.OFFactory |
getOFMessageFactory10() |
org.projectfloodlight.openflow.protocol.OFFactory |
getOFMessageFactory13() |
protected org.onosproject.openflow.controller.driver.OpenFlowSwitchDriver |
getOFSwitchInstance(long dpid,
org.projectfloodlight.openflow.protocol.OFDescStatsReply desc,
org.projectfloodlight.openflow.protocol.OFVersion ofv)
Forward to the driver-manager to get an IOFSwitch instance.
|
long |
getSystemStartTime() |
Long |
getUptime() |
void |
init()
Initialize internal data structures.
|
void |
run()
Tell controller that we're ready to accept switches loop.
|
void |
setConfigParams(Map<String,String> configParams) |
void |
start(org.onosproject.openflow.controller.driver.OpenFlowAgent ag) |
void |
stop() |
protected static final org.slf4j.Logger log
protected static final org.projectfloodlight.openflow.protocol.OFFactory FACTORY13
protected static final org.projectfloodlight.openflow.protocol.OFFactory FACTORY10
protected int openFlowPort
protected int workerThreads
protected long systemStartTime
protected static final int SEND_BUFFER_SIZE
public org.projectfloodlight.openflow.protocol.OFFactory getOFMessageFactory10()
public org.projectfloodlight.openflow.protocol.OFFactory getOFMessageFactory13()
public long getSystemStartTime()
public void run()
public void init()
public Long getUptime()
protected org.onosproject.openflow.controller.driver.OpenFlowSwitchDriver getOFSwitchInstance(long dpid,
org.projectfloodlight.openflow.protocol.OFDescStatsReply desc,
org.projectfloodlight.openflow.protocol.OFVersion ofv)
dpid - data path iddesc - switch descriptionofv - OpenFlow versionpublic void start(org.onosproject.openflow.controller.driver.OpenFlowAgent ag)
public void stop()
Copyright © 2015. All rights reserved.