[OPNFLWPLUG-878] Direct statistics RPCs do not return error information on failure Created: 12/Apr/17 Updated: 27/Sep/21 Resolved: 25/Apr/17 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Shigeru Yasuda | Assignee: | Shigeru Yasuda |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 8217 |
| Description |
|
Direct statistics RPCs do not provide any error information when it fails. For example, get-queue-statistics RPC should fail if the specified queue does not exist. POST /restconf/operations/opendaylight-direct-statistics:get-queue-statistics } If the queue ID 12345 does not exist on the port "openflow:1:1", OF switch will return QUEUE_OP_FAILED/BAD_QUEUE error. But get-queue-statistics RPC returns an empty response. HTTP/1.1 200 OK |
| Comments |
| Comment by Shigeru Yasuda [ 12/Apr/17 ] |
| Comment by Shigeru Yasuda [ 12/Apr/17 ] |
|
(In reply to Shigeru Yasuda from comment #1) After applying this patch, above get-queue-statistics RPC returns the following response. HTTP/1.1 500 Server Error { |
| Comment by Shigeru Yasuda [ 13/Apr/17 ] |
|
https://git.opendaylight.org/gerrit/54924 (stable/carbon) |
| Comment by Tomas Slusny [ 25/Apr/17 ] |
|
Merged on all 3 branches, so this can be closed then, right? |
| Comment by Shigeru Yasuda [ 25/Apr/17 ] |
|
(In reply to Tomas Slusny from comment #4) Yes. Thanks for your review. |