-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: 1.2.0, 1.2.1
-
Component/s: None
-
Labels:None
OpenFlow packets that are being sent from ONOS to the switch are sometimes dropped in the lowest levels of ONOS.
The problem is that we check Netty's Channel.isWriteable() before writing messages to the channel. This only checks whether the message will be sent immediately, not whether it can be sent at all.
We will change this check to Channel.isConnected() which checks only that there is a TCP connection.
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
4605,2 | Use isConnected rather than isWriteable to detemine if we can send to switch | master | onos | Status: MERGED | +2 | +1 |