[OPNFLWPLUG-269] of-flow: sal-flow:update-flow return 400 Created: 09/Sep/14 Updated: 27/Sep/21 Resolved: 24/Sep/14 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Peter Gubka | Assignee: | Michal Rehak |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| External issue ID: | 1765 |
| Description |
|
odl: when trying to use /restconf/operations/sal-flow:update-flow i get 400, the same xml works for add-flow, so the problem should be somewhere else. POST /restconf/operations/sal-flow:update-flow HTTP/1.1 <input xmlns="urn:opendaylight:flow:service"> HTTP/1.1 400 Bad Request 146 |
| Comments |
| Comment by Michal Rehak [ 16/Sep/14 ] |
|
This is kind of expected behavior. By using rpc to update flow there is different input model (dataStore takes care of creating it if some flow data get changed). In order for this update via rpc to work you need following xml: <input xmlns="urn:opendaylight:flow:service"> <node xmlns:inv="urn:opendaylight:inventory">/inv:nodes/inv:node[inv:id="openflow:1"]</node> <original-flow> <updated-flow> </input> |
| Comment by Peter Gubka [ 19/Sep/14 ] |
|
not am issue any longer, input updated |
| Comment by Jamo Luhrsen [ 24/Sep/14 ] |
|
Verified this in RC2: regression automation (previously disabled) will now be enabled in integration test code. |