Uploaded image for project: 'vtn'
  1. vtn
  2. VTN-54

Path policy REST API may return 500 (Internal Server Error) unexpectedly.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • unspecified
    • None
    • VTN Manager
    • None
    • Operating System: All
      Platform: All

    • 2533

    Description

      Path policy rest API returns 500 (Internal Server Error) response code
      if PathCost element in the request body does not specify link cost.

      PUT http://localhost:8080/controller/nb/v2/vtn/default/pathpolicies/1
      {
      "default": 10,
      "cost": [
      {
      "location":

      { "type": "OF", "id": "00:00:00:00:00:00:00:01" }

      }
      ]
      }

      In this case VTN Manager should return 400 (Bad Request) as response code.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            yasuda Shigeru Yasuda
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: