POX openflow NEC flow test
Lesson learned:
1. In order for the NEC switch to start see a new controller you must disable openflow on the specified vlan then reenable it after configuring the new openflow controller
Example…
VLAN 213
openflow-id 0 #disables openflow
no openflow controller 1
openflow controller 1 address 10.138.32.3 DATA
openflow-id 1 #enables openflow again on the vlan
2. to see what ports are openflow enabled run the “show openflow 1” command
PortList Status State Config Current Advertised Supported Peer
57 e 0x200 0x2 0x140 0x0 0x0 0x0
58 e 0x200 0x2 0x140 0x0 0x0 0x0
59 e 0x200 0x2 0x140 0x0 0x0 0x0
60 e 0x200 0x2 0x140 0x0 0x0 0x0
Then you can manually add one port.
NEC Tests
Test1 – Layer 2 flows – Add 10 flows per second, max of 1000 flows, statically adding to port 57
Results – The rate didn’t appear to be an issue, but there is a max of 750 flows L2
ERROR:openflow.of_01:[74-99-75-81-b3-00|213 1] OpenFlow Error:
[74-99-75-81-b3-00|213 1] Error: header:
[74-99-75-81-b3-00|213 1] Error: version: 1
[74-99-75-81-b3-00|213 1] Error: type: 1 (OFPT_ERROR)
[74-99-75-81-b3-00|213 1] Error: length: 76
[74-99-75-81-b3-00|213 1] Error: xid: 1005
[74-99-75-81-b3-00|213 1] Error: type: OFPET_FLOW_MOD_FAILED (3)
[74-99-75-81-b3-00|213 1] Error: code: OFPFMFC_ALL_TABLES_FULL (0)
[74-99-75-81-b3-00|213 1] Error: datalen: 64
[74-99-75-81-b3-00|213 1] Error: 0000: 01 0e 00 50 00 00 03 ed 00 3f ff f7 ff ff 00 00 …P…..?……
[74-99-75-81-b3-00|213 1] Error: 0010: 00 00 00 00 01 23 45 36 a0 de 00 00 00 00 00 00 …..#E6……..
[74-99-75-81-b3-00|213 1] Error: 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …………….
[74-99-75-81-b3-00|213 1] Error: 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 …………….
Test2 – Layer 2 flows – Add 10 flows per second, max of 1000 flows, statically adding from range for ports 57 to 60
Results – same as test1 – The rate didn’t appear to be an issue, but there is a max of 750 flows L2
ERROR:openflow.of_01:[74-99-75-81-b3-00|213 1] OpenFlow Error:
[74-99-75-81-b3-00|213 1] Error: header:
[74-99-75-81-b3-00|213 1] Error: version: 1
[74-99-75-81-b3-00|213 1] Error: type: 1 (OFPT_ERROR)
[74-99-75-81-b3-00|213 1] Error: length: 76
[74-99-75-81-b3-00|213 1] Error: xid: 974
[74-99-75-81-b3-00|213 1] Error: type: OFPET_FLOW_MOD_FAILED (3)
[74-99-75-81-b3-00|213 1] Error: code: OFPFMFC_ALL_TABLES_FULL (0)
[74-99-75-81-b3-00|213 1] Error: datalen: 64
[74-99-75-81-b3-00|213 1] Error: 0000: 01 0e 00 50 00 00 03 ce 00 3f ff f7 ff ff 00 00 …P…..?……
[74-99-75-81-b3-00|213 1] Error: 0010: 00 00 00 00 01 23 45 50 21 c7 00 00 00 00 00 00 …..#EP!…….
[74-99-75-81-b3-00|213 1] Error: 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …………….
[74-99-75-81-b3-00|213 1] Error: 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 …………….
Test3 – Layer 2 flows – Add 50 flows per second, max of 749 flows, statically adding from range for ports 57 to 60
Results – The rate didn’t appear to be an issue, this time there were no errors
Apparently the NEC does state that it only supports 750 12 tuple flows, but supports over 80K layer2 flows.