-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Done
-
Affects Version/s: 1.5.0
-
Fix Version/s: 1.6.0
-
Component/s: None
-
Labels:
-
Story Points:1
As with Group type is FAILOVER,watchPort&watchGroup does not set correctly When builds the Group Modification Openflow message.
The function buildGroupMod does not handle this case as same as buildGroupAdd,the following code should add:
if (type == GroupDescription.Type.FAILOVER && bucket.watchPort() != null)
{ bucketBuilder.setWatchPort(OFPort.of((int) bucket.watchPort().toLong())); }else
{ bucketBuilder.setWatchPort(OFPort.ANY); }if (type == GroupDescription.Type.FAILOVER && bucket.watchGroup() != null)
{ bucketBuilder.setWatchGroup(OFGroup.of(bucket.watchGroup().id())); }else
{ bucketBuilder.setWatchGroup(OFGroup.ANY); }