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

Property name for "Flow Id" should be same across the flows REST requests.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.14.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Story Points:
      2

      Description

      Get all the flows using REST URL http://<ONSO Server Ip>:8181/onos/v1/flows 

      It gives output like :

      { "flows": [ { "id": "47569274700066084",......................

      But for deleting the same flow it takes input like:

      {"flows": [{"flowId": "47569274700066084",..................

      Different names for the same property causing confusion. Also there is no "Example Value" provided for Delete request in swagger UI, so a user can find the right property name to be used by debugging the code only.

       

        Attachments

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

          Activity

            People

            Assignee:
            goeonpark Goeon Park
            Reporter:
            kbhatt Kamal Bhatt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: