141
157
resets idle timer yes + +
142
158
resets hard timer yes yes yes
143
159
zeros counters yes + +
144
sends flow_removed message --- --- --- % %
146
(+) "modify" and "modify-strict" only take these actions when they
147
create a new flow, not when they update an existing flow.
149
(%) "delete" and "delete_strict" generates a flow_removed message if
150
the deleted flow or flows have the OFPFF_SEND_FLOW_REM flag set.
151
(Each controller can separately control whether it wants to
152
receive the generated messages.)
160
may add a new flow yes yes yes
161
sends flow_removed message --- --- --- % %
163
(+) "modify" and "modify-strict" only take these actions when they
164
create a new flow, not when they update an existing flow.
166
(%) "delete" and "delete_strict" generates a flow_removed message if
167
the deleted flow or flows have the OFPFF_SEND_FLOW_REM flag set.
168
(Each controller can separately control whether it wants to
169
receive the generated messages.)
174
OpenFlow 1.1 makes these changes:
176
- The controller now must specify the table_id of the flow match
177
searched and into which a flow may be inserted. Behavior for a
178
table_id of 255 is undefined.
180
- A flow_mod, except an "add", can now match on the flow_cookie.
182
- When a flow_mod matches on the flow_cookie, "modify" and
183
"modify-strict" never insert a new flow.
186
ADD MODIFY STRICT DELETE STRICT
187
=== ====== ====== ====== ======
188
match on priority yes --- yes --- yes
189
match on out_port --- --- --- yes yes
190
match on flow_cookie --- yes yes yes yes
191
match on table_id yes yes yes yes yes
192
controller chooses table_id yes yes yes
193
updates flow_cookie yes --- ---
194
updates OFPFF_SEND_FLOW_REM yes + +
195
honors OFPFF_CHECK_OVERLAP yes + +
196
updates idle_timeout yes + +
197
updates hard_timeout yes + +
198
resets idle timer yes + +
199
resets hard timer yes yes yes
200
zeros counters yes + +
201
may add a new flow yes # #
202
sends flow_removed message --- --- --- % %
204
(+) "modify" and "modify-strict" only take these actions when they
205
create a new flow, not when they update an existing flow.
207
(%) "delete" and "delete_strict" generates a flow_removed message if
208
the deleted flow or flows have the OFPFF_SEND_FLOW_REM flag set.
209
(Each controller can separately control whether it wants to
210
receive the generated messages.)
212
(#) "modify" and "modify-strict" only add a new flow if the flow_mod
213
does not match on any bits of the flow cookie
218
OpenFlow 1.2 makes these changes:
220
- Only "add" commands ever add flows, "modify" and "modify-strict"
223
- A new flag OFPFF_RESET_COUNTS now controls whether "modify" and
224
"modify-strict" reset counters, whereas previously they never
225
reset counters (except when they inserted a new flow).
228
ADD MODIFY STRICT DELETE STRICT
229
=== ====== ====== ====== ======
230
match on priority yes --- yes --- yes
231
match on out_port --- --- --- yes yes
232
match on flow_cookie --- yes yes yes yes
233
match on table_id yes yes yes yes yes
234
controller chooses table_id yes yes yes
235
updates flow_cookie yes --- ---
236
updates OFPFF_SEND_FLOW_REM yes --- ---
237
honors OFPFF_CHECK_OVERLAP yes --- ---
238
updates idle_timeout yes --- ---
239
updates hard_timeout yes --- ---
240
resets idle timer yes --- ---
241
resets hard timer yes yes yes
242
zeros counters yes & &
243
may add a new flow yes --- ---
244
sends flow_removed message --- --- --- % %
246
(%) "delete" and "delete_strict" generates a flow_removed message if
247
the deleted flow or flows have the OFPFF_SEND_FLOW_REM flag set.
248
(Each controller can separately control whether it wants to
249
receive the generated messages.)
251
(&) "modify" and "modify-strict" reset counters if the
252
OFPFF_RESET_COUNTS flag is specified.
257
OpenFlow 1.3 makes these changes:
259
- Behavior for a table_id of 255 is now defined, for "delete" and
260
"delete-strict" commands, as meaning to delete from all tables.
261
A table_id of 255 is now explicitly invalid for other commands.
263
- New flags OFPFF_NO_PKT_COUNTS and OFPFF_NO_BYT_COUNTS for "add"
266
The table for 1.3 is the same as the one shown above for 1.2.