Hello.
I have some question on reassembling of IP fragments on openflow switches on default installation (VAN SDN 2.3) without additional apps.
There are output for OFPT_FEATURES_REQUEST/OFPT_FEATURES_REPLY:
provision 3800 (KA.15.15.0006):
OpenFlow 1.3
Version: 1.3 (0x04)
Type: OFPT_FEATURES_REPLY (6)
Length: 32
Transaction ID: 333
datapath_id: 0x000a10604b38eca5
n_buffers: 0
n_tables: 3
auxiliary_id: 0
Pad: 0
capabilities: 0x0000010f
.... .... .... .... .... .... .... ...1 = OFPC_FLOW_STATS: True
.... .... .... .... .... .... .... ..1. = OFPC_TABLE_STATS: True
.... .... .... .... .... .... .... .1.. = OFPC_PORT_STATS: True
.... .... .... .... .... .... .... 1... = OFPC_GROUP_STATS: True
.... .... .... .... .... .... ..0. .... = OFPC_IP_REASM: False
.... .... .... .... .... .... .0.. .... = OFPC_QUEUE_STATS: False
.... .... .... .... .... ...1 .... .... = OFPC_PORT_BLOCKED: True
Reserved: 0x00000000
comware 5500EI (5.20.99 R2221P02):
OpenFlow 1.3
Version: 1.3 (0x04)
Type: OFPT_FEATURES_REPLY (6)
Length: 32
Transaction ID: 172
datapath_id: 0x000ab8af6738252b
n_buffers: 1024
n_tables: 1
auxiliary_id: 0
Pad: 0
capabilities: 0x0000014f
.... .... .... .... .... .... .... ...1 = OFPC_FLOW_STATS: True
.... .... .... .... .... .... .... ..1. = OFPC_TABLE_STATS: True
.... .... .... .... .... .... .... .1.. = OFPC_PORT_STATS: True
.... .... .... .... .... .... .... 1... = OFPC_GROUP_STATS: True
.... .... .... .... .... .... ..0. .... = OFPC_IP_REASM: False
.... .... .... .... .... .... .1.. .... = OFPC_QUEUE_STATS: True
.... .... .... .... .... ...1 .... .... = OFPC_PORT_BLOCKED: True
Reserved: 0x00000000
Both my tested switches reports "OFPC_IP_REASM = false", but in default installation (VAN SDN 2.3) immediately follows OFPT_SET_CONFIG request with Flags: 0x0002 (IP Fragments: OFPC_FRAG_REASM (2)).
Comware 5500EI returns correctly error (OFPT_ERROR, Type: OFPET_SWITCH_CONFIG_FAILED (10), Code: OFPSCFC_BAD_FLAGS (0)) but Provision 3800 silently accept request.
Questions:
1) Do 5500EI and/or 3800 support OFPC_IP_REASM (eg. is OFPT_FEATURES_REPLY correctly answered) ?
2) Why the controller sending OFPT_SET_CONFIG with OFPC_FRAG_REASM ?
I think, that this is not compliant with "OpenFlow Switch Specification
Version 1.3.1 (Wire Protocol 0x04)" see "B.6.7 Explicit Handling of IP Fragments" page 107.
3) Why 3800 does not respond with error (if OFPC_IP_REASM is not supported) ?
4) I stopped sending wrong "OFPT_SET_CONFIG" with controller configuration "com.hp.sdn.ctl.of.impl.ControllerManager" "suppress.setconfig=true". Is there any side effects ?
Thanks for answers, Martin Cerveny