-
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); }# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
9004,2 | [ONOS-4476]As with Group type is FAILOVER,watchPort&watchGroup does not set correctly When builds the Group Modification Openflow message | master | onos | Status: MERGED | +2 | +1 |
9073,1 | [ONOS-4476]As with Group type is FAILOVER,watchPort&watchGroup does not set correctly When builds the Group Modification Openflow message | onos-1.5 | onos | Status: ABANDONED | -1 | +1 |