Showing
1 changed file
with
0 additions
and
13 deletions
... | @@ -5,7 +5,6 @@ import org.onlab.onos.openflow.controller.driver.SwitchDriverSubHandshakeComplet | ... | @@ -5,7 +5,6 @@ import org.onlab.onos.openflow.controller.driver.SwitchDriverSubHandshakeComplet |
5 | import org.onlab.onos.openflow.controller.driver.SwitchDriverSubHandshakeNotStarted; | 5 | import org.onlab.onos.openflow.controller.driver.SwitchDriverSubHandshakeNotStarted; |
6 | import org.onlab.onos.openflow.controller.Dpid; | 6 | import org.onlab.onos.openflow.controller.Dpid; |
7 | import org.onlab.onos.openflow.controller.driver.AbstractOpenFlowSwitch; | 7 | import org.onlab.onos.openflow.controller.driver.AbstractOpenFlowSwitch; |
8 | -import org.projectfloodlight.openflow.protocol.OFBarrierRequest; | ||
9 | import org.projectfloodlight.openflow.protocol.OFCircuitPortStatus; | 8 | import org.projectfloodlight.openflow.protocol.OFCircuitPortStatus; |
10 | import org.projectfloodlight.openflow.protocol.OFCircuitPortsReply; | 9 | import org.projectfloodlight.openflow.protocol.OFCircuitPortsReply; |
11 | import org.projectfloodlight.openflow.protocol.OFCircuitPortsRequest; | 10 | import org.projectfloodlight.openflow.protocol.OFCircuitPortsRequest; |
... | @@ -182,18 +181,6 @@ public class OFOpticalSwitchImplLINC13 extends AbstractOpenFlowSwitch { | ... | @@ -182,18 +181,6 @@ public class OFOpticalSwitchImplLINC13 extends AbstractOpenFlowSwitch { |
182 | return Collections.unmodifiableList(portEntries); | 181 | return Collections.unmodifiableList(portEntries); |
183 | } | 182 | } |
184 | 183 | ||
185 | - private void sendBarrier(boolean finalBarrier) throws IOException { | ||
186 | - int xid = getNextTransactionId(); | ||
187 | - if (finalBarrier) { | ||
188 | - barrierXidToWaitFor = xid; | ||
189 | - } | ||
190 | - OFBarrierRequest br = factory() | ||
191 | - .buildBarrierRequest() | ||
192 | - .setXid(xid) | ||
193 | - .build(); | ||
194 | - sendMsg(br); | ||
195 | - } | ||
196 | - | ||
197 | @Override | 184 | @Override |
198 | public void write(OFMessage msg) { | 185 | public void write(OFMessage msg) { |
199 | this.channel.write(Collections.singletonList(msg)); | 186 | this.channel.write(Collections.singletonList(msg)); | ... | ... |
-
Please register or login to post a comment