[CONTROLLER-563] Values of match fields for VLAN tag were wrong when using AD-SAL OF plugin. Created: 20/Jun/14 Updated: 25/Jul/23 Resolved: 05/May/15 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | adsal |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Hideyuki Tai | Assignee: | Hideyuki Tai |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| External issue ID: | 1212 |
| Description |
|
Values of match fields for VLAN tag was wrong when I used AD-SAL OF plugin and tried to create a flow entry whose matched packets without VLAN tags. I ran a controller with AD-SAL OF plugin, and used REST API of Flow Programmer service to install a flow entry which matched packets without VALN tag. What I used $ git log -3 --oneline How to produce 1. Build a controller. 2. Run the controller. 3. Run a Mininet. 4. Install a flow entry. $ curl --user "admin":"admin" -H "Accept: application/json" -H \ , "priority":"0", "vlanId":"0","actions":["DROP"]}' 5. Check the flow entry in Mininet console.
6. Get the flow entry from the Mininet. $ curl --user "admin":"admin" -H "Accept: application/json" -H \ This GET request must return the flow entry which has DL_VLAN match field set to 0. { ], ] } |
| Comments |
| Comment by Hideyuki Tai [ 20/Jun/14 ] |
|
I've already found out that V6Match class causes this problem. I'm writing the patch to V6Match class and unit tests on it. |
| Comment by Hideyuki Tai [ 27/Jun/14 ] |
|
Fixed. https://git.opendaylight.org/gerrit/8166 (master) |
| Comment by Carol Sanders [ 05/May/15 ] |
|
This bug is part of the project to Move all ADSAL associated component bugs to ADSAL. |