[CONTROLLER-117] Flow add which worked yesterday is broken today... Created: 16/Jan/14 Updated: 25/Jul/23 Resolved: 24/Jan/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | restconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Prasanna Huddar | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Windows |
||
| Attachments: |
|
| Description |
|
Following input was working yesterday today this test case broken. Input XML: <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| Comments |
| Comment by Prasanna Huddar [ 16/Jan/14 ] |
|
Bug is related to flow creation operation |
| Comment by Tony Tkacik [ 16/Jan/14 ] |
|
Could you provide us with related log information, also operation was POST or PUT? |
| Comment by Ed Warnicke [ 16/Jan/14 ] |
|
Please insure that the controller is all the way up before PUTing this flow, as if it isn't the flow could be rejected for that reason. |
| Comment by Kanagasundaram [ 17/Jan/14 ] |
|
Opendaylight log file |
| Comment by Kanagasundaram [ 17/Jan/14 ] |
|
Attachment opendaylight.rar has been added with description: Opendaylight log file |
| Comment by Kanagasundaram [ 17/Jan/14 ] |
|
It is a POST operation with the bellow url: |
| Comment by Ed Warnicke [ 17/Jan/14 ] |
|
Please reattach the log in some sort of reasonable format such as zip. Rar is quite obscure and hard to deal with. |
| Comment by Ed Warnicke [ 17/Jan/14 ] |
|
Note the semantic difference between PUT and POST You POST to the container you are seeking to create in, for example to POST 1 or more FLOWs you would use URL http://169.144.42.35:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/ to POST to the table. You can use PUT to create directly a single instance using URL |
| Comment by Kanagasundaram [ 20/Jan/14 ] |
|
POST fails with the below URL and XML; through the below error: ERROR: Data schema node was not found for flow URL : http://169.144.42.35:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/ XML: <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| Comment by Martin Sunal [ 20/Jan/14 ] |