The connection between floodlightV1.2 and dell S3048 is always disconnected by shaking hands.
We studied SDN and used Floodlight V1.2 and DELL S3048 to connect. We always disconnected the handshake. Later, we grabbed the packet and found that the table_feature_reply message was empty, and the message would not be sent after using other controllers to find that the handshake was successful. So we changed the handshake process of floodlight:
Find the sendHandshakeTableFeaturesRequest function in the net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler file, comment the original code, and add setState (new WaitInitialRoleState ()); this line is fine
The changed code is:
Private void sendHandshakeTableFeaturesRequest () {
/ / OFTableFeaturesStatsRequest tfsr = factory.buildTableFeaturesStatsRequest ()
/ / * leave entries blank-- > just ask, don't set * /
/ / .setXid (handshakeTransactionIds--)
/ / .build ()
/ / mainConnection.write (tfsr)
SetState (new WaitInitialRoleState ())
}
If you have the same problem, you can try it.
University of Electronic Science and Technology
Hu Liwei