Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-4476

As with Group type is FAILOVER,watchPort&watchGroup does not set correctly When builds the Group Modification Openflow message

    XMLWordPrintable

    Details

    • 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

      Description

      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); }

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            heisenberg He Jian
            Reporter:
            heisenberg He Jian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: