Controller role change

The following messages are related to controller role change:


Message from controller to the switch to change or query its role.


Message sent in response to the OFPT_ROLE_REQUEST, returning the current role of the controller.


A controller, through this message can configure what asynchronous message notifications it wants to receive.


Controller uses this message to retrieve the asynchronous configuration set using the OFPT_SET_ASYNC message.


Whenever a connection is established between the switch and the controller, each controller starts in the role, OFPCR_ROLE_EQUAL. The controller can query and change its role if necessary.