Hey everyone,
I have a few HP 5900 switches that are connected to a Ryu controller application I'm developing for a software-defined network. The switches and the app are configured to use OpenFlow 1.3. I'm attempting to add buckets and groups to the switches via the OFPT_GROUP_MOD message. According the OpenFlow 1.3 spec, there are four group types:
- ALL - Executes all buckets in the group. Support is required.
- SELECT - Executes one bucket in the group. Support is optional.
- INDIRECT - Executes the only bucket in the group. Support is required.
- FAST FAILOVER - Executes the first live bucket in the group. Support is optional.
My test showed that the only group type that can be successfully installed is the "ALL" type. Here's the log from my app:
add_group(dpid=0x1): Installing new group:
groupId = 0
buckets = [OFPBucket(actions=[OFPActionOutput(len=16,max_len=65535,port=45,type=0)],len=32,watch_group=OFPG_ANY,watch_port=OFPP_ANY,weight=0)]
type = OFPGT_ALL
add_group(dpid=0x1): Installing new group:
groupId = 1
buckets = [OFPBucket(actions=[OFPActionOutput(len=16,max_len=65535,port=46,type=0)],len=32,watch_group=OFPG_ANY,watch_port=OFPP_ANY,weight=0)]
type = OFPGT_SELECT
error_msg_handler(dpid=0x1):
type=0x0006 (Problem modifying group entry)
code=0x000a (Unsupported or unknown group type)
add_group(dpid=0x1): Installing new group:
groupId = 2
buckets = [OFPBucket(actions=[OFPActionOutput(len=16,max_len=65535,port=47,type=0)],len=32,watch_group=OFPG_ANY,watch_port=OFPP_ANY,weight=100)]
type = OFPGT_INDIRECT
error_msg_handler(dpid=0x1):
type=0x0006 (Problem modifying group entry)
code=0x000a (Unsupported or unknown group type)
add_group(dpid=0x1): Installing new group:
groupId = 3
buckets = [OFPBucket(actions=[OFPActionOutput(len=16,max_len=65535,port=48,type=0)],len=32,watch_group=OFPG_ANY,watch_port=OFPP_ANY,weight=0)]
type = OFPGT_FF
error_msg_handler(dpid=0x1):
type=0x0006 (Problem modifying group entry)
code=0x000a (Unsupported or unknown group type)
I have a couple of questions that result from this:
- Why does the HP 5900 accept my "ALL"-typed group but not my "INDIRECT"-typed group? "INDIRECT" should be supported.
- Are the "SELECT" and "FAST FAILOVER" group types supported by the HP 5900? If so, could they be subject to the same issue that I'm seeing with my "INDIRECT" group?
#OpenFlow#Ryu#SDN#HP5900