Hi,
we are developing an SDN application over ryu to control several HP2920 access switches.
Everything works as expected when we have a single user connected, but when we try to output to multiple ports, the rules are installed without any error, the match counter increases, but the packet is not forwarded to any ports
Is the output to multiple ports supported in the HP2920? Is this the proper way to achieve this?
Thanks,
Jokin
Flows with single output (works)
0026:15:33:41.24 OPFL eOFNetTask:RX from tcp:10.0.200.21:6633: 0: OFPT_FLOW_MOD
(OF 0x04) (xid=0xf789ae8f):
0026:15:33:41.24 OPFL eOFNetTask:Flow added for instance aggregate in table 0.
0026:15:33:41.24 OPFL eOFNetTask:RX from tcp:10.0.200.21:6633: 0:
0026:15:33:41.25 OPFL eOFNetTask:{"process_time":"1.359
ms","command":"OFPFC_ADD","table_id":0,"cookie":"0xffff0000","cookie_mask":"0
x0","idle_timeout":0,"hard_timeout":0,"priority":3002,"buffer_id":"0xffffffff
","out_port"
0026:15:33:41.25 OPFL eOFNetTask::"0xffffffff","out_group":"0xffffffff","flags":
"0x0","match":{"in_port":7,"eth_type":"0x0806"},"insts":[{"apply_actions":[{"
outport":19}]}]}
knt-HP-2920-24G# show openflow instance aggregate flows ether-type arp
OpenFlow Flow Table
Flow 1
Match
Incoming Port : 7 Ethernet Type : ARP
Source MAC : Any Destination MAC : Any
Source MAC Mask : 000000-000000
Destination MAC Mask : 000000-000000
VLAN ID : Any VLAN Priority : Any
Source Protocol Address : Any
Target Protocol Address : Any
Source Hardware Address : Any
Source Hardware Address Mask : 000000-000000
Target Hardware Address : Any
Target Hardware Address Mask : 000000-000000
ARP Opcode : Any
IP ECN : Any IP DSCP : Any
Source Port : Any Destination Port : Any
Source Port Range : NA
Destination Port Range : NA
TCP Flags : NA
TCP Mask : NA
Attributes
Priority : 3002 Duration : 25 seconds
Hard Timeout : 0 seconds Idle Timeout : 0 seconds
Byte Count : NA Packet Count : 2
Flow Table ID : 0 Controller ID : 2
Cookie : 0xffff0000
Hardware Index: 17
Instructions
Apply Actions
Output : 19
Flow with multiple outputs (Does NOT work)
0026:15:34:36.90 OPFL eOFNetTask:Flow added for instance aggregate in table 0.
0026:15:34:36.90 OPFL eOFNetTask:RX from tcp:10.0.200.21:6633: 0:
0026:15:34:36.90 OPFL eOFNetTask:{"process_time":"2.488
ms","command":"OFPFC_ADD","table_id":0,"cookie":"0xffff0000","cookie_mask":"0
x0","idle_timeout":0,"hard_timeout":0,"priority":3002,"buffer_id":"0xffffffff
","out_port"
0026:15:34:36.90 OPFL eOFNetTask::"0xffffffff","out_group":"0xffffffff","flags":
"0x0","match":{"in_port":5,"eth_type":"0x0806"},"insts":[{"apply_actions":[{"
outport":7},{"outport":19}]}]}
0026:15:34:36.90 OPFL eOFNetTask:RX from tcp:10.0.200.21:6633: 0: OFPT_FLOW_MOD
(OF 0x04) (xid=0xf789ae9b):
0026:15:34:36.90 OPFL eOFNetTask:RX from tcp:10.0.200.21:6633: 0:
0026:15:34:36.90 OPFL eOFNetTask:{"process_time":"2.422
ms","command":"OFPFC_ADD","table_id":0,"cookie":"0xffff0000","cookie_mask":"0
x0","idle_timeout":0,"hard_timeout":0,"priority":3002,"buffer_id":"0xffffffff
","out_port"
0026:15:34:36.90 OPFL eOFNetTask::"0xffffffff","out_group":"0xffffffff","flags":
"0x0","match":{"in_port":7,"eth_type":"0x0806"},"insts":[{"apply_actions":[{"
outport":5},{"outport":19}]}]}
0026:15:34:36.90 OPFL eOFNetTask:RX from tcp:10.0.200.21:6633: 0: OFPT_FLOW_MOD
(OF 0x04) (xid=0xf789ae9c):
0026:15:34:36.90 OPFL eOFNetTask:RX from tcp:10.0.200.21:6633: 0:
0026:15:34:36.90 OPFL eOFNetTask:{"process_time":"2.469
ms","command":"OFPFC_ADD","table_id":0,"cookie":"0xffff0000","cookie_mask":"0
x0","idle_timeout":0,"hard_timeout":0,"priority":3002,"buffer_id":"0xffffffff
","out_port"
0026:15:34:36.90 OPFL eOFNetTask::"0xffffffff","out_group":"0xffffffff","flags":
"0x0","match":{"in_port":19,"eth_type":"0x0806"},"insts":[{"apply_actions":[{
"outport":5},{"outport":7}]}]}
0026:15:34:36.90 OPFL eOFNetTask:RX from tcp:10.0.200.21:6633: 0: OFPT_FLOW_MOD
(OF 0x04) (xid=0xf789ae9d):
0026:15:34:36.90 OPFL eOFNetTask:Flow added for instance aggregate in table 0.
0026:15:34:36.90 OPFL eOFNetTask:RX from tcp:10.0.200.21:6633: 0:
0026:15:34:36.90 OPFL eOFNetTask:{"process_time":"1.626
knt-HP-2920-24G# show openflow instance aggregate flows ether-type arp
OpenFlow Flow Table
Flow 1
Match
Incoming Port : 7 Ethernet Type : ARP
Source MAC : Any Destination MAC : Any
Source MAC Mask : 000000-000000
Destination MAC Mask : 000000-000000
VLAN ID : Any VLAN Priority : Any
Source Protocol Address : Any
Target Protocol Address : Any
Source Hardware Address : Any
Source Hardware Address Mask : 000000-000000
Target Hardware Address : Any
Target Hardware Address Mask : 000000-000000
ARP Opcode : Any
IP ECN : Any IP DSCP : Any
Source Port : Any Destination Port : Any
Source Port Range : NA
Destination Port Range : NA
TCP Flags : NA
TCP Mask : NA
Attributes
Priority : 3002 Duration : 34 seconds
Hard Timeout : 0 seconds Idle Timeout : 0 seconds
Byte Count : NA Packet Count : 3
Flow Table ID : 0 Controller ID : 2
Cookie : 0xffff0000
Hardware Index: 20
Instructions
Apply Actions
Output : 5
Output : 19