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-17 14:56:42 -0700
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
ce4e578bcd562bdfe6d1eb4b94b4c5ae143a88bf
ce4e578b
2 parents
8f1cf4a7
8c75fe70
merged of -> openflow
Show whitespace changes
Inline
Side-by-side
Showing
66 changed files
with
165 additions
and
143 deletions
apps/fwd/src/main/java/org/onlab/onos/fwd/ReactiveForwarding.java
core/api/src/main/java/org/onlab/onos/net/flow/FlowEntry.java
core/api/src/main/java/org/onlab/onos/net/flow/FlowId.java
openflow/api/pom.xml
openflow/api/src/main/java/org/onlab/onos/of/controller/DefaultOpenFlowPacketContext.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/DefaultOpenFlowPacketContext.java
openflow/api/src/main/java/org/onlab/onos/of/controller/Dpid.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/Dpid.java
openflow/api/src/main/java/org/onlab/onos/of/controller/OpenFlowController.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/OpenFlowController.java
openflow/api/src/main/java/org/onlab/onos/of/controller/OpenFlowPacketContext.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/OpenFlowPacketContext.java
openflow/api/src/main/java/org/onlab/onos/of/controller/OpenFlowSwitch.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/OpenFlowSwitch.java
openflow/api/src/main/java/org/onlab/onos/of/controller/OpenFlowSwitchListener.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/OpenFlowSwitchListener.java
openflow/api/src/main/java/org/onlab/onos/of/controller/PacketListener.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/PacketListener.java
openflow/api/src/main/java/org/onlab/onos/of/controller/RoleState.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/RoleState.java
openflow/api/src/main/java/org/onlab/onos/of/controller/driver/AbstractOpenFlowSwitch.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/driver/AbstractOpenFlowSwitch.java
openflow/api/src/main/java/org/onlab/onos/of/controller/driver/OpenFlowAgent.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/driver/OpenFlowAgent.java
openflow/api/src/main/java/org/onlab/onos/of/controller/driver/OpenFlowSwitchDriver.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/driver/OpenFlowSwitchDriver.java
openflow/api/src/main/java/org/onlab/onos/of/controller/driver/OpenFlowSwitchDriverFactory.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/driver/OpenFlowSwitchDriverFactory.java
openflow/api/src/main/java/org/onlab/onos/of/controller/driver/RoleHandler.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/driver/RoleHandler.java
openflow/api/src/main/java/org/onlab/onos/of/controller/driver/RoleRecvStatus.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/driver/RoleRecvStatus.java
openflow/api/src/main/java/org/onlab/onos/of/controller/driver/RoleReplyInfo.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/driver/RoleReplyInfo.java
openflow/api/src/main/java/org/onlab/onos/of/controller/driver/SwitchDriverSubHandshakeAlreadyStarted.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/driver/SwitchDriverSubHandshakeAlreadyStarted.java
openflow/api/src/main/java/org/onlab/onos/of/controller/driver/SwitchDriverSubHandshakeCompleted.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/driver/SwitchDriverSubHandshakeCompleted.java
openflow/api/src/main/java/org/onlab/onos/of/controller/driver/SwitchDriverSubHandshakeException.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/driver/SwitchDriverSubHandshakeException.java
openflow/api/src/main/java/org/onlab/onos/of/controller/driver/SwitchDriverSubHandshakeNotStarted.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/driver/SwitchDriverSubHandshakeNotStarted.java
openflow/api/src/main/java/org/onlab/onos/of/controller/driver/SwitchDriverSubHandshakeStateException.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/driver/SwitchDriverSubHandshakeStateException.java
openflow/api/src/main/java/org/onlab/onos/of/controller/driver/SwitchStateException.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/driver/SwitchStateException.java
openflow/api/src/main/java/org/onlab/onos/of/controller/driver/package-info.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/driver/package-info.java
openflow/api/src/main/java/org/onlab/onos/of/controller/package-info.java → openflow/api/src/main/java/org/onlab/onos/openflow/controller/package-info.java
openflow/api/src/test/java/org/onlab/onos/of/controller/OpenflowControllerAdapter.java → openflow/api/src/test/java/org/onlab/onos/openflow/controller/OpenflowControllerAdapter.java
openflow/ctl/src/main/java/org/onlab/onos/of/controller/impl/Controller.java → openflow/ctl/src/main/java/org/onlab/onos/openflow/controller/impl/Controller.java
openflow/ctl/src/main/java/org/onlab/onos/of/controller/impl/HandshakeTimeoutException.java → openflow/ctl/src/main/java/org/onlab/onos/openflow/controller/impl/HandshakeTimeoutException.java
openflow/ctl/src/main/java/org/onlab/onos/of/controller/impl/HandshakeTimeoutHandler.java → openflow/ctl/src/main/java/org/onlab/onos/openflow/controller/impl/HandshakeTimeoutHandler.java
openflow/ctl/src/main/java/org/onlab/onos/of/controller/impl/OFChannelHandler.java → openflow/ctl/src/main/java/org/onlab/onos/openflow/controller/impl/OFChannelHandler.java
openflow/ctl/src/main/java/org/onlab/onos/of/controller/impl/OFMessageDecoder.java → openflow/ctl/src/main/java/org/onlab/onos/openflow/controller/impl/OFMessageDecoder.java
openflow/ctl/src/main/java/org/onlab/onos/of/controller/impl/OFMessageEncoder.java → openflow/ctl/src/main/java/org/onlab/onos/openflow/controller/impl/OFMessageEncoder.java
openflow/ctl/src/main/java/org/onlab/onos/of/controller/impl/OpenFlowControllerImpl.java → openflow/ctl/src/main/java/org/onlab/onos/openflow/controller/impl/OpenFlowControllerImpl.java
openflow/ctl/src/main/java/org/onlab/onos/of/controller/impl/OpenflowPipelineFactory.java → openflow/ctl/src/main/java/org/onlab/onos/openflow/controller/impl/OpenflowPipelineFactory.java
openflow/ctl/src/main/java/org/onlab/onos/of/controller/impl/RoleManager.java → openflow/ctl/src/main/java/org/onlab/onos/openflow/controller/impl/RoleManager.java
openflow/ctl/src/main/java/org/onlab/onos/of/controller/impl/package-info.java → openflow/ctl/src/main/java/org/onlab/onos/openflow/controller/impl/package-info.java
openflow/ctl/src/main/java/org/onlab/onos/of/drivers/impl/DriverManager.java → openflow/ctl/src/main/java/org/onlab/onos/openflow/drivers/impl/DriverManager.java
openflow/ctl/src/main/java/org/onlab/onos/of/drivers/impl/OFSwitchImplCPqD13.java → openflow/ctl/src/main/java/org/onlab/onos/openflow/drivers/impl/OFSwitchImplCPqD13.java
openflow/ctl/src/main/java/org/onlab/onos/of/drivers/impl/OFSwitchImplOVS10.java → openflow/ctl/src/main/java/org/onlab/onos/openflow/drivers/impl/OFSwitchImplOVS10.java
openflow/ctl/src/main/java/org/onlab/onos/of/drivers/impl/OFSwitchImplOVS13.java → openflow/ctl/src/main/java/org/onlab/onos/openflow/drivers/impl/OFSwitchImplOVS13.java
openflow/ctl/src/main/java/org/onlab/onos/of/drivers/impl/package-info.java → openflow/ctl/src/main/java/org/onlab/onos/openflow/drivers/impl/package-info.java
openflow/drivers/src/main/java/org/onlab/onos/of/drivers/impl/DeleteMe.java → openflow/drivers/src/main/java/org/onlab/onos/openflow/drivers/impl/DeleteMe.java
pom.xml
providers/of/device/pom.xml → providers/openflow/device/pom.xml
providers/of/device/src/main/java/org/onlab/onos/provider/of/device/impl/OpenFlowDeviceProvider.java → providers/openflow/device/src/main/java/org/onlab/onos/provider/of/device/impl/OpenFlowDeviceProvider.java
providers/of/device/src/main/java/org/onlab/onos/provider/of/device/impl/package-info.java → providers/openflow/device/src/main/java/org/onlab/onos/provider/of/device/impl/package-info.java
providers/of/flow/.checkstyle → providers/openflow/flow/.checkstyle
providers/of/flow/pom.xml → providers/openflow/flow/pom.xml
providers/of/flow/src/main/java/org/onlab/onos/provider/of/flow/impl/OpenFlowRuleProvider.java → providers/openflow/flow/src/main/java/org/onlab/onos/provider/of/flow/impl/OpenFlowRuleProvider.java
providers/of/flow/src/main/java/org/onlab/onos/provider/of/flow/impl/package-info.java → providers/openflow/flow/src/main/java/org/onlab/onos/provider/of/flow/impl/package-info.java
providers/of/host/pom.xml → providers/openflow/host/pom.xml
providers/of/host/src/main/java/org/onlab/onos/provider/of/host/impl/OpenFlowHostProvider.java → providers/openflow/host/src/main/java/org/onlab/onos/provider/of/host/impl/OpenFlowHostProvider.java
providers/of/host/src/main/java/org/onlab/onos/provider/of/host/impl/package-info.java → providers/openflow/host/src/main/java/org/onlab/onos/provider/of/host/impl/package-info.java
providers/of/host/src/test/java/org/onlab/onos/provider/of/host/impl/OpenFlowHostProviderTest.java → providers/openflow/host/src/test/java/org/onlab/onos/provider/of/host/impl/OpenFlowHostProviderTest.java
providers/of/link/pom.xml → providers/openflow/link/pom.xml
providers/of/link/src/main/java/org/onlab/onos/provider/of/link/impl/LinkDiscovery.java → providers/openflow/link/src/main/java/org/onlab/onos/provider/of/link/impl/LinkDiscovery.java
providers/of/link/src/main/java/org/onlab/onos/provider/of/link/impl/OpenFlowLinkProvider.java → providers/openflow/link/src/main/java/org/onlab/onos/provider/of/link/impl/OpenFlowLinkProvider.java
providers/of/link/src/main/java/org/onlab/onos/provider/of/link/impl/package-info.java → providers/openflow/link/src/main/java/org/onlab/onos/provider/of/link/impl/package-info.java
providers/of/packet/pom.xml → providers/openflow/packet/pom.xml
providers/of/packet/src/main/java/org/onlab/onos/provider/of/packet/impl/OpenFlowCorePacketContext.java → providers/openflow/packet/src/main/java/org/onlab/onos/provider/of/packet/impl/OpenFlowCorePacketContext.java
providers/of/packet/src/main/java/org/onlab/onos/provider/of/packet/impl/OpenFlowPacketProvider.java → providers/openflow/packet/src/main/java/org/onlab/onos/provider/of/packet/impl/OpenFlowPacketProvider.java
providers/of/packet/src/main/java/org/onlab/onos/provider/of/packet/impl/package-info.java → providers/openflow/packet/src/main/java/org/onlab/onos/provider/of/packet/impl/package-info.java
providers/of/pom.xml → providers/openflow/pom.xml
providers/pom.xml
apps/fwd/src/main/java/org/onlab/onos/fwd/ReactiveForwarding.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
fwd
;
import
static
org
.
slf4j
.
LoggerFactory
.
getLogger
;
import
java.util.Set
;
import
org.apache.felix.scr.annotations.Activate
;
import
org.apache.felix.scr.annotations.Component
;
import
org.apache.felix.scr.annotations.Deactivate
;
...
...
@@ -31,6 +27,10 @@ import org.onlab.onos.net.topology.TopologyService;
import
org.onlab.packet.Ethernet
;
import
org.slf4j.Logger
;
import
java.util.Set
;
import
static
org
.
slf4j
.
LoggerFactory
.
getLogger
;
/**
* Sample reactive forwarding application.
*/
...
...
@@ -81,7 +81,8 @@ public class ReactiveForwarding {
}
InboundPacket
pkt
=
context
.
inPacket
();
HostId
id
=
HostId
.
hostId
(
pkt
.
parsed
().
getDestinationMAC
());
Ethernet
ethPkt
=
pkt
.
parsed
();
HostId
id
=
HostId
.
hostId
(
ethPkt
.
getDestinationMAC
());
// Do we know who this is for? If not, flood and bail.
Host
dst
=
hostService
.
getHost
(
id
);
...
...
@@ -100,7 +101,7 @@ public class ReactiveForwarding {
// Otherwise, get a set of paths that lead from here to the
// destination edge switch.
Set
<
Path
>
paths
=
topologyService
.
getPaths
(
topologyService
.
currentTopology
(),
context
.
inPacket
()
.
receivedFrom
().
deviceId
(),
pkt
.
receivedFrom
().
deviceId
(),
dst
.
location
().
deviceId
());
if
(
paths
.
isEmpty
())
{
// If there are no paths, flood and bail.
...
...
@@ -112,7 +113,9 @@ public class ReactiveForwarding {
// came from; if no such path, flood and bail.
Path
path
=
pickForwardPath
(
paths
,
pkt
.
receivedFrom
().
port
());
if
(
path
==
null
)
{
log
.
warn
(
"Doh... don't know where to go..."
);
log
.
warn
(
"Doh... don't know where to go... {} -> {} received on {}"
,
ethPkt
.
getSourceMAC
(),
ethPkt
.
getDestinationMAC
(),
pkt
.
receivedFrom
().
port
());
flood
(
context
);
return
;
}
...
...
@@ -133,28 +136,28 @@ public class ReactiveForwarding {
return
null
;
}
// Floods the specified packet.
// Floods the specified packet
if permissible
.
private
void
flood
(
PacketContext
context
)
{
if
(
topologyService
.
isBroadcastPoint
(
topologyService
.
currentTopology
(),
context
.
inPacket
().
receivedFrom
()))
{
packetOut
Flood
(
context
);
packetOut
(
context
,
PortNumber
.
FLOOD
);
}
else
{
context
.
block
();
}
}
//
Floods a packet out
private
void
packetOut
Flood
(
PacketContext
context
)
{
context
.
treatmentBuilder
().
add
(
Instructions
.
createOutput
(
PortNumber
.
FLOOD
));
//
Sends a packet out the specified port.
private
void
packetOut
(
PacketContext
context
,
PortNumber
portNumber
)
{
context
.
treatmentBuilder
().
add
(
Instructions
.
createOutput
(
portNumber
));
context
.
send
();
}
// Install a rule forwarding the packet to the specified port.
private
void
installRule
(
PacketContext
context
,
PortNumber
portNumber
)
{
// we don't yet support bufferids in the flowservice so packet out and
// then install a flowmod.
packetOutFlood
(
context
);
// We don't yet support bufferids in the flowservice so packet out first.
packetOut
(
context
,
portNumber
);
// Install the flow rule to handle this type of message from now on.
Ethernet
inPkt
=
context
.
inPacket
().
parsed
();
TrafficSelector
.
Builder
builder
=
new
DefaultTrafficSelector
.
Builder
();
builder
.
add
(
Criteria
.
matchEthType
(
inPkt
.
getEtherType
()))
...
...
@@ -169,11 +172,6 @@ public class ReactiveForwarding {
builder
.
build
(),
treat
.
build
());
flowRuleService
.
applyFlowRules
(
f
);
// we don't yet support bufferids in the flowservice so packet out and
// then install a flowmod.
context
.
treatmentBuilder
().
add
(
Instructions
.
createOutput
(
portNumber
));
context
.
send
();
}
}
...
...
core/api/src/main/java/org/onlab/onos/net/flow/FlowEntry.java
View file @
ce4e578
...
...
@@ -5,6 +5,9 @@ package org.onlab.onos.net.flow;
*/
public
interface
FlowEntry
extends
FlowRule
{
FlowId
id
();
/**
* Returns the number of milliseconds this flow rule has been applied.
*
...
...
core/api/src/main/java/org/onlab/onos/net/flow/FlowId.java
0 → 100644
View file @
ce4e578
package
org
.
onlab
.
onos
.
net
.
flow
;
/**
* Representation of a Flow ID.
*/
public
final
class
FlowId
{
private
final
int
flowid
;
private
FlowId
(
int
id
)
{
this
.
flowid
=
id
;
}
public
static
FlowId
valueOf
(
int
id
)
{
return
new
FlowId
(
id
);
}
public
int
value
()
{
return
flowid
;
}
}
openflow/api/pom.xml
View file @
ce4e578
...
...
@@ -62,7 +62,7 @@
<configuration>
<instructions>
<Export-Package>
org.onlab.onos.o
f
.*,org.projectfloodlight.openflow.*
org.onlab.onos.o
penflow
.*,org.projectfloodlight.openflow.*
</Export-Package>
</instructions>
</configuration>
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/DefaultOpenFlowPacketContext.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/DefaultOpenFlowPacketContext.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
;
import
static
org
.
slf4j
.
LoggerFactory
.
getLogger
;
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/Dpid.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/Dpid.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
;
import
org.projectfloodlight.openflow.util.HexString
;
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/OpenFlowController.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/OpenFlowController.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
;
import
org.projectfloodlight.openflow.protocol.OFMessage
;
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/OpenFlowPacketContext.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/OpenFlowPacketContext.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
;
import
org.onlab.packet.Ethernet
;
import
org.projectfloodlight.openflow.types.OFPort
;
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/OpenFlowSwitch.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/OpenFlowSwitch.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
;
import
java.util.List
;
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/OpenFlowSwitchListener.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/OpenFlowSwitchListener.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
;
import
org.projectfloodlight.openflow.protocol.OFPortStatus
;
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/PacketListener.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/PacketListener.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
;
/**
* Notifies providers about Packet in events.
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/RoleState.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/RoleState.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
;
import
org.projectfloodlight.openflow.protocol.OFControllerRole
;
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/driver/AbstractOpenFlowSwitch.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/driver/AbstractOpenFlowSwitch.java
View file @
ce4e578
...
...
@@ -15,7 +15,7 @@
* under the License.
**/
package
org
.
onlab
.
onos
.
o
f
.
controller
.
driver
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
driver
;
import
java.io.IOException
;
import
java.util.Collections
;
...
...
@@ -23,8 +23,8 @@ import java.util.List;
import
java.util.concurrent.atomic.AtomicInteger
;
import
org.jboss.netty.channel.Channel
;
import
org.onlab.onos.o
f
.controller.Dpid
;
import
org.onlab.onos.o
f
.controller.RoleState
;
import
org.onlab.onos.o
penflow
.controller.Dpid
;
import
org.onlab.onos.o
penflow
.controller.RoleState
;
import
org.projectfloodlight.openflow.protocol.OFDescStatsReply
;
import
org.projectfloodlight.openflow.protocol.OFErrorMsg
;
import
org.projectfloodlight.openflow.protocol.OFExperimenter
;
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/driver/OpenFlowAgent.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/driver/OpenFlowAgent.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
.
driver
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
driver
;
import
org.onlab.onos.o
f
.controller.Dpid
;
import
org.onlab.onos.o
f
.controller.OpenFlowSwitch
;
import
org.onlab.onos.o
penflow
.controller.Dpid
;
import
org.onlab.onos.o
penflow
.controller.OpenFlowSwitch
;
import
org.projectfloodlight.openflow.protocol.OFMessage
;
/**
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/driver/OpenFlowSwitchDriver.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/driver/OpenFlowSwitchDriver.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
.
driver
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
driver
;
import
java.util.List
;
import
org.jboss.netty.channel.Channel
;
import
org.onlab.onos.o
f
.controller.OpenFlowSwitch
;
import
org.onlab.onos.o
penflow
.controller.OpenFlowSwitch
;
import
org.projectfloodlight.openflow.protocol.OFDescStatsReply
;
import
org.projectfloodlight.openflow.protocol.OFErrorMsg
;
import
org.projectfloodlight.openflow.protocol.OFFeaturesReply
;
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/driver/OpenFlowSwitchDriverFactory.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/driver/OpenFlowSwitchDriverFactory.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
.
driver
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
driver
;
import
org.onlab.onos.o
f
.controller.Dpid
;
import
org.onlab.onos.o
penflow
.controller.Dpid
;
import
org.projectfloodlight.openflow.protocol.OFDescStatsReply
;
import
org.projectfloodlight.openflow.protocol.OFVersion
;
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/driver/RoleHandler.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/driver/RoleHandler.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
.
driver
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
driver
;
import
java.io.IOException
;
import
org.onlab.onos.o
f
.controller.RoleState
;
import
org.onlab.onos.o
penflow
.controller.RoleState
;
import
org.projectfloodlight.openflow.protocol.OFErrorMsg
;
import
org.projectfloodlight.openflow.protocol.OFExperimenter
;
import
org.projectfloodlight.openflow.protocol.OFRoleReply
;
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/driver/RoleRecvStatus.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/driver/RoleRecvStatus.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
.
driver
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
driver
;
/**
* When we remove a pending role request we use this enum to indicate how we
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/driver/RoleReplyInfo.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/driver/RoleReplyInfo.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
.
driver
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
driver
;
import
org.onlab.onos.o
f
.controller.RoleState
;
import
org.onlab.onos.o
penflow
.controller.RoleState
;
import
org.projectfloodlight.openflow.types.U64
;
/**
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/driver/SwitchDriverSubHandshakeAlreadyStarted.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/driver/SwitchDriverSubHandshakeAlreadyStarted.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
.
driver
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
driver
;
/**
* Thrown when IOFSwitch.startDriverHandshake() is called more than once.
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/driver/SwitchDriverSubHandshakeCompleted.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/driver/SwitchDriverSubHandshakeCompleted.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
.
driver
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
driver
;
import
org.projectfloodlight.openflow.protocol.OFMessage
;
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/driver/SwitchDriverSubHandshakeException.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/driver/SwitchDriverSubHandshakeException.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
.
driver
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
driver
;
/**
* Base class for exception thrown by switch driver sub-handshake processing.
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/driver/SwitchDriverSubHandshakeNotStarted.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/driver/SwitchDriverSubHandshakeNotStarted.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
.
driver
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
driver
;
/**
* Thrown when a switch driver's sub-handshake has not been started but an
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/driver/SwitchDriverSubHandshakeStateException.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/driver/SwitchDriverSubHandshakeStateException.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
.
driver
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
driver
;
/**
* Thrown when a switch driver's sub-handshake state-machine receives an
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/driver/SwitchStateException.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/driver/SwitchStateException.java
View file @
ce4e578
...
...
@@ -15,7 +15,7 @@
* under the License.
**/
package
org
.
onlab
.
onos
.
o
f
.
controller
.
driver
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
driver
;
/**
* This exception indicates an error or unexpected message during
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/driver/package-info.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/driver/package-info.java
View file @
ce4e578
/**
* OpenFlow controller switch driver API.
*/
package
org
.
onlab
.
onos
.
o
f
.
controller
.
driver
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
driver
;
...
...
openflow/api/src/main/java/org/onlab/onos/o
f
/controller/package-info.java
→
openflow/api/src/main/java/org/onlab/onos/o
penflow
/controller/package-info.java
View file @
ce4e578
/**
* OpenFlow controller API.
*/
package
org
.
onlab
.
onos
.
o
f
.
controller
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
;
...
...
openflow/api/src/test/java/org/onlab/onos/o
f
/controller/OpenflowControllerAdapter.java
→
openflow/api/src/test/java/org/onlab/onos/o
penflow
/controller/OpenflowControllerAdapter.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
;
import
org.projectfloodlight.openflow.protocol.OFMessage
;
...
...
openflow/ctl/src/main/java/org/onlab/onos/o
f
/controller/impl/Controller.java
→
openflow/ctl/src/main/java/org/onlab/onos/o
penflow
/controller/impl/Controller.java
View file @
ce4e578
...
...
@@ -15,7 +15,7 @@
* under the License.
**/
package
org
.
onlab
.
onos
.
o
f
.
controller
.
impl
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
impl
;
import
java.lang.management.ManagementFactory
;
import
java.lang.management.RuntimeMXBean
;
...
...
@@ -29,10 +29,10 @@ import org.jboss.netty.channel.ChannelPipelineFactory;
import
org.jboss.netty.channel.group.ChannelGroup
;
import
org.jboss.netty.channel.group.DefaultChannelGroup
;
import
org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory
;
import
org.onlab.onos.o
f
.controller.Dpid
;
import
org.onlab.onos.o
f
.controller.driver.OpenFlowAgent
;
import
org.onlab.onos.o
f
.controller.driver.OpenFlowSwitchDriver
;
import
org.onlab.onos.o
f
.drivers.impl.DriverManager
;
import
org.onlab.onos.o
penflow
.controller.Dpid
;
import
org.onlab.onos.o
penflow
.controller.driver.OpenFlowAgent
;
import
org.onlab.onos.o
penflow
.controller.driver.OpenFlowSwitchDriver
;
import
org.onlab.onos.o
penflow
.drivers.impl.DriverManager
;
import
org.projectfloodlight.openflow.protocol.OFDescStatsReply
;
import
org.projectfloodlight.openflow.protocol.OFFactories
;
import
org.projectfloodlight.openflow.protocol.OFFactory
;
...
...
openflow/ctl/src/main/java/org/onlab/onos/o
f
/controller/impl/HandshakeTimeoutException.java
→
openflow/ctl/src/main/java/org/onlab/onos/o
penflow
/controller/impl/HandshakeTimeoutException.java
View file @
ce4e578
...
...
@@ -15,7 +15,7 @@
* under the License.
**/
package
org
.
onlab
.
onos
.
o
f
.
controller
.
impl
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
impl
;
/**
* Exception is thrown when the handshake fails to complete.
...
...
openflow/ctl/src/main/java/org/onlab/onos/o
f
/controller/impl/HandshakeTimeoutHandler.java
→
openflow/ctl/src/main/java/org/onlab/onos/o
penflow
/controller/impl/HandshakeTimeoutHandler.java
View file @
ce4e578
...
...
@@ -15,7 +15,7 @@
* under the License.
**/
package
org
.
onlab
.
onos
.
o
f
.
controller
.
impl
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
impl
;
import
java.util.concurrent.TimeUnit
;
...
...
openflow/ctl/src/main/java/org/onlab/onos/o
f
/controller/impl/OFChannelHandler.java
→
openflow/ctl/src/main/java/org/onlab/onos/o
penflow
/controller/impl/OFChannelHandler.java
View file @
ce4e578
//CHECKSTYLE:OFF
package
org
.
onlab
.
onos
.
o
f
.
controller
.
impl
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
impl
;
import
java.io.IOException
;
import
java.nio.channels.ClosedChannelException
;
...
...
@@ -17,8 +17,8 @@ import org.jboss.netty.channel.MessageEvent;
import
org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler
;
import
org.jboss.netty.handler.timeout.IdleStateEvent
;
import
org.jboss.netty.handler.timeout.ReadTimeoutException
;
import
org.onlab.onos.o
f
.controller.driver.OpenFlowSwitchDriver
;
import
org.onlab.onos.o
f
.controller.driver.SwitchStateException
;
import
org.onlab.onos.o
penflow
.controller.driver.OpenFlowSwitchDriver
;
import
org.onlab.onos.o
penflow
.controller.driver.SwitchStateException
;
import
org.projectfloodlight.openflow.exceptions.OFParseError
;
import
org.projectfloodlight.openflow.protocol.OFAsyncGetReply
;
import
org.projectfloodlight.openflow.protocol.OFBadRequestCode
;
...
...
openflow/ctl/src/main/java/org/onlab/onos/o
f
/controller/impl/OFMessageDecoder.java
→
openflow/ctl/src/main/java/org/onlab/onos/o
penflow
/controller/impl/OFMessageDecoder.java
View file @
ce4e578
...
...
@@ -15,7 +15,7 @@
* under the License.
**/
package
org
.
onlab
.
onos
.
o
f
.
controller
.
impl
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
impl
;
import
org.jboss.netty.buffer.ChannelBuffer
;
...
...
openflow/ctl/src/main/java/org/onlab/onos/o
f
/controller/impl/OFMessageEncoder.java
→
openflow/ctl/src/main/java/org/onlab/onos/o
penflow
/controller/impl/OFMessageEncoder.java
View file @
ce4e578
...
...
@@ -15,7 +15,7 @@
* under the License.
**/
package
org
.
onlab
.
onos
.
o
f
.
controller
.
impl
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
impl
;
import
java.util.List
;
...
...
openflow/ctl/src/main/java/org/onlab/onos/o
f
/controller/impl/OpenFlowControllerImpl.java
→
openflow/ctl/src/main/java/org/onlab/onos/o
penflow
/controller/impl/OpenFlowControllerImpl.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
.
impl
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
impl
;
import
static
org
.
onlab
.
util
.
Tools
.
namedThreads
;
...
...
@@ -16,16 +16,16 @@ import org.apache.felix.scr.annotations.Activate;
import
org.apache.felix.scr.annotations.Component
;
import
org.apache.felix.scr.annotations.Deactivate
;
import
org.apache.felix.scr.annotations.Service
;
import
org.onlab.onos.of.controller.DefaultOpenFlowPacketContext
;
import
org.onlab.onos.of.controller.Dpid
;
import
org.onlab.onos.of.controller.OpenFlowController
;
import
org.onlab.onos.of.controller.OpenFlowEventListener
;
import
org.onlab.onos.of.controller.OpenFlowPacketContext
;
import
org.onlab.onos.of.controller.OpenFlowSwitch
;
import
org.onlab.onos.of.controller.OpenFlowSwitchListener
;
import
org.onlab.onos.of.controller.PacketListener
;
import
org.onlab.onos.of.controller.RoleState
;
import
org.onlab.onos.of.controller.driver.OpenFlowAgent
;
import
org.onlab.onos.openflow.controller.DefaultOpenFlowPacketContext
;
import
org.onlab.onos.openflow.controller.Dpid
;
import
org.onlab.onos.openflow.controller.OpenFlowController
;
import
org.onlab.onos.openflow.controller.OpenFlowPacketContext
;
import
org.onlab.onos.openflow.controller.OpenFlowSwitch
;
import
org.onlab.onos.openflow.controller.OpenFlowSwitchListener
;
import
org.onlab.onos.openflow.controller.PacketListener
;
import
org.onlab.onos.openflow.controller.RoleState
;
import
org.onlab.onos.openflow.controller.driver.OpenFlowAgent
;
import
org.projectfloodlight.openflow.protocol.OFMessage
;
import
org.projectfloodlight.openflow.protocol.OFPacketIn
;
import
org.projectfloodlight.openflow.protocol.OFPortStatus
;
...
...
openflow/ctl/src/main/java/org/onlab/onos/o
f
/controller/impl/OpenflowPipelineFactory.java
→
openflow/ctl/src/main/java/org/onlab/onos/o
penflow
/controller/impl/OpenflowPipelineFactory.java
View file @
ce4e578
...
...
@@ -15,7 +15,7 @@
* under the License.
**/
package
org
.
onlab
.
onos
.
o
f
.
controller
.
impl
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
impl
;
import
java.util.concurrent.ThreadPoolExecutor
;
...
...
openflow/ctl/src/main/java/org/onlab/onos/o
f
/controller/impl/RoleManager.java
→
openflow/ctl/src/main/java/org/onlab/onos/o
penflow
/controller/impl/RoleManager.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
controller
.
impl
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
impl
;
import
java.io.IOException
;
import
java.util.Collections
;
import
org.onlab.onos.o
f
.controller.RoleState
;
import
org.onlab.onos.o
f
.controller.driver.OpenFlowSwitchDriver
;
import
org.onlab.onos.o
f
.controller.driver.RoleHandler
;
import
org.onlab.onos.o
f
.controller.driver.RoleRecvStatus
;
import
org.onlab.onos.o
f
.controller.driver.RoleReplyInfo
;
import
org.onlab.onos.o
f
.controller.driver.SwitchStateException
;
import
org.onlab.onos.o
penflow
.controller.RoleState
;
import
org.onlab.onos.o
penflow
.controller.driver.OpenFlowSwitchDriver
;
import
org.onlab.onos.o
penflow
.controller.driver.RoleHandler
;
import
org.onlab.onos.o
penflow
.controller.driver.RoleRecvStatus
;
import
org.onlab.onos.o
penflow
.controller.driver.RoleReplyInfo
;
import
org.onlab.onos.o
penflow
.controller.driver.SwitchStateException
;
import
org.projectfloodlight.openflow.protocol.OFControllerRole
;
import
org.projectfloodlight.openflow.protocol.OFErrorMsg
;
import
org.projectfloodlight.openflow.protocol.OFErrorType
;
...
...
openflow/ctl/src/main/java/org/onlab/onos/o
f
/controller/impl/package-info.java
→
openflow/ctl/src/main/java/org/onlab/onos/o
penflow
/controller/impl/package-info.java
View file @
ce4e578
/**
* Implementation of the OpenFlow controller IO subsystem.
*/
package
org
.
onlab
.
onos
.
o
f
.
controller
.
impl
;
package
org
.
onlab
.
onos
.
o
penflow
.
controller
.
impl
;
...
...
openflow/ctl/src/main/java/org/onlab/onos/o
f
/drivers/impl/DriverManager.java
→
openflow/ctl/src/main/java/org/onlab/onos/o
penflow
/drivers/impl/DriverManager.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
drivers
.
impl
;
package
org
.
onlab
.
onos
.
o
penflow
.
drivers
.
impl
;
import
java.util.Collections
;
import
java.util.List
;
import
org.onlab.onos.o
f
.controller.Dpid
;
import
org.onlab.onos.o
f
.controller.driver.AbstractOpenFlowSwitch
;
import
org.onlab.onos.o
f
.controller.driver.OpenFlowSwitchDriver
;
import
org.onlab.onos.o
f
.controller.driver.OpenFlowSwitchDriverFactory
;
import
org.onlab.onos.o
penflow
.controller.Dpid
;
import
org.onlab.onos.o
penflow
.controller.driver.AbstractOpenFlowSwitch
;
import
org.onlab.onos.o
penflow
.controller.driver.OpenFlowSwitchDriver
;
import
org.onlab.onos.o
penflow
.controller.driver.OpenFlowSwitchDriverFactory
;
import
org.projectfloodlight.openflow.protocol.OFDescStatsReply
;
import
org.projectfloodlight.openflow.protocol.OFMessage
;
import
org.projectfloodlight.openflow.protocol.OFPortDesc
;
...
...
openflow/ctl/src/main/java/org/onlab/onos/o
f
/drivers/impl/OFSwitchImplCPqD13.java
→
openflow/ctl/src/main/java/org/onlab/onos/o
penflow
/drivers/impl/OFSwitchImplCPqD13.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
drivers
.
impl
;
package
org
.
onlab
.
onos
.
o
penflow
.
drivers
.
impl
;
import
java.io.IOException
;
import
java.util.ArrayList
;
...
...
@@ -8,12 +8,12 @@ import java.util.Map;
import
java.util.concurrent.ConcurrentHashMap
;
import
java.util.concurrent.atomic.AtomicBoolean
;
import
org.onlab.onos.o
f
.controller.Dpid
;
import
org.onlab.onos.o
f
.controller.RoleState
;
import
org.onlab.onos.o
f
.controller.driver.AbstractOpenFlowSwitch
;
import
org.onlab.onos.o
f
.controller.driver.SwitchDriverSubHandshakeAlreadyStarted
;
import
org.onlab.onos.o
f
.controller.driver.SwitchDriverSubHandshakeCompleted
;
import
org.onlab.onos.o
f
.controller.driver.SwitchDriverSubHandshakeNotStarted
;
import
org.onlab.onos.o
penflow
.controller.Dpid
;
import
org.onlab.onos.o
penflow
.controller.RoleState
;
import
org.onlab.onos.o
penflow
.controller.driver.AbstractOpenFlowSwitch
;
import
org.onlab.onos.o
penflow
.controller.driver.SwitchDriverSubHandshakeAlreadyStarted
;
import
org.onlab.onos.o
penflow
.controller.driver.SwitchDriverSubHandshakeCompleted
;
import
org.onlab.onos.o
penflow
.controller.driver.SwitchDriverSubHandshakeNotStarted
;
import
org.projectfloodlight.openflow.protocol.OFAsyncGetReply
;
import
org.projectfloodlight.openflow.protocol.OFBarrierRequest
;
import
org.projectfloodlight.openflow.protocol.OFBucket
;
...
...
openflow/ctl/src/main/java/org/onlab/onos/o
f
/drivers/impl/OFSwitchImplOVS10.java
→
openflow/ctl/src/main/java/org/onlab/onos/o
penflow
/drivers/impl/OFSwitchImplOVS10.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
drivers
.
impl
;
package
org
.
onlab
.
onos
.
o
penflow
.
drivers
.
impl
;
import
java.util.Collections
;
import
java.util.List
;
import
org.onlab.onos.o
f
.controller.Dpid
;
import
org.onlab.onos.o
f
.controller.driver.AbstractOpenFlowSwitch
;
import
org.onlab.onos.o
penflow
.controller.Dpid
;
import
org.onlab.onos.o
penflow
.controller.driver.AbstractOpenFlowSwitch
;
import
org.projectfloodlight.openflow.protocol.OFDescStatsReply
;
import
org.projectfloodlight.openflow.protocol.OFMessage
;
import
org.projectfloodlight.openflow.protocol.OFPortDesc
;
...
...
openflow/ctl/src/main/java/org/onlab/onos/o
f
/drivers/impl/OFSwitchImplOVS13.java
→
openflow/ctl/src/main/java/org/onlab/onos/o
penflow
/drivers/impl/OFSwitchImplOVS13.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
drivers
.
impl
;
package
org
.
onlab
.
onos
.
o
penflow
.
drivers
.
impl
;
import
java.util.ArrayList
;
import
java.util.Collections
;
import
java.util.List
;
import
java.util.concurrent.atomic.AtomicBoolean
;
import
org.onlab.onos.o
f
.controller.Dpid
;
import
org.onlab.onos.o
f
.controller.driver.AbstractOpenFlowSwitch
;
import
org.onlab.onos.o
f
.controller.driver.SwitchDriverSubHandshakeAlreadyStarted
;
import
org.onlab.onos.o
f
.controller.driver.SwitchDriverSubHandshakeCompleted
;
import
org.onlab.onos.o
f
.controller.driver.SwitchDriverSubHandshakeNotStarted
;
import
org.onlab.onos.o
penflow
.controller.Dpid
;
import
org.onlab.onos.o
penflow
.controller.driver.AbstractOpenFlowSwitch
;
import
org.onlab.onos.o
penflow
.controller.driver.SwitchDriverSubHandshakeAlreadyStarted
;
import
org.onlab.onos.o
penflow
.controller.driver.SwitchDriverSubHandshakeCompleted
;
import
org.onlab.onos.o
penflow
.controller.driver.SwitchDriverSubHandshakeNotStarted
;
import
org.projectfloodlight.openflow.protocol.OFBarrierRequest
;
import
org.projectfloodlight.openflow.protocol.OFDescStatsReply
;
import
org.projectfloodlight.openflow.protocol.OFFactory
;
...
...
openflow/ctl/src/main/java/org/onlab/onos/o
f
/drivers/impl/package-info.java
→
openflow/ctl/src/main/java/org/onlab/onos/o
penflow
/drivers/impl/package-info.java
View file @
ce4e578
/**
* OpenFlow base switch drivers implementations.
*/
package
org
.
onlab
.
onos
.
o
f
.
drivers
.
impl
;
package
org
.
onlab
.
onos
.
o
penflow
.
drivers
.
impl
;
...
...
openflow/drivers/src/main/java/org/onlab/onos/o
f
/drivers/impl/DeleteMe.java
→
openflow/drivers/src/main/java/org/onlab/onos/o
penflow
/drivers/impl/DeleteMe.java
View file @
ce4e578
package
org
.
onlab
.
onos
.
o
f
.
drivers
.
impl
;
package
org
.
onlab
.
onos
.
o
penflow
.
drivers
.
impl
;
/**
* Created by tom on 9/2/14.
...
...
pom.xml
View file @
ce4e578
...
...
@@ -362,7 +362,7 @@
<title>
OpenFlow Providers
&
Controller
</title>
<packages>
org.onlab.onos.provider.of.*:org.onlab.onos.o
f
.*
org.onlab.onos.provider.of.*:org.onlab.onos.o
penflow
.*
</packages>
</group>
<group>
...
...
providers/o
f
/device/pom.xml
→
providers/o
penflow
/device/pom.xml
View file @
ce4e578
File moved
providers/o
f
/device/src/main/java/org/onlab/onos/provider/of/device/impl/OpenFlowDeviceProvider.java
→
providers/o
penflow
/device/src/main/java/org/onlab/onos/provider/of/device/impl/OpenFlowDeviceProvider.java
View file @
ce4e578
...
...
@@ -18,11 +18,11 @@ import org.onlab.onos.net.device.DeviceProviderService;
import
org.onlab.onos.net.device.PortDescription
;
import
org.onlab.onos.net.provider.AbstractProvider
;
import
org.onlab.onos.net.provider.ProviderId
;
import
org.onlab.onos.o
f
.controller.Dpid
;
import
org.onlab.onos.o
f
.controller.OpenFlowController
;
import
org.onlab.onos.o
f
.controller.OpenFlowSwitch
;
import
org.onlab.onos.o
f
.controller.OpenFlowSwitchListener
;
import
org.onlab.onos.o
f
.controller.RoleState
;
import
org.onlab.onos.o
penflow
.controller.Dpid
;
import
org.onlab.onos.o
penflow
.controller.OpenFlowController
;
import
org.onlab.onos.o
penflow
.controller.OpenFlowSwitch
;
import
org.onlab.onos.o
penflow
.controller.OpenFlowSwitchListener
;
import
org.onlab.onos.o
penflow
.controller.RoleState
;
import
org.projectfloodlight.openflow.protocol.OFPortConfig
;
import
org.projectfloodlight.openflow.protocol.OFPortDesc
;
import
org.projectfloodlight.openflow.protocol.OFPortState
;
...
...
@@ -33,8 +33,8 @@ import java.util.ArrayList;
import
java.util.List
;
import
static
org
.
onlab
.
onos
.
net
.
DeviceId
.
deviceId
;
import
static
org
.
onlab
.
onos
.
o
f
.
controller
.
Dpid
.
dpid
;
import
static
org
.
onlab
.
onos
.
o
f
.
controller
.
Dpid
.
uri
;
import
static
org
.
onlab
.
onos
.
o
penflow
.
controller
.
Dpid
.
dpid
;
import
static
org
.
onlab
.
onos
.
o
penflow
.
controller
.
Dpid
.
uri
;
import
static
org
.
slf4j
.
LoggerFactory
.
getLogger
;
/**
...
...
providers/o
f
/device/src/main/java/org/onlab/onos/provider/of/device/impl/package-info.java
→
providers/o
penflow
/device/src/main/java/org/onlab/onos/provider/of/device/impl/package-info.java
View file @
ce4e578
File moved
providers/o
f
/flow/.checkstyle
→
providers/o
penflow
/flow/.checkstyle
View file @
ce4e578
File moved
providers/o
f
/flow/pom.xml
→
providers/o
penflow
/flow/pom.xml
View file @
ce4e578
File moved
providers/o
f
/flow/src/main/java/org/onlab/onos/provider/of/flow/impl/OpenFlowRuleProvider.java
→
providers/o
penflow
/flow/src/main/java/org/onlab/onos/provider/of/flow/impl/OpenFlowRuleProvider.java
View file @
ce4e578
...
...
@@ -17,11 +17,11 @@ import org.onlab.onos.net.flow.FlowRuleProviderService;
import
org.onlab.onos.net.provider.AbstractProvider
;
import
org.onlab.onos.net.provider.ProviderId
;
import
org.onlab.onos.net.topology.TopologyService
;
import
org.onlab.onos.of.controller.Dpid
;
import
org.onlab.onos.of.controller.OpenFlowController
;
import
org.onlab.onos.of.controller.OpenFlowEventListener
;
import
org.onlab.onos.of.controller.OpenFlowSwitch
;
import
org.onlab.onos.of.controller.OpenFlowSwitchListener
;
import
org.onlab.onos.openflow.controller.Dpid
;
import
org.onlab.onos.openflow.controller.OpenFlowController
;
import
org.onlab.onos.openflow.controller.OpenFlowSwitch
;
import
org.onlab.onos.openflow.controller.OpenFlowSwitchListener
;
import
org.projectfloodlight.openflow.protocol.OFFlowRemoved
;
import
org.projectfloodlight.openflow.protocol.OFMessage
;
import
org.projectfloodlight.openflow.protocol.OFPortStatus
;
...
...
providers/o
f
/flow/src/main/java/org/onlab/onos/provider/of/flow/impl/package-info.java
→
providers/o
penflow
/flow/src/main/java/org/onlab/onos/provider/of/flow/impl/package-info.java
View file @
ce4e578
File moved
providers/o
f
/host/pom.xml
→
providers/o
penflow
/host/pom.xml
View file @
ce4e578
File moved
providers/o
f
/host/src/main/java/org/onlab/onos/provider/of/host/impl/OpenFlowHostProvider.java
→
providers/o
penflow
/host/src/main/java/org/onlab/onos/provider/of/host/impl/OpenFlowHostProvider.java
View file @
ce4e578
...
...
@@ -25,10 +25,10 @@ import org.onlab.onos.net.provider.AbstractProvider;
import
org.onlab.onos.net.provider.ProviderId
;
import
org.onlab.onos.net.topology.Topology
;
import
org.onlab.onos.net.topology.TopologyService
;
import
org.onlab.onos.o
f
.controller.Dpid
;
import
org.onlab.onos.o
f
.controller.OpenFlowController
;
import
org.onlab.onos.o
f
.controller.OpenFlowPacketContext
;
import
org.onlab.onos.o
f
.controller.PacketListener
;
import
org.onlab.onos.o
penflow
.controller.Dpid
;
import
org.onlab.onos.o
penflow
.controller.OpenFlowController
;
import
org.onlab.onos.o
penflow
.controller.OpenFlowPacketContext
;
import
org.onlab.onos.o
penflow
.controller.PacketListener
;
import
org.onlab.packet.ARP
;
import
org.onlab.packet.Ethernet
;
import
org.onlab.packet.IpAddress
;
...
...
providers/o
f
/host/src/main/java/org/onlab/onos/provider/of/host/impl/package-info.java
→
providers/o
penflow
/host/src/main/java/org/onlab/onos/provider/of/host/impl/package-info.java
View file @
ce4e578
File moved
providers/o
f
/host/src/test/java/org/onlab/onos/provider/of/host/impl/OpenFlowHostProviderTest.java
→
providers/o
penflow
/host/src/test/java/org/onlab/onos/provider/of/host/impl/OpenFlowHostProviderTest.java
View file @
ce4e578
...
...
@@ -19,10 +19,10 @@ import org.onlab.onos.net.provider.AbstractProviderService;
import
org.onlab.onos.net.provider.ProviderId
;
import
org.onlab.onos.net.topology.Topology
;
import
org.onlab.onos.net.topology.TopologyServiceAdapter
;
import
org.onlab.onos.o
f
.controller.Dpid
;
import
org.onlab.onos.o
f
.controller.OpenFlowPacketContext
;
import
org.onlab.onos.o
f
.controller.OpenflowControllerAdapter
;
import
org.onlab.onos.o
f
.controller.PacketListener
;
import
org.onlab.onos.o
penflow
.controller.Dpid
;
import
org.onlab.onos.o
penflow
.controller.OpenFlowPacketContext
;
import
org.onlab.onos.o
penflow
.controller.OpenflowControllerAdapter
;
import
org.onlab.onos.o
penflow
.controller.PacketListener
;
import
org.onlab.packet.ARP
;
import
org.onlab.packet.Ethernet
;
import
org.onlab.packet.MacAddress
;
...
...
providers/o
f
/link/pom.xml
→
providers/o
penflow
/link/pom.xml
View file @
ce4e578
File moved
providers/o
f
/link/src/main/java/org/onlab/onos/provider/of/link/impl/LinkDiscovery.java
→
providers/o
penflow
/link/src/main/java/org/onlab/onos/provider/of/link/impl/LinkDiscovery.java
View file @
ce4e578
...
...
@@ -15,7 +15,7 @@
******************************************************************************/
package
org
.
onlab
.
onos
.
provider
.
of
.
link
.
impl
;
import
static
org
.
onlab
.
onos
.
o
f
.
controller
.
Dpid
.
uri
;
import
static
org
.
onlab
.
onos
.
o
penflow
.
controller
.
Dpid
.
uri
;
import
static
org
.
slf4j
.
LoggerFactory
.
getLogger
;
import
java.util.Collections
;
...
...
@@ -37,9 +37,9 @@ import org.onlab.onos.net.PortNumber;
import
org.onlab.onos.net.link.DefaultLinkDescription
;
import
org.onlab.onos.net.link.LinkDescription
;
import
org.onlab.onos.net.link.LinkProviderService
;
import
org.onlab.onos.o
f
.controller.Dpid
;
import
org.onlab.onos.o
f
.controller.OpenFlowController
;
import
org.onlab.onos.o
f
.controller.OpenFlowSwitch
;
import
org.onlab.onos.o
penflow
.controller.Dpid
;
import
org.onlab.onos.o
penflow
.controller.OpenFlowController
;
import
org.onlab.onos.o
penflow
.controller.OpenFlowSwitch
;
import
org.onlab.packet.Ethernet
;
import
org.onlab.packet.ONLabLddp
;
import
org.onlab.packet.ONLabLddp.DPIDandPort
;
...
...
providers/o
f
/link/src/main/java/org/onlab/onos/provider/of/link/impl/OpenFlowLinkProvider.java
→
providers/o
penflow
/link/src/main/java/org/onlab/onos/provider/of/link/impl/OpenFlowLinkProvider.java
View file @
ce4e578
...
...
@@ -16,12 +16,12 @@ import org.onlab.onos.net.link.LinkProviderRegistry;
import
org.onlab.onos.net.link.LinkProviderService
;
import
org.onlab.onos.net.provider.AbstractProvider
;
import
org.onlab.onos.net.provider.ProviderId
;
import
org.onlab.onos.o
f
.controller.Dpid
;
import
org.onlab.onos.o
f
.controller.OpenFlowController
;
import
org.onlab.onos.o
f
.controller.OpenFlowPacketContext
;
import
org.onlab.onos.o
f
.controller.OpenFlowSwitch
;
import
org.onlab.onos.o
f
.controller.OpenFlowSwitchListener
;
import
org.onlab.onos.o
f
.controller.PacketListener
;
import
org.onlab.onos.o
penflow
.controller.Dpid
;
import
org.onlab.onos.o
penflow
.controller.OpenFlowController
;
import
org.onlab.onos.o
penflow
.controller.OpenFlowPacketContext
;
import
org.onlab.onos.o
penflow
.controller.OpenFlowSwitch
;
import
org.onlab.onos.o
penflow
.controller.OpenFlowSwitchListener
;
import
org.onlab.onos.o
penflow
.controller.PacketListener
;
import
org.projectfloodlight.openflow.protocol.OFPortConfig
;
import
org.projectfloodlight.openflow.protocol.OFPortDesc
;
import
org.projectfloodlight.openflow.protocol.OFPortState
;
...
...
providers/o
f
/link/src/main/java/org/onlab/onos/provider/of/link/impl/package-info.java
→
providers/o
penflow
/link/src/main/java/org/onlab/onos/provider/of/link/impl/package-info.java
View file @
ce4e578
File moved
providers/o
f
/packet/pom.xml
→
providers/o
penflow
/packet/pom.xml
View file @
ce4e578
File moved
providers/o
f
/packet/src/main/java/org/onlab/onos/provider/of/packet/impl/OpenFlowCorePacketContext.java
→
providers/o
penflow
/packet/src/main/java/org/onlab/onos/provider/of/packet/impl/OpenFlowCorePacketContext.java
View file @
ce4e578
...
...
@@ -11,7 +11,7 @@ import org.onlab.onos.net.flow.instructions.Instructions.OutputInstruction;
import
org.onlab.onos.net.packet.DefaultPacketContext
;
import
org.onlab.onos.net.packet.InboundPacket
;
import
org.onlab.onos.net.packet.OutboundPacket
;
import
org.onlab.onos.o
f
.controller.OpenFlowPacketContext
;
import
org.onlab.onos.o
penflow
.controller.OpenFlowPacketContext
;
import
org.onlab.packet.Ethernet
;
import
org.projectfloodlight.openflow.types.OFPort
;
import
org.slf4j.Logger
;
...
...
providers/o
f
/packet/src/main/java/org/onlab/onos/provider/of/packet/impl/OpenFlowPacketProvider.java
→
providers/o
penflow
/packet/src/main/java/org/onlab/onos/provider/of/packet/impl/OpenFlowPacketProvider.java
View file @
ce4e578
...
...
@@ -19,10 +19,10 @@ import org.onlab.onos.net.packet.PacketProviderRegistry;
import
org.onlab.onos.net.packet.PacketProviderService
;
import
org.onlab.onos.net.provider.AbstractProvider
;
import
org.onlab.onos.net.provider.ProviderId
;
import
org.onlab.onos.o
f
.controller.Dpid
;
import
org.onlab.onos.o
f
.controller.OpenFlowController
;
import
org.onlab.onos.o
f
.controller.OpenFlowPacketContext
;
import
org.onlab.onos.o
f
.controller.PacketListener
;
import
org.onlab.onos.o
penflow
.controller.Dpid
;
import
org.onlab.onos.o
penflow
.controller.OpenFlowController
;
import
org.onlab.onos.o
penflow
.controller.OpenFlowPacketContext
;
import
org.onlab.onos.o
penflow
.controller.PacketListener
;
import
org.slf4j.Logger
;
/**
...
...
providers/o
f
/packet/src/main/java/org/onlab/onos/provider/of/packet/impl/package-info.java
→
providers/o
penflow
/packet/src/main/java/org/onlab/onos/provider/of/packet/impl/package-info.java
View file @
ce4e578
File moved
providers/o
f
/pom.xml
→
providers/o
penflow
/pom.xml
View file @
ce4e578
File moved
providers/pom.xml
View file @
ce4e578
...
...
@@ -17,7 +17,7 @@
<description>
ONOS information providers
&
control/management protocol adapter
</description>
<modules>
<module>
o
f
</module>
<module>
o
penflow
</module>
</modules>
<dependencies>
...
...
Please
register
or
login
to post a comment