HP OpenFlow 1.3 Administrator Guide Wired Switches K/KA/KB/WB 15.15

2 Connected Active No
Master
Controller role change
When a controller’s role is changed, the following messages occur:
OFPT_ROLE_REQUEST
Message from controller to change or query its role.
OFPT_ROLE_REPLY
Message sent in response to the OFPT_ROLE_REQUEST, it returns the current Roleof the
controller.
OFPT_SET_ASYNC
A controller, through this message can configure what asynchronous message it wants to
receive.
OFPT_GET_ASYNC
Controller uses this message to retrieve the asynchronous configuration set using the
OFPT_SET_ASYNC message.
NOTE: On failover/connection interruption, once connection is reestablished, each controller
connection is set as OFPCR_ROLE_EQUAL, which controller can query and change if required
Port modification
Port modification is used to change the characteristics of a port for an instance on the switch via
the controller. The controller sends an OFP_PORT_MOD message to the switch that can change
the characteristics of a specific port.
The following command checks the state of the port configuration for all ports of an instance.
Syntax
show openflow instance t1 port-statistics
Example
HP-Stack-3800(of-inst-t1)# show openflowinstance t1 port-statistics
Number of Ports :1
Port 1/1 : Up
Status
Admin. Status : Enabled Flood : Enabled
Receive : Enabled Forward : Enabled
Packet_in : Disabled
Statistics
Collisions : 0
Rx Packets : 0 TxPackets : 47
Rx Bytes : 0 TxBytes : 10718
Rx Dropped : 0 TxDropped : 0
Rx Errors : 0 TxErrors : 0
Frame Errors : 0
CRC Errors : 0
Overrun Errors : 0
Example v1.0
Wireshark Capture of a sample Port-Mod message for a 1.0 instance
OpenFlow Protocol
Header
Version: 0x01
Type: Port Mod (CSM) (15)
Length: 32
Transaction ID: 4
26 Configuring OpenFlow