Add support for OpenFlow 1.4+ "importance" values.
authorRishi Bamba <rishi.bamba@tcs.com>
Fri, 7 Nov 2014 12:48:48 +0000 (18:18 +0530)
committerBen Pfaff <blp@nicira.com>
Mon, 10 Nov 2014 17:27:34 +0000 (09:27 -0800)
commitca26eb4437120e3b95b3727ccc6037dfa4e4065d
tree10abf7abaf1cacd18b29230be10cc5fdedf7d372
parent849d5648f6715e63a764e4cabbd7d241e8c6946a
Add support for OpenFlow 1.4+ "importance" values.

This patch enables a user to set importance for a new rule via add-flow
OF1.4+ in the OVS and display the same via dump-flows command OF1.4+.
The changes are made in accordance with OpenFlow 1.4 specs to implement
eviction on the basis of "importance".  This patch also enhances the
diff-flows & replace-flows CLI for addition of importance parameter in
a rule.

This doesn't actually implement eviction on the basis of importance, which
will happen in a later patch.

Signed-off-by: Rishi Bamba <rishi.bamba@tcs.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
16 files changed:
AUTHORS
DESIGN.md
NEWS
include/openflow/openflow-1.1.h
lib/learn.c
lib/learning-switch.c
lib/ofp-parse.c
lib/ofp-print.c
lib/ofp-util.c
lib/ofp-util.h
ofproto/ofproto-dpif.c
ofproto/ofproto-provider.h
ofproto/ofproto.c
tests/ovs-ofctl.at
utilities/ovs-ofctl.8.in
utilities/ovs-ofctl.c