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
Praseed Balakrishnan
2014-10-24 08:36:14 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ebfa45a78dc58066164aa560e7e1691769f782f1
ebfa45a7
1 parent
0a58f5ae
LINC-OE switch code cleanup
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
openflow/ctl/src/main/java/org/onlab/onos/openflow/drivers/impl/OFOpticalSwitchImplLINC13.java
openflow/ctl/src/main/java/org/onlab/onos/openflow/drivers/impl/OFOpticalSwitchImplLINC13.java
View file @
ebfa45a
...
...
@@ -5,7 +5,6 @@ import org.onlab.onos.openflow.controller.driver.SwitchDriverSubHandshakeComplet
import
org.onlab.onos.openflow.controller.driver.SwitchDriverSubHandshakeNotStarted
;
import
org.onlab.onos.openflow.controller.Dpid
;
import
org.onlab.onos.openflow.controller.driver.AbstractOpenFlowSwitch
;
import
org.projectfloodlight.openflow.protocol.OFBarrierRequest
;
import
org.projectfloodlight.openflow.protocol.OFCircuitPortStatus
;
import
org.projectfloodlight.openflow.protocol.OFCircuitPortsReply
;
import
org.projectfloodlight.openflow.protocol.OFCircuitPortsRequest
;
...
...
@@ -182,18 +181,6 @@ public class OFOpticalSwitchImplLINC13 extends AbstractOpenFlowSwitch {
return
Collections
.
unmodifiableList
(
portEntries
);
}
private
void
sendBarrier
(
boolean
finalBarrier
)
throws
IOException
{
int
xid
=
getNextTransactionId
();
if
(
finalBarrier
)
{
barrierXidToWaitFor
=
xid
;
}
OFBarrierRequest
br
=
factory
()
.
buildBarrierRequest
()
.
setXid
(
xid
)
.
build
();
sendMsg
(
br
);
}
@Override
public
void
write
(
OFMessage
msg
)
{
this
.
channel
.
write
(
Collections
.
singletonList
(
msg
));
...
...
Please
register
or
login
to post a comment