ofproto: Add support for sending OFPTYPE_ROLE_STATUS messages.
authorAlexandru Copot <alex.mihai.c@gmail.com>
Tue, 22 Oct 2013 08:40:03 +0000 (11:40 +0300)
committerBen Pfaff <blp@nicira.com>
Tue, 29 Oct 2013 21:02:29 +0000 (14:02 -0700)
commit00467f7367deade04c4405e1eb2841581700d519
tree9edf1d1d317a7ba72bbced2e809bcaf48f991440
parent252f3411f660fdf8749fe15fa28ab6f0b7f2f5a8
ofproto: Add support for sending OFPTYPE_ROLE_STATUS messages.

When a controller changes its role to MASTER, the others are marked
as SLAVE. This patch makes it possible to notify the controllers
of this change.

Signed-off-by: Alexandru Copot <alex.mihai.c@gmail.com>
Cc: Daniel Baluta <dbaluta@ixiacom.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
include/openflow/openflow-1.4.h
lib/ofp-print.c
lib/ofp-util.c
lib/ofp-util.h
ofproto/connmgr.c
ofproto/connmgr.h
tests/ofp-print.at