There is a problem connecting between a controller and a switch which uses OF-DPA.


김동은 <boramatlulu@...>
 

Hello, I'm Jake Kim and I am beginner in SDN.
Since I wanted to use OF-DPA in ODL, I asked how to connect the switch in controller last month.
After I installed the 'odl-openflowplugin-flow-services-restin controller, I could make connection with switches.
However, the connection was terminated immediately.
The OpenFlow I used is 1.3 version, and the ODL I used is Oxygen-SR1 (karaf-0.8.1).  
The log in the switch is as follows.

01-02 03:15:36.298519 [ofconnectionmanager] cxn 163.152.20.50:6653: DISCONNECTED->CONNECTING

01-02 03:15:36.299089 [ofconnectionmanager] cxn 163.152.20.50:6653: CONNECTING->HANDSHAKE_COMPLETE

01-02 03:15:36.303713 [ofstatemanager] Unhandled message of_meter_features_stats_request from cxn 0.

01-02 03:15:36.303801 [ofstatemanager] Unhandled message of_group_features_stats_request from cxn 0.

01-02 03:15:36.322237 [ofconnectionmanager] Upgrading cxn 163.152.20.50:6653 to master

01-02 03:15:36.435181 [ofconnectionmanager] cxn 163.152.20.50:6653: Connection closed by remote host

01-02 03:15:36.435243 [ofconnectionmanager] cxn 163.152.20.50:6653: HANDSHAKE_COMPLETE->CLOSING

01-02 03:15:36.435316 [ofconnectionmanager] cxn 163.152.20.50:6653: CLOSING->DISCONNECTED


You can see that there are some wrong with meter and group request packets.

The switches continue to repeat the above steps.

So, I turned on the wireshark in the controller.

This is a part of OFPT_FEATURES_REPLY packet which the switch send to the controller after they give and take the HELLO packets. 


    .... .... .... .... .... .... .... ...1 = OFPC_FLOW_STATS: True

    .... .... .... .... .... .... .... ..1. = OFPC_TABLE_STATS: True

    .... .... .... .... .... .... .... .1.. = OFPC_PORT_STATS: True

    .... .... .... .... .... .... .... 0... = OFPC_GROUP_STATS: False

    .... .... .... .... .... .... ..0. .... = OFPC_IP_REASM: False

    .... .... .... .... .... .... .1.. .... = OFPC_QUEUE_STATS: True

    .... .... .... .... .... ...0 .... .... = OFPC_PORT_BLOCKED: False


There is no information about meter feature, but the switch has stated that it cannot handle the Group stats request!

Nevertheless, the controller kept asking the switch to Group feature stats.

How can I fix this problem?

Could I turn off some option to prevent the controller from checking the Group and Meter features in advance?