Implement OFPT_TABLE_STATUS Message.
authorSaloni Jain <saloni.jain@tcs.com>
Thu, 18 Feb 2016 10:24:26 +0000 (15:54 +0530)
committerBen Pfaff <blp@ovn.org>
Wed, 24 Feb 2016 18:55:07 +0000 (10:55 -0800)
commit6c6eedc5d6730835a0d9724e2e8cfe9cdf03b07d
treee1288da88c1656caa1f4426b98645ba98c7a364c
parent1478295a219f24c2296eb887954afac537c3665f
Implement OFPT_TABLE_STATUS Message.

On change in a table state, the controller needs to be informed with
the OFPT_TABLE_STATUS message. The message is sent with reason
OFPTR_VACANCY_DOWN or OFPTR_VACANCY_UP in case of change in remaining
space eventually crossing any one of the threshold.

Signed-off-by: Saloni Jain <saloni.jain@tcs.com>
Co-authored-by: Rishi Bamba <rishi.bamba@tcs.com>
Signed-off-by: Rishi Bamba <rishi.bamba@tcs.com>
[blp@ovn.org added vacancy event initialization and tests
 and updated NEWS]
Signed-off-by: Ben Pfaff <blp@ovn.org>
12 files changed:
NEWS
include/openflow/openflow-1.4.h
lib/ofp-msgs.h
lib/ofp-print.c
lib/ofp-util.c
lib/ofp-util.h
lib/rconn.c
ofproto/connmgr.c
ofproto/connmgr.h
ofproto/ofproto-provider.h
ofproto/ofproto.c
tests/ofproto.at