HP OpenFlow 1.3 Administrator Guide Wired Switches K/KA/KB/WB 15.15
Controller roles
Controller Roles is a mechanism which helps controllers synchronize handoff’s in a scenario where
multiple controllers are connected to the switch. A Controller is assigned one of the following roles:
• Equal
• Master
• Slave
Equal
This is the default role for a controller. The controller has full access to the switch and is equal
to other controllers in the same role receiving all of the switch asynchronous messages (such
as packet-in, flow-removed.) Controller-to-switch commands are sent and modified within this
role.
Slave
A Slave controller only has the right to access to the switch in read-only mode. The controller
cannot receive switch asynchronous messages except for Port-status. The controller is denied
execution of the controller-to-switch commands: OFPT_PACKET_OUT, OFPT_FLOW_MOD,
OFPT_GROUP_MOD, OFPT_PORT_MOD and OFPT_TABLE_MOD.
Master
The controller has full access to the switch. Only one controller can be the Master. When a
controller role is changed to Master, the switch will automatically change all other controllers
to Slave.
Syntax
To learn about controller roles on the switch CLI:
show openflow instance [instance-name]
Example
HP-3500yl-48G-PoEP(of-inst-t1)# show openflow instance t1
Configured OF Version : 1.3
Negotiated OF Version : 1.3
Instance Name : t1
Admin. Status : Enabled
Member List : VLAN 3
Listen Port : None
Oper. Status : Up
Oper. Status Reason : NA
Datapath ID : 0003b499ba86bf80
Mode : Active
Flow Location : Hardware and Software
No. of Hw Flows : 0
No. of Sw Flows : 0
Hw. Rate Limit : 0 kbps
Sw. Rate Limit : 100 pps
Conn. Interrupt Mode : Fail-Secure
Maximum Backoff Interval : 60 seconds
Probe Interval : 10 seconds
Hw. Table Miss Count : NA
No. of Sw Flow Tables : 1
Egress Only Ports : None
Table Model : Policy Engine and Software
Controller Id Connection Status Connection State Secure Role
------------- ----------------- ---------------- ------ ------
1 Connected Active No
Slave
Controller roles 25










