File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,10 @@ def _handle_PacketIn(event):
1616 else :
1717 raise Exception ("?" )
1818 #msg = of.ofp_packet_out(data=event.data, in_port=of.OFPP_CONTROLLER)
19- # Note: w/ovs-openflowd, using OFPP_NONE or OFPP_CONTROLLER does not seem to
20- # work, and results in an invalid argument error.
21- msg = of .ofp_packet_out (in_port = of .OFPP_CONTROLLER )
19+ # Note: w/older ovs-openflowd, using OFPP_NONE or OFPP_CONTROLLER does
20+ # not seem to work, and results in an invalid argument error.
21+ # OFPP_NONE seems to work properly on more recent OVS versions like 1.4
22+ msg = of .ofp_packet_out (in_port = of .OFPP_NONE )
2223 msg .actions .append (of .ofp_action_output (port = out_port , max_len = 0x2000 ))
2324 msg .buffer_id = event .ofp .buffer_id
2425 if not c :
You can’t perform that action at this time.
0 commit comments