[CONTROLLER-106] Only the first programmed flow in a Table reported in the operational store for the Table Created: 28/Dec/13 Updated: 25/Jul/23 Resolved: 04/May/15 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | adsal |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jan Medved | Assignee: | Jan Medved |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Mac OS |
||
| External issue ID: | 263 |
| Description |
|
Steps to reproduce: 1. Connect mininet with a single OF switch to the controller, e.g.: 2. Program multiple flows in Table 0 through restconf, e.g.: 3. Similarly, program flow 125 in Table 0 by issuing HTTP PUT to ''http://192.168.4.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/125' (and corresponding changes to flow id in the XML payload) 4. Verify that flows are present in the switch in mininet: 5. verify that flows are present in the RESTCONG config space: 6. Try to retrieve the operational state for Table 0 by issuing HTTP GET to ''http://192.168.4.1:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/table/0' - only the first programmed flow will show. Before issuing Step 6, wait for the stats collection cycle to complete. |
| Comments |
| Comment by Sachi Gupta [ 15/Jan/14 ] |
|
Hi Jan Medved, In step 2: To program multiple flows through restconf using the above mentioned URL, I am getting internal server error 500. Can you please elaborate which module you are using for this rest call. For eg( ForwardingRulesManager have different set of rest calls) Also, please specify your mininet, and opendaylight controller versions being used to replicate this bug. Thanks |
| Comment by Sachi Gupta [ 20/Jan/14 ] |
|
Hi Jan Medved, I am able to replicate this bug with openflowplugin and mininet version2.0 (with ofsoftswitch 1.3 integration). Will investigate further and update. |
| Comment by Michal Rehak [ 06/Mar/14 ] |
|
Now it works on both: ovs and cpqd. Tested with 3 flows in the same table. All 3 flows found on device, in config context, in operational context. |
| Comment by Carol Sanders [ 04/May/15 ] |
|
This bug is part of the project to Move all ADSAL associated component bugs to ADSAL |