[VTN-54] Path policy REST API may return 500 (Internal Server Error) unexpectedly. Created: 22/Dec/14  Updated: 03/May/18  Resolved: 24/Dec/14

Status: Resolved
Project: vtn
Component/s: VTN Manager
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Shigeru Yasuda Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 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.



 Comments   
Comment by Shigeru Yasuda [ 22/Dec/14 ]

https://git.opendaylight.org/gerrit/13826 (master)

Comment by Shigeru Yasuda [ 24/Dec/14 ]

https://git.opendaylight.org/gerrit/13840 (stable/helium)

Generated at Wed Feb 07 20:47:53 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.