RoleReq - RoleRes

RoleReq/RoleRes is the set of messages used by the controller to modify its role among multiple controllers on a switch.
Initiator
Controller
Acknowledged
Yes

Not Defined
This message is not defined in this version of the protocol.

Not Defined
This message is not defined in this version of the protocol.

Structure

For RoleReq message, the role field describes the role to be requested. For RoleRes message, the role field describes the current role of the controller. Field generation_id is used to validate RoleReq message. 

Message Structure

Name Bits Byte Ordering Constraints
role 32 MSBF See below
generation_id 64 MSBF none

Message Constraints

Field Name Value
role No change 0x00000000
Equal 0x00000001
Master 0x00000002
Slave 0x00000003

References

OpenFlow Switch Specification 1.2, pages 19-21, 59.

Structure

For RoleReq message, the role field describes the role to be requested. For RoleRes message, the role field describes the current role of the controller. Field generation_id is used to validate RoleReq message. 

Message Structure

Name Bits Byte Ordering Constraints
role 32 MSBF See below
generation_id 64 MSBF none

Message Constraints

Field Name Value
role No change 0x00000000
Equal 0x00000001
Master 0x00000002
Slave 0x00000003

References

OpenFlow Switch Specification 1.3.0, pages 26-27, 74-75.

Structure

For RoleReq message, the role field describes the role to be requested. For RoleRes message, the role field describes the current role of the controller. Field generation_id is used to validate RoleReq message. 

Message Structure

Name Bits Byte Ordering Constraints
role 32 MSBF See below
generation_id 64 MSBF none

Message Constraints

Field Name Value
role No change 0x00000000
Equal 0x00000001
Master 0x00000002
Slave 0x00000003

References

OpenFlow Switch Specification 1.3.1, pages 30-32, 90.

Coming soon
This content is under development.

Coming soon
This content is under development.

Coming soon
This content is under development.