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

Issue with creating Group(Type INDIRECT) with multiple bucket through REST API: REST API is successful

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.5.1, 1.7.0, 1.6.1
    • Fix Version/s: 1.5.2, 1.7.0, 1.6.1
    • Component/s: None
    • Labels:
      None
    • Environment:

      1.5.1

    • Story Points:
      2

      Description

      1. Create a GROUP(Type Indirect) with multiple bucket using REST API-POST.
      2. Verify the same in mininet with dump-groups commands:

      Observation
      1.Rest API Was successful (Although the End Objective is achieved in the form of the Switch rejecting the GROUP(Type INDIRECT) as it had more than one ACTION ).
      2. No flows added.
      3. Log Error message:
      2016-06-24 04:38:32,921 | WARN | -event-stats-111 | OpenFlowRuleProvider | 170 - org.onosproject.onos-of-provider-flow - 1.5.1.SNAPSHOT | Received error message OFGroupModFailedErrorMsgVer13(xid=16266, code=INVALID_GROUP, data=[unparsed: 04 0f 00 50 00 00 3f 8a 00 00 02 00 00 00 00 0b 00 20 00 00 ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 10 00 00 00 02 00 00 00 00 00 00 00 00 00 20 00 00 ff ff ff ff ff ff ff ff 00 00 00 00]) from 00:00:00:00:00:00:00:01
      2016-06-24 04:38:32,924 | WARN | -event-stats-111 | OpenFlowGroupProvider | 171 - org.onosproject.onos-of-provider-group - 1.5.1.SNAPSHOT | Error for unknown group operation: 16266

      Expected Result:

      REST API should not success(should reject this without creating the Group) as Type 'INDIRECT' does not support multiple Buckets.

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            varunsha Varun Sharma
            Reporter:
            jayasree Jayasree Ghosh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: